Package ch.njol.yggdrasil
Interface YggdrasilSerializable
- All Known Subinterfaces:
Color
,YggdrasilSerializable.YggdrasilExtendedSerializable
,YggdrasilSerializable.YggdrasilRobustSerializable
- All Known Implementing Classes:
AxolotlData
,BeeData
,BlockValues
,BoatChestData
,BoatData
,CatData
,ColorRGB
,CreeperData
,Date
,Direction
,DroppedItemData
,EnchantmentType
,EndermanData
,EntityData
,EntityType
,Experience
,FallingBlockData
,FoxData
,FrogData
,GameruleValue
,GoatData
,ItemData
,ItemType
,LlamaData
,MinecartData
,MooshroomData
,OcelotData
,PandaData
,ParrotData
,PigData
,RabbitData
,SheepData
,SimpleEntityData
,SkriptColor
,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
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.