Uses of Interface
org.bukkit.block.BlockState
Packages that use BlockState
Package
Description
Arguments.
The root package of the Bukkit API, contains generalized API classes.
Classes used to manipulate the voxels in a
world,
including special states.Generalized BlockData classes.
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.Multi and single purpose classes to facilitate various programmatic
concepts.
-
Uses of BlockState in com.destroystokyo.paper
Methods in com.destroystokyo.paper with parameters of type BlockState -
Uses of BlockState in io.papermc.paper.block
Subinterfaces of BlockState in io.papermc.paper.blockModifier and TypeInterfaceDescriptioninterfaceInterface for block entities that are lockable.interfaceinterfaceRepresents aTileStateblock that has an inventory. -
Uses of BlockState in io.papermc.paper.command.brigadier.argument
Methods in io.papermc.paper.command.brigadier.argument that return types with arguments of type BlockStateModifier and TypeMethodDescriptionstatic com.mojang.brigadier.arguments.ArgumentType<BlockState> ArgumentTypes.blockState()A blockstate argument which will provide rich parsing for specifying the specific block variant and then the block entity NBT if applicable. -
Uses of BlockState in io.papermc.paper.event.block
Constructors in io.papermc.paper.event.block with parameters of type BlockStateModifierConstructorDescriptionDragonEggFormEvent(Block block, BlockState newState, DragonBattle dragonBattle) -
Uses of BlockState in org.bukkit
Methods in org.bukkit that return BlockStateModifier and TypeMethodDescription@NotNull BlockStateRegionAccessor.getBlockState(int x, int y, int z) Gets theBlockStateat the given coordinates.default @NotNull BlockStateRegionAccessor.getBlockState(@NotNull Location location) Gets theBlockStateat the givenLocation.default @NotNull BlockState @NotNull []Chunk.getTileEntities()Get a list of all block entities in the chunk.@NotNull BlockState @NotNull []Chunk.getTileEntities(boolean useSnapshot) Get a list of all block entities in the chunk.Methods in org.bukkit that return types with arguments of type BlockStateModifier and TypeMethodDescription@NotNull Collection<BlockState> Chunk.getTileEntities(@NotNull Predicate<? super Block> blockPredicate, boolean useSnapshot) Get a list of all block entities that match a given predicate in the chunk.Method parameters in org.bukkit with type arguments of type BlockStateModifier and TypeMethodDescriptionbooleanRegionAccessor.generateTree(@NotNull Location location, @NotNull Random random, @NotNull TreeType type, @Nullable Consumer<? super BlockState> stateConsumer) Creates a tree at the givenLocationbooleanRegionAccessor.generateTree(@NotNull Location location, @NotNull Random random, @NotNull TreeType type, @Nullable Predicate<? super BlockState> statePredicate) 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.interfaceRepresents a captured state of a bed.interfaceRepresents 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.interfaceinterfaceRepresents a captured state of a crafter.interfaceRepresents a captured state of a creaking heart.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.interfaceinterfaceRepresents 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, for removal: This API element is subject to removal in a future version.interfaceRepresents a captured state of a test block.interfaceRepresents a captured state of a test instance block.interfaceRepresents a block state that also hosts a block entity at the given location.interfaceRepresents a captured state of a trial spawner.interfaceRepresents a captured state of a vault.Methods in org.bukkit.block that return BlockStateModifier and TypeMethodDescription@NotNull BlockStateBlockState.copy()Returns a copy of this BlockState as an unplaced BlockState.@NotNull BlockStateCopies the state to another block as an unplaced BlockState.@NotNull BlockStateBlock.getState()Captures the current state of this block.@NotNull BlockStateBlock.getState(boolean useSnapshot) -
Uses of BlockState in org.bukkit.block.data
Methods in org.bukkit.block.data that return BlockStateModifier and TypeMethodDescription@NotNull BlockStateBlockData.createBlockState()Creates a new defaultBlockStatefor this type of Block, not bound to a location. -
Uses of BlockState in org.bukkit.entity
Methods in org.bukkit.entity that return BlockStateModifier and TypeMethodDescriptionFallingBlock.getBlockState()Get the data of the falling block represented as aBlockStatewhich includes potential NBT data that gets applied when the block gets placed on landing.Methods in org.bukkit.entity with parameters of type BlockStateModifier and TypeMethodDescriptionvoidFallingBlock.setBlockState(BlockState blockState) Sets theBlockDataand possibly present block entity data for the falling block.Method parameters in org.bukkit.entity with type arguments of type BlockStateModifier and TypeMethodDescriptionvoidPlayer.sendBlockChanges(Collection<BlockState> blocks) Send a multi-block change.default 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 TypeMethodDescription@NotNull BlockStateBlockPlaceEvent.getBlockReplacedState()Gets the BlockState for the block which was replaced.@NotNull BlockStateBlockDropItemEvent.getBlockState()Gets the BlockState of the block involved in this event before it was broken.@NotNull BlockStateBlockExplodeEvent.getExplodedBlockState()Returns the captured BlockState of the block that exploded.@NotNull BlockStateBlockFadeEvent.getNewState()Gets the state of the new block that will replace the block fading, melting or disappearing.@NotNull BlockStateBlockGrowEvent.getNewState()Gets the state of the block where it will form or spread to.@NotNull BlockStateCauldronLevelChangeEvent.getNewState()Gets the new state of the cauldron.@NotNull BlockStateMoistureChangeEvent.getNewState()Gets the new state of the affected block.Methods in org.bukkit.event.block that return types with arguments of type BlockStateModifier and TypeMethodDescription@NotNull List<BlockState> BlockFertilizeEvent.getBlocks()Gets a list of all blocks changed by the fertilization.@NotNull List<BlockState> SpongeAbsorbEvent.getBlocks()Get a list of all blocks to be cleared by the sponge.@NotNull 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 BlockStateModifierConstructorDescriptionBlockDropItemEvent(@NotNull Block block, @NotNull BlockState blockState, @NotNull Player player, @NotNull List<Item> items) BlockExplodeEvent(@NotNull Block block, @NotNull BlockState blockState, @NotNull List<Block> blocks, float yield, @NotNull ExplosionResult result) BlockFadeEvent(@NotNull Block block, @NotNull BlockState newState) BlockFormEvent(@NotNull Block block, @NotNull BlockState newState) BlockGrowEvent(@NotNull Block block, @NotNull BlockState newState) BlockPlaceEvent(@NotNull Block placedBlock, @NotNull BlockState replacedBlockState, @NotNull Block placedAgainst, @NotNull ItemStack itemInHand, @NotNull Player thePlayer, boolean canBuild) Deprecated, for removal: This API element is subject to removal in a future version.BlockPlaceEvent(@NotNull Block placedBlock, @NotNull BlockState replacedBlockState, @NotNull Block placedAgainst, @NotNull ItemStack itemInHand, @NotNull Player thePlayer, boolean canBuild, @NotNull EquipmentSlot hand) BlockSpreadEvent(@NotNull Block block, @NotNull Block source, @NotNull BlockState newState) CauldronLevelChangeEvent(@NotNull Block block, @Nullable Entity entity, @NotNull CauldronLevelChangeEvent.ChangeReason reason, @NotNull BlockState newBlock) EntityBlockFormEvent(@NotNull Entity entity, @NotNull Block block, @NotNull BlockState blockstate) MoistureChangeEvent(@NotNull Block block, @NotNull BlockState newState) Constructor parameters in org.bukkit.event.block with type arguments of type BlockStateModifierConstructorDescriptionBlockFertilizeEvent(@NotNull Block block, @Nullable Player player, @NotNull List<BlockState> blocks) BlockMultiPlaceEvent(@NotNull List<BlockState> states, @NotNull Block clicked, @NotNull ItemStack itemInHand, @NotNull Player thePlayer, boolean canBuild) Deprecated, for removal: This API element is subject to removal in a future version.BlockMultiPlaceEvent(@NotNull List<BlockState> states, @NotNull Block clicked, @NotNull ItemStack itemInHand, @NotNull Player thePlayer, boolean canBuild, EquipmentSlot hand) SpongeAbsorbEvent(@NotNull Block block, @NotNull List<BlockState> waterblocks) -
Uses of BlockState in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return BlockStateModifier and TypeMethodDescription@Nullable BlockStateEntityDamageByBlockEvent.getDamagerBlockState()Returns the captured BlockState of the block that damaged the player.Methods in org.bukkit.event.entity that return types with arguments of type BlockStateModifier and TypeMethodDescription@NotNull List<BlockState> EntityCreatePortalEvent.getBlocks()Deprecated.Gets a list of all blocks associated with the portal.Constructors in org.bukkit.event.entity with parameters of type BlockStateModifierConstructorDescriptionEntityDamageByBlockEvent(@Nullable Block damager, @Nullable BlockState damagerState, @NotNull Entity damagee, @NotNull EntityDamageEvent.DamageCause cause, @NotNull DamageSource damageSource, double damage) EntityDamageByBlockEvent(@Nullable Block damager, @Nullable BlockState damagerState, @NotNull Entity damagee, @NotNull EntityDamageEvent.DamageCause cause, @NotNull DamageSource damageSource, @NotNull Map<EntityDamageEvent.DamageModifier, Double> modifiers, @NotNull Map<EntityDamageEvent.DamageModifier, ? extends Function<? super Double, Double>> modifierFunctions) Constructor parameters in org.bukkit.event.entity with type arguments of type BlockStateModifierConstructorDescriptionEntityCreatePortalEvent(@NotNull LivingEntity livingEntity, @NotNull List<BlockState> blocks, @NotNull 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 TypeMethodDescription@NotNull List<BlockState> PortalCreateEvent.getBlocks()Gets an array list of all the blocks associated with the created portal@NotNull List<BlockState> StructureGrowEvent.getBlocks()Gets a list of all blocks associated with the structure.Constructor parameters in org.bukkit.event.world with type arguments of type BlockStateModifierConstructorDescriptionPortalCreateEvent(@NotNull List<BlockState> blocks, @NotNull World world, @Nullable Entity entity, @NotNull PortalCreateEvent.CreateReason reason) PortalCreateEvent(@NotNull List<BlockState> blocks, @NotNull World world, @NotNull PortalCreateEvent.CreateReason reason) Deprecated, for removal: This API element is subject to removal in a future version.StructureGrowEvent(@NotNull Location location, @NotNull TreeType species, boolean bonemeal, @Nullable Player player, @NotNull List<BlockState> blocks) -
Uses of BlockState in org.bukkit.generator
Methods in org.bukkit.generator that return BlockStateModifier and TypeMethodDescriptiondefault @NotNull BlockStateLimitedRegion.getBlockState(@NotNull Vector location) Gets theBlockStateat a location.Methods in org.bukkit.generator that return types with arguments of type BlockStateModifier and TypeMethodDescription@NotNull List<BlockState> LimitedRegion.getTileEntities()Gets a list of all tile entities in the limited region including the buffer zone.Methods in org.bukkit.generator with parameters of type BlockStateModifier and TypeMethodDescriptionvoidLimitedRegion.setBlockState(int x, int y, int z, @NotNull BlockState state) Sets theBlockStateat a location.default voidLimitedRegion.setBlockState(@NotNull Vector location, @NotNull BlockState state) Sets theBlockStateat a location. -
Uses of BlockState in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return BlockStateModifier and TypeMethodDescription@NotNull BlockStateBlockStateMeta.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(@NotNull 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 TypeMethodDescription@NotNull List<BlockState> Palette.getBlocks()Gets a copy of the blocks this Palette is made of. -
Uses of BlockState in org.bukkit.util
Methods in org.bukkit.util that return BlockStateModifier and TypeMethodDescription@NotNull BlockStateBlockTransformer.TransformationState.getOriginal()Creates a clone of the original block state that a structure wanted to place and caches it for the current transformer.@NotNull BlockStateBlockTransformer.TransformationState.getWorld()Creates a clone of the block state that was at the location of the currently modified block at the start of the transformation process and caches it for the current transformer.@NotNull BlockStateBlockTransformer.transform(@NotNull LimitedRegion region, int x, int y, int z, @NotNull BlockState current, @NotNull BlockTransformer.TransformationState state) Transforms a block in a structure.Methods in org.bukkit.util with parameters of type BlockStateModifier and TypeMethodDescription@NotNull BlockStateBlockTransformer.transform(@NotNull LimitedRegion region, int x, int y, int z, @NotNull BlockState current, @NotNull BlockTransformer.TransformationState state) Transforms a block in a structure.