Link to pickupxpevent
This event is fired after the player collides with an experience orb, but before the player has been given the experience. It can be cancelled, and no further processing will be done.
The event is cancelable.
If the event is canceled, the xp will not change
The event does not have a result.
Diese Klasse importieren
Link to diese-klasse-importieren
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
Link to extending-playerxpevent
Link to methoden
Return Type: ExperienceOrb
// PickupXpEvent.getOrb() as ExperienceOrb event.getOrb();
Link to properties
|Name||Type||Has Getter||Has Setter||Beschreibung|
BeschreibungNo Description Provided