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