Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.attribute | |
org.bukkit.block.banner | |
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 |
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 ConfigurationSerializable |
FireworkEffect.deserialize(java.util.Map<java.lang.String,java.lang.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(java.lang.String path,
java.lang.Class<T> clazz) |
Gets the requested
ConfigurationSerializable object at the given
path. |
<T extends ConfigurationSerializable> |
ConfigurationSection.getSerializable(java.lang.String path,
java.lang.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(java.lang.String path,
java.lang.Class<T> clazz) |
|
<T extends ConfigurationSerializable> |
MemorySection.getSerializable(java.lang.String path,
java.lang.Class<T> clazz,
T def) |
Modifier and Type | Method | Description |
---|---|---|
ConfigurationSerializable |
ConfigurationSerialization.deserialize(java.util.Map<java.lang.String,?> args) |
|
static ConfigurationSerializable |
ConfigurationSerialization.deserializeObject(java.util.Map<java.lang.String,?> args) |
Attempts to deserialize the given arguments into a new instance of the
given class.
|
static ConfigurationSerializable |
ConfigurationSerialization.deserializeObject(java.util.Map<java.lang.String,?> args,
java.lang.Class<? extends ConfigurationSerializable> clazz) |
Attempts to deserialize the given arguments into a new instance of the
given class.
|
protected ConfigurationSerializable |
ConfigurationSerialization.deserializeViaCtor(java.lang.reflect.Constructor<? extends ConfigurationSerializable> ctor,
java.util.Map<java.lang.String,?> args) |
|
protected ConfigurationSerializable |
ConfigurationSerialization.deserializeViaMethod(java.lang.reflect.Method method,
java.util.Map<java.lang.String,?> args) |
Modifier and Type | Method | Description |
---|---|---|
static java.lang.Class<? extends ConfigurationSerializable> |
ConfigurationSerialization.getClassByAlias(java.lang.String alias) |
Attempts to get a registered
ConfigurationSerializable class by
its alias |
protected java.lang.reflect.Constructor<? extends ConfigurationSerializable> |
ConfigurationSerialization.getConstructor() |
|
java.lang.Class<? extends ConfigurationSerializable> |
value() |
Which class should be used as a delegate for this classes
deserialization
|
Modifier and Type | Method | Description |
---|---|---|
static ConfigurationSerializable |
ConfigurationSerialization.deserializeObject(java.util.Map<java.lang.String,?> args,
java.lang.Class<? extends ConfigurationSerializable> clazz) |
Attempts to deserialize the given arguments into a new instance of the
given class.
|
protected ConfigurationSerializable |
ConfigurationSerialization.deserializeViaCtor(java.lang.reflect.Constructor<? extends ConfigurationSerializable> ctor,
java.util.Map<java.lang.String,?> args) |
|
static java.lang.String |
ConfigurationSerialization.getAlias(java.lang.Class<? extends ConfigurationSerializable> clazz) |
Gets the correct alias for the given
ConfigurationSerializable
class |
static void |
ConfigurationSerialization.registerClass(java.lang.Class<? extends ConfigurationSerializable> clazz) |
Registers the given
ConfigurationSerializable class by its
alias |
static void |
ConfigurationSerialization.registerClass(java.lang.Class<? extends ConfigurationSerializable> clazz,
java.lang.String alias) |
Registers the given alias to the specified
ConfigurationSerializable class |
static void |
ConfigurationSerialization.unregisterClass(java.lang.Class<? extends ConfigurationSerializable> clazz) |
Unregisters any aliases for the specified
ConfigurationSerializable class |
Constructor | Description |
---|---|
ConfigurationSerialization(java.lang.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 |
BlockStateMeta |
|
interface |
BookMeta |
Represents a book (
Material.WRITABLE_BOOK or Material.WRITTEN_BOOK ) that can have a title, an author, and pages. |
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 |
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 |
Vector |
Represents a mutable vector.
|
Copyright © 2018. All rights reserved.