Interface KubeJSIngredient

All Superinterfaces:
net.neoforged.neoforge.common.crafting.ICustomIngredient, Predicate<net.minecraft.world.item.ItemStack>
All Known Implementing Classes:
CreativeTabIngredient, NamespaceIngredient, RegExIngredient, WildcardIngredient

public interface KubeJSIngredient extends net.neoforged.neoforge.common.crafting.ICustomIngredient, Predicate<net.minecraft.world.item.ItemStack>
  • Method Summary

    Modifier and Type
    Method
    Description
    default Stream<net.minecraft.world.item.ItemStack>
     
    default boolean
     
    boolean
    test(net.minecraft.world.item.ItemStack stack)
     

    Methods inherited from interface net.neoforged.neoforge.common.crafting.ICustomIngredient

    getType, toVanilla

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Method Details

    • test

      boolean test(net.minecraft.world.item.ItemStack stack)
      Specified by:
      test in interface net.neoforged.neoforge.common.crafting.ICustomIngredient
      Specified by:
      test in interface Predicate<net.minecraft.world.item.ItemStack>
    • getItems

      default Stream<net.minecraft.world.item.ItemStack> getItems()
      Specified by:
      getItems in interface net.neoforged.neoforge.common.crafting.ICustomIngredient
    • isSimple

      default boolean isSimple()
      Specified by:
      isSimple in interface net.neoforged.neoforge.common.crafting.ICustomIngredient