Uses of Interface
org.bukkit.block.Block

Packages that use Block
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.command Classes relating to handling specialized non-chat player input. 
org.bukkit.entity Interfaces for non-voxel objects that can exist in a world, including all players, monsters, projectiles, etc. 
org.bukkit.event.block Events relating to when a block is changed or interacts with the world
org.bukkit.event.enchantment Events triggered from an enchantment table
org.bukkit.event.entity Events relating to entities, excluding some directly referencing some more specific entity types. 
org.bukkit.event.hanging Events relating to entities that hang
org.bukkit.event.inventory Events relating to inventory manipulation. 
org.bukkit.event.painting Events relating to paintings, but deprecated for more general hanging events. 
org.bukkit.event.player Events relating to players
org.bukkit.event.vehicle Events relating to vehicular entities
org.bukkit.event.world Events triggered by various world states or changes. 
org.bukkit.projectiles Classes to represent the source of a projectile 
org.bukkit.util Multi and single purpose classes to facilitate various programmatic concepts. 
 

Uses of Block in org.bukkit
 

Methods in org.bukkit that return Block
 Block Location.getBlock()
          Gets the block at the represented location
 Block Chunk.getBlock(int x, int y, int z)
          Gets a block from this chunk
 Block World.getBlockAt(int x, int y, int z)
          Gets the Block at the given coordinates
 Block World.getBlockAt(Location location)
          Gets the Block at the given Location
 Block World.getHighestBlockAt(int x, int z)
          Gets the highest non-empty block at the given coordinates
 Block World.getHighestBlockAt(Location location)
          Gets the highest non-empty block at the given coordinates
 

Methods in org.bukkit with parameters of type Block
 Chunk World.getChunkAt(Block block)
          Gets the Chunk that contains the given Block
 

Uses of Block in org.bukkit.block
 

Methods in org.bukkit.block that return Block
 Block BlockState.getBlock()
          Gets the block represented by this BlockState
 Block Block.getRelative(BlockFace face)
          Gets the block at the given face
 Block Block.getRelative(BlockFace face, int distance)
          Gets the block at the given distance of the given face
 Block Block.getRelative(int modX, int modY, int modZ)
          Gets the block at the given offsets
 

Methods in org.bukkit.block with parameters of type Block
 BlockFace Block.getFace(Block block)
          Gets the face relation of this block compared to the given block
 

Uses of Block in org.bukkit.command
 

Methods in org.bukkit.command that return Block
 Block BlockCommandSender.getBlock()
          Returns the block this command sender belongs to
 

Uses of Block in org.bukkit.entity
 

Methods in org.bukkit.entity that return Block
 Block LivingEntity.getTargetBlock(HashSet<Byte> transparent, int maxDistance)
          Deprecated. Magic value
 

Methods in org.bukkit.entity that return types with arguments of type Block
 List<Block> LivingEntity.getLastTwoTargetBlocks(HashSet<Byte> transparent, int maxDistance)
          Deprecated. Magic value
 List<Block> LivingEntity.getLineOfSight(HashSet<Byte> transparent, int maxDistance)
          Deprecated. Magic value
 

Uses of Block in org.bukkit.event.block
 

Fields in org.bukkit.event.block declared as Block
protected  Block BlockEvent.block
           
protected  Block BlockPlaceEvent.placedAgainst
           
protected  Block BlockFromToEvent.to
           
 

Methods in org.bukkit.event.block that return Block
 Block BlockEvent.getBlock()
          Gets the block involved in this event.
 Block BlockPlaceEvent.getBlockAgainst()
          Gets the block that this block was placed against
 Block BlockPlaceEvent.getBlockPlaced()
          Clarity method for getting the placed block.
 Block BlockIgniteEvent.getIgnitingBlock()
          Gets the block who ignited this block
 Block BlockSpreadEvent.getSource()
          Gets the source block involved in this event.
 Block BlockFromToEvent.getToBlock()
          Convenience method for getting the faced Block.
 

Methods in org.bukkit.event.block that return types with arguments of type Block
 List<Block> BlockPistonExtendEvent.getBlocks()
          Get an immutable list of the blocks which will be moved by the extending.
 

Constructors in org.bukkit.event.block with parameters of type Block
BlockBreakEvent(Block theBlock, Player player)
           
BlockBurnEvent(Block block)
           
BlockCanBuildEvent(Block block, int id, boolean canBuild)
          Deprecated. Magic value
