Class SimpleDatagenIngredient

java.lang.Object
com.simibubi.create.foundation.data.SimpleDatagenIngredient
All Implemented Interfaces:
net.neoforged.neoforge.common.crafting.ICustomIngredient

public class SimpleDatagenIngredient extends Object implements net.neoforged.neoforge.common.crafting.ICustomIngredient
  • Constructor Details

    • SimpleDatagenIngredient

      public SimpleDatagenIngredient(DatagenMod mod, String id)
  • Method Details

    • test

      public boolean test(@NotNull @NotNull net.minecraft.world.item.ItemStack stack)
      Specified by:
      test in interface net.neoforged.neoforge.common.crafting.ICustomIngredient
    • getItems

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

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

      @NotNull public @NotNull net.neoforged.neoforge.common.crafting.IngredientType<?> getType()
      Specified by:
      getType in interface net.neoforged.neoforge.common.crafting.ICustomIngredient