Class QuantifiedIngredient

java.lang.Object
com.pixelmonmod.pixelmon.api.recipe.QuantifiedIngredient

public class QuantifiedIngredient extends Object
Taken from SuperTech (with permission from Oa10712). Allows for item tags with a quantity.
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<QuantifiedIngredient> CODEC
    • ingredient

      public final net.minecraft.world.item.crafting.Ingredient ingredient
    • quantity

      public final int quantity
  • Constructor Details

    • QuantifiedIngredient

      public QuantifiedIngredient(net.minecraft.world.item.crafting.Ingredient ingredient, int quantity)
  • Method Details

    • matches

      public boolean matches(net.minecraft.world.item.ItemStack item)