接口 ConfigurationSerializable
- 所有已知子接口:
ArmorMeta,AttackRangeComponent,AxolotlBucketMeta,BannerMeta,BlockDataMeta,BlocksAttacksComponent,BlocksAttacksComponent.DamageReduction,BlockStateMeta,BookMeta,BundleMeta,ColorableArmorMeta,CompassMeta,ConsumableApplyEffects,ConsumableClearEffects,ConsumableComponent,ConsumableEffect,ConsumablePlaySound,ConsumableRemoveEffect,ConsumableTeleportRandomly,CrossbowMeta,CustomModelDataComponent,Damageable,EnchantmentStorageMeta,EquippableComponent,FireworkEffectMeta,FireworkMeta,FoodComponent,ItemMeta,JukeboxPlayableComponent,KineticWeaponComponent,KineticWeaponComponent.Condition,KnowledgeBookMeta,LeatherArmorMeta,MapMeta,MusicInstrumentMeta,OfflinePlayer,OminousBottleMeta,PiercingWeaponComponent,Player,PlayerProfile,PlayerSkinPatch,PotionMeta,Repairable,ShieldMeta,SkullMeta,SpawnEggMeta,SuspiciousStewMeta,SwingAnimationComponent,ToolComponent,ToolComponent.ToolRule,TropicalFishBucketMeta,UseCooldownComponent,UseEffectsComponent,WeaponComponent,WritableBookMeta
- 所有已知实现类:
AttributeModifier,BlockVector,BoundingBox,Color,FireworkEffect,ItemStack,Location,Pattern,PotionEffect,SpawnRule,Vector
public interface ConfigurationSerializable
-
方法概要
-
方法详细资料
-
serialize
创建此类的 Map 表示。此类必须提供一个方法来恢复此类,具体定义见
ConfigurationSerializable接口的 javadoc。原文:Creates a Map representation of this class.
This class must provide a method to restore this class, as defined in the
ConfigurationSerializableinterface javadocs.- 返回:
- 包含此类当前状态的 Map
-