EnderPearlTeleportEvent
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Extends
EnderPearlTeleportEvent extends EntityTeleportEvent
.
Listening to the event
This event can be listened to like so:
Members
Return Type:
float
Parameters:
attackDamage: float
Type: float
setCanceled(true)
Return Type:
bool
Return Type:
bool
Return Type:
bool
Parameters:
cancel: bool
Type: bool
Return Type:
bool
Parameters:
cancel: bool
Type: bool
Return Type:
Entity
Return Type:
bool
Return Type:
bool
Return Type:
HitResult
Return Type:
ThrownEnderpearl
Return Type:
ServerPlayer
Return Type:
Vec3
Return Type:
double
Return Type:
double
Return Type:
double
Return Type:
EventResult
Parameters:
result: EventResult
Type: EventResult
Return Type:
EventResult
Parameters:
result: EventResult
Type: EventResult
allow
default
deny
Return Type:
Vec3
Return Type:
double
Parameters:
targetX: double
Type: double
Return Type:
double
Parameters:
targetY: double
Type: double
Return Type:
double
Parameters:
targetZ: double
Type: double