Jump to content

JavaException

Members
  • Posts

    2
  • Joined

  • Last visited

JavaException's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Nvm fixed it @SubscribeEvent public void playerDeath(LivingExperienceDropEvent event) { if (event.getEntity() instanceof Player) { System.out.println(event.getOriginalExperience()); event.setDroppedExperience(((Player) event.getEntity()).totalExperience); } }
  2. How can I make the player drop all xp that he originally had, or like exactly 50%. I tried to do it with an LivingDeathEvent but i'm not sure how to get the xp level of the player and drop that amount of xp. Im on 19.3
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.