Class SmithingRecipe
java.lang.Object
de.ellpeck.rockbottom.api.construction.compendium.BasicCompendiumRecipe
de.ellpeck.rockbottom.api.construction.compendium.PlayerCompendiumRecipe
de.ellpeck.rockbottom.api.construction.compendium.SmithingRecipe
- All Implemented Interfaces:
ICompendiumRecipe,IToolRecipe,IContent
-
Field Summary
FieldsFields inherited from class de.ellpeck.rockbottom.api.construction.compendium.PlayerCompendiumRecipe
isKnowledge, skillRewardFields inherited from class de.ellpeck.rockbottom.api.construction.compendium.BasicCompendiumRecipe
infoName -
Constructor Summary
ConstructorsConstructorDescriptionSmithingRecipe(ResourceName name, List<IUseInfo> inputs, List<ItemInstance> outputs, boolean isKnowledge, float skillReward, int usage) -
Method Summary
Modifier and TypeMethodDescriptionvoidfillRecipeInfo(Gui gui, IGameInstance game, IAssetManager manager, List<String> info, ItemInstance currentItem, ConstructComponent component) getConstructButton(Gui gui, AbstractPlayerEntity player, TileEntity machine, boolean canConstruct) register()Methods inherited from class de.ellpeck.rockbottom.api.construction.compendium.PlayerCompendiumRecipe
getKnowledgeInformationName, getSkillReward, isKnowledge, isKnown, playerConstructMethods inherited from class de.ellpeck.rockbottom.api.construction.compendium.BasicCompendiumRecipe
getNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.ellpeck.rockbottom.api.construction.compendium.ICompendiumRecipe
canConstruct, getIngredientButtons, getPolaroidButton, onConstruct
-
Field Details
-
ID
-
-
Constructor Details
-
SmithingRecipe
public SmithingRecipe(ResourceName name, List<IUseInfo> inputs, List<ItemInstance> outputs, boolean isKnowledge, float skillReward, int usage)
-
-
Method Details
-
getConstructButton
public ConstructComponent getConstructButton(Gui gui, AbstractPlayerEntity player, TileEntity machine, boolean canConstruct) - Specified by:
getConstructButtonin interfaceICompendiumRecipe
-
getRequiredTools
- Specified by:
getRequiredToolsin interfaceIToolRecipe
-
register
-
getInputs
- Specified by:
getInputsin interfaceICompendiumRecipe
-
getOutputs
- Specified by:
getOutputsin interfaceICompendiumRecipe
-
fillRecipeInfo
public void fillRecipeInfo(Gui gui, IGameInstance game, IAssetManager manager, List<String> info, ItemInstance currentItem, ConstructComponent component) - Specified by:
fillRecipeInfoin interfaceICompendiumRecipe
-