Class SerializationEvent
java.lang.Object
dev.scsupercraft.mc.libraries.corelib.api.event.SerializationEvent
Contains events for resolving codecs.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA functional interface for listeners ofREGISTER_CODEC_RESOLVER_EVENTstatic interfaceA functional interface for listeners ofREGISTER_STANDARD_CODEC_EVENT -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final dev.architectury.event.Event<SerializationEvent.RegisterCodecResolverEvent> Used to register codec resolvers for more advanced classes.static final dev.architectury.event.Event<SerializationEvent.RegisterStandardCodecEvent> Used to register codecs for classes without type parameters. -
Method Summary
-
Field Details
-
REGISTER_STANDARD_CODEC_EVENT
@AvailableSince("1.0.0") public static final dev.architectury.event.Event<SerializationEvent.RegisterStandardCodecEvent> REGISTER_STANDARD_CODEC_EVENTUsed to register codecs for classes without type parameters.- See Also:
-
REGISTER_CODEC_RESOLVER_EVENT
@AvailableSince("1.0.0") public static final dev.architectury.event.Event<SerializationEvent.RegisterCodecResolverEvent> REGISTER_CODEC_RESOLVER_EVENTUsed to register codec resolvers for more advanced classes.- See Also:
-