Package net.citizensnpcs.trait.versioned
Class LlamaTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.LlamaTrait
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()
int
static void
llama
(CommandContext args, CommandSender sender, NPC npc, Llama.Color color, Integer strength) void
run()
Called every tick if overridden.void
setColor
(Llama.Color color) void
setStrength
(int strength)
-
Constructor Details
-
LlamaTrait
public LlamaTrait()
-
-
Method Details
-
getColor
-
getStrength
public int getStrength() -
run
public void run()Description copied from class:Trait
Called every tick if overridden. -
setColor
-
setStrength
public void setStrength(int strength) -
llama
public static void llama(CommandContext args, CommandSender sender, NPC npc, Llama.Color color, Integer strength) throws CommandException - Throws:
CommandException
-