public class MortarRecipe extends PlayerCompendiumRecipe
| Modifier and Type | Field and Description |
|---|---|
static ResourceName |
ID |
protected java.util.List<IUseInfo> |
inputs |
protected java.util.List<ItemInstance> |
output |
protected int |
time |
isKnowledge, skillRewardinfoName| Constructor and Description |
|---|
MortarRecipe(ResourceName name,
java.util.List<IUseInfo> inputs,
java.util.List<ItemInstance> output,
int time,
boolean isKnowledge,
float skillReward) |
| Modifier and Type | Method and Description |
|---|---|
void |
construct(AbstractPlayerEntity player,
IInventory inventory,
TileEntity machine,
int amount) |
static MortarRecipe |
forName(ResourceName name) |
java.util.List<IUseInfo> |
getInputs() |
java.util.List<ItemInstance> |
getOutputs() |
static MortarRecipe |
getRecipe(AbstractPlayerEntity player,
IInventory inv,
TileEntity mortar) |
int |
getTime() |
MortarRecipe |
register() |
getKnowledgeInformationName, getSkillReward, isKnowledge, isKnown, playerConstructgetNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanConstruct, fillRecipeInfo, getConstructButton, getIngredientButtons, getPolaroidButton, onConstructpublic static final ResourceName ID
protected final java.util.List<IUseInfo> inputs
protected final java.util.List<ItemInstance> output
protected final int time
public MortarRecipe(ResourceName name, java.util.List<IUseInfo> inputs, java.util.List<ItemInstance> output, int time, boolean isKnowledge, float skillReward)
public static MortarRecipe forName(ResourceName name)
public static MortarRecipe getRecipe(AbstractPlayerEntity player, IInventory inv, TileEntity mortar)
public int getTime()
public void construct(AbstractPlayerEntity player, IInventory inventory, TileEntity machine, int amount)
public MortarRecipe register()
public java.util.List<IUseInfo> getInputs()
public java.util.List<ItemInstance> getOutputs()