net.minecraft.world.block

public interface NeighborUpdater

net.minecraft.world.level.redstone.NeighborUpdater
net.minecraft.class_7165
net.minecraft.world.block.NeighborUpdater

Field summary

Modifier and TypeField
Direction[]
UPDATE_ORDER
field_37839
UPDATE_ORDER

Method summary

Modifier and TypeMethod
void
shapeUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit)
method_42392(class_2350 arg0, class_2680 arg1, class_2338 arg2, class_2338 arg3, int arg4, int arg5)
replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth)
void
neighborChanged(BlockPos pos, Block changedBlock, Orientation orientation)
method_41704(class_2338 arg0, class_2248 arg1, class_9904 arg2)
updateNeighbor(BlockPos pos, Block sourceBlock, WireOrientation orientation)
void
neighborChanged(BlockState state, BlockPos pos, Block changedBlock, Orientation orientation, boolean movedByPiston)
method_41703(class_2680 arg0, class_2338 arg1, class_2248 arg2, class_9904 arg3, boolean arg4)
updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, WireOrientation orientation, boolean notify)
default void
updateNeighborsAtExceptFromFacing(BlockPos pos, Block block, Direction skipDirection, Orientation orientation)
method_41705(class_2338 arg0, class_2248 arg1, class_2350 arg2, class_9904 arg3)
updateNeighbors(BlockPos pos, Block sourceBlock, Direction except, WireOrientation orientation)
static void
executeShapeUpdate(LevelAccessor level, Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int updateFlags, int updateLimit)
method_42393(class_1936 arg0, class_2350 arg1, class_2338 arg2, class_2338 arg3, class_2680 arg4, int arg5, int arg6)
replaceWithStateForNeighborUpdate(WorldAccess world, Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int flags, int maxUpdateDepth)
static void
executeUpdate(Level level, BlockState state, BlockPos pos, Block changedBlock, Orientation orientation, boolean movedByPiston)
method_41708(class_1937 arg0, class_2680 arg1, class_2338 arg2, class_2248 arg3, class_9904 arg4, boolean arg5)
tryNeighborUpdate(World world, BlockState state, BlockPos pos, Block sourceBlock, WireOrientation orientation, boolean notify)
private static String
lambda$executeUpdate$0(Block arg0)
method_41709(class_2248 arg0)
method_41709(Block arg0)