Interface NeighborUpdater
- All Known Implementing Classes:
CollectingNeighborUpdater,InstantNeighborUpdater
public interface NeighborUpdater
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidexecuteShapeUpdate(LevelAccessor level, Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) static voidexecuteUpdate(Level level, BlockState state, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) voidneighborChanged(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) default voidupdateNeighborsAtExceptFromFacing(BlockPos pos, Block block, Direction facing)
-
Field Details
-
UPDATE_ORDER
-
-
Method Details
-
shapeUpdate
void shapeUpdate(Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) -
neighborChanged
-
neighborChanged
void neighborChanged(BlockState state, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston) -
updateNeighborsAtExceptFromFacing
-
executeShapeUpdate
static void executeShapeUpdate(LevelAccessor level, Direction direction, BlockState state, BlockPos pos, BlockPos neighborPos, int flags, int recursionLevel) -
executeUpdate
static void executeUpdate(Level level, BlockState state, BlockPos pos, Block neighborBlock, BlockPos neighborPos, boolean movedByPiston)
-