Class AllOfIngredient
java.lang.Object
net.darkhax.bookshelf.common.impl.data.ingredient.AllOfIngredient
- All Implemented Interfaces:
IngredientLogic<AllOfIngredient>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<AllOfIngredient> static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, AllOfIngredient> -
Constructor Summary
ConstructorsConstructorDescriptionAllOfIngredient(List<net.minecraft.world.item.crafting.Ingredient> ingredients) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.darkhax.bookshelf.common.api.data.ingredient.IngredientLogic
getAllMatchingStacks, requiresTesting
-
Field Details
-
CODEC
-
STREAM
public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,AllOfIngredient> STREAM
-
-
Constructor Details
-
AllOfIngredient
-
-
Method Details
-
test
public boolean test(net.minecraft.world.item.ItemStack stack) - Specified by:
testin interfaceIngredientLogic<AllOfIngredient>
-