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(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(String path,
Class<T> clazz) |
Gets the requested
ConfigurationSerializable object at the given
path. |
<T extends ConfigurationSerializable> |
ConfigurationSection.getSerializable(String path,
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(String path,
Class<T> clazz) |
|
<T extends ConfigurationSerializable> |
MemorySection.getSerializable(String path,
Class<T> clazz,
T def) |
Modifier and Type | Method | Description |
---|---|---|
ConfigurationSerializable |
ConfigurationSerialization.deserialize(Map<String,?> args) |
|
static ConfigurationSerializable |
ConfigurationSerialization.deserializeObject(Map<String,?> args) |
Attempts to deserialize the given arguments into a new instance of the
given class.
|
static ConfigurationSerializable |
ConfigurationSerialization.deserializeObject(Map<String,?> args,
Class<? extends ConfigurationSerializable> clazz) |
Attempts to deserialize the given arguments into a new instance of the
given class.
|
protected ConfigurationSerializable |
ConfigurationSerialization.deserializeViaCtor(Constructor<? extends ConfigurationSerializable> ctor,
Map<String,?> args) |
|
protected ConfigurationSerializable |
ConfigurationSerialization.deserializeViaMethod(Method method,
Map<String,?> args) |
Modifier and Type | Method | Description |
---|---|---|
static Class<? extends ConfigurationSerializable> |
ConfigurationSerialization.getClassByAlias(String alias) |
Attempts to get a registered
ConfigurationSerializable class by
its alias |
protected Constructor<? extends ConfigurationSerializable> |
ConfigurationSerialization.getConstructor() |
Modifier and Type | Method | Description |
---|---|---|
static ConfigurationSerializable |
ConfigurationSerialization.deserializeObject(Map<String,?> args,
Class<? extends ConfigurationSerializable> clazz) |
Attempts to deserialize the given arguments into a new instance of the
given class.
|
protected ConfigurationSerializable |
ConfigurationSerialization.deserializeViaCtor(Constructor<? extends ConfigurationSerializable> ctor,
Map<String,?> args) |
|
static String |
ConfigurationSerialization.getAlias(Class<? extends ConfigurationSerializable> clazz) |
Gets the correct alias for the given
ConfigurationSerializable
class |
static void |
ConfigurationSerialization.registerClass(Class<? extends ConfigurationSerializable> clazz) |
Registers the given
ConfigurationSerializable class by its
alias |
static void |
ConfigurationSerialization.registerClass(Class<? extends ConfigurationSerializable> clazz,
String alias) |
Registers the given alias to the specified
ConfigurationSerializable class |
static void |
ConfigurationSerialization.unregisterClass(Class<? extends ConfigurationSerializable> clazz) |
Unregisters any aliases for the specified
ConfigurationSerializable class |
Constructor | Description |
---|---|
ConfigurationSerialization(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 © 2019. All rights reserved.