Package net.minecraft.modding.api.game
Class ContentUtil
- java.lang.Object
-
- net.minecraft.modding.api.game.ContentUtil
-
public class ContentUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intFIRST_VANILLA_ITEMstatic intFIRST_VANILLA_RECORDstatic intLAST_VANILLA_BLOCKstatic intLAST_VANILLA_ITEMstatic intLAST_VANILLA_RECORD
-
Constructor Summary
Constructors Constructor Description ContentUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intblockId()static intblockToItemId(Block block)static booleanisVanillaId(int id)static intitemId()
-
-
-
Field Detail
-
LAST_VANILLA_BLOCK
public static final int LAST_VANILLA_BLOCK
- See Also:
- Constant Field Values
-
FIRST_VANILLA_ITEM
public static final int FIRST_VANILLA_ITEM
- See Also:
- Constant Field Values
-
LAST_VANILLA_ITEM
public static final int LAST_VANILLA_ITEM
- See Also:
- Constant Field Values
-
FIRST_VANILLA_RECORD
public static final int FIRST_VANILLA_RECORD
- See Also:
- Constant Field Values
-
LAST_VANILLA_RECORD
public static final int LAST_VANILLA_RECORD
- See Also:
- Constant Field Values
-
-
Method Detail
-
blockId
public static int blockId()
-
itemId
public static int itemId()
-
blockToItemId
public static int blockToItemId(Block block)
-
isVanillaId
public static boolean isVanillaId(int id)
-
-