public abstract class PlayerCompendiumRecipe extends BasicCompendiumRecipe
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isKnowledge |
protected float |
skillReward |
infoName| Constructor and Description |
|---|
PlayerCompendiumRecipe(ResourceName name,
boolean isKnowledge,
float skillReward) |
| Modifier and Type | Method and Description |
|---|---|
ResourceName |
getKnowledgeInformationName() |
float |
getSkillReward() |
boolean |
handleMachine(AbstractEntityPlayer player,
Inventory inputInventory,
Inventory outputInventory,
TileEntity machine,
int amount,
java.util.List<IUseInfo> inputs,
java.util.function.Function<java.util.List<ItemInstance>,java.util.List<ItemInstance>> outputGetter,
float skillReward)
Called during construction with the machine used to construct the recipe.
|
boolean |
isKnowledge() |
boolean |
isKnown(AbstractEntityPlayer player) |
void |
playerConstruct(AbstractEntityPlayer player,
TileEntity machine,
int amount) |
getNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanConstruct, forName, getActualInputs, getActualOutputs, getConstructButton, getIngredientButtons, getInputs, getOutputs, getPolaroidButtonprotected final boolean isKnowledge
protected final float skillReward
public PlayerCompendiumRecipe(ResourceName name, boolean isKnowledge, float skillReward)
public boolean handleMachine(AbstractEntityPlayer player, Inventory inputInventory, Inventory outputInventory, TileEntity machine, int amount, java.util.List<IUseInfo> inputs, java.util.function.Function<java.util.List<ItemInstance>,java.util.List<ItemInstance>> outputGetter, float skillReward)
public void playerConstruct(AbstractEntityPlayer player, TileEntity machine, int amount)
public ResourceName getKnowledgeInformationName()
public boolean isKnowledge()
public boolean isKnown(AbstractEntityPlayer player)
public float getSkillReward()