Uses of Interface
org.bukkit.block.BlockState
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes used to manipulate the voxels in a
world
,
including special states.The interfaces used when manipulating extra data can can be stored inside
item stacks
.-
Uses of BlockState in org.bukkit
Modifier and TypeMethodDescriptionChunk.getTileEntities()
Get a list of all tile entities in the chunk. -
Uses of BlockState in org.bukkit.block
Modifier and TypeInterfaceDescriptioninterface
Represents a captured state of a banner.interface
Represents a captured state of a Barrel.interface
Represents a captured state of a beacon.interface
Deprecated.does not provide useful information beyond the material itselfinterface
Represents a captured state of a bee hive.interface
Represents a captured state of Bell.interface
Represents a captured state of a blast furnace.interface
Represents a captured state of a brewing stand.interface
Represents a captured state of a campfire.interface
Represents a captured state of a chest.interface
Represents a captured state of a command block.interface
Represents a captured state of an on / off comparator.interface
Represents a captured state of a conduit.interface
Represents a captured state of a container block.interface
Represents a captured state of a creature spawner.interface
Represents a captured state of a (possibly inverted) daylight detector.interface
Represents a captured state of a dispenser.interface
Represents a captured state of a dropper.interface
Represents a captured state of an enchanting table.interface
Represents a captured state of an ender chest.interface
Represents a captured state of an end gateway.interface
EntityBlockStorage<T extends Entity>
Represents a captured state of a block which stores entities.interface
Represents a captured state of a furnace.interface
Represents a captured state of a hopper.interface
Represents a captured state of a jigsaw.interface
Represents a captured state of a jukebox.interface
Represents a captured state of a lectern.interface
Represents a captured state of a sculk sensorinterface
Represents a captured state of a ShulkerBox.interface
Represents a captured state of either a SignPost or a WallSign.interface
Represents a captured state of a skull block.interface
Represents a captured state of a smoker.interface
Represents a structure block that can save and load blocks from a file.interface
Represents a block state that also hosts a tile entity at the given location. -
Uses of BlockState in org.bukkit.event.block
Modifier and TypeMethodDescriptionBlockPlaceEvent.getBlockReplacedState()
Gets the BlockState for the block which was replaced.BlockDropItemEvent.getBlockState()
Gets the BlockState of the block involved in this event before it was broken.BlockFadeEvent.getNewState()
Gets the state of the block that will be fading, melting or disappearing.BlockGrowEvent.getNewState()
Gets the state of the block where it will form or spread to.CauldronLevelChangeEvent.getNewState()
Gets the new state of the cauldron.MoistureChangeEvent.getNewState()
Gets the new state of the affected block.Modifier and TypeMethodDescriptionBlockFertilizeEvent.getBlocks()
Gets a list of all blocks changed by the fertilization.SpongeAbsorbEvent.getBlocks()
Get a list of all blocks to be removed by the sponge.BlockMultiPlaceEvent.getReplacedBlockStates()
Gets a list of blockstates for all blocks which were replaced by the placement of the new blocks.ModifierConstructorDescriptionBlockDropItemEvent(Block block, BlockState blockState, Player player, List<Item> items)
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)
CauldronLevelChangeEvent(Block block, Entity entity, CauldronLevelChangeEvent.ChangeReason reason, BlockState newBlock)
EntityBlockFormEvent(Entity entity, Block block, BlockState blockstate)
MoistureChangeEvent(Block block, BlockState newState)
ModifierConstructorDescriptionBlockFertilizeEvent(Block theBlock, Player player, List<BlockState> blocks)
BlockMultiPlaceEvent(List<BlockState> states, Block clicked, ItemStack itemInHand, Player thePlayer, boolean canBuild)
SpongeAbsorbEvent(Block block, List<BlockState> waterblocks)
-
Uses of BlockState in org.bukkit.event.entity
Modifier and TypeMethodDescriptionEntityCreatePortalEvent.getBlocks()
Deprecated.Gets a list of all blocks associated with the portal.ModifierConstructorDescriptionEntityCreatePortalEvent(LivingEntity what, List<BlockState> blocks, PortalType type)
Deprecated. -
Uses of BlockState in org.bukkit.event.world
Modifier and TypeMethodDescriptionPortalCreateEvent.getBlocks()
Gets an array list of all the blocks associated with the created portalStructureGrowEvent.getBlocks()
Gets a list of all blocks associated with the structure.ModifierConstructorDescriptionPortalCreateEvent(List<BlockState> blocks, World world, Entity entity, PortalCreateEvent.CreateReason reason)
PortalCreateEvent(List<BlockState> blocks, World world, PortalCreateEvent.CreateReason reason)
Deprecated.StructureGrowEvent(Location location, TreeType species, boolean bonemeal, Player player, List<BlockState> blocks)
-
Uses of BlockState in org.bukkit.inventory.meta
Modifier and TypeMethodDescriptionBlockStateMeta.getBlockState()
Returns the currently attached block state for this item or creates a new one if one doesn't exist.Modifier and TypeMethodDescriptionvoid
BlockStateMeta.setBlockState(BlockState blockState)
Attaches a copy of the passed block state to the item.