Class BeeTrait

java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.BeeTrait
All Implemented Interfaces:
Runnable, Listener

public class BeeTrait extends Trait
  • Constructor Details

    • BeeTrait

      public BeeTrait()
  • Method Details

    • hasNectar

      public boolean hasNectar()
    • hasStung

      public boolean hasStung()
    • run

      public void run()
      Description copied from class: Trait
      Called every tick if overridden.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Trait
    • setAnger

      public void setAnger(int anger)
    • setNectar

      public void setNectar(boolean nectar)
    • setStung

      public void setStung(boolean stung)
    • bee

      public static void bee(CommandContext args, CommandSender sender, NPC npc, Integer anger) throws CommandException
      Throws:
      CommandException