Package net.citizensnpcs.trait.versioned
Class PiglinTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.PiglinTrait
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static void
piglin
(CommandContext args, CommandSender sender, NPC npc, Boolean dancing) void
run()
Called every tick if overridden.void
setDancing
(boolean dancing)
-
Constructor Details
-
PiglinTrait
public PiglinTrait()
-
-
Method Details
-
isDancing
public boolean isDancing() -
run
public void run()Description copied from class:Trait
Called every tick if overridden. -
setDancing
public void setDancing(boolean dancing) -
piglin
public static void piglin(CommandContext args, CommandSender sender, NPC npc, Boolean dancing) throws CommandException - Throws:
CommandException
-