Class EitherIngredient

java.lang.Object
net.darkhax.bookshelf.common.impl.data.ingredient.EitherIngredient
All Implemented Interfaces:
IngredientLogic<EitherIngredient>

public class EitherIngredient extends Object implements IngredientLogic<EitherIngredient>
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<EitherIngredient> CODEC
    • STREAM

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,EitherIngredient> STREAM
  • Constructor Details

    • EitherIngredient

      public EitherIngredient(List<net.minecraft.world.item.crafting.Ingredient> ingredients)
  • Method Details