BannerMeta
, BlockDataMeta
, BlockStateMeta
, BookMeta
, CrossbowMeta
, EnchantmentStorageMeta
, FireworkEffectMeta
, FireworkMeta
, ItemMeta
, KnowledgeBookMeta
, LeatherArmorMeta
, MapMeta
, OfflinePlayer
, Player
, PotionMeta
, SkullMeta
, SpawnEggMeta
, TropicalFishBucketMeta
AttributeModifier
, BlockVector
, BoundingBox
, 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 |
---|---|---|
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 © 2019. All rights reserved.