Class CollectingNeighborUpdater.MultiNeighborUpdate
java.lang.Object
net.minecraft.world.level.redstone.CollectingNeighborUpdater.MultiNeighborUpdate
- All Implemented Interfaces:
CollectingNeighborUpdater.NeighborUpdates
- Enclosing class:
CollectingNeighborUpdater
static final class CollectingNeighborUpdater.MultiNeighborUpdate
extends Object
implements CollectingNeighborUpdater.NeighborUpdates
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate Orientationprivate final Directionprivate final Blockprivate final BlockPos -
Constructor Summary
ConstructorsConstructorDescriptionMultiNeighborUpdate(BlockPos pSourcePos, Block pSourceBlock, Orientation pOrientation, Direction pSkipDirection) -
Method Summary
-
Field Details
-
sourcePos
-
sourceBlock
-
orientation
-
skipDirection
-
idx
private int idx
-
-
Constructor Details
-
MultiNeighborUpdate
MultiNeighborUpdate(BlockPos pSourcePos, Block pSourceBlock, @Nullable Orientation pOrientation, @Nullable Direction pSkipDirection)
-
-
Method Details
-
runNext
- Specified by:
runNextin interfaceCollectingNeighborUpdater.NeighborUpdates
-
forEachUpdatedPos
- Specified by:
forEachUpdatedPosin interfaceCollectingNeighborUpdater.NeighborUpdates
-