Interface CustomIngredientKJS

All Superinterfaces:
IngredientSupplierKJS, ItemPredicate, Predicate<net.minecraft.world.item.ItemStack>
All Known Subinterfaces:
ICustomIngredientMixin
All Known Implementing Classes:
CompoundIngredientMixin, DifferenceIngredientMixin, IntersectionIngredientMixin

public interface CustomIngredientKJS extends ItemPredicate
  • Method Details

    • getItems

      default Stream<net.minecraft.world.item.ItemStack> getItems()
    • kjs$canBeUsedForMatching

      default 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 ItemPredicate
    • kjs$asIngredient

      @NonExtendable default net.minecraft.world.item.crafting.Ingredient kjs$asIngredient()
      Specified by:
      kjs$asIngredient in interface IngredientSupplierKJS
      Specified by:
      kjs$asIngredient in interface ItemPredicate
    • kjs$getStackArray

      @NonExtendable default net.minecraft.world.item.ItemStack[] kjs$getStackArray()
      Specified by:
      kjs$getStackArray in interface ItemPredicate
    • kjs$getDisplayStacks

      default ItemStackSet kjs$getDisplayStacks()
      Specified by:
      kjs$getDisplayStacks in interface ItemPredicate