public static class Constants.BlockFlags
extends java.lang.Object
World.setBlockState(net.minecraft.util.math.BlockPos, net.minecraft.block.state.IBlockState, int)
World.markAndNotifyBlock(net.minecraft.util.math.BlockPos, net.minecraft.world.chunk.Chunk, net.minecraft.block.state.IBlockState, net.minecraft.block.state.IBlockState, int)
and RenderGlobal.notifyBlockUpdate(net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.state.IBlockState, net.minecraft.block.state.IBlockState, int)
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT |
static int |
DEFAULT_AND_RERENDER |
static int |
NO_OBSERVERS
Disables observers from seeing this update
|
static int |
NO_RERENDER
Stops the blocks from being marked for a render update
|
static int |
NOTIFY_NEIGHBORS
Calls neighborChanged on surrounding blocks
|
static int |
RERENDER_MAIN_THREAD
Makes the block be re-rendered immediately, on the main thread.
|
static int |
SEND_TO_CLIENTS
Sends the update to the client
|
Constructor and Description |
---|
BlockFlags() |
public static final int NOTIFY_NEIGHBORS
public static final int SEND_TO_CLIENTS
public static final int NO_RERENDER
public static final int RERENDER_MAIN_THREAD
public static final int NO_OBSERVERS
public static final int DEFAULT
public static final int DEFAULT_AND_RERENDER