Package dev.latvian.mods.kubejs.core
Interface FluidIngredientKJS
- All Superinterfaces:
FluidMatch,JsonSerializable,NBTSerializable,ReplacementMatch,WithCodec
- All Known Implementing Classes:
FluidIngredientMixin
-
Field Summary
Fields inherited from interface dev.latvian.mods.kubejs.recipe.match.ReplacementMatch
NONE -
Method Summary
Modifier and TypeMethodDescriptiondefault com.mojang.serialization.Codec<?> getCodec(dev.latvian.mods.rhino.Context cx) default net.neoforged.neoforge.fluids.crafting.FluidIngredientkjs$self()default net.neoforged.neoforge.fluids.crafting.SizedFluidIngredientkjs$withAmount(int amount) default booleanmatches(RecipeMatchContext cx, net.neoforged.neoforge.fluids.crafting.FluidIngredient in, boolean exact) default booleanmatches(RecipeMatchContext cx, net.neoforged.neoforge.fluids.FluidStack s, boolean exact)
-
Method Details
-
kjs$self
default net.neoforged.neoforge.fluids.crafting.FluidIngredient kjs$self() -
getCodec
default com.mojang.serialization.Codec<?> getCodec(dev.latvian.mods.rhino.Context cx) -
kjs$withAmount
default net.neoforged.neoforge.fluids.crafting.SizedFluidIngredient kjs$withAmount(int amount) -
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
-