| 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.event.block | |
| org.bukkit.event.entity | |
| org.bukkit.event.world | |
| org.bukkit.inventory.meta | 
 The interfaces used when manipulating extra data can can be stored inside
  
item stacks. | 
| Modifier and Type | Method | Description | 
|---|---|---|
BlockState[] | 
Chunk.getTileEntities() | 
 Get a list of all tile entities in the chunk. 
 | 
| Modifier and Type | Interface | Description | 
|---|---|---|
interface  | 
Banner | 
 Represents a captured state of a banner. 
 | 
interface  | 
Beacon | 
 Represents a captured state of a beacon. 
 | 
interface  | 
Bed | 
 Represents a captured state of a bed. 
 | 
interface  | 
BrewingStand | 
 Represents a captured state of a brewing stand. 
 | 
interface  | 
Chest | 
 Represents a captured state of a chest. 
 | 
interface  | 
CommandBlock | 
 Represents a captured state of a command block. 
 | 
interface  | 
Comparator | 
 Represents a captured state of an on / off comparator. 
 | 
interface  | 
Container | 
 Represents a captured state of a container block. 
 | 
interface  | 
CreatureSpawner | 
 Represents a captured state of a creature spawner. 
 | 
interface  | 
DaylightDetector | 
 Represents a captured state of a (possibly inverted) daylight detector. 
 | 
interface  | 
Dispenser | 
 Represents a captured state of a dispenser. 
 | 
interface  | 
Dropper | 
 Represents a captured state of a dropper. 
 | 
interface  | 
EnchantingTable | 
 Represents a captured state of an enchanting table. 
 | 
interface  | 
EnderChest | 
 Represents a captured state of an ender chest. 
 | 
interface  | 
EndGateway | 
 Represents a captured state of an end gateway. 
 | 
interface  | 
FlowerPot | 
 Represents a captured state of a flower pot. 
 | 
interface  | 
Furnace | 
 Represents a captured state of a furnace. 
 | 
interface  | 
Hopper | 
 Represents a captured state of a hopper. 
 | 
interface  | 
Jukebox | 
 Represents a captured state of a jukebox. 
 | 
interface  | 
NoteBlock | 
 Represents a captured state of a note block. 
 | 
interface  | 
ShulkerBox | 
 Represents a captured state of a ShulkerBox. 
 | 
interface  | 
Sign | 
 Represents a captured state of either a SignPost or a WallSign. 
 | 
interface  | 
Skull | 
 Represents a captured state of a skull block. 
 | 
interface  | 
Structure | 
 Represents a structure block that can save and load blocks from a file. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
BlockState | 
Block.getState() | 
 Captures the current state of this block. 
 | 
BlockState | 
Block.getState(boolean useSnapshot) | 
| Modifier and Type | Field | Description | 
|---|---|---|
protected BlockState | 
BlockPlaceEvent.replacedBlockState | 
| Modifier and Type | Method | Description | 
|---|---|---|
BlockState | 
BlockPlaceEvent.getBlockReplacedState() | 
 Gets the BlockState for the block which was replaced. 
 | 
BlockState | 
BlockFadeEvent.getNewState() | 
 Gets the state of the block that will be fading, melting or
 disappearing. 
 | 
BlockState | 
BlockGrowEvent.getNewState() | 
 Gets the state of the block where it will form or spread to. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
List<BlockState> | 
BlockMultiPlaceEvent.getReplacedBlockStates() | 
 Gets a list of blockstates for all blocks which were replaced by the
 placement of the new blocks. 
 | 
| Constructor | Description | 
|---|---|
BlockFadeEvent(Block block,
              BlockState newState) | 
|
BlockFormEvent(Block block,
              BlockState newState) | 
|
BlockGrowEvent(Block block,
              BlockState newState) | 
|
BlockPlaceEvent(Block placedBlock,
               BlockState replacedBlockState,
               Block placedAgainst,
               ItemStack itemInHand,
               Player thePlayer,
               boolean canBuild) | 
 Deprecated. 
 | 
BlockPlaceEvent(Block placedBlock,
               BlockState replacedBlockState,
               Block placedAgainst,
               ItemStack itemInHand,
               Player thePlayer,
               boolean canBuild,
               EquipmentSlot hand) | 
|
BlockSpreadEvent(Block block,
                Block source,
                BlockState newState) | 
|
EntityBlockFormEvent(Entity entity,
                    Block block,
                    BlockState blockstate) | 
| Constructor | Description | 
|---|---|
BlockMultiPlaceEvent(List<BlockState> states,
                    Block clicked,
                    ItemStack itemInHand,
                    Player thePlayer,
                    boolean canBuild) | 
| Modifier and Type | Method | Description | 
|---|---|---|
List<BlockState> | 
EntityCreatePortalEvent.getBlocks() | 
 Gets a list of all blocks associated with the portal. 
 | 
| Constructor | Description | 
|---|---|
EntityCreatePortalEvent(LivingEntity what,
                       List<BlockState> blocks,
                       PortalType type) | 
| Modifier and Type | Method | Description | 
|---|---|---|
List<BlockState> | 
StructureGrowEvent.getBlocks() | 
 Gets an ArrayList of all blocks associated with the structure. 
 | 
| Constructor | Description | 
|---|---|
StructureGrowEvent(Location location,
                  TreeType species,
                  boolean bonemeal,
                  Player player,
                  List<BlockState> blocks) | 
| Modifier and Type | Method | Description | 
|---|---|---|
BlockState | 
BlockStateMeta.getBlockState() | 
 Returns the currently attached block state for this
 item or creates a new one if one doesn't exist. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
void | 
BlockStateMeta.setBlockState(BlockState blockState) | 
 Attaches a copy of the passed block state to the item. 
 | 
Copyright © 2019. All rights reserved.