Package | Description |
---|---|
net.glowstone.entity | |
net.glowstone.entity.physics |
Modifier and Type | Method and Description |
---|---|
List<org.bukkit.entity.Entity> |
EntityManager.getEntitiesInside(BoundingBox searchBox,
GlowEntity except)
Returns all entities that are inside or partly inside the given bounding box, with optionally
one exception.
|
boolean |
GlowEntity.intersects(BoundingBox box) |
Modifier and Type | Class and Description |
---|---|
class |
BlockBoundingBox |
class |
EntityBoundingBox
A BoundingBox which changes position over time as an entity moves.
|
Modifier and Type | Method and Description |
---|---|
static BoundingBox |
BoundingBox.copyOf(BoundingBox original)
Returns a deep copy of a BoundingBox.
|
static BoundingBox |
BoundingBox.fromCorners(org.bukkit.util.Vector a,
org.bukkit.util.Vector b)
Converts two Vector instances to a BoundingBox.
|
static BoundingBox |
BoundingBox.fromPositionAndSize(org.bukkit.util.Vector pos,
org.bukkit.util.Vector size)
Creates a bounding box given its minimum corner and its size.
|
Modifier and Type | Method and Description |
---|---|
static BoundingBox |
BoundingBox.copyOf(BoundingBox original)
Returns a deep copy of a BoundingBox.
|
boolean |
BoundingBox.intersects(BoundingBox other)
Tests whether this intersects another bounding box.
|
static boolean |
BoundingBox.intersects(BoundingBox a,
BoundingBox b)
Tests whether two bounding boxes intersect.
|
Copyright © 2021. All rights reserved.