接口的使用
org.bukkit.configuration.serialization.ConfigurationSerializable
程序包
说明
Bukkit API的顶级程序包, 包含通用的API类和接口.
与属性有关的类 (Minecraft Wiki - 属性).
与旗帜方块有关的类.
与怪物生成器有关的类。
专门用于处理插件运行时配置的类.
面向Bukkit
配置实现使配置可以被执行序列化的类为在
世界内存在的非三维像素单位(实体)提供的接口,包含玩家、怪物、抛射物等.参与操作玩家物品栏和物品交互的类.
用于操作可以存储在
物品堆的额外数据的接口.Isolated components which may form part of item meta.
All classes related to the Consumable Component.
All classes related to effects from the Consumable Component.
代表每种
药水属性和操作的类的集合.与玩家资料有关的类.
提供多种目的和单一目的的类以简化各种编程概念.
-
org.bukkit中ConfigurationSerializable的使用
修饰符和类型类说明final class这是一个调色板的容器。final class代表一个单独的烟花效果。class世界中的三维位置,包含x,y,z. -
org.bukkit.attribute中ConfigurationSerializable的使用
-
org.bukkit.block.banner中ConfigurationSerializable的使用
-
org.bukkit.block.spawner中ConfigurationSerializable的使用
-
org.bukkit.configuration中ConfigurationSerializable的使用
修饰符和类型方法说明<T extends ConfigurationSerializable>
TConfigurationSection.getSerializable(@NotNull String path, @NotNull Class<T> clazz) Gets the requestedConfigurationSerializableobject at the given path.<T extends ConfigurationSerializable>
TConfigurationSection.getSerializable(@NotNull String path, @NotNull Class<T> clazz, T def) Gets the requestedConfigurationSerializableobject at the given path, returning a default value if not found If the Object does not exist then the specified default value will returned regardless of if a default has been identified in the rootConfiguration.<T extends ConfigurationSerializable>
TMemorySection.getSerializable(@NotNull String path, @NotNull Class<T> clazz) <T extends ConfigurationSerializable>
TMemorySection.getSerializable(@NotNull String path, @NotNull Class<T> clazz, T def) -
org.bukkit.configuration.serialization中ConfigurationSerializable的使用
修饰符和类型方法说明ConfigurationSerialization.deserialize(@NotNull Map<String, ?> args) ConfigurationSerialization.deserializeObject(@NotNull Map<String, ?> args) Attempts to deserialize the given arguments into a new instance of the given class.ConfigurationSerialization.deserializeObject(@NotNull Map<String, ?> args, @NotNull Class<? extends ConfigurationSerializable> clazz) Attempts to deserialize the given arguments into a new instance of the given class.protected @Nullable ConfigurationSerializableConfigurationSerialization.deserializeViaCtor(@NotNull Constructor<? extends ConfigurationSerializable> ctor, @NotNull Map<String, ?> args) protected @Nullable ConfigurationSerializableConfigurationSerialization.deserializeViaMethod(@NotNull Method method, @NotNull Map<String, ?> args) 修饰符和类型方法说明static @Nullable Class<? extends ConfigurationSerializable>ConfigurationSerialization.getClassByAlias(@NotNull String alias) Attempts to get a registeredConfigurationSerializableclass by its aliasprotected @Nullable Constructor<? extends ConfigurationSerializable>ConfigurationSerialization.getConstructor()修饰符和类型方法说明ConfigurationSerialization.deserializeObject(@NotNull Map<String, ?> args, @NotNull Class<? extends ConfigurationSerializable> clazz) Attempts to deserialize the given arguments into a new instance of the given class.protected @Nullable ConfigurationSerializableConfigurationSerialization.deserializeViaCtor(@NotNull Constructor<? extends ConfigurationSerializable> ctor, @NotNull Map<String, ?> args) ConfigurationSerialization.getAlias(@NotNull Class<? extends ConfigurationSerializable> clazz) Gets the correct alias for the givenConfigurationSerializableclassstatic voidConfigurationSerialization.registerClass(@NotNull Class<? extends ConfigurationSerializable> clazz) Registers the givenConfigurationSerializableclass by its aliasstatic voidConfigurationSerialization.registerClass(@NotNull Class<? extends ConfigurationSerializable> clazz, @NotNull String alias) Registers the given alias to the specifiedConfigurationSerializableclassstatic voidConfigurationSerialization.unregisterClass(@NotNull Class<? extends ConfigurationSerializable> clazz) Unregisters any aliases for the specifiedConfigurationSerializableclass限定符构造器说明protectedConfigurationSerialization(@NotNull Class<? extends ConfigurationSerializable> clazz) -
org.bukkit.entity中ConfigurationSerializable的使用
-
org.bukkit.inventory中ConfigurationSerializable的使用
-
org.bukkit.inventory.meta中ConfigurationSerializable的使用
修饰符和类型接口说明interface表示实体可以装备的盔甲。interfaceRepresents a bucket of axolotl.interfaceinterfaceinterfaceinterface代表成书,有标题,作者,页面.interfaceinterfaceRepresents armor that an entity can equip and can also be colored.interface代表能追踪指定位置的指南针.interface代表弩.interface代表有耐久度、可损耗的物品.interfaceEnchantmentMeta 特定于专门存储附魔的物品, 而非被附魔的物品.interface代表可以存储单个FireworkEffect的meta.例如包含Material.FIREWORK_STAR.interface代表一个烟花火箭及其效果.interface本类型代表物品附属数据的存储机制.interface与知识之书有关的元数据.interfaceinterface代表可被伸缩的地图.interfaceinterfaceRepresents meta for an Ominous Bottle.interface代表药水和有自定义药水效果的物品.interface代表可以在铁砧上修复的物品.interfaceinterface代表头颅.interface代表刷怪蛋和它刷出的实体的类型.interface代表能够设置自定义药水效果的迷之炖菜.interface代表热带鱼桶.interfaceRepresents a book (Material.WRITABLE_BOOKorMaterial.WRITTEN_BOOK) that can have pages. -
org.bukkit.inventory.meta.components中ConfigurationSerializable的使用
修饰符和类型接口说明interfaceRepresents a component which can turn any item into a shield-like item which blocks attack damage.static interfaceA damage reduction for a specific set of damage types.interfaceRepresents a component which adds custom model data.interfaceRepresents a component which can turn any item into equippable armor.interfaceRepresents a component which can handle food stats in any item.interfaceRepresents a component which can be inserted into a jukebox.interfaceRepresents a component which can turn any item into a tool.static interfaceA rule governing use of this tool and overriding attributes per-block.interfaceRepresents a component which determines the cooldown applied to use of this item.interfaceRepresents a component which can turn any item into a weapon. -
org.bukkit.inventory.meta.components.consumable中ConfigurationSerializable的使用
修饰符和类型接口说明interfaceRepresents a component which item can be consumed on use. -
org.bukkit.inventory.meta.components.consumable.effects中ConfigurationSerializable的使用
修饰符和类型接口说明interfaceRepresent the effects applied when an item is consumed.interfaceRepresent the removal/clearing of all effects when an item is consumed.interfaceinterfaceRepresent a sound played when an item is consumed.interfaceRepresent the effects to be removed when an item is consumed.interfaceRepresent a random teleport when an item is consumed. -
org.bukkit.potion中ConfigurationSerializable的使用
-
org.bukkit.profile中ConfigurationSerializable的使用
-
org.bukkit.util中ConfigurationSerializable的使用
修饰符和类型类说明class这是一个带有可以向下取整XYZ坐标函数的向量类,就像WorldEdit中的BlockVector.classA mutable axis aligned bounding box (AABB).classVector代表一个可变向量.