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
  • Constructor Details

    • IngredientMixin

      public IngredientMixin()
  • Method Details

    • kjs$self

      public net.minecraft.world.item.crafting.Ingredient kjs$self()
      Specified by:
      kjs$self in interface IngredientKJS
    • getItems

      @HideFromJS public abstract net.minecraft.world.item.ItemStack[] getItems()