接口的使用
org.bukkit.configuration.serialization.ConfigurationSerializable
程序包
说明
Bukkit API的顶级程序包, 包含通用的API类和接口.
与属性有关的类 (Minecraft Wiki - 属性).
与旗帜方块有关的类.
Classes relevant to mob spawners.
专门用于处理插件运行时配置的类.
面向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的使用
修饰符和类型类说明class
Represents a spawn rule that controls what conditions an entity from a monster spawner can spawn. -
org.bukkit.configuration中ConfigurationSerializable的使用
修饰符和类型方法说明<T extends ConfigurationSerializable>
TConfigurationSection.getSerializable
(@NotNull String path, @NotNull Class<T> clazz) Gets the requestedConfigurationSerializable
object at the given path.<T extends ConfigurationSerializable>
TConfigurationSection.getSerializable
(@NotNull String path, @NotNull Class<T> clazz, T def) Gets the requestedConfigurationSerializable
object 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 ConfigurationSerializable
ConfigurationSerialization.deserializeViaCtor
(@NotNull Constructor<? extends ConfigurationSerializable> ctor, @NotNull Map<String, ?> args) protected @Nullable ConfigurationSerializable
ConfigurationSerialization.deserializeViaMethod
(@NotNull Method method, @NotNull Map<String, ?> args) 修饰符和类型方法说明static @Nullable Class<? extends ConfigurationSerializable>
ConfigurationSerialization.getClassByAlias
(@NotNull String alias) Attempts to get a registeredConfigurationSerializable
class 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 ConfigurationSerializable
ConfigurationSerialization.deserializeViaCtor
(@NotNull Constructor<? extends ConfigurationSerializable> ctor, @NotNull Map<String, ?> args) ConfigurationSerialization.getAlias
(@NotNull Class<? extends ConfigurationSerializable> clazz) Gets the correct alias for the givenConfigurationSerializable
classstatic void
ConfigurationSerialization.registerClass
(@NotNull Class<? extends ConfigurationSerializable> clazz) Registers the givenConfigurationSerializable
class by its aliasstatic void
ConfigurationSerialization.registerClass
(@NotNull Class<? extends ConfigurationSerializable> clazz, @NotNull String alias) Registers the given alias to the specifiedConfigurationSerializable
classstatic void
ConfigurationSerialization.unregisterClass
(@NotNull Class<? extends ConfigurationSerializable> clazz) Unregisters any aliases for the specifiedConfigurationSerializable
class限定符构造器说明protected
ConfigurationSerialization
(@NotNull Class<? extends ConfigurationSerializable> clazz) -
org.bukkit.entity中ConfigurationSerializable的使用
-
org.bukkit.inventory中ConfigurationSerializable的使用
-
org.bukkit.inventory.meta中ConfigurationSerializable的使用
修饰符和类型接口说明interface
表示实体可以装备的盔甲。interface
Represents a bucket of axolotl.interface
interface
interface
interface
代表成书
,有标题,作者,页面.interface
interface
Represents armor that an entity can equip and can also be colored.interface
代表能追踪指定位置的指南针.interface
代表弩.interface
代表有耐久度、可损耗的物品.interface
EnchantmentMeta 特定于专门存储附魔的物品, 而非被附魔的物品.interface
代表可以存储单个FireworkEffect的meta.例如包含Material.FIREWORK_STAR
.interface
代表一个烟花火箭
及其效果.interface
本类型代表物品附属数据的存储机制.interface
与知识之书有关的元数据.interface
interface
代表可被伸缩的地图.interface
interface
Represents meta for an Ominous Bottle.interface
代表药水和有自定义药水效果的物品.interface
代表可以在铁砧上修复的物品.interface
interface
代表头颅.interface
代表刷怪蛋和它刷出的实体的类型.interface
代表能够设置自定义药水效果的迷之炖菜.interface
代表热带鱼桶.interface
Represents a book (Material.WRITABLE_BOOK
orMaterial.WRITTEN_BOOK
) that can have pages. -
org.bukkit.inventory.meta.components中ConfigurationSerializable的使用
修饰符和类型接口说明interface
Represents a component which can turn any item into a shield-like item which blocks attack damage.static interface
A damage reduction for a specific set of damage types.interface
Represents a component which adds custom model data.interface
Represents a component which can turn any item into equippable armor.interface
Represents a component which can handle food stats in any item.interface
Represents a component which can be inserted into a jukebox.interface
Represents a component which can turn any item into a tool.static interface
A rule governing use of this tool and overriding attributes per-block.interface
Represents a component which determines the cooldown applied to use of this item.interface
Represents a component which can turn any item into a weapon. -
org.bukkit.inventory.meta.components.consumable中ConfigurationSerializable的使用
修饰符和类型接口说明interface
Represents a component which item can be consumed on use. -
org.bukkit.inventory.meta.components.consumable.effects中ConfigurationSerializable的使用
修饰符和类型接口说明interface
Represent the effects applied when an item is consumed.interface
Represent the removal/clearing of all effects when an item is consumed.interface
interface
Represent a sound played when an item is consumed.interface
Represent the effects to be removed when an item is consumed.interface
Represent a random teleport when an item is consumed. -
org.bukkit.potion中ConfigurationSerializable的使用
-
org.bukkit.profile中ConfigurationSerializable的使用
-
org.bukkit.util中ConfigurationSerializable的使用
修饰符和类型类说明class
这是一个带有可以向下取整XYZ坐标函数的向量类,就像WorldEdit中的BlockVector.class
A mutable axis aligned bounding box (AABB).class
Vector代表一个可变向量.