Package net.citizensnpcs.trait.versioned
Class SnifferTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.SnifferTrait
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetState()
void
run()
Called every tick if overridden.void
static void
sniffer
(CommandContext args, CommandSender sender, NPC npc, SnifferTrait.SnifferState state)
-
Constructor Details
-
SnifferTrait
public SnifferTrait()
-
-
Method Details
-
getState
-
run
public void run()Description copied from class:Trait
Called every tick if overridden. -
setState
-
sniffer
public static void sniffer(CommandContext args, CommandSender sender, NPC npc, SnifferTrait.SnifferState state) throws CommandException - Throws:
CommandException
-