Package net.citizensnpcs.trait.versioned
Class PandaTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.PandaTrait
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isEating()
boolean
boolean
boolean
static void
panda
(CommandContext args, CommandSender sender, NPC npc, Panda.Gene gene, Panda.Gene hiddengene) void
run()
Called every tick if overridden.void
setEating
(boolean eating) void
setHiddenGene
(Panda.Gene gene) void
setMainGene
(Panda.Gene gene) void
setRolling
(boolean rolling) void
setSitting
(boolean sitting) void
setSneezing
(boolean sneezing) boolean
boolean
boolean
boolean
-
Constructor Details
-
PandaTrait
public PandaTrait()
-
-
Method Details
-
getHiddenGene
-
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. -
setEating
public void setEating(boolean eating) -
setHiddenGene
-
setMainGene
-
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
-