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 int
FIRST_VANILLA_ITEM
static int
FIRST_VANILLA_RECORD
static int
LAST_VANILLA_BLOCK
static int
LAST_VANILLA_ITEM
static int
LAST_VANILLA_RECORD
-
Constructor Summary
Constructors Constructor Description ContentUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
blockId()
static int
blockToItemId(Block block)
static boolean
isVanillaId(int id)
static int
itemId()
-
-
-
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)
-
-