ArmorStandMeta, BannerMeta, BlockStateMeta, BookMeta, EnchantmentStorageMeta, FireworkEffectMeta, FireworkMeta, ItemMeta, KnowledgeBookMeta, LeatherArmorMeta, MapMeta, OfflinePlayer, Player, PotionMeta, SkullMeta, SpawnEggMeta, TropicalFishBucketMetaAttributeModifier, BlockVector, BoundingBox, Color, FireworkEffect, ItemStack, Location, Pattern, PotionEffect, Vectorpublic interface ConfigurationSerializable
These objects MUST implement one of the following, in addition to the methods as defined by this interface:
Map<
String, Object> and returns the class.Map<String, Object> and returns the class.Map<String,
Object>.ConfigurationSerialization.registerClass(Class).DelegateDeserialization,
SerializableAs| Modifier and Type | Method | Description |
|---|---|---|
Map<String,Object> |
serialize() |
Creates a Map representation of this class.
|
@NotNull Map<String,Object> serialize()
This class must provide a method to restore this class, as defined in
the ConfigurationSerializable interface javadocs.
Copyright © 2020. All rights reserved.