Package dev.latvian.mods.kubejs.core
Interface SizedFluidIngredientKJS
- All Superinterfaces:
FluidMatch,Replaceable,ReplacementMatch
- All Known Implementing Classes:
SizedFluidIngredientMixin
-
Field Summary
Fields inherited from interface dev.latvian.mods.kubejs.recipe.match.ReplacementMatch
NONE -
Method Summary
Modifier and TypeMethodDescriptiondefault net.neoforged.neoforge.fluids.crafting.SizedFluidIngredientkjs$self()default com.google.gson.JsonElementdefault com.google.gson.JsonElementdefault booleanmatches(RecipeMatchContext cx, net.neoforged.neoforge.fluids.crafting.FluidIngredient in, boolean exact) default booleanmatches(RecipeMatchContext cx, net.neoforged.neoforge.fluids.FluidStack s, boolean exact) default ObjectreplaceThisWith(RecipeScriptContext cx, Object with)
-
Method Details
-
kjs$self
default net.neoforged.neoforge.fluids.crafting.SizedFluidIngredient kjs$self() -
replaceThisWith
- Specified by:
replaceThisWithin interfaceReplaceable
-
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:
matchesin interfaceFluidMatch
-
matches
default boolean matches(RecipeMatchContext cx, net.neoforged.neoforge.fluids.crafting.FluidIngredient in, boolean exact) - Specified by:
matchesin interfaceFluidMatch
-