Package ch.njol.yggdrasil
Interface YggdrasilSerializable
- All Known Subinterfaces:
Color
,YggdrasilSerializable.YggdrasilExtendedSerializable
,YggdrasilSerializable.YggdrasilRobustSerializable
- All Known Implementing Classes:
AxolotlData
,BeeData
,BoatData
,CatData
,ColorRGB
,CreeperData
,Date
,Direction
,DroppedItemData
,EnchantmentType
,EndermanData
,EntityData
,EntityType
,Experience
,FallingBlockData
,FishData
,FoxData
,GameruleValue
,GoatData
,GriefPreventionHook.GriefPreventionRegion
,GuardianData
,HorseData
,ItemData
,ItemType
,LlamaData
,MinecartData
,MooshroomData
,OcelotData
,PandaData
,ParrotData
,PigData
,PlayerData
,PreciousStonesHook.PreciousStonesRegion
,RabbitData
,Region
,ResidenceHook.ResidenceRegion
,SheepData
,SimpleEntityData
,SkeletonData
,SkriptColor
,ThrownPotionData
,Time
,Timeperiod
,Timespan
,TropicalFishData
,VillagerData
,VisualEffect
,WolfData
,WorldGuardHook.WorldGuardRegion
,XpOrbData
,ZombieVillagerData
public interface YggdrasilSerializable
Marks a class as serialisable by Yggdrasil.
Enums don't have to implement this interface to be serialisable, but can implement YggdrasilSerializable.YggdrasilRobustEnum
.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A class that has transient fields or more generally wants to exactly define which fields to write to/read from stream should implement this interface.static interface
Provides a method to resolve missing enum constants.static interface
A class that has had fields added, changed, or removed from it should implement this interface to handle the now invalid/missing fields that may still be read from stream.