Interface SizedIngredientKJS

All Superinterfaces:
IngredientSupplierKJS, ItemMatch, Replaceable, ReplacementMatch
All Known Implementing Classes:
SizedIngredientMixin

public interface SizedIngredientKJS extends Replaceable, IngredientSupplierKJS, ItemMatch
  • Method Details

    • kjs$self

      default net.neoforged.neoforge.common.crafting.SizedIngredient kjs$self()
    • replaceThisWith

      default Object replaceThisWith(RecipeScriptContext cx, Object with)
      Specified by:
      replaceThisWith in interface Replaceable
    • kjs$asIngredient

      default net.minecraft.world.item.crafting.Ingredient kjs$asIngredient()
      Specified by:
      kjs$asIngredient in interface IngredientSupplierKJS
    • matches

      default boolean matches(RecipeMatchContext cx, net.minecraft.world.item.ItemStack item, boolean exact)
      Specified by:
      matches in interface ItemMatch
    • matches

      default boolean matches(RecipeMatchContext cx, net.minecraft.world.item.crafting.Ingredient in, boolean exact)
      Specified by:
      matches in interface ItemMatch
    • kjs$toFlatJson

      default com.google.gson.JsonElement kjs$toFlatJson()
    • kjs$toNestedJson

      default com.google.gson.JsonElement kjs$toNestedJson()