public class ItemRegistration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.ArrayList<net.minecraft.item.Item> |
allItemList
Deprecated.
|
static java.util.Map<java.lang.String,net.minecraft.item.Item> |
allItemMap
Deprecated.
|
static net.minecraftforge.registries.DeferredRegister<net.minecraft.item.Item> |
ITEMS |
static java.lang.String[] |
mailTypes
The types of Mail to register.
|
Constructor and Description |
---|
ItemRegistration() |
Modifier and Type | Method and Description |
---|---|
static void |
bakeModels(net.minecraftforge.client.event.ModelBakeEvent event) |
static java.util.List<net.minecraft.item.Item> |
getAllItems() |
static java.util.HashMap<java.lang.String,net.minecraftforge.fml.RegistryObject<GymSignItem>> |
getGymSigns() |
static net.minecraft.item.Item |
getItemFromName(java.lang.String itemName)
Finds a Pixelmon item from its localized name.
|
static java.util.Map<java.lang.String,net.minecraft.item.Item> |
getItemsMap()
Initializes and returns a map of all pixelmon items.
|
static java.util.List<net.minecraftforge.fml.RegistryObject<net.minecraft.item.Item>> |
getMints() |
static java.util.ArrayList<net.minecraft.item.Item> |
initializePotionElixirList()
Creates a list of all Medicine.
|
static void |
registerItemLayers() |
static void |
registerRenderers()
Registers renderers for all Pixelmon items.
|
public static final net.minecraftforge.registries.DeferredRegister<net.minecraft.item.Item> ITEMS
public static java.lang.String[] mailTypes
@Deprecated public static java.util.Map<java.lang.String,net.minecraft.item.Item> allItemMap
@Deprecated public static java.util.ArrayList<net.minecraft.item.Item> allItemList
public static java.util.ArrayList<net.minecraft.item.Item> initializePotionElixirList()
public static java.util.List<net.minecraft.item.Item> getAllItems()
public static java.util.Map<java.lang.String,net.minecraft.item.Item> getItemsMap()
public static net.minecraft.item.Item getItemFromName(java.lang.String itemName)
itemName
- The name of the item.public static void registerItemLayers()
public static void registerRenderers()
public static void bakeModels(net.minecraftforge.client.event.ModelBakeEvent event)
public static java.util.List<net.minecraftforge.fml.RegistryObject<net.minecraft.item.Item>> getMints()
public static java.util.HashMap<java.lang.String,net.minecraftforge.fml.RegistryObject<GymSignItem>> getGymSigns()