Package net.citizensnpcs.trait.versioned
Class SnowmanTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.SnowmanTrait
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isDerp()
void
run()
Called every tick if overridden.void
setDerp
(boolean derp) void
setFormSnow
(boolean snow) boolean
static void
snowman
(CommandContext args, CommandSender sender, NPC npc) boolean
-
Constructor Details
-
SnowmanTrait
public SnowmanTrait()
-
-
Method Details
-
isDerp
public boolean isDerp() -
run
public void run()Description copied from class:Trait
Called every tick if overridden. -
setDerp
public void setDerp(boolean derp) -
setFormSnow
public void setFormSnow(boolean snow) -
shouldFormSnow
public boolean shouldFormSnow() -
toggleDerp
public boolean toggleDerp() -
snowman
public static void snowman(CommandContext args, CommandSender sender, NPC npc) throws CommandException - Throws:
CommandException
-