Class CatTrait

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

public class CatTrait extends Trait
  • Constructor Details

    • CatTrait

      public CatTrait()
  • Method Details

    • isLyingDown

      public boolean isLyingDown()
    • 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
    • setCollarColor

      public void setCollarColor(DyeColor color)
    • setLyingDown

      public void setLyingDown(boolean lying)
    • setSitting

      public void setSitting(boolean sitting)
    • setType

      public void setType(Cat.Type type)
    • setType

      public void setType(Ocelot.Type type2)
    • cat

      public static void cat(CommandContext args, CommandSender sender, NPC npc, DyeColor ccolor, Cat.Type type) throws CommandException
      Throws:
      CommandException