Package com.ewyboy.worldstripper.club
Class BlockUpdater.BlockFlags
java.lang.Object
com.ewyboy.worldstripper.club.BlockUpdater.BlockFlags
- Enclosing class:
BlockUpdater
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCalls notifyBlockUpdate Server-side, this updates all the path-finding navigators.static final intPrevents neighbor changes from spawning item drops, used by replaceBlockstatic final intStops the blocks from being marked for a render updatestatic final intCalls neighborChanged on surrounding blocks (with isMoving as false).static final intMakes the block be re-rendered immediately, on the main thread.static final intCauses neighbor updates to be sent to all surrounding blocks (including diagonals). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NOTIFY_NEIGHBORS
public static final int NOTIFY_NEIGHBORSCalls neighborChanged on surrounding blocks (with isMoving as false). Also updates comparator output state.- See Also:
-
BLOCK_UPDATE
public static final int BLOCK_UPDATECalls notifyBlockUpdate Server-side, this updates all the path-finding navigators.- See Also:
-
NO_RERENDER
public static final int NO_RERENDERStops the blocks from being marked for a render update- See Also:
-
RERENDER_MAIN_THREAD
public static final int RERENDER_MAIN_THREADMakes the block be re-rendered immediately, on the main thread. If NO_RERENDER is set, then this will be ignored- See Also:
-
UPDATE_NEIGHBORS
public static final int UPDATE_NEIGHBORSCauses neighbor updates to be sent to all surrounding blocks (including diagonals). This in turn will call updateDiagonalNeighbors on both old and new states, and updateNeighbors on the new state.- See Also:
-
NO_NEIGHBOR_DROPS
public static final int NO_NEIGHBOR_DROPSPrevents neighbor changes from spawning item drops, used by replaceBlock- See Also:
-
-
Constructor Details
-
BlockFlags
public BlockFlags()
-