Guest User

Untitled

a guest
Jan 17th, 2020
261
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     @Listener
  2.     public void GetAllDamage(DamageEntityEvent e) {
  3.         if (e.getTargetEntity().getType().getId().equals("minecraft:player")) {
  4.             if (e.getSource().toString().hashCode() == 1663268944) {//source radiation effect
  5.                 e.setCancelled(true);
  6.                 logger.info("Radiation damage cancel");
  7.             }
  8.         }
  9.     }
RAW Paste Data