Posted August 6, 20223 yr I want to get the source of an XP orb (e.g. from a mob being killed or a block being broken) in order to modify its value accordingly, however, I don't know where to start, or if it's even possible. Any help would be appreciated.
August 6, 20223 yr There is LivingExperienceDropEvent which is fired when a LivingEntity drops experience. unfortunately there is no such a Event for when a Block drops experience. Edited August 6, 20223 yr by Luis_ST
August 6, 20223 yr You can use BlockEvent.BreakEvent to modify the experience when a Block is broken.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.