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