Class InstantNeighborUpdater
java.lang.Object
net.minecraft.world.level.redstone.InstantNeighborUpdater
- All Implemented Interfaces:
NeighborUpdater
-
Field Summary
FieldsFields inherited from interface net.minecraft.world.level.redstone.NeighborUpdater
UPDATE_ORDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidneighborChanged(BlockPos pPos, Block pNeighborBlock, Orientation pOrientation) voidneighborChanged(BlockState pState, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) voidshapeUpdate(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.redstone.NeighborUpdater
updateNeighborsAtExceptFromFacing
-
Field Details
-
level
-
-
Constructor Details
-
InstantNeighborUpdater
-
-
Method Details
-
shapeUpdate
public void shapeUpdate(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) - Specified by:
shapeUpdatein interfaceNeighborUpdater
-
neighborChanged
public void neighborChanged(BlockPos pPos, Block pNeighborBlock, @Nullable Orientation pOrientation) - Specified by:
neighborChangedin interfaceNeighborUpdater
-
neighborChanged
public void neighborChanged(BlockState pState, BlockPos pPos, Block pNeighborBlock, @Nullable Orientation pOrientation, boolean pMovedByPiston) - Specified by:
neighborChangedin interfaceNeighborUpdater
-