Uses of Interface
org.bukkit.block.BlockState
Packages that use 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.Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc.Classes to facilitate
world generation
implementation.The interfaces used when manipulating extra data can can be stored inside
item stacks.Classes related to creating or using
structures without creating Structure
blocks in the world.-
Uses of BlockState in org.bukkit
Methods in org.bukkit that return BlockStateModifier and TypeMethodDescriptionRegionAccessor.getBlockState(int x, int y, int z) Gets theBlockStateat the given coordinates.RegionAccessor.getBlockState(Location location) Gets theBlockStateat the givenLocation.Chunk.getTileEntities()Get a list of all tile entities in the chunk.Method parameters in org.bukkit with type arguments of type BlockStateModifier and TypeMethodDescriptionbooleanRegionAccessor.generateTree(Location location, Random random, TreeType type, Predicate<BlockState> statePredicate) Creates a tree at the givenLocationbooleanRegionAccessor.generateTree(Location location, Random random, TreeType type, Consumer<BlockState> stateConsumer) Creates a tree at the givenLocation -
Uses of BlockState in org.bukkit.block
Subinterfaces of BlockState in org.bukkit.blockModifier and TypeInterfaceDescriptioninterfaceRepresents a captured state of a banner.interfaceRepresents a captured state of a Barrel.interfaceRepresents a captured state of a beacon.interfaceDeprecated.does not provide useful information beyond the material itselfinterfaceRepresents a captured state of a bee hive.interfaceRepresents a captured state of Bell.interfaceRepresents a captured state of a blast furnace.interfaceRepresents a captured state of a brewing stand.interfaceRepresents a captured state of suspicious sand or gravel.interfaceRepresents a captured state of a calibrated sculk sensorinterfaceRepresents a captured state of a campfire.interfaceRepresents a captured state of a chest.interfaceRepresents a captured state of a chiseled bookshelf.interfaceRepresents a captured state of a command block.interfaceRepresents a captured state of an on / off comparator.interfaceRepresents a captured state of a conduit.interfaceRepresents a captured state of a container block.interfaceRepresents a captured state of a creature spawner.interfaceRepresents a captured state of a (possibly inverted) daylight detector.interfaceRepresents a captured state of a decorated pot.interfaceRepresents a captured state of a dispenser.interfaceRepresents a captured state of a dropper.interfaceRepresents a captured state of an enchanting table.interfaceRepresents a captured state of an ender chest.interfaceRepresents a captured state of an end gateway.interfaceEntityBlockStorage<T extends Entity>Represents a captured state of a block which stores entities.interfaceRepresents a captured state of a furnace.interfaceRepresents a captured state of a hanging sign.interfaceRepresents a captured state of a hopper.interfaceRepresents a captured state of a jigsaw.interfaceRepresents a captured state of a jukebox.interfaceRepresents a captured state of a lectern.interfaceRepresents a captured state of a sculk catalyst.interfaceRepresents a captured state of a sculk sensorinterfaceRepresents a captured state of a sculk shrieker.interfaceRepresents a captured state of a ShulkerBox.interfaceRepresents a captured state of either a SignPost or a WallSign.interfaceRepresents a captured state of a skull block.interfaceRepresents a captured state of a smoker.interfaceRepresents a structure block that can save and load blocks from a file.interfaceDeprecated.interfaceRepresents a block state that also hosts a tile entity at the given location.Methods in org.bukkit.block that return BlockState -
Uses of BlockState in org.bukkit.entity
Method parameters in org.bukkit.entity with type arguments of type BlockStateModifier and TypeMethodDescriptionvoidPlayer.sendBlockChanges(Collection<BlockState> blocks) Send a multi-block change.voidPlayer.sendBlockChanges(Collection<BlockState> blocks, boolean suppressLightUpdates) Deprecated.suppressLightUpdates is not functional in versions greater than 1.19.4 -
Uses of BlockState in org.bukkit.event.block
Fields in org.bukkit.event.block declared as BlockStateMethods in org.bukkit.event.block that return BlockStateModifier 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.Methods in org.bukkit.event.block that return types with arguments of type BlockStateModifier 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.Constructors in org.bukkit.event.block with parameters of type BlockStateModifierConstructorDescriptionBlockDropItemEvent(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) Constructor parameters in org.bukkit.event.block with type arguments of type BlockStateModifierConstructorDescriptionBlockFertilizeEvent(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
Methods in org.bukkit.event.entity that return types with arguments of type BlockStateModifier and TypeMethodDescriptionEntityCreatePortalEvent.getBlocks()Deprecated.Gets a list of all blocks associated with the portal.Constructor parameters in org.bukkit.event.entity with type arguments of type BlockStateModifierConstructorDescriptionEntityCreatePortalEvent(LivingEntity what, List<BlockState> blocks, PortalType type) Deprecated. -
Uses of BlockState in org.bukkit.event.world
Methods in org.bukkit.event.world that return types with arguments of type BlockStateModifier 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.Constructor parameters in org.bukkit.event.world with type arguments of type BlockStateModifierConstructorDescriptionPortalCreateEvent(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.generator
Methods in org.bukkit.generator that return types with arguments of type BlockStateModifier and TypeMethodDescriptionLimitedRegion.getTileEntities()Gets a list of all tile entities in the limited region including the buffer zone. -
Uses of BlockState in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return BlockStateModifier and TypeMethodDescriptionBlockStateMeta.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 BlockStateModifier and TypeMethodDescriptionvoidBlockStateMeta.setBlockState(BlockState blockState) Attaches a copy of the passed block state to the item. -
Uses of BlockState in org.bukkit.structure
Methods in org.bukkit.structure that return types with arguments of type BlockStateModifier and TypeMethodDescriptionPalette.getBlocks()Gets a copy of the blocks this Palette is made of.