Class IngredientMixin
java.lang.Object
dev.latvian.mods.kubejs.core.mixin.IngredientMixin
- All Implemented Interfaces:
IngredientKJS,IngredientSupplierKJS,ItemPredicate,ItemMatch,Replaceable,ReplacementMatch,JsonSerializable,NBTSerializable,WithCodec,Predicate<net.minecraft.world.item.ItemStack>
@RemapPrefixForJS("kjs$")
public abstract class IngredientMixin
extends Object
implements IngredientKJS
-
Field Summary
Fields inherited from interface dev.latvian.mods.kubejs.item.ItemPredicate
ALL, NONE, TYPE_INFOFields inherited from interface dev.latvian.mods.kubejs.recipe.match.ReplacementMatch
NONE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.latvian.mods.kubejs.core.IngredientKJS
getCodec, kjs$and, kjs$asIngredient, kjs$asStack, kjs$containsAnyTag, kjs$except, kjs$getStackArray, kjs$getTagKey, kjs$isWildcard, kjs$or, kjs$toIngredientString, kjs$withCount, matches, matches, replaceThisWithMethods inherited from interface dev.latvian.mods.kubejs.recipe.match.ItemMatch
matches, matchesAnyMethods inherited from interface dev.latvian.mods.kubejs.item.ItemPredicate
kjs$canBeUsedForMatching, kjs$getDisplayStacks, kjs$getFirst, kjs$getItemIds, kjs$getItemTypes, kjs$getStacks, kjs$testItem
-
Constructor Details
-
IngredientMixin
public IngredientMixin()
-
-
Method Details
-
kjs$self
public net.minecraft.world.item.crafting.Ingredient kjs$self()- Specified by:
kjs$selfin interfaceIngredientKJS
-
getItems
@HideFromJS public abstract net.minecraft.world.item.ItemStack[] getItems()
-