public class MCItemUtils
extends java.lang.Object
implements crafttweaker.api.item.IItemUtils
Constructor and Description |
---|
MCItemUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
createItemList() |
crafttweaker.api.item.IItemStack |
createPotion(java.lang.Object[]... params) |
crafttweaker.api.item.IItemStack |
createSpawnEgg(crafttweaker.api.entity.IEntityDefinition entity,
crafttweaker.api.data.IData customNBT) |
crafttweaker.api.item.IItemStack |
getItem(java.lang.String location,
int meta) |
crafttweaker.api.item.IItemStack[] |
getItemsByRegexRegistryName(java.lang.String regex) |
crafttweaker.api.item.IItemStack[] |
getItemsByRegexUnlocalizedName(java.lang.String regex) |
public static void createItemList()
public crafttweaker.api.item.IItemStack createPotion(java.lang.Object[]... params)
createPotion
in interface crafttweaker.api.item.IItemUtils
params
- has to be in this syntax:
[IItemStack
of the potionpublic crafttweaker.api.item.IItemStack[] getItemsByRegexRegistryName(java.lang.String regex)
getItemsByRegexRegistryName
in interface crafttweaker.api.item.IItemUtils
public crafttweaker.api.item.IItemStack getItem(java.lang.String location, int meta)
getItem
in interface crafttweaker.api.item.IItemUtils
public crafttweaker.api.item.IItemStack[] getItemsByRegexUnlocalizedName(java.lang.String regex)
getItemsByRegexUnlocalizedName
in interface crafttweaker.api.item.IItemUtils
public crafttweaker.api.item.IItemStack createSpawnEgg(crafttweaker.api.entity.IEntityDefinition entity, crafttweaker.api.data.IData customNBT)
createSpawnEgg
in interface crafttweaker.api.item.IItemUtils