fabric • net.kernelpanicsoft.archie.data.common.crafting.ingredients • ACustomIngredientSerializerPlatform • FabricCustomIngredientSerializer
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(): ResourceLocationgetPacketCodec
open override fun getPacketCodec(): StreamCodec<RegistryFriendlyByteBuf, ACustomIngredientPlatform.FabricCustomIngredient<A>>