Package net.citizensnpcs.trait.versioned
Class TropicalFishTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.versioned.TropicalFishTrait
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run()
Called every tick if overridden.void
setBodyColor
(DyeColor color) void
setPattern
(TropicalFish.Pattern pattern) void
setPatternColor
(DyeColor color) static void
tropicalfish
(CommandContext args, CommandSender sender, NPC npc, DyeColor body, DyeColor patterncolor, TropicalFish.Pattern pattern)
-
Constructor Details
-
TropicalFishTrait
public TropicalFishTrait()
-
-
Method Details
-
getBodyColor
-
getPattern
-
getPatternColor
-
run
public void run()Description copied from class:Trait
Called every tick if overridden. -
setBodyColor
-
setPattern
-
setPatternColor
-
tropicalfish
public static void tropicalfish(CommandContext args, CommandSender sender, NPC npc, DyeColor body, DyeColor patterncolor, TropicalFish.Pattern pattern) throws CommandException - Throws:
CommandException
-