Package net.minecraftforge.common.util
Class Constants
java.lang.Object
net.minecraftforge.common.util.Constants
A class containing constants for magic numbers used in the minecraft codebase.
Everything here should be checked each update, and have a comment relating to where to check it.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The flags used when callingnet.minecraft.world.IWorldWriter#setBlockState(BlockPos, BlockState, int)
Can be found fromWorld#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, int)
, andWorldRenderer#notifyBlockUpdate
Flags can be combined with bitwise ORstatic class
NBT Tag type IDS, used when storing the nbt to disc, Should align withnet.minecraft.nbt.INBT#create
andnet.minecraft.nbt.INBT#getTypeName
Main use is checking tag type inCompoundNBT.contains(String, int)
static class
The world event IDS, used when callingIWorld#playEvent(int, BlockPos, int)
. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
Constants
public Constants()
-