Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
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 | Description |
---|---|---|
MaterialData |
Material.getNewData(byte raw) |
Deprecated.
Magic value
|
Modifier and Type | Method | Description |
---|---|---|
Class<? extends MaterialData> |
Material.getData() |
Gets the MaterialData class associated with this Material
|
Modifier and Type | Method | Description |
---|---|---|
Material |
UnsafeValues.fromLegacy(MaterialData material) |
Deprecated.
|
Material |
UnsafeValues.fromLegacy(MaterialData material,
boolean itemPriority) |
Deprecated.
|
FallingBlock |
World.spawnFallingBlock(Location location,
MaterialData data) |
Modifier and Type | Method | Description |
---|---|---|
MaterialData |
FlowerPot.getContents() |
Deprecated.
Gets the item present in this flower pot.
|
MaterialData |
BlockState.getData() |
Gets the metadata for this block state.
|
Modifier and Type | Method | Description |
---|---|---|
void |
FlowerPot.setContents(MaterialData item) |
Deprecated.
Sets the item present in this flower pot.
|
void |
BlockState.setData(MaterialData data) |
Sets the metadata for this block state.
|
Modifier and Type | Method | Description |
---|---|---|
MaterialData |
Enderman.getCarriedMaterial() |
Gets the id and data of the block that the Enderman is carrying.
|
MaterialData |
Minecart.getDisplayBlock() |
Gets the display block for this minecart.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Enderman.setCarriedMaterial(MaterialData material) |
Sets the id and data of the block that the Enderman is carrying.
|
void |
Minecart.setDisplayBlock(MaterialData material) |
Sets the display block for this minecart.
|
Modifier and Type | Method | Description |
---|---|---|
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 | Description |
---|---|---|
void |
ChunkGenerator.ChunkData.setBlock(int x,
int y,
int z,
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,
MaterialData material) |
Set a region of this chunk from xMin, yMin, zMin (inclusive)
to xMax, yMax, zMax (exclusive) to material.
|
Modifier and Type | Method | Description |
---|---|---|
MaterialData |
ItemStack.getData() |
Gets the MaterialData for this stack of items
|
Modifier and Type | Method | Description |
---|---|---|
ShapelessRecipe |
ShapelessRecipe.addIngredient(int count,
MaterialData ingredient) |
Adds multiples of the specified ingredient.
|
ShapelessRecipe |
ShapelessRecipe.addIngredient(MaterialData ingredient) |
Adds the specified ingredient.
|
ShapelessRecipe |
ShapelessRecipe.removeIngredient(int count,
MaterialData ingredient) |
Removes multiple instances of an ingredient from the list.
|
ShapelessRecipe |
ShapelessRecipe.removeIngredient(MaterialData ingredient) |
Removes an ingredient from the list.
|
void |
ItemStack.setData(MaterialData data) |
Sets the MaterialData for this stack of items
|
ShapedRecipe |
ShapedRecipe.setIngredient(char key,
MaterialData ingredient) |
Sets the material that a character in the recipe shape refers to.
|
FurnaceRecipe |
FurnaceRecipe.setInput(MaterialData input) |
Sets the input of this furnace recipe.
|
Constructor | Description |
---|---|
FurnaceRecipe(ItemStack result,
MaterialData source) |
Deprecated.
|
FurnaceRecipe(ItemStack result,
MaterialData source,
float experience) |
Deprecated.
|
Modifier and Type | Class | Description |
---|---|---|
class |
Banner |
|
class |
Bed |
Represents a bed.
|
class |
Button |
Represents a button
|
class |
Cake |
|
class |
Cauldron |
Represents a cauldron
|
class |
Chest |
Represents a chest
|
class |
Coal |
Represents the different types of coals.
|
class |
CocoaPlant |
Represents the cocoa plant
|
class |
Command |
Represents a command block
|
class |
Comparator |
Represents a comparator in the on or off state, in normal or subtraction mode and facing in a specific direction.
|
class |
Crops |
Represents the different types of crops in different states of growth.
|
class |
DetectorRail |
Represents a detector rail
|
class |
Diode |
Represents a diode/repeater in the on or off state, with a delay and facing
in a specific direction.
|
class |
DirectionalContainer |
Represents a furnace or a dispenser.
|
class |
Dispenser |
Represents a dispenser.
|
class |
Door |
Represents a door.
|
class |
Dye |
Represents dye
|
class |
EnderChest |
Represents an ender chest
|
class |
ExtendedRails |
This is the superclass for the
DetectorRail and PoweredRail
classes |
class |
FlowerPot |
Deprecated.
Flower pots are now tile entities, use
FlowerPot . |
class |
Furnace |
Represents a furnace.
|
class |
FurnaceAndDispenser |
Represents a furnace or dispenser, two types of directional containers
|
class |
Gate |
Represents a fence gate
|
class |
Hopper |
Represents a hopper in an active or deactivated state and facing in a
specific direction.
|
class |
Ladder |
Represents Ladder data
|
class |
Leaves |
Represents the different types of leaf block that may be permanent or can
decay when too far from a log.
|
class |
Lever |
Represents a lever
|
class |
LongGrass |
Represents the different types of long grasses.
|
class |
MonsterEggs |
Represents the different types of monster eggs
|
class |
Mushroom |
Represents a huge mushroom block with certain combinations of faces set to
cap, pores or stem.
|
class |
NetherWarts |
Represents nether wart
|
class |
Observer |
Represents an observer.
|
class |
PistonBaseMaterial |
Material data for the piston base block
|
class |
PistonExtensionMaterial |
Material data for the piston extension block
|
class |
PoweredRail |
Represents a powered rail
|
class |
PressurePlate |
Represents a pressure plate
|
class |
Pumpkin |
Represents a pumpkin.
|
class |
Rails |
Represents minecart rails.
|
class |
RedstoneTorch |
Represents a redstone torch
|
class |
RedstoneWire |
Represents redstone wire
|
class |
Sandstone |
Represents the different types of sandstone.
|
class |
Sapling |
Represents the different types of Tree block that face a direction.
|
class |
Sign |
MaterialData for signs
|
class |
SimpleAttachableMaterialData |
Simple utility class for attachable MaterialData subclasses
|
class |
Skull |
Represents a skull.
|
class |
SmoothBrick |
Represents the different types of smooth bricks.
|
class |
SpawnEgg |
Deprecated.
use
SpawnEggMeta |
class |
Stairs |
Represents stairs.
|
class |
Step |
Represents the different types of steps.
|
class |
TexturedMaterial |
Represents textured materials like steps and smooth bricks
|
class |
Torch |
MaterialData for torches
|
class |
TrapDoor |
Represents a trap door
|
class |
Tree |
Represents the different types of Tree block that face a direction.
|
class |
Tripwire |
Represents the tripwire
|
class |
TripwireHook |
Represents the tripwire hook
|
class |
Vine |
Represents a vine
|
class |
Wood |
Represents wood blocks of different species.
|
class |
WoodenStep |
Represents the different types of wooden steps.
|
class |
Wool |
Represents a Wool/Cloth block
|
Modifier and Type | Method | Description |
---|---|---|
MaterialData |
MaterialData.clone() |
Deprecated.
|
MaterialData |
FlowerPot.getContents() |
Deprecated.
Get the material in the flower pot
|
Modifier and Type | Method | Description |
---|---|---|
void |
FlowerPot.setContents(MaterialData materialData) |
Deprecated.
Set the contents of the flower pot
|
Copyright © 2020. All rights reserved.