Package | Description |
---|---|
com.destroystokyo.paper.inventory.meta | |
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.attribute |
Classes relevant to attributes.
|
org.bukkit.block.banner |
Classes relevant to banner blocks.
|
org.bukkit.configuration |
Classes dedicated to handling a plugin's runtime configuration.
|
org.bukkit.configuration.serialization |
Classes dedicated to being able to perform serialization specialized for
the Bukkit
configuration
implementation. |
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
org.bukkit.inventory.meta |
The interfaces used when manipulating extra data can can be stored inside
item stacks . |
org.bukkit.potion |
Classes to represent various
potion
properties and manipulation. |
org.bukkit.util |
Multi and single purpose classes to facilitate various programmatic
concepts.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
ArmorStandMeta |
Modifier and Type | Interface | Description |
---|---|---|
interface |
OfflinePlayer |
Modifier and Type | Class | Description |
---|---|---|
class |
Color |
A container for a color palette.
|
class |
FireworkEffect |
Represents a single firework effect.
|
class |
Location |
Represents a 3-dimensional position in a world.
|
Modifier and Type | Method | Description |
---|---|---|
static @NotNull ConfigurationSerializable |
FireworkEffect.deserialize(@NotNull Map<String,Object> map) |
Modifier and Type | Class | Description |
---|---|---|
class |
AttributeModifier |
Concrete implementation of an attribute modifier.
|
Modifier and Type | Class | Description |
---|---|---|
class |
Pattern |
Modifier and Type | Method | Description |
---|---|---|
<T extends ConfigurationSerializable> |
ConfigurationSection.getSerializable(@NotNull String path,
@NotNull Class<T> clazz) |
Gets the requested
ConfigurationSerializable object at the given
path. |
<T extends ConfigurationSerializable> |
ConfigurationSection.getSerializable(@NotNull String path,
@NotNull Class<T> clazz,
T def) |
Gets the requested
ConfigurationSerializable 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 root
Configuration . |
<T extends ConfigurationSerializable> |
MemorySection.getSerializable(@NotNull String path,
@NotNull Class<T> clazz) |
|
<T extends ConfigurationSerializable> |
MemorySection.getSerializable(@NotNull String path,
@NotNull Class<T> clazz,
T def) |
Modifier and Type | Method | Description |
---|---|---|
@Nullable ConfigurationSerializable |
ConfigurationSerialization.deserialize(@NotNull Map<String,?> args) |
|
static @Nullable ConfigurationSerializable |
ConfigurationSerialization.deserializeObject(@NotNull Map<String,?> args) |
Attempts to deserialize the given arguments into a new instance of the
given class.
|
static @Nullable ConfigurationSerializable |
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) |
Modifier and Type | Method | Description |
---|---|---|
static @Nullable Class<? extends ConfigurationSerializable> |
ConfigurationSerialization.getClassByAlias(@NotNull String alias) |
Attempts to get a registered
ConfigurationSerializable class by
its alias |
protected @Nullable Constructor<? extends ConfigurationSerializable> |
ConfigurationSerialization.getConstructor() |
|
@NotNull Class<? extends ConfigurationSerializable> |
value() |
Which class should be used as a delegate for this classes
deserialization
|
Modifier and Type | Method | Description |
---|---|---|
static @Nullable ConfigurationSerializable |
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) |
|
static @NotNull String |
ConfigurationSerialization.getAlias(@NotNull Class<? extends ConfigurationSerializable> clazz) |
Gets the correct alias for the given
ConfigurationSerializable
class |
static void |
ConfigurationSerialization.registerClass(@NotNull Class<? extends ConfigurationSerializable> clazz) |
Registers the given
ConfigurationSerializable class by its
alias |
static void |
ConfigurationSerialization.registerClass(@NotNull Class<? extends ConfigurationSerializable> clazz,
@NotNull String alias) |
Registers the given alias to the specified
ConfigurationSerializable class |
static void |
ConfigurationSerialization.unregisterClass(@NotNull Class<? extends ConfigurationSerializable> clazz) |
Unregisters any aliases for the specified
ConfigurationSerializable class |
Constructor | Description |
---|---|
ConfigurationSerialization(@NotNull Class<? extends ConfigurationSerializable> clazz) |
Modifier and Type | Interface | Description |
---|---|---|
interface |
Player |
Represents a player, connected or not
|
Modifier and Type | Class | Description |
---|---|---|
class |
ItemStack |
Represents a stack of items.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
BannerMeta |
|
interface |
BlockDataMeta |
|
interface |
BlockStateMeta |
|
interface |
BookMeta |
Represents a book (
Material.WRITABLE_BOOK or Material.WRITTEN_BOOK ) that can have a title, an author, and pages. |
interface |
CrossbowMeta |
|
interface |
EnchantmentStorageMeta |
EnchantmentMeta is specific to items that can store enchantments, as
opposed to being enchanted.
|
interface |
FireworkEffectMeta |
Represents a meta that can store a single FireworkEffect.
|
interface |
FireworkMeta |
Represents a
Material.FIREWORK_ROCKET and its effects. |
interface |
ItemMeta |
This type represents the storage mechanism for auxiliary item data.
|
interface |
KnowledgeBookMeta |
|
interface |
LeatherArmorMeta |
Represents leather armor (
Material.LEATHER_BOOTS , Material.LEATHER_CHESTPLATE , Material.LEATHER_HELMET , or Material.LEATHER_LEGGINGS ) that can be colored. |
interface |
MapMeta |
Represents a map that can be scalable.
|
interface |
PotionMeta |
Represents a potion or item that can have custom effects.
|
interface |
SkullMeta |
Represents a skull that can have an owner.
|
interface |
SpawnEggMeta |
Represents a spawn egg and it's spawned type.
|
interface |
SuspiciousStewMeta |
Represents a suspicious stew that can have custom effects.
|
interface |
TropicalFishBucketMeta |
Represents a bucket of tropical fish.
|
Modifier and Type | Class | Description |
---|---|---|
class |
PotionEffect |
Represents a potion effect, that can be added to a
LivingEntity . |
Modifier and Type | Class | Description |
---|---|---|
class |
BlockVector |
A vector with a hash function that floors the X, Y, Z components, a la
BlockVector in WorldEdit.
|
class |
BoundingBox |
A mutable axis aligned bounding box (AABB).
|
class |
Vector |
Represents a mutable vector.
|
Copyright © 2020. All rights reserved.