Uses of Interface
org.bukkit.block.Block
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.Generalized BlockData classes.
Classes relating to handling specialized non-chat player input.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.Events
triggered from an enchantment table
.Events
relating to entities that hang
.Events
relating to vehicular entities
.Classes involved in manipulating player inventories and item interactions.
Classes to represent the source of a projectile
Multi and single purpose classes to facilitate various programmatic
concepts.
-
Uses of Block in com.destroystokyo.paper
-
Uses of Block in com.destroystokyo.paper.block
Modifier and TypeMethodDescriptionTargetBlockInfo.getBlock()
Deprecated, for removal: This API element is subject to removal in a future version.Get the block that is targetedTargetBlockInfo.getRelativeBlock()
Deprecated, for removal: This API element is subject to removal in a future version.Get the relative Block to the targeted block on the side it is targeted atModifierConstructorDescriptionTargetBlockInfo
(@NotNull Block block, @NotNull BlockFace blockFace) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Block in com.destroystokyo.paper.event.block
ModifierConstructorDescriptionBeaconEffectEvent
(@NotNull Block block, @NotNull PotionEffect effect, @NotNull Player player, boolean primary) BlockDestroyEvent
(@NotNull Block block, @NotNull BlockData newState, boolean willDrop) TNTPrimeEvent
(@NotNull Block theBlock, @NotNull TNTPrimeEvent.PrimeReason reason, @Nullable Entity primerEntity) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Block in com.destroystokyo.paper.loottable
-
Uses of Block in io.papermc.paper.event.block
Modifier and TypeMethodDescriptionPlayerShearBlockEvent.getBlock()
Gets the block being sheared in this event.BlockBreakBlockEvent.getSource()
Gets the block that cause this (e.g.ModifierConstructorDescriptionBeaconActivatedEvent
(@NotNull Block block) BeaconDeactivatedEvent
(@NotNull Block block) BellRevealRaiderEvent
(@NotNull Block theBlock, @NotNull Entity raider) Deprecated.Deprecated.BlockFailedDispenseEvent
(@NotNull Block theBlock) BlockLockCheckEvent
(@NotNull Block block, @NotNull LockableTileState state, @NotNull Player player, @NotNull Component lockedMessage, @NotNull Sound lockedSound) BlockPreDispenseEvent
(@NotNull Block block, @NotNull ItemStack itemStack, int slot) CompostItemEvent
(@NotNull Block composter, @NotNull ItemStack item, boolean willRaiseLevel) DragonEggFormEvent
(@NotNull Block block, @NotNull BlockState newState, @NotNull DragonBattle dragonBattle) PlayerShearBlockEvent
(@NotNull Player who, @NotNull Block block, @NotNull ItemStack item, @NotNull EquipmentSlot hand, @NotNull List<ItemStack> drops) TargetHitEvent
(@NotNull Projectile projectile, @NotNull Block block, @NotNull BlockFace blockFace, int signalStrength) -
Uses of Block in io.papermc.paper.event.entity
-
Uses of Block in io.papermc.paper.event.player
Modifier and TypeMethodDescriptionPlayerChangeBeaconEffectEvent.getBeacon()
PlayerBedFailEnterEvent.getBed()
PlayerFlowerPotManipulateEvent.getFlowerpot()
Gets the flowerpot that is involved in this event.ModifierConstructorDescriptionPlayerBedFailEnterEvent
(@NotNull Player player, @NotNull PlayerBedFailEnterEvent.FailReason failReason, @NotNull Block bed, boolean willExplode, @Nullable Component message) PlayerChangeBeaconEffectEvent
(@NotNull Player player, @Nullable PotionEffectType primary, @Nullable PotionEffectType secondary, @Nullable Block beacon) PlayerFlowerPotManipulateEvent
(@NotNull Player player, @NotNull Block flowerpot, @NotNull ItemStack item, boolean placing) -
Uses of Block in org.bukkit
Modifier and TypeMethodDescriptionChunk.getBlock
(int x, int y, int z) Gets a block from this chunkLocation.getBlock()
Gets the block at the represented locationVibration.Destination.BlockDestination.getBlock()
World.getBlockAt
(int x, int y, int z) Gets theBlock
at the given coordinatesWorld.getBlockAt
(@NotNull Location location) World.getBlockAtKey
(long key) Deprecated.only encodes y block ranges from -512 to 511 and represents an already changed implementation detailWorld.getHighestBlockAt
(int x, int z) Gets the highest non-empty (impassable) block at the given coordinates.World.getHighestBlockAt
(int x, int z, @NotNull HeightMap heightMap) Gets the highest block corresponding to theHeightMap
at the given coordinates.World.getHighestBlockAt
(int x, int z, HeightmapType heightmap) Deprecated, for removal: This API element is subject to removal in a future version.Upstream has added support for this, useWorld.getHighestBlockAt(int, int, HeightMap)
World.getHighestBlockAt
(@NotNull Location location) Gets the highest non-empty (impassable) block at the given coordinates.World.getHighestBlockAt
(@NotNull Location location, @NotNull HeightMap heightMap) Gets the highest block corresponding to theHeightMap
at the given coordinates.World.getHighestBlockAt
(@NotNull Location location, HeightmapType heightmap) Deprecated, for removal: This API element is subject to removal in a future version.Upstream has added support for this, useWorld.getHighestBlockAt(Location, HeightMap)
Modifier and TypeMethodDescriptionWorld.getChunkAt
(@NotNull Block block) default CompletableFuture<Chunk>
World.getChunkAtAsync
(@NotNull Block block) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.default CompletableFuture<Chunk>
World.getChunkAtAsync
(@NotNull Block block, boolean gen) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.default void
World.getChunkAtAsync
(@NotNull Block block, boolean gen, Consumer<Chunk> cb) default void
World.getChunkAtAsync
(@NotNull Block block, @NotNull World.ChunkLoadCallback cb) Deprecated.Use either the Future or the Consumer based methodsdefault void
World.getChunkAtAsync
(@NotNull Block block, Consumer<Chunk> cb) default CompletableFuture<Chunk>
World.getChunkAtAsyncUrgently
(@NotNull Block block) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.default CompletableFuture<Chunk>
World.getChunkAtAsyncUrgently
(@NotNull Block block, boolean gen) Requests aChunk
to be loaded at the given coordinates This method makes no guarantee on how fast the chunk will load, and will return the chunk to the callback at a later time.static boolean
Bukkit.isOwnedByCurrentRegion
(Block block) Returns whether the current thread is ticking a region and that the region being ticked owns the chunk at the specified block position.default boolean
Server.isOwnedByCurrentRegion
(Block block) Returns whether the current thread is ticking a region and that the region being ticked owns the chunk at the specified block position.Modifier and TypeMethodDescriptionChunk.getTileEntities
(@NotNull Predicate<Block> blockPredicate, boolean useSnapshot) Get a list of all tile entities that match a given predicate in the chunk. -
Uses of Block in org.bukkit.block
Modifier and TypeMethodDescriptionBlockState.getBlock()
Gets the block represented by this block state.Block.getRelative
(int modX, int modY, int modZ) Gets the block at the given offsetsBlock.getRelative
(@NotNull BlockFace face) Gets the block at the given faceBlock.getRelative
(@NotNull BlockFace face, int distance) Gets the block at the given distance of the given face -
Uses of Block in org.bukkit.block.data
Modifier and TypeMethodDescriptionboolean
BlockData.isSupported
(@NotNull Block block) Checks if this state would be properly supported if it were placed at the givenBlock
. -
Uses of Block in org.bukkit.command
-
Uses of Block in org.bukkit.entity
Modifier and TypeMethodDescriptionAbstractArrow.getAttachedBlock()
Gets the block to which this arrow is attached.Raider.getPatrolTarget()
Gets the block the raider is targeting to patrol.LivingEntity.getTargetBlock
(int maxDistance) Deprecated, for removal: This API element is subject to removal in a future version.LivingEntity.getTargetBlock
(int maxDistance, TargetBlockInfo.FluidMode fluidMode) Deprecated, for removal: This API element is subject to removal in a future version.LivingEntity.getTargetBlock
(@Nullable Set<Material> transparent, int maxDistance) Gets the block that the living entity has targeted.LivingEntity.getTargetBlockExact
(int maxDistance) Gets the block that the living entity has targeted.LivingEntity.getTargetBlockExact
(int maxDistance, @NotNull FluidCollisionMode fluidCollisionMode) Gets the block that the living entity has targeted.Modifier and TypeMethodDescriptionLivingEntity.getLastTwoTargetBlocks
(@Nullable Set<Material> transparent, int maxDistance) Gets the last two blocks along the living entity's line of sight.LivingEntity.getLineOfSight
(@Nullable Set<Material> transparent, int maxDistance) Gets all blocks along the living entity's line of sight.Modifier and TypeMethodDescriptionboolean
Player.breakBlock
(@NotNull Block block) Force this player to break a Block using the item in their main hand.void
Raider.setPatrolTarget
(@Nullable Block block) Sets the block the raider is targeting to patrol. -
Uses of Block in org.bukkit.event.block
Modifier and TypeFieldDescriptionprotected Block
BlockEvent.block
protected Block
BlockPlaceEvent.placedAgainst
protected Block
BlockFromToEvent.to
Modifier and TypeMethodDescriptionBlockEvent.getBlock()
Gets the block involved in this event.BlockPlaceEvent.getBlockAgainst()
Gets the block that this block was placed againstBlockPlaceEvent.getBlockPlaced()
Clarity method for getting the placed block.BlockBurnEvent.getIgnitingBlock()
Gets the block which ignited this block.BlockIgniteEvent.getIgnitingBlock()
Gets the block which ignited this blockTNTPrimeEvent.getPrimingBlock()
Get the block that caused the TNT to be primed.BlockSpreadEvent.getSource()
Gets the source block involved in this event.BlockPhysicsEvent.getSourceBlock()
Gets the source block that triggered this event.BlockFromToEvent.getToBlock()
Convenience method for getting the faced Block.Modifier and TypeMethodDescriptionBlockExplodeEvent.blockList()
Returns the list of blocks that would have been removed or were removed from the explosion event.BlockPistonExtendEvent.getBlocks()
Get an immutable list of the blocks which will be moved by the extending.BlockPistonRetractEvent.getBlocks()
Get an immutable list of the blocks which will be moved by the extending.ModifierConstructorDescriptionBellResonateEvent
(@NotNull Block theBlock, @NotNull List<LivingEntity> resonatedEntities) BlockBreakEvent
(@NotNull Block theBlock, @NotNull Player player) BlockBurnEvent
(@NotNull Block block) Deprecated.BlockBurnEvent
(@NotNull Block block, @Nullable Block ignitingBlock) BlockCanBuildEvent
(@NotNull Block block, @NotNull BlockData type, boolean canBuild) Deprecated.BlockCanBuildEvent
(@NotNull Block block, @Nullable Player player, @NotNull BlockData type, boolean canBuild) Deprecated.BlockCanBuildEvent
(@NotNull Block block, @Nullable Player player, @NotNull BlockData type, boolean canBuild, EquipmentSlot hand) Deprecated.BlockCookEvent
(@NotNull Block block, @NotNull ItemStack source, @NotNull ItemStack result, CookingRecipe<?> recipe) BlockDamageEvent
(@NotNull Player player, @NotNull Block block, @NotNull ItemStack itemInHand, boolean instaBreak) Deprecated, for removal: This API element is subject to removal in a future version.BlockDamageEvent
(@NotNull Player player, @NotNull Block block, BlockFace blockFace, @NotNull ItemStack itemInHand, boolean instaBreak) BlockDispenseArmorEvent
(@NotNull Block block, @NotNull ItemStack dispensed, @NotNull LivingEntity target) BlockDropItemEvent
(@NotNull Block block, @NotNull BlockState blockState, @NotNull Player player, @NotNull List<Item> items) BlockEvent
(@NotNull Block theBlock) BlockExpEvent
(@NotNull Block block, int exp) Deprecated.BlockExplodeEvent
(@NotNull Block what, @NotNull List<Block> blocks, float yield, BlockState explodedBlockState) BlockFadeEvent
(@NotNull Block block, @NotNull BlockState newState) BlockFertilizeEvent
(@NotNull Block theBlock, @Nullable Player player, @NotNull List<BlockState> blocks) BlockFormEvent
(@NotNull Block block, @NotNull BlockState newState) BlockFromToEvent
(@NotNull Block block, @NotNull Block toBlock) BlockFromToEvent
(@NotNull Block block, @NotNull BlockFace face) BlockGrowEvent
(@NotNull Block block, @NotNull BlockState newState) BlockIgniteEvent
(@NotNull Block theBlock, @NotNull BlockIgniteEvent.IgniteCause cause, @NotNull Block ignitingBlock) BlockIgniteEvent
(@NotNull Block theBlock, @NotNull BlockIgniteEvent.IgniteCause cause, @Nullable Entity ignitingEntity) BlockIgniteEvent
(@NotNull Block theBlock, @NotNull BlockIgniteEvent.IgniteCause cause, @Nullable Entity ignitingEntity, @Nullable Block ignitingBlock) BlockMultiPlaceEvent
(@NotNull List<BlockState> states, @NotNull Block clicked, @NotNull ItemStack itemInHand, @NotNull Player thePlayer, boolean canBuild) Deprecated.BlockMultiPlaceEvent
(@NotNull List<BlockState> states, @NotNull Block clicked, @NotNull ItemStack itemInHand, @NotNull Player thePlayer, boolean canBuild, EquipmentSlot hand) BlockPhysicsEvent
(@NotNull Block block, @NotNull BlockData changed) BlockPhysicsEvent
(Block block, BlockData changed, int sourceX, int sourceY, int sourceZ) Deprecated.BlockPistonEvent
(@NotNull Block block, @NotNull BlockFace direction) BlockPistonExtendEvent
(@NotNull Block block, int length, @NotNull BlockFace direction) Deprecated.BlockPistonExtendEvent
(@NotNull Block block, @NotNull List<Block> blocks, @NotNull BlockFace direction) BlockPistonRetractEvent
(@NotNull Block block, @NotNull List<Block> blocks, @NotNull BlockFace direction) BlockPlaceEvent
(@NotNull Block placedBlock, @NotNull BlockState replacedBlockState, @NotNull Block placedAgainst, @NotNull ItemStack itemInHand, @NotNull Player thePlayer, boolean canBuild) Deprecated.BlockPlaceEvent
(@NotNull Block placedBlock, @NotNull BlockState replacedBlockState, @NotNull Block placedAgainst, @NotNull ItemStack itemInHand, @NotNull Player thePlayer, boolean canBuild, @NotNull EquipmentSlot hand) BlockRedstoneEvent
(@NotNull Block block, int oldCurrent, int newCurrent) BlockSpreadEvent
(@NotNull Block block, @NotNull Block source, @NotNull BlockState newState) BrewingStartEvent
(@NotNull Block furnace, @NotNull ItemStack source, int brewingTime) CampfireStartEvent
(@NotNull Block furnace, @NotNull ItemStack source, @NotNull CampfireRecipe recipe) CauldronLevelChangeEvent
(@NotNull Block block, @Nullable Entity entity, @NotNull CauldronLevelChangeEvent.ChangeReason reason, @NotNull BlockState newBlock) EntityBlockFormEvent
(@NotNull Entity entity, @NotNull Block block, @NotNull BlockState blockstate) FluidLevelChangeEvent
(@NotNull Block theBlock, @NotNull BlockData newData) InventoryBlockStartEvent
(@NotNull Block block, @NotNull ItemStack source) LeavesDecayEvent
(@NotNull Block block) MoistureChangeEvent
(@NotNull Block block, @NotNull BlockState newState) NotePlayEvent
(@NotNull Block block, @NotNull Instrument instrument, @NotNull Note note) Deprecated.SignChangeEvent
(@NotNull Block theBlock, @NotNull Player thePlayer, @NotNull String[] theLines, @NotNull Side side) Deprecated.Deprecated.SignChangeEvent
(@NotNull Block theBlock, @NotNull Player player, List<Component> adventure$lines, @NotNull Side side) SpongeAbsorbEvent
(@NotNull Block block, @NotNull List<BlockState> waterblocks) TNTPrimeEvent
(@NotNull Block block, @NotNull TNTPrimeEvent.PrimeCause igniteCause, @Nullable Entity primingEntity, @Nullable Block primingBlock) ModifierConstructorDescriptionDeprecated.BlockExplodeEvent
(@NotNull Block what, @NotNull List<Block> blocks, float yield, BlockState explodedBlockState) BlockPistonExtendEvent
(@NotNull Block block, @NotNull List<Block> blocks, @NotNull BlockFace direction) BlockPistonRetractEvent
(@NotNull Block block, @NotNull List<Block> blocks, @NotNull BlockFace direction) -
Uses of Block in org.bukkit.event.enchantment
Modifier and TypeMethodDescriptionEnchantItemEvent.getEnchantBlock()
Gets the block being used to enchant the itemPrepareItemEnchantEvent.getEnchantBlock()
Gets the block being used to enchant the itemModifierConstructorDescriptionEnchantItemEvent
(@NotNull Player enchanter, @NotNull InventoryView view, @NotNull Block table, @NotNull ItemStack item, int level, @NotNull Map<Enchantment, Integer> enchants, @NotNull Enchantment enchantmentHint, int levelHint, int i) PrepareItemEnchantEvent
(@NotNull Player enchanter, @NotNull InventoryView view, @NotNull Block table, @NotNull ItemStack item, @Nullable EnchantmentOffer @NotNull [] offers, int bonus) -
Uses of Block in org.bukkit.event.entity
Modifier and TypeMethodDescriptionEntityChangeBlockEvent.getBlock()
Gets the block the entity is changingEntityEnterBlockEvent.getBlock()
Get the block the entity will enter.EntityInteractEvent.getBlock()
Returns the involved blockEntityPlaceEvent.getBlock()
Returns the block that the entity was placed onEntityCombustByBlockEvent.getCombuster()
The combuster can be lava or a block that is on fire.EntityDamageByBlockEvent.getDamager()
Returns the block that damaged the player.ProjectileHitEvent.getHitBlock()
Gets the block that was hit, if it was a block that was hit.Modifier and TypeMethodDescriptionEntityExplodeEvent.blockList()
Returns the list of blocks that would have been removed or were removed from the explosion event.ModifierConstructorDescriptionEntityBreakDoorEvent
(@NotNull LivingEntity entity, @NotNull Block targetBlock, BlockData to) EntityCombustByBlockEvent
(@Nullable Block combuster, @NotNull Entity combustee, int duration) EntityDamageByBlockEvent
(@Nullable Block damager, @NotNull Entity damagee, @NotNull EntityDamageEvent.DamageCause cause, double damage) EntityDamageByBlockEvent
(@Nullable Block damager, @NotNull Entity damagee, @NotNull EntityDamageEvent.DamageCause cause, double damage, BlockState damagerBlockState) EntityDamageByBlockEvent
(@Nullable Block damager, @NotNull Entity damagee, @NotNull EntityDamageEvent.DamageCause cause, @NotNull Map<EntityDamageEvent.DamageModifier, Double> modifiers, @NotNull Map<EntityDamageEvent.DamageModifier, ? extends Function<? super Double, Double>> modifierFunctions) EntityDamageByBlockEvent
(@Nullable Block damager, @NotNull Entity damagee, @NotNull EntityDamageEvent.DamageCause cause, @NotNull Map<EntityDamageEvent.DamageModifier, Double> modifiers, @NotNull Map<EntityDamageEvent.DamageModifier, ? extends Function<? super Double, Double>> modifierFunctions, BlockState damagerBlockState) EntityEnterBlockEvent
(@NotNull Entity entity, @NotNull Block block) EntityInteractEvent
(@NotNull Entity entity, @NotNull Block block) EntityPlaceEvent
(@NotNull Entity entity, @Nullable Player player, @NotNull Block block, @NotNull BlockFace blockFace) Deprecated.EntityPlaceEvent
(@NotNull Entity entity, @Nullable Player player, @NotNull Block block, @NotNull BlockFace blockFace, @NotNull EquipmentSlot hand) ProjectileHitEvent
(@NotNull Projectile projectile, @Nullable Block hitBlock) ProjectileHitEvent
(@NotNull Projectile projectile, @Nullable Entity hitEntity, @Nullable Block hitBlock) ProjectileHitEvent
(@NotNull Projectile projectile, @Nullable Entity hitEntity, @Nullable Block hitBlock, @Nullable BlockFace hitFace) -
Uses of Block in org.bukkit.event.hanging
Modifier and TypeMethodDescriptionHangingPlaceEvent.getBlock()
Returns the block that the hanging entity was placed onModifierConstructorDescriptionHangingPlaceEvent
(@NotNull Hanging hanging, @Nullable Player player, @NotNull Block block, @NotNull BlockFace blockFace, @Nullable EquipmentSlot hand) Deprecated.HangingPlaceEvent
(@NotNull Hanging hanging, @Nullable Player player, @NotNull Block block, @NotNull BlockFace blockFace, @Nullable EquipmentSlot hand, @Nullable ItemStack itemStack) -
Uses of Block in org.bukkit.event.inventory
Modifier and TypeMethodDescriptionHopperInventorySearchEvent.getSearchBlock()
Gets the Block that is being searched for an inventory.ModifierConstructorDescriptionBrewEvent
(@NotNull Block brewer, @NotNull BrewerInventory contents, @NotNull List<ItemStack> results, int fuelLevel) BrewingStandFuelEvent
(@NotNull Block brewingStand, @NotNull ItemStack fuel, int fuelPower) FurnaceBurnEvent
(@NotNull Block furnace, @NotNull ItemStack fuel, int burnTime) FurnaceExtractEvent
(@NotNull Player player, @NotNull Block block, @NotNull Material itemType, int itemAmount, int exp) Deprecated.FurnaceSmeltEvent
(@NotNull Block furnace, @NotNull ItemStack source, @NotNull ItemStack result, CookingRecipe<?> recipe) FurnaceStartSmeltEvent
(@NotNull Block furnace, @NotNull ItemStack source, @NotNull CookingRecipe<?> recipe) Deprecated.FurnaceStartSmeltEvent
(@NotNull Block furnace, @NotNull ItemStack source, @NotNull CookingRecipe<?> recipe, int cookingTime) HopperInventorySearchEvent
(@NotNull Inventory inventory, @NotNull HopperInventorySearchEvent.ContainerType containerType, @NotNull Block hopper, @NotNull Block searchBlock) -
Uses of Block in org.bukkit.event.player
Modifier and TypeMethodDescriptionPlayerBedEnterEvent.getBed()
Returns the bed block involved in this event.PlayerBedLeaveEvent.getBed()
Returns the bed block involved in this event.PlayerBucketEvent.getBlock()
Gets the block involved in this event.PlayerBucketEvent.getBlockClicked()
Return the block clickedPlayerInteractEvent.getClickedBlock()
Returns the clicked blockPlayerHarvestBlockEvent.getHarvestedBlock()
Gets the block that is being harvested.ModifierConstructorDescriptionPlayerBedEnterEvent
(@NotNull Player who, @NotNull Block bed) Deprecated.PlayerBedEnterEvent
(@NotNull Player who, @NotNull Block bed, @NotNull PlayerBedEnterEvent.BedEnterResult bedEnterResult) PlayerBedLeaveEvent
(@NotNull Player who, @NotNull Block bed, boolean setBedSpawn) PlayerBucketEmptyEvent
(@NotNull Player who, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand) Deprecated.PlayerBucketEmptyEvent
(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand) Deprecated.PlayerBucketEmptyEvent
(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand, @NotNull EquipmentSlot hand) PlayerBucketEvent
(@NotNull Player who, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand) Deprecated.PlayerBucketEvent
(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand) Deprecated.PlayerBucketEvent
(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand, @NotNull EquipmentSlot hand) PlayerBucketFillEvent
(@NotNull Player who, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand) Deprecated.PlayerBucketFillEvent
(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand) Deprecated.PlayerBucketFillEvent
(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand, @NotNull EquipmentSlot hand) PlayerHarvestBlockEvent
(@NotNull Player player, @NotNull Block harvestedBlock, @NotNull List<ItemStack> itemsHarvested) Deprecated.PlayerHarvestBlockEvent
(@NotNull Player player, @NotNull Block harvestedBlock, @NotNull EquipmentSlot hand, @NotNull List<ItemStack> itemsHarvested) PlayerInteractEvent
(@NotNull Player who, @NotNull Action action, @Nullable ItemStack item, @Nullable Block clickedBlock, @NotNull BlockFace clickedFace) PlayerInteractEvent
(@NotNull Player who, @NotNull Action action, @Nullable ItemStack item, @Nullable Block clickedBlock, @NotNull BlockFace clickedFace, @Nullable EquipmentSlot hand) PlayerInteractEvent
(@NotNull Player who, @NotNull Action action, @Nullable ItemStack item, @Nullable Block clickedBlock, @NotNull BlockFace clickedFace, @Nullable EquipmentSlot hand, @Nullable Vector clickedPosition) -
Uses of Block in org.bukkit.event.vehicle
Modifier and TypeMethodDescriptionVehicleBlockCollisionEvent.getBlock()
Gets the block the vehicle collided with -
Uses of Block in org.bukkit.inventory
-
Uses of Block in org.bukkit.projectiles
-
Uses of Block in org.bukkit.util
Modifier and TypeMethodDescriptionRayTraceResult.getHitBlock()
Gets the hit block.BlockIterator.next()
Returns the next Block in the traceModifier and TypeMethodDescriptionstatic @NotNull BoundingBox
Creates a new 1x1x1 sized bounding box containing the given block.static @NotNull BoundingBox
Creates a new bounding box using the coordinates of the given blocks as corners.