Interface ConstructEntityEvent
-
- All Superinterfaces:
Event
- All Known Subinterfaces:
ConstructEntityEvent.Post
,ConstructEntityEvent.Pre
public interface ConstructEntityEvent extends Event
Base event during the construction of anEntity
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ConstructEntityEvent.Post
Called after the construction of anEntity
.static interface
ConstructEntityEvent.Pre
Called before the construction of anEntity
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerLocation
location()
Vector3d
rotation()
EntityType<?>
targetType()
Gets theEntityType
of the targetEntity
that is going to be constructed.
-
-
-
Method Detail
-
location
ServerLocation location()
- Returns:
- The location
-
rotation
Vector3d rotation()
- Returns:
- The rotation
-
targetType
EntityType<?> targetType()
Gets theEntityType
of the targetEntity
that is going to be constructed.- Returns:
- The target entity type
-
-