Package net.risingworld.api.definitions
Klasse Crafting.Recipe.Ingredient
java.lang.Object
net.risingworld.api.definitions.Crafting.Recipe.Ingredient
- Umschließende Klasse:
Crafting.Recipe
-
Feldübersicht
Modifizierer und TypFeldBeschreibungboolean
If true, the ingredient will be consumed upon crafting, otherwise notint
Amount of required ingredientsGroup of the related item.Definition of the related item.int
-
Methodenübersicht
-
Felddetails
-
itemDef
Definition of the related item. If null, check if group is set instead! -
group
Group of the related item. If set, itemDef is supposed to be null. DO NOT USE FLAGS HERE! -
count
public int countAmount of required ingredients -
texture
public int texture -
consume
public boolean consumeIf true, the ingredient will be consumed upon crafting, otherwise not
-