Package de.cech12.bucketlib.api.crafting
Class MilkIngredient
java.lang.Object
de.cech12.bucketlib.api.crafting.MilkIngredient
- All Implemented Interfaces:
net.neoforged.neoforge.common.crafting.ICustomIngredient
public class MilkIngredient
extends Object
implements net.neoforged.neoforge.common.crafting.ICustomIngredient
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<MilkIngredient> static final net.neoforged.neoforge.common.crafting.IngredientType<MilkIngredient> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.common.crafting.ICustomIngredient
display, toVanilla
-
Field Details
-
CODEC
-
TYPE
-
-
Constructor Details
-
MilkIngredient
public MilkIngredient()
-
-
Method Details
-
test
public boolean test(@Nonnull net.minecraft.world.item.ItemStack itemStack) - Specified by:
testin interfacenet.neoforged.neoforge.common.crafting.ICustomIngredient
-
items
- Specified by:
itemsin interfacenet.neoforged.neoforge.common.crafting.ICustomIngredient
-
isSimple
public boolean isSimple()- Specified by:
isSimplein interfacenet.neoforged.neoforge.common.crafting.ICustomIngredient
-
getType
@Nonnull public net.neoforged.neoforge.common.crafting.IngredientType<?> getType()- Specified by:
getTypein interfacenet.neoforged.neoforge.common.crafting.ICustomIngredient
-