Package net.citizensnpcs.trait.versioned
Class AllayTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.AllayTrait
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
allay
(CommandContext args, CommandSender sender, NPC npc) boolean
void
run()
Called every tick if overridden.void
setDancing
(boolean dance)
-
Constructor Details
-
AllayTrait
public AllayTrait()
-
-
Method Details
-
isDancing
public boolean isDancing() -
run
public void run()Description copied from class:Trait
Called every tick if overridden. -
setDancing
public void setDancing(boolean dance) -
allay
public static void allay(CommandContext args, CommandSender sender, NPC npc) throws CommandException - Throws:
CommandException
-