Skip to content

fabricnet.kernelpanicsoft.archie.data.common.crafting.ingredientsACustomIngredientSerializerPlatformFabricCustomIngredientSerializer

FabricCustomIngredientSerializer


class FabricCustomIngredientSerializer<A : IACustomIngredient>(custom: IACustomIngredientSerializer<A>) : CustomIngredientSerializer<ACustomIngredientPlatform.FabricCustomIngredient<A>> 

Constructors

FabricCustomIngredientSerializer

constructor(custom: IACustomIngredientSerializer<A>)

Functions

getCodec


open override fun getCodec(allowEmpty: Boolean): MapCodec<ACustomIngredientPlatform.FabricCustomIngredient<A>>

getIdentifier


open override fun getIdentifier(): ResourceLocation

getPacketCodec


open override fun getPacketCodec(): StreamCodec<RegistryFriendlyByteBuf, ACustomIngredientPlatform.FabricCustomIngredient<A>>