BannerMeta
, BlockStateMeta
, BookMeta
, EnchantmentStorageMeta
, FireworkEffectMeta
, FireworkMeta
, ItemMeta
, KnowledgeBookMeta
, LeatherArmorMeta
, MapMeta
, OfflinePlayer
, Player
, PotionMeta
, SkullMeta
, SpawnEggMeta
, TropicalFishBucketMeta
AttributeModifier
, BlockVector
, Color
, FireworkEffect
, ItemStack
, Location
, Pattern
, PotionEffect
, Vector
public 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 |
---|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
serialize() |
Creates a Map representation of this class.
|
java.util.Map<java.lang.String,java.lang.Object> serialize()
This class must provide a method to restore this class, as defined in
the ConfigurationSerializable
interface javadocs.
Copyright © 2018. All rights reserved.