public class GameData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_POTION_ID |
static int |
MIN_POTION_ID |
Constructor and Description |
---|
GameData() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<Block,Item> |
getBlockItemMap() |
static FMLControlledNamespacedRegistry<Block> |
getBlockRegistry()
Get the currently active block registry.
|
static net.minecraftforge.fml.common.registry.GameData.ClearableObjectIntIdentityMap<IBlockState> |
getBlockStateIDMap() |
static FMLControlledNamespacedRegistry<Item> |
getItemRegistry()
Get the currently active item registry.
|
protected static GameData |
getMain() |
static FMLControlledNamespacedRegistry<Potion> |
getPotionRegistry()
Get the currently active potion registry.
|
<T> RegistryDelegate<T> |
makeDelegate(T obj,
java.lang.Class<T> rootClass) |
public static final int MIN_POTION_ID
public static final int MAX_POTION_ID
public static FMLControlledNamespacedRegistry<Block> getBlockRegistry()
public static FMLControlledNamespacedRegistry<Item> getItemRegistry()
public static FMLControlledNamespacedRegistry<Potion> getPotionRegistry()
protected static GameData getMain()
public static net.minecraftforge.fml.common.registry.GameData.ClearableObjectIntIdentityMap<IBlockState> getBlockStateIDMap()
public <T> RegistryDelegate<T> makeDelegate(T obj, java.lang.Class<T> rootClass)