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