Class SelfSustaining

All Implemented Interfaces:
org.bukkit.event.Listener

public class SelfSustaining extends SimpleTrait
  • Field Details

  • Constructor Details

    • SelfSustaining

      public SelfSustaining()
  • Method Details

    • preventLoss

      public void preventLoss(org.bukkit.event.entity.FoodLevelChangeEvent event)
    • onEnable

      protected void onEnable(org.bukkit.entity.Player player)
      Overrides:
      onEnable in class Trait