public class Constants
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Constants.BlockFlags
The flags used when calling
IWorldWriter.setBlockState(BlockPos, BlockState, int) Can be found from World.setBlockState(BlockPos, BlockState, int) ,
World.markAndNotifyBlock(net.minecraft.util.math.BlockPos, net.minecraft.world.chunk.Chunk, net.minecraft.block.BlockState, net.minecraft.block.BlockState, int) , and
WorldRenderer.notifyBlockUpdate(net.minecraft.world.IBlockReader, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, net.minecraft.block.BlockState, int) Flags can be combined with bitwise OR |
static class |
Constants.NBT
NBT Tag type IDS, used when storing the nbt to disc, Should align with
net.minecraft.nbt.INBT#create
and net.minecraft.nbt.INBT#getTypeName
Main use is checking tag type in CompoundNBT.contains(String, int) |
static class |
Constants.WorldEvents
The world event IDS, used when calling
IWorld.playEvent(int, BlockPos, int) . |
Constructor and Description |
---|
Constants() |