Class PandaTrait

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

public class PandaTrait extends Trait
  • Constructor Details

    • PandaTrait

      public PandaTrait()
  • Method Details

    • getHiddenGene

      public Panda.Gene getHiddenGene()
    • getMainGene

      public Panda.Gene getMainGene()
    • isEating

      public boolean isEating()
    • isRolling

      public boolean isRolling()
    • isSitting

      public boolean isSitting()
    • isSneezing

      public boolean isSneezing()
    • 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
    • setEating

      public void setEating(boolean eating)
    • setHiddenGene

      public void setHiddenGene(Panda.Gene gene)
    • setMainGene

      public void setMainGene(Panda.Gene gene)
    • setRolling

      public void setRolling(boolean rolling)
    • setSitting

      public void setSitting(boolean sitting)
    • setSneezing

      public void setSneezing(boolean sneezing)
    • toggleEating

      public boolean toggleEating()
    • toggleRolling

      public boolean toggleRolling()
    • toggleSitting

      public boolean toggleSitting()
    • toggleSneezing

      public boolean toggleSneezing()
    • panda

      public static void panda(CommandContext args, CommandSender sender, NPC npc, Panda.Gene gene, Panda.Gene hiddengene) throws CommandException
      Throws:
      CommandException