Class FoxTrait

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

public class FoxTrait extends Trait
  • Constructor Details

    • FoxTrait

      public FoxTrait()
  • Method Details

    • getType

      public Fox.Type getType()
    • isCrouching

      public boolean isCrouching()
    • isFaceplanted

      public boolean isFaceplanted()
    • isInterested

      public boolean isInterested()
    • isPouncing

      public boolean isPouncing()
    • isSitting

      public boolean isSitting()
    • isSleeping

      public boolean isSleeping()
    • 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
    • setCrouching

      public void setCrouching(boolean crouching)
    • setFaceplanted

      public void setFaceplanted(boolean faceplanted)
    • setInterested

      public void setInterested(boolean interested)
    • setPouncing

      public void setPouncing(boolean pouncing)
    • setSitting

      public void setSitting(boolean sitting)
    • setSleeping

      public void setSleeping(boolean sleeping)
    • setType

      public void setType(Fox.Type type)
    • fox

      public static void fox(CommandContext args, CommandSender sender, NPC npc, Boolean sleeping, Boolean sitting, Boolean crouching, String rawtype, Boolean pouncing, Boolean interested, Boolean faceplanted) throws CommandException
      Throws:
      CommandException