Uses of Interface
org.bukkit.block.BlockState
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 . |
-
Uses of BlockState in org.bukkit
Methods in org.bukkit that return BlockState Modifier and Type Method Description BlockState[]
Chunk. getTileEntities()
Get a list of all tile entities in the chunk. -
Uses of BlockState in org.bukkit.block
Subinterfaces of BlockState in org.bukkit.block Modifier and Type Interface Description interface
Banner
interface
Beacon
Represents a beacon.interface
BrewingStand
Represents a brewing stand.interface
Chest
Represents a chest.interface
CommandBlock
interface
CreatureSpawner
Represents a creature spawner.interface
Dispenser
Represents a dispenser.interface
Dropper
Represents a dropper.interface
Furnace
Represents a furnace.interface
Hopper
Represents a hopper.interface
Jukebox
Represents a Jukeboxinterface
NoteBlock
Represents a note.interface
Sign
Represents either a SignPost or a WallSigninterface
Skull
Represents a SkullMethods in org.bukkit.block that return BlockState Modifier and Type Method Description BlockState
Block. getState()
Captures the current state of this block. -
Uses of BlockState in org.bukkit.event.block
Fields in org.bukkit.event.block declared as BlockState Modifier and Type Field Description protected BlockState
BlockPlaceEvent. replacedBlockState
Methods in org.bukkit.event.block that return BlockState 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.Methods in org.bukkit.event.block that return types with arguments of type BlockState Modifier and Type Method Description java.util.List<BlockState>
BlockMultiPlaceEvent. getReplacedBlockStates()
Gets a list of blockstates for all blocks which were replaced by the placement of the new blocks.Constructors in org.bukkit.event.block with parameters of type BlockState 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)
BlockSpreadEvent(Block block, Block source, BlockState newState)
EntityBlockFormEvent(Entity entity, Block block, BlockState blockstate)
Constructor parameters in org.bukkit.event.block with type arguments of type BlockState Constructor Description BlockMultiPlaceEvent(java.util.List<BlockState> states, Block clicked, ItemStack itemInHand, Player thePlayer, boolean canBuild)
-
Uses of BlockState in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return types with arguments of type BlockState Modifier and Type Method Description java.util.List<BlockState>
EntityCreatePortalEvent. getBlocks()
Gets a list of all blocks associated with the portal.Constructor parameters in org.bukkit.event.entity with type arguments of type BlockState Constructor Description EntityCreatePortalEvent(LivingEntity what, java.util.List<BlockState> blocks, PortalType type)
-
Uses of BlockState in org.bukkit.event.world
Methods in org.bukkit.event.world that return types with arguments of type BlockState Modifier and Type Method Description java.util.List<BlockState>
StructureGrowEvent. getBlocks()
Gets an ArrayList of all blocks associated with the structure.Constructor parameters in org.bukkit.event.world with type arguments of type BlockState Constructor Description StructureGrowEvent(Location location, TreeType species, boolean bonemeal, Player player, java.util.List<BlockState> blocks)
-
Uses of BlockState in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return BlockState 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.Methods in org.bukkit.inventory.meta with parameters of type BlockState Modifier and Type Method Description void
BlockStateMeta. setBlockState(BlockState blockState)
Attaches a copy of the passed block state to the item.