Class Photosynthesis

All Implemented Interfaces:
org.bukkit.event.Listener

public class Photosynthesis extends RunnableSimpleTrait
  • Field Details

  • Constructor Details

    • Photosynthesis

      public Photosynthesis()
  • Method Details

    • onTick

      protected void onTick(org.bukkit.entity.Player player)
      Description copied from class: RunnableSimpleTrait
      The method to run on each player every ten ticks
      Specified by:
      onTick in class RunnableSimpleTrait
      Parameters:
      player - The player to run the method on
    • preventEat

      public void preventEat(org.bukkit.event.player.PlayerItemConsumeEvent event)