Class RegenEvent

java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.RegenEvent

public final class RegenEvent extends Event
This event gets fired when an LivingEntity tries to regenerate health. Cancelling it will make it not regenerate any health.
  • Field Details

    • living

      public final LivingEntity living
    • regenRate

      public int regenRate
    • addedHealth

      public int addedHealth
  • Constructor Details

    • RegenEvent

      public RegenEvent(LivingEntity living, int regenRate, int addedHealth)