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