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 pos, Block neighborBlock, BlockPos neighborPos) voidneighborChanged(BlockState state, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) voidshapeUpdate(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) 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 direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) - Specified by:
shapeUpdatein interfaceNeighborUpdater
-
neighborChanged
- Specified by:
neighborChangedin interfaceNeighborUpdater
-
neighborChanged
public void neighborChanged(BlockState state, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) - Specified by:
neighborChangedin interfaceNeighborUpdater
-