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