Interface ConstructEntityEvent
- All Superinterfaces:
Event
- All Known Subinterfaces:
ConstructEntityEvent.Post
,ConstructEntityEvent.Pre
Base event during the construction of an
Entity
.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionlocation()
rotation()
EntityType
<?> Gets theEntityType
of the targetEntity
that is going to be constructed.
-
Method Details
-
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
-