@@ -0,0 +1,515 @@
+package com.gabrielsimmer;%0A%0Aimport org.bukkit.event.EventHandler;%0Aimport org.bukkit.event.Listener;%0Aimport org.bukkit.event.entity.EntityRegainHealthEvent;%0Aimport org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason;%0A%0Apublic class cancelRegen implements Listener %7B%0A%09@EventHandler%0A    public void onPlayerRegainHealth(EntityRegainHealthEvent event) %7B%0A        if(event.getRegainReason() == RegainReason.SATIATED %7C%7C event.getRegainReason() == RegainReason.REGEN)%0A            event.setCancelled(true);%0A    %7D%0A%0A%7D%0A

Create cancelRegen.java