@Deprecated
public interface IIngredient
| Modifier and Type | Method and Description |
|---|---|
void |
bake()
Deprecated.
Bakes the lists in for faster runtime look-ups.
|
int |
getDamageValue()
Deprecated.
|
java.lang.String |
getItemName()
Deprecated.
|
net.minecraft.item.ItemStack |
getItemStack()
Deprecated.
Acquire a single input stack for the current recipe, if more then one ItemStack is possible a
RegistrationError exception will be thrown, ignore these and let the system handle the error.
|
net.minecraft.item.ItemStack[] |
getItemStackSet()
Deprecated.
Acquire a list of all the input stacks for the current recipe, this is for handlers that support
multiple inputs per slot.
|
java.lang.String |
getNameSpace()
Deprecated.
|
int |
getQty()
Deprecated.
|
boolean |
isAir()
Deprecated.
If you wish to support air, you must test before getting the ItemStack, or ItemStackSet
|
net.minecraft.item.ItemStack getItemStack()
throws RegistrationException,
MissingIngredientException
RegistrationExceptionMissingIngredientExceptionnet.minecraft.item.ItemStack[] getItemStackSet()
throws RegistrationException,
MissingIngredientException
RegistrationExceptionMissingIngredientExceptionboolean isAir()
java.lang.String getNameSpace()
java.lang.String getItemName()
int getDamageValue()
int getQty()
void bake() throws RegistrationException, MissingIngredientException