Package net.citizensnpcs.trait.versioned
Class ParrotTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.ParrotTrait
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
parrot
(CommandContext args, CommandSender sender, NPC npc, Parrot.Variant variant) void
run()
Called every tick if overridden.void
setVariant
(Parrot.Variant variant)
-
Constructor Details
-
ParrotTrait
public ParrotTrait()
-
-
Method Details
-
getVariant
-
run
public void run()Description copied from class:Trait
Called every tick if overridden. -
setVariant
-
parrot
public static void parrot(CommandContext args, CommandSender sender, NPC npc, Parrot.Variant variant) throws CommandException - Throws:
CommandException
-