Files
fabric-carpet/src/main/java/carpet/mixins/CollectingNeighborUpdaterAccessor.java
T
Fx Morin 9daf72b348 Update updateSuppressionBlock for 1.19 (#1401)
* Changed Rule: `updateSuppressionBlock` to match new update suppression

* Make it easier to use

* Carpets mixin file will be the death of me

* Renamed `WorldInterface` to `LevelInterface`
Merged LevelAccessor with LevelInterface

* Fix issues with 22w14a & resolve issues

* Add `@Unique` to Level_tickMixin.java

* Naming, brackets, and description

* Return null on invalid

* Fix remaining refactoring issues
2022-05-17 21:21:46 +02:00

14 lines
416 B
Java

package carpet.mixins;
import net.minecraft.world.level.redstone.CollectingNeighborUpdater;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;
@Mixin(CollectingNeighborUpdater.class)
public interface CollectingNeighborUpdaterAccessor {
@Accessor("count")
void setCount(int count);
@Accessor("maxChainedNeighborUpdates")
int getMaxChainedNeighborUpdates();
}