public class SmithingRecipe extends PlayerCompendiumRecipe implements IToolRecipe
| Modifier and Type | Field and Description |
|---|---|
static ResourceName |
ID |
isKnowledge, skillRewardinfoName| Constructor and Description |
|---|
SmithingRecipe(ResourceName name,
java.util.List<IUseInfo> inputs,
java.util.List<ItemInstance> outputs,
boolean isKnowledge,
float skillReward,
int usage) |
| Modifier and Type | Method and Description |
|---|---|
void |
fillRecipeInfo(Gui gui,
IGameInstance game,
IAssetManager manager,
java.util.List<java.lang.String> info,
ItemInstance currentItem,
ConstructComponent component) |
ConstructComponent |
getConstructButton(Gui gui,
AbstractPlayerEntity player,
TileEntity machine,
boolean canConstruct) |
java.util.List<IUseInfo> |
getInputs() |
java.util.List<ItemInstance> |
getOutputs() |
java.util.List<ConstructionTool> |
getRequiredTools() |
SmithingRecipe |
register() |
getKnowledgeInformationName, getSkillReward, isKnowledge, isKnown, playerConstructgetNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanConstruct, forName, getIngredientButtons, getPolaroidButton, onConstructpublic static final ResourceName ID
public SmithingRecipe(ResourceName name, java.util.List<IUseInfo> inputs, java.util.List<ItemInstance> outputs, boolean isKnowledge, float skillReward, int usage)
public ConstructComponent getConstructButton(Gui gui, AbstractPlayerEntity player, TileEntity machine, boolean canConstruct)
getConstructButton in interface ICompendiumRecipepublic java.util.List<ConstructionTool> getRequiredTools()
getRequiredTools in interface IToolRecipepublic SmithingRecipe register()
public java.util.List<IUseInfo> getInputs()
getInputs in interface ICompendiumRecipepublic java.util.List<ItemInstance> getOutputs()
getOutputs in interface ICompendiumRecipepublic void fillRecipeInfo(Gui gui, IGameInstance game, IAssetManager manager, java.util.List<java.lang.String> info, ItemInstance currentItem, ConstructComponent component)
fillRecipeInfo in interface ICompendiumRecipe