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 TypeMethodDescriptionvoid
neighborChanged
(BlockPos pos, Block neighborBlock, BlockPos neighborPos) void
neighborChanged
(BlockState state, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) void
shapeUpdate
(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, wait
Methods 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:
shapeUpdate
in interfaceNeighborUpdater
-
neighborChanged
- Specified by:
neighborChanged
in interfaceNeighborUpdater
-
neighborChanged
public void neighborChanged(BlockState state, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) - Specified by:
neighborChanged
in interfaceNeighborUpdater
-