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