Class CompoundIngredientMixin

java.lang.Object
dev.latvian.mods.kubejs.core.mixin.CompoundIngredientMixin
All Implemented Interfaces:
CustomIngredientKJS, IngredientSupplierKJS, ItemPredicate, Predicate<net.minecraft.world.item.ItemStack>

public abstract class CompoundIngredientMixin extends Object implements CustomIngredientKJS
  • Constructor Details

    • CompoundIngredientMixin

      public CompoundIngredientMixin()
  • Method Details

    • kjs$canBeUsedForMatching

      public boolean kjs$canBeUsedForMatching()
      Description copied from interface: ItemPredicate
      Marks whether an ingredient is safe to be used to match recipe filters during the recipe event. (The answer is usually no for non-Vanilla ingredients, but can be overridden manually by addons or downstream mods with integration.)
      Specified by:
      kjs$canBeUsedForMatching in interface CustomIngredientKJS
      Specified by:
      kjs$canBeUsedForMatching in interface ItemPredicate