Class GoatTrait

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

public class GoatTrait extends Trait
  • Constructor Details

    • GoatTrait

      public GoatTrait()
  • Method Details

    • isLeftHorn

      public boolean isLeftHorn()
    • isRightHorn

      public boolean isRightHorn()
    • 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
    • setLeftHorn

      public void setLeftHorn(boolean horn)
    • setRightHorn

      public void setRightHorn(boolean horn)
    • goat

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