Interface SizedFluidIngredientKJS

All Superinterfaces:
FluidMatch, Replaceable, ReplacementMatch
All Known Implementing Classes:
SizedFluidIngredientMixin

@RemapPrefixForJS("kjs$") public interface SizedFluidIngredientKJS extends Replaceable, FluidMatch
  • Method Details

    • kjs$self

      default net.neoforged.neoforge.fluids.crafting.SizedFluidIngredient kjs$self()
    • replaceThisWith

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

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

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

      default boolean matches(RecipeMatchContext cx, net.neoforged.neoforge.fluids.FluidStack s, boolean exact)
      Specified by:
      matches in interface FluidMatch
    • matches

      default boolean matches(RecipeMatchContext cx, net.neoforged.neoforge.fluids.crafting.FluidIngredient in, boolean exact)
      Specified by:
      matches in interface FluidMatch