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 interfaceConstructEntityEvent.PostCalled after the construction of anEntity.static interfaceConstructEntityEvent.PreCalled before the construction of anEntity.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerLocationlocation()Vector3drotation()EntityType<?>targetType()Gets theEntityTypeof the targetEntitythat is going to be constructed.
-
-
-
Method Detail
-
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
-
-