Class MilkIngredient

java.lang.Object
de.cech12.bucketlib.api.crafting.MilkIngredient
All Implemented Interfaces:
net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredient

public class MilkIngredient extends Object implements net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredient
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredientSerializer<?>
     
    Stream<net.minecraft.core.Holder<net.minecraft.world.item.Item>>
     
    boolean
     
    boolean
    test(net.minecraft.world.item.ItemStack itemStack)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredient

    display, toVanilla
  • Constructor Details

    • MilkIngredient

      public MilkIngredient()
  • Method Details

    • test

      public boolean test(net.minecraft.world.item.ItemStack itemStack)
      Specified by:
      test in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredient
    • items

      public Stream<net.minecraft.core.Holder<net.minecraft.world.item.Item>> items()
      Specified by:
      items in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredient
    • requiresTesting

      public boolean requiresTesting()
      Specified by:
      requiresTesting in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredient
    • getSerializer

      public net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredientSerializer<?> getSerializer()
      Specified by:
      getSerializer in interface net.fabricmc.fabric.api.recipe.v1.ingredient.CustomIngredient