Package net.citizensnpcs.trait.versioned
Class CatTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.CatTrait
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcat(CommandContext args, CommandSender sender, NPC npc, DyeColor ccolor, Cat.Type type) booleanvoidrun()Called every tick if overridden.voidsetCollarColor(DyeColor color) voidsetLyingDown(boolean lying) voidsetSitting(boolean sitting) voidvoidsetType(Ocelot.Type type2)
-
Constructor Details
-
CatTrait
public CatTrait()
-
-
Method Details
-
isLyingDown
public boolean isLyingDown() -
run
public void run()Description copied from class:TraitCalled 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
-