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

public abstract class PlayerCompendiumRecipe extends BasicCompendiumRecipe
  • Field Details

    • isKnowledge

      protected final boolean isKnowledge
    • skillReward

      protected final float skillReward
  • Constructor Details

    • PlayerCompendiumRecipe

      public PlayerCompendiumRecipe(ResourceName name, boolean isKnowledge, float skillReward)
  • Method Details

    • playerConstruct

      public void playerConstruct(AbstractPlayerEntity player, TileEntity machine, int amount)
    • getKnowledgeInformationName

      public ResourceName getKnowledgeInformationName()
    • isKnowledge

      public boolean isKnowledge()
    • isKnown

      public boolean isKnown(AbstractPlayerEntity player)
    • getSkillReward

      public float getSkillReward()