BlockDamageEvent(Player player, Block block, ItemStack itemInHand, boolean instaBreak)
           
BlockDispenseEvent(Block block, ItemStack dispensed, Vector velocity)
           
BlockEvent(Block theBlock)
           
BlockExpEvent(Block block, int exp)
           
BlockFadeEvent(Block block, BlockState newState)
           
BlockFormEvent(Block block, BlockState newState)
           
BlockFromToEvent(Block block, Block toBlock)
           
BlockFromToEvent(Block block, BlockFace face)
           
BlockGrowEvent(Block block, BlockState newState)
           
BlockIgniteEvent(Block theBlock, BlockIgniteEvent.IgniteCause cause, Block ignitingBlock)
           
BlockIgniteEvent(Block theBlock, BlockIgniteEvent.IgniteCause cause, Entity ignitingEntity)
           
BlockIgniteEvent(Block theBlock, BlockIgniteEvent.IgniteCause cause, Entity ignitingEntity, Block ignitingBlock)
           
BlockIgniteEvent(Block theBlock, BlockIgniteEvent.IgniteCause cause, Player thePlayer)
          Deprecated. use BlockIgniteEvent.BlockIgniteEvent(Block, IgniteCause, Entity) instead.
BlockMultiPlaceEvent(List<BlockState> states, Block clicked, ItemStack itemInHand, Player thePlayer, boolean canBuild)
           
BlockPhysicsEvent(Block block, int changed)
          Deprecated. Magic value
BlockPistonEvent(Block block, BlockFace direction)
           
BlockPistonExtendEvent(Block block, int length, BlockFace direction)
           
BlockPistonRetractEvent(Block block, BlockFace direction)
           
BlockPlaceEvent(Block placedBlock, BlockState replacedBlockState, Block placedAgainst, ItemStack itemInHand, Player thePlayer, boolean canBuild)
           
BlockRedstoneEvent(Block block, int oldCurrent, int newCurrent)
           
BlockSpreadEvent(Block block, Block source, BlockState newState)
           
EntityBlockFormEvent(Entity entity, Block block, BlockState blockstate)
           
LeavesDecayEvent(Block block)
           
NotePlayEvent(Block block, Instrument instrument, Note note)
           
SignChangeEvent(Block theBlock, Player thePlayer, String[] theLines)
           
 

Uses of Block in org.bukkit.event.enchantment
 

Methods in org.bukkit.event.enchantment that return Block
 Block PrepareItemEnchantEvent.getEnchantBlock()
          Gets the block being used to enchant the item
 Block EnchantItemEvent.getEnchantBlock()
          Gets the block being used to enchant the item
 

Constructors in org.bukkit.event.enchantment with parameters of type Block
EnchantItemEvent(Player enchanter, InventoryView view, Block table, ItemStack item, int level, Map<Enchantment,Integer> enchants, int i)
           
PrepareItemEnchantEvent(Player enchanter, InventoryView view, Block table, ItemStack item, int[] levelsOffered, int bonus)
           
 

Uses of Block in org.bukkit.event.entity
 

Fields in org.bukkit.event.entity declared as Block
protected  Block EntityInteractEvent.block
           
 

Methods in org.bukkit.event.entity that return Block
 Block EntityInteractEvent.getBlock()
          Returns the involved block
 Block EntityChangeBlockEvent.getBlock()
          Gets the block the entity is changing
 Block EntityCombustByBlockEvent.getCombuster()
          The combuster can be lava or a block that is on fire.
 Block EntityDamageByBlockEvent.getDamager()
          Returns the block that damaged the player.
 

Methods in org.bukkit.event.entity that return types with arguments of type Block
 List<Block> EntityExplodeEvent.blockList()
          Returns the list of blocks that would have been removed or were removed from the explosion event.
 

Constructors in org.bukkit.event.entity with parameters of type Block
EntityBreakDoorEvent(LivingEntity entity, Block targetBlock)
           
EntityChangeBlockEvent(Entity what, Block block, Material to, byte data)
          Deprecated. Magic value
EntityChangeBlockEvent(LivingEntity what, Block block, Material to)
          Deprecated. Provided as a backward compatibility before the data byte was provided, and type increased to all entities
EntityCombustByBlockEvent(Block combuster, Entity combustee, int duration)
           
EntityDamageByBlockEvent(Block damager, Entity damagee, EntityDamageEvent.DamageCause cause, double damage)
          Deprecated. 
