FabricCustomIngredientSerializer¶
class FabricCustomIngredientSerializer<A : IACustomIngredient>(custom: IACustomIngredientSerializer<A>) : CustomIngredientSerializer<ACustomIngredientPlatform.FabricCustomIngredient<A>>
Constructors¶
FabricCustomIngredientSerializer¶
constructor(custom: IACustomIngredientSerializer<A>)
Properties¶
identifier¶
open override val identifier: ResourceLocation
packetCodec¶
open override val packetCodec: StreamCodec<RegistryFriendlyByteBuf, ACustomIngredientPlatform.FabricCustomIngredient<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>>