Interface ItemMatch
- All Superinterfaces:
ReplacementMatch
- All Known Subinterfaces:
IngredientKJS,ItemStackKJS,SizedIngredientKJS
- All Known Implementing Classes:
IngredientMixin,ItemStackMixin,SizedIngredientMixin
-
Field Summary
Fields inherited from interface dev.latvian.mods.kubejs.recipe.match.ReplacementMatch
NONE -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(RecipeMatchContext cx, net.minecraft.world.item.crafting.Ingredient in, boolean exact) booleanmatches(RecipeMatchContext cx, net.minecraft.world.item.ItemStack item, boolean exact) default booleanmatches(RecipeMatchContext cx, net.minecraft.world.level.ItemLike itemLike, boolean exact) default booleanmatchesAny(RecipeMatchContext cx, Iterable<net.minecraft.world.level.ItemLike> itemLikes, boolean exact)
-
Method Details
-
matches
-
matches
boolean matches(RecipeMatchContext cx, net.minecraft.world.item.crafting.Ingredient in, boolean exact) -
matches
default boolean matches(RecipeMatchContext cx, net.minecraft.world.level.ItemLike itemLike, boolean exact) -
matchesAny
default boolean matchesAny(RecipeMatchContext cx, Iterable<net.minecraft.world.level.ItemLike> itemLikes, boolean exact)
-