Package net.citizensnpcs.trait.versioned
Class CatTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.CatTrait
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
cat
(CommandContext args, CommandSender sender, NPC npc, DyeColor ccolor, Cat.Type type) boolean
void
run()
Called every tick if overridden.void
setCollarColor
(DyeColor color) void
setLyingDown
(boolean lying) void
setSitting
(boolean sitting) void
void
setType
(Ocelot.Type type2)
-
Constructor Details
-
CatTrait
public CatTrait()
-
-
Method Details
-
isLyingDown
public boolean isLyingDown() -
run
public void run()Description copied from class:Trait
Called every tick if overridden. -
setCollarColor
-
setLyingDown
public void setLyingDown(boolean lying) -
setSitting
public void setSitting(boolean sitting) -
setType
-
setType
-
cat
public static void cat(CommandContext args, CommandSender sender, NPC npc, DyeColor ccolor, Cat.Type type) throws CommandException - Throws:
CommandException
-