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 pPos, Block pNeighborBlock, Orientation pOrientation) void
neighborChanged
(BlockState pState, BlockPos pPos, Block pNeighborBlock, Orientation pOrientation, boolean pMovedByPiston) void
shapeUpdate
(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, 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 pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, int pFlags, int pRecursionLevel) - Specified by:
shapeUpdate
in interfaceNeighborUpdater
-
neighborChanged
public void neighborChanged(BlockPos pPos, Block pNeighborBlock, @Nullable Orientation pOrientation) - Specified by:
neighborChanged
in interfaceNeighborUpdater
-
neighborChanged
public void neighborChanged(BlockState pState, BlockPos pPos, Block pNeighborBlock, @Nullable Orientation pOrientation, boolean pMovedByPiston) - Specified by:
neighborChanged
in interfaceNeighborUpdater
-