Package vazkii.botania.common.crafting
Class BlockTagIngredient.Type
java.lang.Object
vazkii.botania.common.crafting.BlockTagIngredient.Type
- All Implemented Interfaces:
StateIngredientType<BlockTagIngredient>
- Enclosing class:
BlockTagIngredient
public static class BlockTagIngredient.Type
extends Object
implements StateIngredientType<BlockTagIngredient>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<BlockTagIngredient> static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, BlockTagIngredient> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<BlockTagIngredient> codec()net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, BlockTagIngredient>
-
Field Details
-
CODEC
-
STREAM_CODEC
public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,BlockTagIngredient> STREAM_CODEC
-
-
Constructor Details
-
Type
public Type()
-
-
Method Details
-
codec
- Specified by:
codecin interfaceStateIngredientType<BlockTagIngredient>
-
streamCodec
public net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,BlockTagIngredient> streamCodec()- Specified by:
streamCodecin interfaceStateIngredientType<BlockTagIngredient>
-