Package dev.latvian.mods.kubejs.core
Interface SizedIngredientKJS
- All Superinterfaces:
IngredientSupplierKJS,ItemMatch,Replaceable,ReplacementMatch
- All Known Implementing Classes:
SizedIngredientMixin
-
Field Summary
Fields inherited from interface dev.latvian.mods.kubejs.recipe.match.ReplacementMatch
NONE -
Method Summary
Modifier and TypeMethodDescriptiondefault net.minecraft.world.item.crafting.Ingredientdefault net.neoforged.neoforge.common.crafting.SizedIngredientkjs$self()default com.google.gson.JsonElementdefault com.google.gson.JsonElementdefault booleanmatches(RecipeMatchContext cx, net.minecraft.world.item.crafting.Ingredient in, boolean exact) default booleanmatches(RecipeMatchContext cx, net.minecraft.world.item.ItemStack item, boolean exact) default ObjectreplaceThisWith(RecipeScriptContext cx, Object with) Methods inherited from interface dev.latvian.mods.kubejs.recipe.match.ItemMatch
matches, matchesAny
-
Method Details
-
kjs$self
default net.neoforged.neoforge.common.crafting.SizedIngredient kjs$self() -
replaceThisWith
- Specified by:
replaceThisWithin interfaceReplaceable
-
kjs$asIngredient
default net.minecraft.world.item.crafting.Ingredient kjs$asIngredient()- Specified by:
kjs$asIngredientin interfaceIngredientSupplierKJS
-
matches
default boolean matches(RecipeMatchContext cx, net.minecraft.world.item.ItemStack item, boolean exact) -
matches
default boolean matches(RecipeMatchContext cx, net.minecraft.world.item.crafting.Ingredient in, boolean exact) -
kjs$toFlatJson
default com.google.gson.JsonElement kjs$toFlatJson() -
kjs$toNestedJson
default com.google.gson.JsonElement kjs$toNestedJson()
-