EntityDamageByBlockEvent(Block damager, Entity damagee, EntityDamageEvent.DamageCause cause, int damage)
          Deprecated. 
EntityDamageByBlockEvent(Block damager, Entity damagee, EntityDamageEvent.DamageCause cause, Map<EntityDamageEvent.DamageModifier,Double> modifiers, Map<EntityDamageEvent.DamageModifier,? extends com.google.common.base.Function<? super Double,Double>> modifierFunctions)
           
EntityInteractEvent(Entity entity, Block block)
           
 

Constructor parameters in org.bukkit.event.entity with type arguments of type Block
EntityExplodeEvent(Entity what, Location location, List<Block> blocks, float yield)
           
 

Uses of Block in org.bukkit.event.hanging
 

Methods in org.bukkit.event.hanging that return Block
 Block HangingPlaceEvent.getBlock()
          Returns the block that the hanging entity was placed on
 

Constructors in org.bukkit.event.hanging with parameters of type Block
HangingPlaceEvent(Hanging hanging, Player player, Block block, BlockFace blockFace)
           
 

Uses of Block in org.bukkit.event.inventory
 

Methods in org.bukkit.event.inventory that return Block
 Block FurnaceBurnEvent.getFurnace()
          Deprecated. In favour of BlockEvent.getBlock().
 Block FurnaceSmeltEvent.getFurnace()
          Deprecated. In favour of BlockEvent.getBlock().
 

Constructors in org.bukkit.event.inventory with parameters of type Block
BrewEvent(Block brewer, BrewerInventory contents)
           
FurnaceBurnEvent(Block furnace, ItemStack fuel, int burnTime)
           
FurnaceExtractEvent(Player player, Block block, Material itemType, int itemAmount, int exp)
           
FurnaceSmeltEvent(Block furnace, ItemStack source, ItemStack result)
           
 

Uses of Block in org.bukkit.event.painting
 

Methods in org.bukkit.event.painting that return Block
 Block PaintingPlaceEvent.getBlock()
          Deprecated. Returns the block that the painting was placed on
 

Constructors in org.bukkit.event.painting with parameters of type Block
PaintingPlaceEvent(Painting painting, Player player, Block block, BlockFace blockFace)
          Deprecated.  
 

Uses of Block in org.bukkit.event.player
 

Fields in org.bukkit.event.player declared as Block
protected  Block PlayerInteractEvent.blockClicked
           
 

Methods in org.bukkit.event.player that return Block
 Block PlayerBedEnterEvent.getBed()
          Returns the bed block involved in this event.
 Block PlayerBedLeaveEvent.getBed()
          Returns the bed block involved in this event.
 Block PlayerBucketEvent.getBlockClicked()
          Return the block clicked
 Block PlayerInteractEvent.getClickedBlock()
          Returns the clicked block
 

Constructors in org.bukkit.event.player with parameters of type Block
PlayerBedEnterEvent(Player who, Block bed)
           
PlayerBedLeaveEvent(Player who, Block bed)
           
PlayerBucketEmptyEvent(Player who, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand)
           
PlayerBucketEvent(Player who, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand)
           
PlayerBucketFillEvent(Player who, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand)
           
PlayerInteractEvent(Player who, Action action, ItemStack item, Block clickedBlock, BlockFace clickedFace)
           
 

Uses of Block in org.bukkit.event.vehicle
 

Methods in org.bukkit.event.vehicle that return Block
 Block VehicleBlockCollisionEvent.getBlock()
          Gets the block the vehicle collided with
 

Constructors in org.bukkit.event.vehicle with parameters of type Block
VehicleBlockCollisionEvent(Vehicle vehicle, Block block)
           
 

Uses of Block in org.bukkit.event.world
 

Methods in org.bukkit.event.world that return types with arguments of type Block
 ArrayList<Block> PortalCreateEvent.getBlocks()
          Gets an array list of all the blocks associated with the created portal
 

Constructor parameters in org.bukkit.event.world with type arguments of type Block
PortalCreateEvent(Collection<Block> blocks, World world, PortalCreateEvent.CreateReason reason)
           
 

Uses of Block in org.bukkit.projectiles
 

Methods in org.bukkit.projectiles that return Block
 Block BlockProjectileSource.getBlock()
          Gets the block this projectile source belongs to.
 

Uses of Block in org.bukkit.util
 

Methods in org.bukkit.util that return Block
 Block BlockIterator.next()
          Returns the next Block in the trace
 



Copyright © 2014. All rights reserved.