Class BlockBoundingBox

java.lang.Object
net.glowstone.entity.physics.BoundingBox
net.glowstone.entity.physics.BlockBoundingBox
All Implemented Interfaces:
Cloneable

public class BlockBoundingBox extends BoundingBox
  • Constructor Details

    • BlockBoundingBox

      public BlockBoundingBox(org.bukkit.block.Block block)
      Creates a bounding box that is effectively the entire given block.
      Parameters:
      block - the block
  • Method Details

    • getSize

      public org.bukkit.util.Vector getSize()
      Description copied from class: BoundingBox
      Returns the displacement of the maximum corner from the minimum corner.
      Overrides:
      getSize in class BoundingBox
      Returns:
      the displacement of the maximum corner from the minimum corner