Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.block |
Classes used to manipulate the voxels in a
world ,
including special states. |
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.generator |
Classes to facilitate
world generation
implementation. |
org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
org.bukkit.material |
Classes that represents various voxel types and states.
|
Modifier and Type | Method and Description |
---|---|
@NotNull MaterialData |
Material.getNewData(byte raw)
Deprecated.
Magic value
|
Modifier and Type | Method and Description |
---|---|
Material |
UnsafeValues.fromLegacy(MaterialData material)
Deprecated.
|
Material |
UnsafeValues.fromLegacy(MaterialData material,
boolean itemPriority)
Deprecated.
|
@NotNull FallingBlock |
World.spawnFallingBlock(@NotNull Location location,
@NotNull MaterialData data)
|
Modifier and Type | Method and Description |
---|---|
@NotNull MaterialData |
BlockState.getData()
Gets the metadata for this block state.
|
Modifier and Type | Method and Description |
---|---|
void |
BlockState.setData(@NotNull MaterialData data)
Sets the metadata for this block state.
|
Modifier and Type | Method and Description |
---|---|
@NotNull MaterialData |
Enderman.getCarriedMaterial()
Gets the id and data of the block that the Enderman is carrying.
|
@NotNull MaterialData |
Minecart.getDisplayBlock()
Gets the display block for this minecart.
|
Modifier and Type | Method and Description |
---|---|
void |
Enderman.setCarriedMaterial(@NotNull MaterialData material)
Sets the id and data of the block that the Enderman is carrying.
|
void |
Minecart.setDisplayBlock(@Nullable MaterialData material)
Sets the display block for this minecart.
|
Modifier and Type | Method and Description |
---|---|
@NotNull MaterialData |
ChunkGenerator.ChunkData.getTypeAndData(int x,
int y,
int z)
Get the type and data of the block at x, y, z.
|
Modifier and Type | Method and Description |
---|---|
void |
ChunkGenerator.ChunkData.setBlock(int x,
int y,
int z,
@NotNull MaterialData material)
Set the block at x,y,z in the chunk data to material.
|
void |
ChunkGenerator.ChunkData.setRegion(int xMin,
int yMin,
int zMin,
int xMax,
int yMax,
int zMax,
@NotNull MaterialData material)
Set a region of this chunk from xMin, yMin, zMin (inclusive)
to xMax, yMax, zMax (exclusive) to material.
|
Modifier and Type | Method and Description |
---|---|
@Nullable MaterialData |
ItemStack.getData()
Gets the MaterialData for this stack of items
|
Modifier and Type | Method and Description |
---|---|
@NotNull ShapelessRecipe |
ShapelessRecipe.addIngredient(int count,
@NotNull MaterialData ingredient)
Adds multiples of the specified ingredient.
|
@NotNull ShapelessRecipe |
ShapelessRecipe.addIngredient(@NotNull MaterialData ingredient)
Adds the specified ingredient.
|
@NotNull ShapelessRecipe |
ShapelessRecipe.removeIngredient(int count,
@NotNull MaterialData ingredient)
Removes multiple instances of an ingredient from the list.
|
@NotNull ShapelessRecipe |
ShapelessRecipe.removeIngredient(@NotNull MaterialData ingredient)
Removes an ingredient from the list.
|
void |
ItemStack.setData(@Nullable MaterialData data)
Sets the MaterialData for this stack of items
|
@NotNull ShapedRecipe |
ShapedRecipe.setIngredient(char key,
@NotNull MaterialData ingredient)
Sets the material that a character in the recipe shape refers to.
|
@NotNull FurnaceRecipe |
FurnaceRecipe.setInput(@NotNull MaterialData input)
Sets the input of this furnace recipe.
|
Constructor and Description |
---|
FurnaceRecipe(@NotNull ItemStack result,
@NotNull MaterialData source)
Deprecated.
|
FurnaceRecipe(@NotNull ItemStack result,
@NotNull MaterialData source,
float experience)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
Banner
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Bed
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Button
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Cake
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Cauldron
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Chest
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Coal
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
CocoaPlant
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Command
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Comparator
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Crops
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
DetectorRail
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Diode
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
DirectionalContainer
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Dispenser
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Door
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Dye
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
EnderChest
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
ExtendedRails
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
FlowerPot
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Furnace
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
FurnaceAndDispenser
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Gate
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Hopper
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Ladder
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Leaves
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Lever
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
LongGrass
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
MonsterEggs
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Mushroom
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
NetherWarts
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Observer
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
PistonBaseMaterial
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
PistonExtensionMaterial
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
PoweredRail
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
PressurePlate
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Pumpkin
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Rails
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
RedstoneTorch
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
RedstoneWire
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Sandstone
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Sapling
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Sign
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
SimpleAttachableMaterialData
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Skull
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
SmoothBrick
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
SpawnEgg
Deprecated.
use
SpawnEggMeta |
class |
Stairs
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Step
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
TexturedMaterial
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Torch
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
TrapDoor
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Tree
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Tripwire
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
TripwireHook
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Vine
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Wood
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
WoodenStep
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
class |
Wool
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData . |
Modifier and Type | Method and Description |
---|---|
MaterialData |
MaterialData.clone()
Deprecated.
|
MaterialData |
FlowerPot.getContents()
Deprecated.
Get the material in the flower pot
|
Modifier and Type | Method and Description |
---|---|
void |
FlowerPot.setContents(MaterialData materialData)
Deprecated.
Set the contents of the flower pot
|
Copyright © 2021. All rights reserved.