Package ch.njol.yggdrasil
Interface YggdrasilSerializable
- All Known Subinterfaces:
Color,YggdrasilSerializable.YggdrasilExtendedSerializable,YggdrasilSerializable.YggdrasilRobustSerializable
- All Known Implementing Classes:
AxolotlData,BeeData,BlockValues,BoatChestData,BoatData,CatData,ChickenData,ColorRGB,CowData,CreeperData,Date,Direction,DisplayData,DroppedItemData,EnchantmentType,EndermanData,EntityData,EntityType,Experience,FallingBlockData,FoxData,FrogData,GameruleValue,GoatData,ItemData,ItemType,LlamaData,MinecartData,MooshroomData,PandaData,ParrotData,PigData,RabbitData,SalmonData,SheepData,SimpleEntityData,SkriptColor,StriderData,ThrownPotionData,Time,Timeperiod,Timespan,TropicalFishData,VillagerData,VisualEffect,WolfData,XpOrbData,ZombieVillagerData
public interface YggdrasilSerializable
Marks a class as serializable by Yggdrasil.
Enums don't have to implement this interface to be serializable, but can implement YggdrasilSerializable.YggdrasilRobustEnum.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA 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 interfaceProvides a method to resolve missing enum constants.static interfaceA 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.