Interface ConstructEntityEvent
- All Superinterfaces:
Event
- All Known Subinterfaces:
ConstructEntityEvent.Post,ConstructEntityEvent.Pre
Base event during the construction of an
Entity.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionlocation()rotation()EntityType<?> Gets theEntityTypeof the targetEntitythat is going to be constructed.
-
Method Details
-
location
ServerLocation location()- Returns:
- The location
-
rotation
Vector3d rotation()- Returns:
- The rotation
-
targetType
EntityType<?> targetType()Gets theEntityTypeof the targetEntitythat is going to be constructed.- Returns:
- The target entity type
-