public final class WorldObjectCollisionEvent extends Event
MovableWorldObject collides with a set of
BoundBox objects in the world. Most likely, the object in question is
an Entity or a Particle and the list of bounding boxes comes
from the surrounding Tile objects in the world. This event cannot be
cancelled.| Modifier and Type | Field and Description |
|---|---|
java.util.List<BoundBox> |
boundBoxes |
BoundBox |
entityBoundBox |
BoundBox |
entityBoundBoxWithMotion |
MovableWorldObject |
object |
| Constructor and Description |
|---|
WorldObjectCollisionEvent(MovableWorldObject object,
BoundBox entityBoundBox,
BoundBox entityBoundBoxWithMotion,
java.util.List<BoundBox> boundBoxes) |
public final MovableWorldObject object
public final BoundBox entityBoundBox
public final BoundBox entityBoundBoxWithMotion
public final java.util.List<BoundBox> boundBoxes
public WorldObjectCollisionEvent(MovableWorldObject object, BoundBox entityBoundBox, BoundBox entityBoundBoxWithMotion, java.util.List<BoundBox> boundBoxes)