Class Crafting.Recipe.Ingredient

java.lang.Object
net.risingworld.api.definitions.Crafting.Recipe.Ingredient
Enclosing class:
Crafting.Recipe

public final class Crafting.Recipe.Ingredient extends Object
  • Field Details

    • itemDef

      public Items.ItemDefinition itemDef
      Definition of the related item. If null, check if group is set instead!
    • group

      public Items.Group group
      Group of the related item. If set, itemDef is supposed to be null. DO NOT USE FLAGS HERE!
    • count

      public int count
      Amount of required ingredients
    • texture

      public int texture
    • consume

      public boolean consume
      If true, the ingredient will be consumed upon crafting, otherwise not