Uses of Class
net.citizensnpcs.api.command.CommandContext
Package
Description
-
Uses of CommandContext in net.citizensnpcs.api.command
Modifier and TypeMethodDescriptionCollection
<? extends String> CommandManager.CommandInfo.getArgTabCompletions
(CommandContext args, CommandSender sender, int index) Arg.CompletionsProvider.getCompletions
(CommandContext args, CommandSender sender, NPC npc) Arg.CompletionsProvider.Identity.getCompletions
(CommandContext args, CommandSender sender, NPC npc) Arg.CompletionsProvider.OptionalEnumCompletions.getCompletions
(CommandContext args, CommandSender sender, NPC npc) CommandManager.CommandInfo.getFlagTabCompletions
(CommandContext args, CommandSender sender, String flag) void
CommandAnnotationProcessor.process
(CommandSender sender, CommandContext context, Annotation instance, Object[] args) void
RequirementsProcessor.process
(CommandSender sender, CommandContext context, Annotation instance, Object[] methodArgs) Arg.FlagValidator.Identity.validate
(CommandContext args, CommandSender sender, NPC npc, String input) Arg.FlagValidator.validate
(CommandContext args, CommandSender sender, NPC npc, String input) -
Uses of CommandContext in net.citizensnpcs.trait
Modifier and TypeMethodDescriptionHologramTrait.TabCompletions.getCompletions
(CommandContext args, CommandSender sender, NPC npc) -
Uses of CommandContext in net.citizensnpcs.trait.versioned
Modifier and TypeMethodDescriptionstatic void
AllayTrait.allay
(CommandContext args, CommandSender sender, NPC npc) static void
ArmadilloTrait.allay
(CommandContext args, CommandSender sender, NPC npc, ArmadilloTrait.ArmadilloState state) static void
AreaEffectCloudTrait.areaeffectcloud
(CommandContext args, CommandSender sender, NPC npc, Integer duration, Float radius, Color color, PotionType type, Particle particle) static void
AxolotlTrait.axolotl
(CommandContext args, CommandSender sender, NPC npc, Axolotl.Variant variant) static void
BeeTrait.bee
(CommandContext args, CommandSender sender, NPC npc, Integer anger) void
BoatTrait.boat
(CommandContext args, CommandSender sender, NPC npc, String stype) static void
BossBarTrait.bossbar
(CommandContext args, CommandSender sender, NPC npc, BarStyle style, String track, BarColor color, Boolean visible, Integer range, String title, String flags, String viewpermission) static void
CamelTrait.camel
(CommandContext args, CommandSender sender, NPC npc, CamelTrait.CamelPose pose) static void
CatTrait.cat
(CommandContext args, CommandSender sender, NPC npc, DyeColor ccolor, Cat.Type type) static void
DisplayTrait.display
(CommandContext args, CommandSender sender, NPC npc, Display.Billboard billboard, org.joml.Quaternionf leftrotation, org.joml.Quaternionf rightrotation, Vector scale, Float viewRange, String brightness, Integer interpolationDelay, Integer interpolationDuration, Float height, Float shadowRadius, Float shadowStrength, Float width) static void
TextDisplayTrait.display
(CommandContext args, CommandSender sender, NPC npc, Boolean shadowed, Boolean seethrough, Integer lineWidth, String text, Color bgcolor, TextDisplay.TextAlignment alignment) static void
EnderDragonTrait.enderdragon
(CommandContext args, CommandSender sender, NPC npc, EnderDragon.Phase phase, Boolean destroyWalls) static void
FoxTrait.fox
(CommandContext args, CommandSender sender, NPC npc, Boolean sleeping, Boolean sitting, Boolean crouching, String rawtype, Boolean pouncing, Boolean interested, Boolean faceplanted) static void
FrogTrait.frog
(CommandContext args, CommandSender sender, NPC npc, Frog.Variant variant) static void
GoatTrait.goat
(CommandContext args, CommandSender sender, NPC npc) static void
LlamaTrait.llama
(CommandContext args, CommandSender sender, NPC npc, Llama.Color color, Integer strength) static void
MushroomCowTrait.mushroomcow
(CommandContext args, CommandSender sender, NPC npc, MushroomCow.Variant variant) static void
PandaTrait.panda
(CommandContext args, CommandSender sender, NPC npc, Panda.Gene gene, Panda.Gene hiddengene) static void
ParrotTrait.parrot
(CommandContext args, CommandSender sender, NPC npc, Parrot.Variant variant) static void
PhantomTrait.phantom
(CommandContext args, CommandSender sender, NPC npc, Integer size) static void
PiglinTrait.piglin
(CommandContext args, CommandSender sender, NPC npc, Boolean dancing) static void
PolarBearTrait.polarbear
(CommandContext args, CommandSender sender, NPC npc) static void
PufferFishTrait.pufferfish
(CommandContext args, CommandSender sender, NPC npc, Integer state) static void
ShulkerTrait.shulker
(CommandContext args, CommandSender sender, NPC npc, Integer peek, DyeColor color) static void
SnifferTrait.sniffer
(CommandContext args, CommandSender sender, NPC npc, SnifferTrait.SnifferState state) static void
SnowmanTrait.snowman
(CommandContext args, CommandSender sender, NPC npc) static void
SpellcasterTrait.Spellcaster
(CommandContext args, CommandSender sender, NPC npc, Spellcaster.Spell spell) static void
TropicalFishTrait.tropicalfish
(CommandContext args, CommandSender sender, NPC npc, DyeColor body, DyeColor patterncolor, TropicalFish.Pattern pattern) static void
VillagerTrait.villager
(CommandContext args, CommandSender sender, NPC npc, Villager.Profession profession, Villager.Type type, Integer level) static void
WardenTrait.warden
(CommandContext args, CommandSender sender, NPC npc, String command, String player, Integer anger) -
Uses of CommandContext in net.citizensnpcs.trait.waypoint
Modifier and TypeMethodDescriptionGuidedWaypointProvider.createEditor
(CommandSender sender, CommandContext args) LinearWaypointProvider.createEditor
(CommandSender sender, CommandContext args) WanderWaypointProvider.createEditor
(CommandSender sender, CommandContext args) WaypointProvider.createEditor
(CommandSender sender, CommandContext args) Creates anWaypointEditor
with the givenCommandSender
.Waypoints.getEditor
(CommandSender player, CommandContext args)