Class InstantNeighborUpdater
java.lang.Object
net.minecraft.world.level.redstone.InstantNeighborUpdater
- All Implemented Interfaces:
NeighborUpdater
-
Field Summary
FieldsFields inherited from interface NeighborUpdater
UPDATE_ORDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidneighborChanged(BlockPos pos, Block changedBlock, @Nullable Orientation orientation) voidneighborChanged(BlockState state, BlockPos pos, Block changedBlock, @Nullable Orientation orientation, boolean movedByPiston) voidshapeUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NeighborUpdater
updateNeighborsAtExceptFromFacing
-
Field Details
-
level
-
-
Constructor Details
-
InstantNeighborUpdater
-
-
Method Details
-
shapeUpdate
public void shapeUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) - Specified by:
shapeUpdatein interfaceNeighborUpdater
-
neighborChanged
- Specified by:
neighborChangedin interfaceNeighborUpdater
-
neighborChanged
public void neighborChanged(BlockState state, BlockPos pos, Block changedBlock, @Nullable Orientation orientation, boolean movedByPiston) - Specified by:
neighborChangedin interfaceNeighborUpdater
-