public class ConstructionRecipe extends PlayerCompendiumRecipe
| Modifier and Type | Field and Description |
|---|---|
static ResourceName |
ID |
protected java.util.List<IUseInfo> |
inputs |
protected boolean |
manualOnly |
protected java.util.List<ItemInstance> |
outputs |
isKnowledge, skillRewardinfoName| Constructor and Description |
|---|
ConstructionRecipe(boolean isKnowledge,
float skillReward,
ItemInstance output,
IUseInfo... inputs) |
ConstructionRecipe(ResourceName name,
boolean isKnowledge,
float skillReward,
ItemInstance output,
IUseInfo... inputs) |
ConstructionRecipe(ResourceName name,
java.util.List<IUseInfo> inputs,
java.util.List<ItemInstance> outputs,
boolean manualOnly,
boolean isKnowledge,
float skillReward) |
| Modifier and Type | Method and Description |
|---|---|
static ConstructionRecipe |
forName(ResourceName name) |
ConstructComponent |
getConstructButton(Gui gui,
AbstractPlayerEntity player,
TileEntity machine,
boolean canConstruct) |
java.util.List<IUseInfo> |
getInputs() |
java.util.List<ItemInstance> |
getOutputs() |
ConstructionRecipe |
registerConstructionTable() |
ConstructionRecipe |
registerManual() |
boolean |
showInConstructionTable() |
java.lang.String |
toString() |
getKnowledgeInformationName, getSkillReward, isKnowledge, isKnown, playerConstructgetNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanConstruct, fillRecipeInfo, getIngredientButtons, getPolaroidButton, onConstructpublic static final ResourceName ID
protected final java.util.List<IUseInfo> inputs
protected final java.util.List<ItemInstance> outputs
protected final boolean manualOnly
public ConstructionRecipe(ResourceName name, java.util.List<IUseInfo> inputs, java.util.List<ItemInstance> outputs, boolean manualOnly, boolean isKnowledge, float skillReward)
public ConstructionRecipe(ResourceName name, boolean isKnowledge, float skillReward, ItemInstance output, IUseInfo... inputs)
public ConstructionRecipe(boolean isKnowledge,
float skillReward,
ItemInstance output,
IUseInfo... inputs)
public static ConstructionRecipe forName(ResourceName name)
public java.util.List<IUseInfo> getInputs()
public java.util.List<ItemInstance> getOutputs()
public ConstructComponent getConstructButton(Gui gui, AbstractPlayerEntity player, TileEntity machine, boolean canConstruct)
public boolean showInConstructionTable()
public ConstructionRecipe registerManual()
public ConstructionRecipe registerConstructionTable()
public java.lang.String toString()
toString in class java.lang.Object