Class PlayerCompendiumRecipe
java.lang.Object
de.ellpeck.rockbottom.api.construction.compendium.BasicCompendiumRecipe
de.ellpeck.rockbottom.api.construction.compendium.PlayerCompendiumRecipe
- All Implemented Interfaces:
ICompendiumRecipe,IContent
- Direct Known Subclasses:
ConstructionRecipe,MortarRecipe,SmithingRecipe
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final floatFields inherited from class de.ellpeck.rockbottom.api.construction.compendium.BasicCompendiumRecipe
infoName -
Constructor Summary
ConstructorsConstructorDescriptionPlayerCompendiumRecipe(ResourceName name, boolean isKnowledge, float skillReward) -
Method Summary
Modifier and TypeMethodDescriptionfloatbooleanbooleanisKnown(AbstractPlayerEntity player) voidplayerConstruct(AbstractPlayerEntity player, TileEntity machine, int amount) Methods 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, fillRecipeInfo, getConstructButton, getIngredientButtons, getInputs, getOutputs, getPolaroidButton, onConstruct
-
Field Details
-
isKnowledge
protected final boolean isKnowledge -
skillReward
protected final float skillReward
-
-
Constructor Details
-
PlayerCompendiumRecipe
-
-
Method Details
-
playerConstruct
-
getKnowledgeInformationName
-
isKnowledge
public boolean isKnowledge() -
isKnown
-
getSkillReward
public float getSkillReward()
-