Class AABB

java.lang.Object
ch.njol.skript.util.AABB
All Implemented Interfaces:
Iterable<Block>

public class AABB extends Object implements Iterable<Block>
AABB = Axis-Aligned Bounding Box
  • Constructor Details

  • Method Details

    • contains

      public boolean contains(Location l)
    • contains

      public boolean contains(Block b)
    • getDimensions

      public Vector getDimensions()
    • getWorld

      public World getWorld()
    • iterator

      public Iterator<Block> iterator()
      Returns an iterator which iterates over all blocks that are in this AABB
      Specified by:
      iterator in interface Iterable<Block>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable @Nullable Object obj)
      Overrides:
      equals in class Object