Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractBlockBreaker - Class in net.citizensnpcs.util
- AbstractBlockBreaker(Entity, Block, BlockBreaker.BlockBreakerConfiguration) - Constructor for class net.citizensnpcs.util.AbstractBlockBreaker
- AbstractEntityController - Class in net.citizensnpcs.npc
- AbstractEntityController() - Constructor for class net.citizensnpcs.npc.AbstractEntityController
- AbstractEntityController(Class<?>) - Constructor for class net.citizensnpcs.npc.AbstractEntityController
- AbstractNPC - Class in net.citizensnpcs.api.npc
- AbstractNPC(UUID, int, String, NPCRegistry) - Constructor for class net.citizensnpcs.api.npc.AbstractNPC
- AbstractPathStrategy - Class in net.citizensnpcs.api.ai
- AbstractPathStrategy(TargetType) - Constructor for class net.citizensnpcs.api.ai.AbstractPathStrategy
- accept(CitizensInventoryClickEvent) - Method in class net.citizensnpcs.api.gui.BooleanSlotHandler
- accept(CitizensInventoryClickEvent) - Method in class net.citizensnpcs.api.gui.PercentageSlotHandler
- acceptInput(ConversationContext, String) - Method in class net.citizensnpcs.trait.text.TextBasePrompt
- acceptInput(ConversationContext, String) - Method in class net.citizensnpcs.trait.waypoint.triggers.AnimationTriggerPrompt
- acceptInput(ConversationContext, String) - Method in class net.citizensnpcs.trait.waypoint.triggers.ChatTriggerPrompt
- acceptInput(ConversationContext, String) - Method in class net.citizensnpcs.trait.waypoint.triggers.TriggerAddPrompt
- acceptInput(ConversationContext, String) - Method in class net.citizensnpcs.trait.waypoint.triggers.TriggerEditPrompt
- acceptInput(ConversationContext, String) - Method in class net.citizensnpcs.trait.waypoint.triggers.TriggerRemovePrompt
- acceptValidatedInput(ConversationContext, Number) - Method in class net.citizensnpcs.trait.waypoint.triggers.DelayTriggerPrompt
- acceptValidatedInput(ConversationContext, Number) - Method in class net.citizensnpcs.trait.waypoint.triggers.SpeedTriggerPrompt
- acceptValidatedInput(ConversationContext, String) - Method in class net.citizensnpcs.trait.waypoint.triggers.TeleportTriggerPrompt
- add(int, int, int) - Method in class net.citizensnpcs.api.util.BoundingBox
- add(String) - Method in class net.citizensnpcs.trait.text.Text
-
Adds a piece of text that will be said by the NPC.
- add(CommandSender, CommandHistoryItem) - Method in class net.citizensnpcs.commands.history.CommandHistory
- addAnchor(String, Location) - Method in class net.citizensnpcs.trait.Anchors
- addBehavior(Behavior) - Method in class net.citizensnpcs.api.ai.tree.Composite
- addBehavior(Behavior, int) - Method in interface net.citizensnpcs.api.ai.GoalController
-
Registers a
Behavior
with a given priority. - addBehavior(Behavior, int) - Method in class net.citizensnpcs.api.ai.SimpleGoalController
- addCallback(PathPoint.PathCallback) - Method in interface net.citizensnpcs.api.astar.pathfinder.PathPoint
-
Adds a path callback that will be executed if this path point is executed.
- addCallback(PathPoint.PathCallback) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
- addClickHandler(Consumer<CitizensInventoryClickEvent>) - Method in class net.citizensnpcs.api.gui.InventoryMenuSlot
-
Adds a click handler to this slot.
- addClusters(int, int) - Method in class net.citizensnpcs.api.hpastar.HPAGraph
- addClustersAtDepth(int, List<HPACluster>) - Method in class net.citizensnpcs.api.hpastar.HPAGraph
- addCommand(CommandTrait.NPCCommandBuilder) - Method in class net.citizensnpcs.trait.CommandTrait
- addCustomChart(Metrics.CustomChart) - Method in class net.citizensnpcs.Metrics
-
Adds a custom chart.
- addDefaultTraits(NPC) - Method in interface net.citizensnpcs.api.trait.TraitFactory
-
Adds all default traits to a given NPC.
- addDefaultTraits(NPC) - Method in class net.citizensnpcs.npc.CitizensTraitFactory
- ADDED_SCOREBOARD_TAGS - Static variable in class net.citizensnpcs.util.Messages
- ADDED_TO_PLAYERLIST - Static variable in class net.citizensnpcs.util.Messages
- addEntityToWorld(Entity, CreatureSpawnEvent.SpawnReason) - Static method in class net.citizensnpcs.util.NMS
- addEntityToWorld(Entity, CreatureSpawnEvent.SpawnReason) - Method in interface net.citizensnpcs.util.NMSBridge
- addGoal(Goal, int) - Method in interface net.citizensnpcs.api.ai.GoalController
-
Registers a
Goal
with a given priority. - addGoal(Goal, int) - Method in class net.citizensnpcs.api.ai.SimpleGoalController
- addHandler(ProfileFetchHandler) - Method in class net.citizensnpcs.npc.profile.ProfileRequest
-
Add one time result handler.
- addHelperWaypoint(Waypoint) - Method in class net.citizensnpcs.trait.waypoint.GuidedWaypointProvider
- addHelperWaypoints(Collection<Waypoint>) - Method in class net.citizensnpcs.trait.waypoint.GuidedWaypointProvider
- addLine(String) - Method in class net.citizensnpcs.api.util.Paginator
- addLine(String) - Method in class net.citizensnpcs.trait.HologramTrait
-
Adds a new hologram line which will displayed over an NPC's head.
- addOrRemove(Entity, boolean) - Static method in class net.citizensnpcs.util.PlayerUpdateTask
- addOrRemoveFromPlayerList(Entity, boolean) - Static method in class net.citizensnpcs.util.NMS
- addOrRemoveFromPlayerList(Entity, boolean) - Method in interface net.citizensnpcs.util.NMSBridge
- addPerm(String) - Method in class net.citizensnpcs.trait.CommandTrait.NPCCommandBuilder
- addPerms(List<String>) - Method in class net.citizensnpcs.trait.CommandTrait.NPCCommandBuilder
- addPose(String, Location) - Method in class net.citizensnpcs.trait.Poses
-
Add a
Pose
- addPose(String, Location, boolean) - Method in class net.citizensnpcs.trait.Poses
-
Add a
Pose
- addPrioritisableGoal(PrioritisableGoal) - Method in interface net.citizensnpcs.api.ai.GoalController
-
Registers a goal which can reprioritise itself dynamically every tick.
- addPrioritisableGoal(PrioritisableGoal) - Method in class net.citizensnpcs.api.ai.SimpleGoalController
- addRecipient(Entity) - Method in class net.citizensnpcs.api.ai.speech.SpeechContext
-
Adds a direct
Talkable
recipient. - addRecipient(LivingEntity) - Method in class net.citizensnpcs.api.ai.speech.SpeechContext
-
Deprecated.
- addRecipients(List<Talkable>) - Method in class net.citizensnpcs.api.ai.speech.SpeechContext
-
Adds a list of
Talkable
recipients. - addRegionCentre(Location) - Method in class net.citizensnpcs.trait.waypoint.WanderWaypointProvider
- addRegionCentres(Collection<Location>) - Method in class net.citizensnpcs.trait.waypoint.WanderWaypointProvider
- addRunCallback(Runnable) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Adds a
Runnable
callback that will be called every tick while the path is running. - addRunnable(Runnable) - Method in class net.citizensnpcs.api.npc.AbstractNPC
- addRunnable(Runnable) - Method in interface net.citizensnpcs.api.npc.NPC
-
Adds a
Runnable
that will run every tick. - addScripts(List<String>) - Method in class net.citizensnpcs.trait.ScriptTrait
-
Add and load all given script file names
- addSingleUseCallback(NavigatorCallback) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Adds a
NavigatorCallback
that will be removed immediately after being called. - addTag(String) - Method in class net.citizensnpcs.trait.ScoreboardTrait
- addTrait(Class<? extends Trait>) - Method in class net.citizensnpcs.api.npc.AbstractNPC
- addTrait(Class<? extends Trait>) - Method in interface net.citizensnpcs.api.npc.NPC
-
Adds a trait to this NPC.
- addTrait(Trait) - Method in class net.citizensnpcs.api.npc.AbstractNPC
- addTrait(Trait) - Method in interface net.citizensnpcs.api.npc.NPC
-
Adds a trait to this NPC.
- addTranslations(Collection<Translator.TranslationProvider>) - Static method in class net.citizensnpcs.api.util.Translator
- addTranslations(Translator.TranslationProvider...) - Static method in class net.citizensnpcs.api.util.Translator
- addTrigger(String, Class<? extends WaypointTrigger>, Class<? extends WaypointTriggerPrompt>) - Static method in class net.citizensnpcs.trait.waypoint.triggers.WaypointTriggerRegistry
- addTrigger(WaypointTrigger) - Method in class net.citizensnpcs.trait.waypoint.Waypoint
- addWaypoint(Waypoint) - Method in class net.citizensnpcs.trait.waypoint.GuidedWaypointProvider
- addWaypoint(Waypoint) - Method in class net.citizensnpcs.trait.waypoint.LinearWaypointProvider
- addWaypoints(Collection<Waypoint>) - Method in class net.citizensnpcs.trait.waypoint.GuidedWaypointProvider
- AdvancedBarChart(String, Callable<Map<String, int[]>>) - Constructor for class net.citizensnpcs.Metrics.AdvancedBarChart
-
Class constructor.
- AdvancedPie(String, Callable<Map<String, Integer>>) - Constructor for class net.citizensnpcs.Metrics.AdvancedPie
-
Class constructor.
- Age - Class in net.citizensnpcs.trait
-
Persists the Minecraft age variable for
Ageable
s. - Age() - Constructor for class net.citizensnpcs.trait.Age
- AGE_LOCKED - Static variable in class net.citizensnpcs.util.Messages
- AGE_SET_ADULT - Static variable in class net.citizensnpcs.util.Messages
- AGE_SET_BABY - Static variable in class net.citizensnpcs.util.Messages
- AGE_SET_NORMAL - Static variable in class net.citizensnpcs.util.Messages
- AGE_TRAIT_DESCRIPTION - Static variable in class net.citizensnpcs.util.Messages
- AGE_UNLOCKED - Static variable in class net.citizensnpcs.util.Messages
- Agent - Interface in net.citizensnpcs.api.astar
- aggressive(boolean) - Method in class net.citizensnpcs.api.ai.goals.TargetNearbyEntityGoal.Builder
- aliases() - Element in annotation type net.citizensnpcs.api.command.Command
-
A list of root-level command aliases that will be accepted for this command.
- AlignmentBehavior - Class in net.citizensnpcs.api.ai.flocking
-
Implements alignment flocking with a particular weight i.e.
- AlignmentBehavior(double) - Constructor for class net.citizensnpcs.api.ai.flocking.AlignmentBehavior
- allTemplates() - Static method in class net.citizensnpcs.npc.Template
- ALREADY_IN_EDITOR - Static variable in class net.citizensnpcs.util.Messages
- ALREADY_OWNER - Static variable in class net.citizensnpcs.util.Messages
- ALWAYS_USE_NAME_HOLOGRAM - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
- ALWAYS_USE_NAME_HOLOGRAM - Enum constant in enum net.citizensnpcs.Settings.Setting
- ALWAYS_USE_NAME_HOLOGRAM_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
- AMBIENT_SOUND - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
The Minecraft ambient sound played.
- AMBIENT_SOUND_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
The Minecraft ambient sound played.
- amount() - Element in annotation type net.citizensnpcs.api.gui.MenuSlot
-
The amount of the itemstack to display.
- Anchor - Class in net.citizensnpcs.util
-
A named
Location
. - Anchor(String, String) - Constructor for class net.citizensnpcs.util.Anchor
- Anchor(String, Location) - Constructor for class net.citizensnpcs.util.Anchor
- ANCHOR_ADDED - Static variable in class net.citizensnpcs.util.Messages
- ANCHOR_ALREADY_EXISTS - Static variable in class net.citizensnpcs.util.Messages
- ANCHOR_MISSING - Static variable in class net.citizensnpcs.util.Messages
- ANCHOR_REMOVED - Static variable in class net.citizensnpcs.util.Messages
- Anchors - Class in net.citizensnpcs.trait
-
Persists a list of
Anchor
s. - Anchors() - Constructor for class net.citizensnpcs.trait.Anchors
- ANIMATION_ADDED - Static variable in class net.citizensnpcs.util.Messages
- ANIMATION_TRIGGER_PROMPT - Static variable in class net.citizensnpcs.util.Messages
- AnimationTrigger - Class in net.citizensnpcs.trait.waypoint.triggers
- AnimationTrigger() - Constructor for class net.citizensnpcs.trait.waypoint.triggers.AnimationTrigger
- AnimationTrigger(Collection<PlayerAnimation>) - Constructor for class net.citizensnpcs.trait.waypoint.triggers.AnimationTrigger
- AnimationTriggerPrompt - Class in net.citizensnpcs.trait.waypoint.triggers
- AnimationTriggerPrompt() - Constructor for class net.citizensnpcs.trait.waypoint.triggers.AnimationTriggerPrompt
- apply(List<Behavior>) - Method in class net.citizensnpcs.api.ai.tree.Selectors.PrioritySelection
- apply(NPC) - Method in class net.citizensnpcs.npc.Template
- apply(NPC) - Method in class net.citizensnpcs.trait.waypoint.WanderWaypointProvider
- apply(SkinnableEntity) - Method in class net.citizensnpcs.npc.skin.Skin
-
Apply the skin data to the specified skinnable entity.
- apply(Team, boolean) - Method in class net.citizensnpcs.trait.ScoreboardTrait
- applyAndRespawn(SkinnableEntity) - Method in class net.citizensnpcs.npc.skin.Skin
-
Apply the skin data to the specified skinnable entity and respawn the NPC.
- args - Variable in class net.citizensnpcs.api.command.CommandContext
- argsLength() - Method in class net.citizensnpcs.api.command.CommandContext
- ARM_SWING - Enum constant in enum net.citizensnpcs.util.PlayerAnimation
- ARM_SWING_OFFHAND - Enum constant in enum net.citizensnpcs.util.PlayerAnimation
- ArmorStandTrait - Class in net.citizensnpcs.trait
-
Persists data related to
ArmorStand
NPCs. - ArmorStandTrait() - Constructor for class net.citizensnpcs.trait.ArmorStandTrait
- asBoolean() - Method in enum net.citizensnpcs.Settings.Setting
- asDefaultTrait() - Method in class net.citizensnpcs.api.trait.TraitInfo
- asDouble() - Method in enum net.citizensnpcs.Settings.Setting
- asFloat() - Method in enum net.citizensnpcs.Settings.Setting
- asInt() - Method in enum net.citizensnpcs.Settings.Setting
- asList() - Method in enum net.citizensnpcs.Settings.Setting
- asLong() - Method in enum net.citizensnpcs.Settings.Setting
- asString() - Method in enum net.citizensnpcs.Settings.Setting
- assumePose(String) - Method in class net.citizensnpcs.trait.Poses
-
Sets the yaw/pitch to the stored pose, looked up by name.
- assumePose(Location) - Method in class net.citizensnpcs.trait.Poses
-
Sets the yaw/pitch to the supplied
Location
. - ASTAR_ITERATIONS_PER_TICK - Enum constant in enum net.citizensnpcs.Settings.Setting
- AStarGoal<T extends AStarNode> - Interface in net.citizensnpcs.api.astar
- AStarMachine<N extends AStarNode,
P extends Plan> - Class in net.citizensnpcs.api.astar - AStarMachine.AStarState - Class in net.citizensnpcs.api.astar
- AStarNavigationStrategy - Class in net.citizensnpcs.npc.ai
- AStarNavigationStrategy(NPC, Iterable<Vector>, NavigatorParameters) - Constructor for class net.citizensnpcs.npc.ai.AStarNavigationStrategy
- AStarNavigationStrategy(NPC, Location, NavigatorParameters) - Constructor for class net.citizensnpcs.npc.ai.AStarNavigationStrategy
- AStarNode - Class in net.citizensnpcs.api.astar
- AStarNode(AStarNode) - Constructor for class net.citizensnpcs.api.astar.AStarNode
- AStarSolution - Class in net.citizensnpcs.api.hpastar
- AStarSolution(List<ReversableAStarNode>, float) - Constructor for class net.citizensnpcs.api.hpastar.AStarSolution
- AStarStorage - Interface in net.citizensnpcs.api.astar
-
The storage for an
AStarMachine
. - AsyncChunkSnapshotBlockSource - Class in net.citizensnpcs.api.astar.pathfinder
- AsyncChunkSnapshotBlockSource(Location, float) - Constructor for class net.citizensnpcs.api.astar.pathfinder.AsyncChunkSnapshotBlockSource
- AsyncChunkSnapshotBlockSource(World, int, int, float) - Constructor for class net.citizensnpcs.api.astar.pathfinder.AsyncChunkSnapshotBlockSource
- attack(LivingEntity, LivingEntity) - Static method in class net.citizensnpcs.util.NMS
- attack(LivingEntity, LivingEntity) - Method in interface net.citizensnpcs.util.NMSBridge
- attackDelayTicks() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
- attackDelayTicks(int) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Sets the delay between attacks.
- attackRange() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
- attackRange(double) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
When using aggressive NPC navigation, the NPC will wait until close enough to the target before attempting to use the
NavigatorParameters.attackStrategy()
. - attackStrategy() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
- attackStrategy(AttackStrategy) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Sets the
AttackStrategy
for use when attacking entity targets. - AttackStrategy - Interface in net.citizensnpcs.api.ai
- AUTH_SERVER_URL - Enum constant in enum net.citizensnpcs.Settings.Setting
- AVAILABLE_WAYPOINT_PROVIDERS - Static variable in class net.citizensnpcs.util.Messages
- avoidWater() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
- avoidWater(boolean) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Sets whether to avoid water while pathfinding
- AXOLOTL_NOT_PLAYING_DEAD - Static variable in class net.citizensnpcs.util.Messages
- AXOLOTL_PLAYING_DEAD - Static variable in class net.citizensnpcs.util.Messages
- AXOLOTL_VARIANT_SET - Static variable in class net.citizensnpcs.util.Messages
- AxolotlTrait - Class in net.citizensnpcs.trait.versioned
- AxolotlTrait() - Constructor for class net.citizensnpcs.trait.versioned.AxolotlTrait
B
- B_STATS_VERSION - Static variable in class net.citizensnpcs.Metrics
- baseSpeed() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
- baseSpeed(float) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Sets the base movement speed of the
Navigator
. - BEE_ANGER_SET - Static variable in class net.citizensnpcs.util.Messages
- BEE_HAS_NECTAR - Static variable in class net.citizensnpcs.util.Messages
- BEE_NO_NECTAR - Static variable in class net.citizensnpcs.util.Messages
- BEE_NOT_STUNG - Static variable in class net.citizensnpcs.util.Messages
- BEE_STUNG - Static variable in class net.citizensnpcs.util.Messages
- BeeTrait - Class in net.citizensnpcs.trait.versioned
- BeeTrait() - Constructor for class net.citizensnpcs.trait.versioned.BeeTrait
- begin() - Method in class net.citizensnpcs.editor.CopierEditor
- begin() - Method in class net.citizensnpcs.editor.Editor
- begin() - Method in class net.citizensnpcs.editor.EquipmentEditor
- beginWithFuture() - Method in class net.citizensnpcs.api.scripting.ScriptCompiler.CompileTaskBuilder
- Behavior - Interface in net.citizensnpcs.api.ai.tree
-
The base class for the second iteration of the
Goal
API, which can be made backwards compatible by extendingBehaviorGoalAdapter
. - BehaviorGoalAdapter - Class in net.citizensnpcs.api.ai.tree
- BehaviorGoalAdapter() - Constructor for class net.citizensnpcs.api.ai.tree.BehaviorGoalAdapter
- BehaviorStatus - Enum in net.citizensnpcs.api.ai.tree
- BEHAVIOUR_HELP - Static variable in class net.citizensnpcs.util.Messages
- BEHAVIOURS_ADDED - Static variable in class net.citizensnpcs.util.Messages
- BEHAVIOURS_REMOVED - Static variable in class net.citizensnpcs.util.Messages
- blockBreaker() - Method in class net.citizensnpcs.api.npc.BlockBreaker.BlockBreakerConfiguration
- blockBreaker(BiConsumer<Block, ItemStack>) - Method in class net.citizensnpcs.api.npc.BlockBreaker.BlockBreakerConfiguration
- BlockBreaker - Class in net.citizensnpcs.api.npc
- BlockBreaker() - Constructor for class net.citizensnpcs.api.npc.BlockBreaker
- BlockBreaker.BlockBreakerConfiguration - Class in net.citizensnpcs.api.npc
- BlockBreakerConfiguration() - Constructor for class net.citizensnpcs.api.npc.BlockBreaker.BlockBreakerConfiguration
- BlockExaminer - Interface in net.citizensnpcs.api.astar.pathfinder
- BlockExaminer.PassableState - Enum in net.citizensnpcs.api.astar.pathfinder
- BlockSource - Class in net.citizensnpcs.api.astar.pathfinder
- BlockSource() - Constructor for class net.citizensnpcs.api.astar.pathfinder.BlockSource
- blockStrengthModifier() - Method in class net.citizensnpcs.api.npc.BlockBreaker.BlockBreakerConfiguration
- blockStrengthModifier(float) - Method in class net.citizensnpcs.api.npc.BlockBreaker.BlockBreakerConfiguration
- BooleanSlotHandler - Class in net.citizensnpcs.api.gui
- BooleanSlotHandler(Function<Boolean, String>) - Constructor for class net.citizensnpcs.api.gui.BooleanSlotHandler
- BooleanSlotHandler(Function<Boolean, String>, boolean) - Constructor for class net.citizensnpcs.api.gui.BooleanSlotHandler
- BOOTS - Enum constant in enum net.citizensnpcs.api.trait.trait.Equipment.EquipmentSlot
- BOSSBAR_RANGE - Enum constant in enum net.citizensnpcs.Settings.Setting
- BossBarTrait - Class in net.citizensnpcs.trait.versioned
- BossBarTrait() - Constructor for class net.citizensnpcs.trait.versioned.BossBarTrait
- BOTH - Enum constant in enum net.citizensnpcs.trait.CommandTrait.Hand
- BOTTOM_UP - Enum constant in enum net.citizensnpcs.trait.HologramTrait.HologramDirection
- BoundingBox - Class in net.citizensnpcs.api.util
- BoundingBox(double, double, double, double, double, double) - Constructor for class net.citizensnpcs.api.util.BoundingBox
- BoundingBoxExaminer - Class in net.citizensnpcs.npc.ai
- BoundingBoxExaminer(Entity) - Constructor for class net.citizensnpcs.npc.ai.BoundingBoxExaminer
- build() - Method in class net.citizensnpcs.api.ai.goals.TargetNearbyEntityGoal.Builder
- build() - Method in class net.citizensnpcs.api.ai.tree.Decorator.Builder
- build() - Method in class net.citizensnpcs.api.ai.tree.Selector.Builder
- buildAndSave() - Method in class net.citizensnpcs.npc.Template.TemplateBuilder
- builder(NPC) - Static method in class net.citizensnpcs.api.ai.goals.TargetNearbyEntityGoal
- Builder(NPC) - Constructor for class net.citizensnpcs.api.ai.goals.TargetNearbyEntityGoal.Builder
- buildFrom(List<HPACluster>) - Method in class net.citizensnpcs.api.hpastar.HPACluster
- buildPlan() - Method in class net.citizensnpcs.api.astar.AStarNode
- buildPlan() - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
- BUY - Enum constant in enum net.citizensnpcs.trait.ShopTrait.ShopType
- byName(String) - Static method in class net.citizensnpcs.npc.Template
- ByteArrayTag - Class in net.citizensnpcs.api.jnbt
-
The
TAG_Byte_Array
tag. - ByteArrayTag(String, byte[]) - Constructor for class net.citizensnpcs.api.jnbt.ByteArrayTag
-
Creates the tag.
- ByteTag - Class in net.citizensnpcs.api.jnbt
-
The
TAG_Byte
tag. - ByteTag(String, byte) - Constructor for class net.citizensnpcs.api.jnbt.ByteTag
-
Creates the tag.
C
- cache(boolean) - Method in class net.citizensnpcs.api.scripting.ScriptCompiler.CompileTaskBuilder
- CACHED_SKIN_UUID_METADATA - Static variable in class net.citizensnpcs.npc.skin.Skin
- CACHED_SKIN_UUID_NAME_METADATA - Static variable in class net.citizensnpcs.npc.skin.Skin
- CachingChunkBlockSource<T> - Class in net.citizensnpcs.api.astar.pathfinder
- CachingChunkBlockSource(Location, float) - Constructor for class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
- CachingChunkBlockSource(World, int, int, float) - Constructor for class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
- CachingChunkBlockSource(World, int, int, int, int) - Constructor for class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
- callback() - Method in class net.citizensnpcs.api.npc.BlockBreaker.BlockBreakerConfiguration
- callback(Runnable) - Method in class net.citizensnpcs.api.npc.BlockBreaker.BlockBreakerConfiguration
- callbacks() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
- callCollisionEvent(NPC, Entity) - Static method in class net.citizensnpcs.util.Util
- callPushEvent(NPC, double, double, double) - Static method in class net.citizensnpcs.util.Util
- cancel() - Method in class net.citizensnpcs.util.PlayerUpdateTask
- cancel(InventoryMenuSlot, CitizensInventoryClickEvent) - Method in class net.citizensnpcs.api.gui.InputMenu
- cancelCurrentExecution() - Method in interface net.citizensnpcs.api.ai.GoalController
-
Cancels and resets the currently executing goal.
- cancelCurrentExecution() - Method in class net.citizensnpcs.api.ai.SimpleGoalController
- cancelMoveDestination(Entity) - Static method in class net.citizensnpcs.util.NMS
- cancelMoveDestination(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- cancelNavigation() - Method in interface net.citizensnpcs.api.ai.Navigator
-
Cancels any running navigation towards a target.
- cancelNavigation() - Method in class net.citizensnpcs.npc.ai.CitizensNavigator
- cancelPackets(Player) - Method in class net.citizensnpcs.npc.skin.TabListRemover
-
Cancel packets pending to be sent to the specified player.
- cancelPackets(Player, SkinnableEntity) - Method in class net.citizensnpcs.npc.skin.TabListRemover
-
Cancel packets pending to be sent to the specified player for the specified skinnable entity.
- CancelReason - Enum in net.citizensnpcs.api.ai.event
- canCompile(File) - Method in class net.citizensnpcs.api.scripting.ScriptCompiler
- CANNOT_TELEPORT_ACROSS_WORLDS - Static variable in class net.citizensnpcs.util.Messages
- canSeeTarget() - Method in class net.citizensnpcs.trait.LookClose
-
Returns whether the target can be seen.
- canStandIn(Material...) - Static method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
- canStandOn(Block) - Static method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
- canStandOn(Material) - Static method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
- canSwimInLava() - Method in class net.citizensnpcs.api.astar.pathfinder.SwimmingExaminer
- CAPE - Enum constant in enum net.citizensnpcs.trait.SkinLayers.Layer
- captureInput(Player, InventoryMenu, Consumer<String>) - Static method in class net.citizensnpcs.api.gui.ModalMenuInput
- CAT_COLLAR_COLOR_SET - Static variable in class net.citizensnpcs.util.Messages
- CAT_STARTED_LYING - Static variable in class net.citizensnpcs.util.Messages
- CAT_STARTED_SITTING - Static variable in class net.citizensnpcs.util.Messages
- CAT_STOPPED_LYING - Static variable in class net.citizensnpcs.util.Messages
- CAT_STOPPED_SITTING - Static variable in class net.citizensnpcs.util.Messages
- CAT_TYPE_SET - Static variable in class net.citizensnpcs.util.Messages
- CatTrait - Class in net.citizensnpcs.trait.versioned
- CatTrait() - Constructor for class net.citizensnpcs.trait.versioned.CatTrait
- CharacterException - Exception in net.citizensnpcs.api.exception
-
Represents an Exception thrown by characters.
- CharacterException(String) - Constructor for exception net.citizensnpcs.api.exception.CharacterException
- CHARSET - Static variable in class net.citizensnpcs.api.jnbt.NBTConstants
-
The character set used by NBT (UTF-8).
- Chat - Class in net.citizensnpcs.npc.ai.speech
- Chat() - Constructor for class net.citizensnpcs.npc.ai.speech.Chat
- CHAT_BYSTANDERS_HEAR_TARGETED_CHAT - Enum constant in enum net.citizensnpcs.Settings.Setting
- CHAT_FORMAT - Enum constant in enum net.citizensnpcs.Settings.Setting
- CHAT_FORMAT_TO_BYSTANDERS - Enum constant in enum net.citizensnpcs.Settings.Setting
- CHAT_FORMAT_TO_TARGET - Enum constant in enum net.citizensnpcs.Settings.Setting
- CHAT_FORMAT_WITH_TARGETS_TO_BYSTANDERS - Enum constant in enum net.citizensnpcs.Settings.Setting
- CHAT_MAX_NUMBER_OF_TARGETS - Enum constant in enum net.citizensnpcs.Settings.Setting
- CHAT_MULTIPLE_TARGETS_FORMAT - Enum constant in enum net.citizensnpcs.Settings.Setting
- CHAT_RANGE - Enum constant in enum net.citizensnpcs.Settings.Setting
- CHAT_TRIGGER_MESSAGE_ADDED - Static variable in class net.citizensnpcs.util.Messages
- CHAT_TRIGGER_PROMPT - Static variable in class net.citizensnpcs.util.Messages
- CHAT_TRIGGER_RADIUS_SET - Static variable in class net.citizensnpcs.util.Messages
- ChatTrigger - Class in net.citizensnpcs.trait.waypoint.triggers
- ChatTrigger() - Constructor for class net.citizensnpcs.trait.waypoint.triggers.ChatTrigger
- ChatTrigger(double, Collection<String>) - Constructor for class net.citizensnpcs.trait.waypoint.triggers.ChatTrigger
- ChatTriggerPrompt - Class in net.citizensnpcs.trait.waypoint.triggers
- ChatTriggerPrompt() - Constructor for class net.citizensnpcs.trait.waypoint.triggers.ChatTriggerPrompt
- CHECK_MINECRAFT_VERSION - Enum constant in enum net.citizensnpcs.Settings.Setting
- checkMounted(Entity) - Method in class net.citizensnpcs.trait.MountTrait
- checkYSafe(double, World) - Static method in class net.citizensnpcs.api.util.SpigotUtil
- CHESTPLATE - Enum constant in enum net.citizensnpcs.api.trait.trait.Equipment.EquipmentSlot
- CHUNK_LOAD - Enum constant in enum net.citizensnpcs.api.event.SpawnReason
- CHUNK_UNLOAD - Enum constant in enum net.citizensnpcs.api.event.DespawnReason
- ChunkBlockSource - Class in net.citizensnpcs.api.astar.pathfinder
- ChunkBlockSource(Location, float) - Constructor for class net.citizensnpcs.api.astar.pathfinder.ChunkBlockSource
- ChunkBlockSource(World, int, int, float) - Constructor for class net.citizensnpcs.api.astar.pathfinder.ChunkBlockSource
- ChunkCoord - Class in net.citizensnpcs.util
- ChunkCoord(UUID, int, int) - Constructor for class net.citizensnpcs.util.ChunkCoord
- ChunkCoord(Chunk) - Constructor for class net.citizensnpcs.util.ChunkCoord
- ChunkCoord(Location) - Constructor for class net.citizensnpcs.util.ChunkCoord
- CHUNKLOAD_SET - Static variable in class net.citizensnpcs.util.Messages
- CHUNKLOAD_UNSET - Static variable in class net.citizensnpcs.util.Messages
- ChunkSnapshotBlockSource - Class in net.citizensnpcs.api.astar.pathfinder
- ChunkSnapshotBlockSource(Location, float) - Constructor for class net.citizensnpcs.api.astar.pathfinder.ChunkSnapshotBlockSource
- ChunkSnapshotBlockSource(World, int, int, float) - Constructor for class net.citizensnpcs.api.astar.pathfinder.ChunkSnapshotBlockSource
- Citizens - Class in net.citizensnpcs
- Citizens() - Constructor for class net.citizensnpcs.Citizens
- CITIZENS_IMPLEMENTATION_DISABLED - Static variable in class net.citizensnpcs.util.Messages
- CITIZENS_INCOMPATIBLE - Static variable in class net.citizensnpcs.util.Messages
- CITIZENS_INVALID_COMMAND_CLASS - Static variable in class net.citizensnpcs.util.Messages
- CITIZENS_RELOAD_ERROR - Static variable in class net.citizensnpcs.util.Messages
- CITIZENS_RELOAD_WARNING - Static variable in class net.citizensnpcs.util.Messages
- CITIZENS_RELOADED - Static variable in class net.citizensnpcs.util.Messages
- CITIZENS_RELOADING - Static variable in class net.citizensnpcs.util.Messages
- CITIZENS_SAVED - Static variable in class net.citizensnpcs.util.Messages
- CITIZENS_SAVING - Static variable in class net.citizensnpcs.util.Messages
- CitizensAPI - Class in net.citizensnpcs.api
-
Contains methods used in order to utilize the Citizens API.
- CitizensDeserialiseMetaEvent - Class in net.citizensnpcs.api.event
- CitizensDeserialiseMetaEvent(DataKey, ItemStack) - Constructor for class net.citizensnpcs.api.event.CitizensDeserialiseMetaEvent
- CitizensDisableEvent - Class in net.citizensnpcs.api.event
- CitizensDisableEvent() - Constructor for class net.citizensnpcs.api.event.CitizensDisableEvent
- CitizensEnableEvent - Class in net.citizensnpcs.api.event
- CitizensEnableEvent() - Constructor for class net.citizensnpcs.api.event.CitizensEnableEvent
- CitizensEvent - Class in net.citizensnpcs.api.event
-
Represents an event thrown by Citizens.
- CitizensEvent() - Constructor for class net.citizensnpcs.api.event.CitizensEvent
- CitizensGetSelectedNPCEvent - Class in net.citizensnpcs.api.event
- CitizensGetSelectedNPCEvent(CommandSender) - Constructor for class net.citizensnpcs.api.event.CitizensGetSelectedNPCEvent
- CitizensInventoryClickEvent - Class in net.citizensnpcs.api.gui
- CitizensInventoryClickEvent(InventoryClickEvent, int) - Constructor for class net.citizensnpcs.api.gui.CitizensInventoryClickEvent
- CitizensNavigator - Class in net.citizensnpcs.npc.ai
- CitizensNavigator(NPC) - Constructor for class net.citizensnpcs.npc.ai.CitizensNavigator
- CitizensNPC - Class in net.citizensnpcs.npc
- CitizensNPC(UUID, int, String, EntityController, NPCRegistry) - Constructor for class net.citizensnpcs.npc.CitizensNPC
- CitizensNPCRegistry - Class in net.citizensnpcs.npc
- CitizensNPCRegistry(NPCDataStore) - Constructor for class net.citizensnpcs.npc.CitizensNPCRegistry
- CitizensNPCRegistry(NPCDataStore, String) - Constructor for class net.citizensnpcs.npc.CitizensNPCRegistry
- CitizensPlugin - Interface in net.citizensnpcs.api
- CitizensPreReloadEvent - Class in net.citizensnpcs.api.event
-
Called just before Citizens is reloaded.
- CitizensPreReloadEvent() - Constructor for class net.citizensnpcs.api.event.CitizensPreReloadEvent
- CitizensReloadEvent - Class in net.citizensnpcs.api.event
-
Called when Citizens is reloaded.
- CitizensReloadEvent() - Constructor for class net.citizensnpcs.api.event.CitizensReloadEvent
- CitizensSerialiseMetaEvent - Class in net.citizensnpcs.api.event
- CitizensSerialiseMetaEvent(DataKey, ItemMeta) - Constructor for class net.citizensnpcs.api.event.CitizensSerialiseMetaEvent
- CitizensSpeechFactory - Class in net.citizensnpcs.npc.ai.speech
- CitizensSpeechFactory() - Constructor for class net.citizensnpcs.npc.ai.speech.CitizensSpeechFactory
- CitizensTraitFactory - Class in net.citizensnpcs.npc
- CitizensTraitFactory() - Constructor for class net.citizensnpcs.npc.CitizensTraitFactory
- clamp(float) - Static method in class net.citizensnpcs.util.Util
-
Clamps the rotation angle to [-180, 180]
- clear() - Method in interface net.citizensnpcs.api.ai.GoalController
-
Clears the goal controller of all
Goal
s. - clear() - Method in class net.citizensnpcs.api.ai.SimpleGoalController
- clear() - Method in class net.citizensnpcs.trait.HologramTrait
-
Clears all hologram lines
- clearCache() - Static method in class net.citizensnpcs.npc.skin.Skin
-
Clear all cached skins.
- clearCancelReason() - Method in class net.citizensnpcs.api.ai.AbstractPathStrategy
- clearCancelReason() - Method in interface net.citizensnpcs.api.ai.PathStrategy
-
Clears the CancelReason returned by
PathStrategy.getCancelReason()
and attempts to resume pathfinding. - clearCancelReason() - Method in class net.citizensnpcs.npc.ai.MCTargetStrategy
- clearData(NPC) - Method in class net.citizensnpcs.api.npc.MemoryNPCDataStore
- clearData(NPC) - Method in interface net.citizensnpcs.api.npc.NPCDataStore
-
Clears all data about the given
NPC
from storage. - clearData(NPC) - Method in class net.citizensnpcs.api.npc.SimpleNPCDataStore
- clearExaminers() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Clears all current
BlockExaminer
s. - clearTexture() - Method in class net.citizensnpcs.trait.SkinTrait
-
Clears skin texture and name.
- ClickHandler - Annotation Type in net.citizensnpcs.api.gui
-
Annotates a method as a click handler that will accept inventory click events.
- ClickHandlers - Annotation Type in net.citizensnpcs.api.gui
- ClickRedirectTrait - Class in net.citizensnpcs.trait
-
Redirects left and right clicks to another
NPC
. - ClickRedirectTrait() - Constructor for class net.citizensnpcs.trait.ClickRedirectTrait
- ClickRedirectTrait(NPC) - Constructor for class net.citizensnpcs.trait.ClickRedirectTrait
- clone() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
- clone() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- clone() - Method in interface net.citizensnpcs.api.npc.MetadataStore
-
Copies the metadata store.
- clone() - Method in interface net.citizensnpcs.api.npc.NPC
- clone() - Method in class net.citizensnpcs.api.npc.SimpleMetadataStore
- close() - Method in class net.citizensnpcs.api.gui.InventoryMenu
-
Closes the GUI and all associated viewer inventories.
- close() - Method in class net.citizensnpcs.api.jnbt.NBTInputStream
- close() - Method in class net.citizensnpcs.api.jnbt.NBTOutputStream
- close(AStarNode) - Method in interface net.citizensnpcs.api.astar.AStarStorage
-
Close a given
AStarNode
, moving it from the open set to the closed set. - close(AStarNode) - Method in class net.citizensnpcs.api.astar.SimpleAStarStorage
- close(Player) - Method in class net.citizensnpcs.api.gui.InventoryMenu
-
Closes the GUI for just a specific Player.
- ClusterNode - Class in net.citizensnpcs.api.hpastar
- ClusterNode(int, int) - Constructor for class net.citizensnpcs.api.hpastar.ClusterNode
- clusters - Variable in class net.citizensnpcs.api.hpastar.HPAGraph
- CohesionBehavior - Class in net.citizensnpcs.api.ai.flocking
-
Implements cohesion flocking with a particular weight i.e.
- CohesionBehavior(double) - Constructor for class net.citizensnpcs.api.ai.flocking.CohesionBehavior
- COLLAR_COLOUR_NOT_RECOGNISED - Static variable in class net.citizensnpcs.util.Messages
- COLLAR_COLOUR_NOT_SUPPORTED - Static variable in class net.citizensnpcs.util.Messages
- collectionType() - Element in annotation type net.citizensnpcs.api.persistence.Persist
-
The specialised collection type to use when a super class is specified.
- COLLIDABLE - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
Whether the NPC is collidable with Players or not.
- COLLIDABLE_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
Whether the NPC is collidable with Players or not.
- COLLIDABLE_SET - Static variable in class net.citizensnpcs.util.Messages
- COLLIDABLE_UNSET - Static variable in class net.citizensnpcs.util.Messages
- Colorizer - Class in net.citizensnpcs.api.util
- Colorizer() - Constructor for class net.citizensnpcs.api.util.Colorizer
- command(String) - Method in class net.citizensnpcs.trait.CommandTrait.NPCCommandBuilder
- Command - Annotation Type in net.citizensnpcs.api.command
- COMMAND - Enum constant in enum net.citizensnpcs.api.event.SpawnReason
- COMMAND_ADDED - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_AGE_HELP - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_COST_SET - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_EXPERIENCE_COST_SET - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_HELP_HEADER - Static variable in class net.citizensnpcs.api.command.CommandMessages
- COMMAND_HELP_HEADER - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_HIDE_ERROR_MESSAGES_SET - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_HIDE_ERROR_MESSAGES_UNSET - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_INVALID_MOBTYPE - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_LEFT_HAND_HEADER - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_MISSING - Static variable in class net.citizensnpcs.api.command.CommandMessages
- COMMAND_MISSING - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_MUST_BE_INGAME - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_MUST_BE_OWNER - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_MUST_HAVE_SELECTED - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_NO_COMMANDS_ADDED - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_PAGE_MISSING - Static variable in class net.citizensnpcs.api.command.CommandMessages
- COMMAND_PAGE_MISSING - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_REMOVED - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_REPORT_ERROR - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_REQUIREMENTS_INVALID_MOB_TYPE - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_RIGHT_HAND_HEADER - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_SAVE_HELP - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_TEMPORARY_PERMISSIONS_SET - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_TOO_FEW_ARGUMENTS - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_TOO_MANY_ARGUMENTS - Static variable in class net.citizensnpcs.util.Messages
- COMMAND_UNKNOWN_COMMAND_ID - Static variable in class net.citizensnpcs.util.Messages
- CommandAnnotationProcessor - Interface in net.citizensnpcs.api.command
- CommandConfigurable - Interface in net.citizensnpcs.api.command
- CommandContext - Class in net.citizensnpcs.api.command
- CommandContext(String[]) - Constructor for class net.citizensnpcs.api.command.CommandContext
- CommandContext(CommandSender, String[]) - Constructor for class net.citizensnpcs.api.command.CommandContext
- CommandException - Exception in net.citizensnpcs.api.command.exception
- CommandException() - Constructor for exception net.citizensnpcs.api.command.exception.CommandException
- CommandException(String) - Constructor for exception net.citizensnpcs.api.command.exception.CommandException
- CommandException(String, Object...) - Constructor for exception net.citizensnpcs.api.command.exception.CommandException
- CommandException(Throwable) - Constructor for exception net.citizensnpcs.api.command.exception.CommandException
- CommandHistory - Class in net.citizensnpcs.commands.history
- CommandHistory(NPCSelector) - Constructor for class net.citizensnpcs.commands.history.CommandHistory
- CommandHistoryItem - Interface in net.citizensnpcs.commands.history
- CommandInfo(Command) - Constructor for class net.citizensnpcs.api.command.CommandManager.CommandInfo
- CommandManager - Class in net.citizensnpcs.api.command
- CommandManager() - Constructor for class net.citizensnpcs.api.command.CommandManager
- CommandManager.CommandInfo - Class in net.citizensnpcs.api.command
- CommandMessages - Class in net.citizensnpcs.api.command
- CommandMessages() - Constructor for class net.citizensnpcs.api.command.CommandMessages
- COMMANDS_RANDOM_SET - Static variable in class net.citizensnpcs.util.Messages
- COMMANDS_RANDOM_UNSET - Static variable in class net.citizensnpcs.util.Messages
- COMMANDS_SEQUENTIAL_SET - Static variable in class net.citizensnpcs.util.Messages
- COMMANDS_SEQUENTIAL_UNSET - Static variable in class net.citizensnpcs.util.Messages
- CommandSenderCloneNPCEvent - Class in net.citizensnpcs.api.event
- CommandSenderCloneNPCEvent(CommandSender, NPC, NPC) - Constructor for class net.citizensnpcs.api.event.CommandSenderCloneNPCEvent
- CommandSenderCreateNPCEvent - Class in net.citizensnpcs.api.event
- CommandSenderCreateNPCEvent(CommandSender, NPC) - Constructor for class net.citizensnpcs.api.event.CommandSenderCreateNPCEvent
- CommandTrait - Class in net.citizensnpcs.trait
- CommandTrait() - Constructor for class net.citizensnpcs.trait.CommandTrait
- CommandTrait.ErrorHandling - Enum in net.citizensnpcs.trait
- CommandTrait.ExecutionMode - Enum in net.citizensnpcs.trait
- CommandTrait.Hand - Enum in net.citizensnpcs.trait
- CommandTrait.ItemRequirementGUI - Class in net.citizensnpcs.trait
- CommandTrait.NPCCommandBuilder - Class in net.citizensnpcs.trait
- CommandUsageException - Exception in net.citizensnpcs.api.command.exception
- CommandUsageException() - Constructor for exception net.citizensnpcs.api.command.exception.CommandUsageException
- CommandUsageException(String, String) - Constructor for exception net.citizensnpcs.api.command.exception.CommandUsageException
- compareTo(Object) - Method in class net.citizensnpcs.npc.ai.speech.TalkableEntity
-
Used to compare a LivingEntity to this TalkableEntity
- compareTo(GoalController.GoalEntry) - Method in class net.citizensnpcs.api.ai.SimpleGoalEntry
- compareTo(AStarNode) - Method in class net.citizensnpcs.api.astar.AStarNode
- compareTo(ReversableAStarNode) - Method in class net.citizensnpcs.api.hpastar.ReversableAStarNode
- compatMaterial() - Element in annotation type net.citizensnpcs.api.gui.MenuSlot
-
For compatibility with old Minecraft versions - a two String array {intended material name, fallback material name} e.g.
- compile(File) - Method in class net.citizensnpcs.api.scripting.ScriptCompiler
-
Create a builder to compile the given files.
- compile(String, String, String) - Method in class net.citizensnpcs.api.scripting.ScriptCompiler
-
Create a builder to compile the given source code.
- CompileCallback - Interface in net.citizensnpcs.api.scripting
- Composite - Class in net.citizensnpcs.api.ai.tree
-
The base class for composite
Behavior
s, which handle the transition between multiple sub-behaviors. - Composite(Collection<Behavior>) - Constructor for class net.citizensnpcs.api.ai.tree.Composite
- Composite(Behavior...) - Constructor for class net.citizensnpcs.api.ai.tree.Composite
- CompoundTag - Class in net.citizensnpcs.api.jnbt
-
The
TAG_Compound
tag. - CompoundTag(String) - Constructor for class net.citizensnpcs.api.jnbt.CompoundTag
- CompoundTag(String, Map<String, Tag>) - Constructor for class net.citizensnpcs.api.jnbt.CompoundTag
-
Creates the tag.
- condition - Variable in class net.citizensnpcs.api.ai.tree.Precondition
- Condition - Interface in net.citizensnpcs.api.ai.tree
- configuration - Variable in class net.citizensnpcs.util.AbstractBlockBreaker
- configure(File, boolean, String, String, String) - Static method in class net.citizensnpcs.api.util.Messaging
- configure(CommandContext) - Method in interface net.citizensnpcs.api.command.CommandConfigurable
- configure(CommandContext) - Method in class net.citizensnpcs.trait.Controllable
-
Configures the explicit type parameter.
- configure(CommandContext) - Method in class net.citizensnpcs.trait.LookClose
- connect(int, HPAGraphNode, HPAGraphEdge.EdgeType, float) - Method in class net.citizensnpcs.api.hpastar.HPAGraphNode
- connect(HPACluster, Direction) - Method in class net.citizensnpcs.api.hpastar.HPACluster
- connectIntra() - Method in class net.citizensnpcs.api.hpastar.HPACluster
- console(boolean) - Method in class net.citizensnpcs.api.util.Paginator
- contains(HPACluster) - Method in class net.citizensnpcs.api.hpastar.HPACluster
- ContextProvider - Interface in net.citizensnpcs.api.scripting
-
Provides useful objects or methods to an instance of
Script
. - Controllable - Class in net.citizensnpcs.trait
-
Persists the controllable status for /npc controllable A controllable
NPC
can be mounted by aPlayer
using right click or /npc mount and moved around using e.g. - Controllable() - Constructor for class net.citizensnpcs.trait.Controllable
- Controllable(boolean) - Constructor for class net.citizensnpcs.trait.Controllable
- CONTROLLABLE_GROUND_DIRECTION_MODIFIER - Enum constant in enum net.citizensnpcs.Settings.Setting
- CONTROLLABLE_REMOVED - Static variable in class net.citizensnpcs.util.Messages
- CONTROLLABLE_SET - Static variable in class net.citizensnpcs.util.Messages
- Controllable.GroundController - Class in net.citizensnpcs.trait
- Controllable.LookAirController - Class in net.citizensnpcs.trait
- Controllable.MovementController - Interface in net.citizensnpcs.trait
- Controllable.PlayerInputAirController - Class in net.citizensnpcs.trait
- controllerExistsForType(EntityType) - Static method in class net.citizensnpcs.npc.EntityControllers
- conversationAbandoned(ConversationAbandonedEvent) - Method in class net.citizensnpcs.trait.text.Text
- convert(BoundingBox) - Static method in class net.citizensnpcs.api.util.BoundingBox
- convertBytesToInt(byte[], int) - Static method in class net.citizensnpcs.util.XORShiftRNG
-
Take four bytes from the specified position in the specified block and convert them into a 32-bit int, using the big-endian convention.
- convertBytesToInts(byte[]) - Static method in class net.citizensnpcs.util.XORShiftRNG
-
Convert an array of bytes into an array of ints.
- convertToInterface(Object, Class<T>) - Method in interface net.citizensnpcs.api.scripting.Script
-
Converts an object returned by a script to the given Java interface.
- convertToInterface(Object, Class<T>) - Method in class net.citizensnpcs.api.scripting.SimpleScript
- convertToVectors() - Method in class net.citizensnpcs.api.hpastar.AStarSolution
- cooldown(int) - Method in class net.citizensnpcs.trait.CommandTrait.NPCCommandBuilder
- COPIER_EDITOR_BEGIN - Static variable in class net.citizensnpcs.util.Messages
- COPIER_EDITOR_END - Static variable in class net.citizensnpcs.util.Messages
- CopierEditor - Class in net.citizensnpcs.editor
- CopierEditor(Player, NPC) - Constructor for class net.citizensnpcs.editor.CopierEditor
- copy() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- copy() - Method in interface net.citizensnpcs.api.npc.NPC
- create(Class<? extends InventoryMenuPage>) - Static method in class net.citizensnpcs.api.gui.InventoryMenu
-
Create an inventory menu instance starting at the given page.
- create(Class<? extends Trait>) - Static method in class net.citizensnpcs.api.trait.TraitInfo
-
Constructs a factory with the given trait class.
- create(Iterable<NPC>) - Static method in class net.citizensnpcs.api.ai.flocking.GroupNPCFlock
- create(String) - Static method in class net.citizensnpcs.npc.Template.TemplateBuilder
- create(Behavior) - Static method in class net.citizensnpcs.api.ai.tree.BehaviorGoalAdapter
- create(Condition, Behavior, Behavior) - Static method in class net.citizensnpcs.api.ai.tree.IfElse
- create(InventoryMenuPage) - Static method in class net.citizensnpcs.api.gui.InventoryMenu
-
Create an inventory menu instance starting at the given page.
- create(DataKey) - Method in class net.citizensnpcs.api.persistence.EulerAnglePersister
- create(DataKey) - Method in class net.citizensnpcs.api.persistence.ItemStackPersister
- create(DataKey) - Method in class net.citizensnpcs.api.persistence.LocationPersister
- create(DataKey) - Method in interface net.citizensnpcs.api.persistence.Persister
-
Creates an object instance from the given
DataKey
. - create(DataKey) - Method in class net.citizensnpcs.api.persistence.UUIDPersister
- create(DataKey) - Method in class net.citizensnpcs.trait.waypoint.triggers.WaypointTriggerRegistry
- create(Storage) - Static method in class net.citizensnpcs.api.npc.SimpleNPCDataStore
- CREATE - Enum constant in enum net.citizensnpcs.api.event.SpawnReason
- createAnonymousNPCRegistry(NPCDataStore) - Static method in class net.citizensnpcs.api.CitizensAPI
-
Creates a new anonymous
NPCRegistry
with its own set ofNPC
s. - createAnonymousNPCRegistry(NPCDataStore) - Method in interface net.citizensnpcs.api.CitizensPlugin
- createAnonymousNPCRegistry(NPCDataStore) - Method in class net.citizensnpcs.Citizens
- createAtOffset(Vector) - Method in interface net.citizensnpcs.api.astar.pathfinder.PathPoint
-
Returns a new PathPoint at a given Vector.
- createAtOffset(Vector) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
- createCitizensBackedNPCRegistry(NPCDataStore) - Static method in class net.citizensnpcs.api.CitizensAPI
-
Creates a new anonymous
NPCRegistry
that is "Citizens-backed" i.e. - createCitizensBackedNPCRegistry(NPCDataStore) - Method in interface net.citizensnpcs.api.CitizensPlugin
-
Creates a new anonymous
NPCRegistry
that is "Citizens-backed" i.e. - createCitizensBackedNPCRegistry(NPCDataStore) - Method in class net.citizensnpcs.Citizens
- CREATED_TRIGGER_KEY - Static variable in interface net.citizensnpcs.trait.waypoint.triggers.WaypointTriggerPrompt
- createEditor(CommandSender, CommandContext) - Method in class net.citizensnpcs.trait.waypoint.GuidedWaypointProvider
- createEditor(CommandSender, CommandContext) - Method in class net.citizensnpcs.trait.waypoint.LinearWaypointProvider
- createEditor(CommandSender, CommandContext) - Method in class net.citizensnpcs.trait.waypoint.WanderWaypointProvider
- createEditor(CommandSender, CommandContext) - Method in interface net.citizensnpcs.trait.waypoint.WaypointProvider
-
Creates an
WaypointEditor
with the givenCommandSender
. - createEntity(Location, NPC) - Method in class net.citizensnpcs.npc.AbstractEntityController
- createForType(EntityType) - Static method in class net.citizensnpcs.npc.EntityControllers
- createFromShortInput(ConversationContext, String) - Method in class net.citizensnpcs.trait.waypoint.triggers.AnimationTriggerPrompt
- createFromShortInput(ConversationContext, String) - Method in class net.citizensnpcs.trait.waypoint.triggers.ChatTriggerPrompt
- createFromShortInput(ConversationContext, String) - Method in class net.citizensnpcs.trait.waypoint.triggers.DelayTriggerPrompt
- createFromShortInput(ConversationContext, String) - Method in class net.citizensnpcs.trait.waypoint.triggers.SpeedTriggerPrompt
- createFromShortInput(ConversationContext, String) - Method in class net.citizensnpcs.trait.waypoint.triggers.TeleportTriggerPrompt
- createFromShortInput(ConversationContext, String) - Method in interface net.citizensnpcs.trait.waypoint.triggers.WaypointTriggerPrompt
- createInputStream() - Method in class net.citizensnpcs.api.util.ResourceTranslationProvider
- createInputStream() - Method in interface net.citizensnpcs.api.util.Translator.TranslationProvider
- createMarker(T, Location) - Method in class net.citizensnpcs.trait.waypoint.EntityMarkers
-
Creates and persists (in memory) an
Entity
marker. - createNamedNPCRegistry(String, NPCDataStore) - Static method in class net.citizensnpcs.api.CitizensAPI
-
Creates a new
NPCRegistry
with its own set ofNPC
s. - createNamedNPCRegistry(String, NPCDataStore) - Method in interface net.citizensnpcs.api.CitizensPlugin
- createNamedNPCRegistry(String, NPCDataStore) - Method in class net.citizensnpcs.Citizens
- createNPC(EntityType, String) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
-
Creates an despawned
NPC
. - createNPC(EntityType, String) - Method in class net.citizensnpcs.npc.CitizensNPCRegistry
- createNPC(EntityType, String, Location) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
-
Creates an spawned
NPC
at the given location. - createNPC(EntityType, String, Location) - Method in class net.citizensnpcs.npc.CitizensNPCRegistry
- createNPC(EntityType, UUID, int, String) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
-
Creates an
NPC
with the given id. - createNPC(EntityType, UUID, int, String) - Method in class net.citizensnpcs.npc.CitizensNPCRegistry
- CreateNPCHistoryItem - Class in net.citizensnpcs.commands.history
- CreateNPCHistoryItem(NPC) - Constructor for class net.citizensnpcs.commands.history.CreateNPCHistoryItem
- createNPCUsingItem(EntityType, String, ItemStack) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
-
Creates an despawned
NPC
using the given ItemStack to configure it if possible. - createNPCUsingItem(EntityType, String, ItemStack) - Method in class net.citizensnpcs.npc.CitizensNPCRegistry
- createRelativeKey(String) - Method in class net.citizensnpcs.api.util.DataKey
- createRetryingSequence(Collection<Behavior>) - Static method in class net.citizensnpcs.api.ai.tree.Sequence
-
Creates a
retrying
sequence that will continue from the currentBehavior
if it returnsBehaviorStatus.FAILURE
instead of propagating the failure up to its parent. - createRetryingSequence(Behavior...) - Static method in class net.citizensnpcs.api.ai.tree.Sequence
- createSelfRegistered(Class<? extends InventoryMenuPage>) - Static method in class net.citizensnpcs.api.gui.InventoryMenu
-
Creates an inventory menu instance starting at the given page that registers events and deregisters events when the menu is closed.
- createSelfRegistered(InventoryMenuPage) - Static method in class net.citizensnpcs.api.gui.InventoryMenu
-
Creates an inventory menu instance starting at the given page that registers events and deregisters events when the menu is closed.
- createSequence(Collection<Behavior>) - Static method in class net.citizensnpcs.api.ai.tree.Sequence
-
Creates sequence that will stop executing if the current
Behavior
returnsBehaviorStatus.FAILURE
. - createSequence(Behavior...) - Static method in class net.citizensnpcs.api.ai.tree.Sequence
- createTag(String, Object) - Static method in class net.citizensnpcs.api.jnbt.NBTUtils
- createUniqueNPCId(NPCRegistry) - Method in class net.citizensnpcs.api.npc.MemoryNPCDataStore
- createUniqueNPCId(NPCRegistry) - Method in interface net.citizensnpcs.api.npc.NPCDataStore
- createUniqueNPCId(NPCRegistry) - Method in class net.citizensnpcs.api.npc.SimpleNPCDataStore
- createWithCondition(Behavior, Condition) - Static method in class net.citizensnpcs.api.ai.tree.Loop
- createWithContext(Class<? extends InventoryMenuPage>, Map<String, Object>) - Static method in class net.citizensnpcs.api.gui.InventoryMenu
-
Create an inventory menu instance starting at the given page and with the initial context.
- createWithDefaultStorage() - Static method in class net.citizensnpcs.api.astar.AStarMachine
-
Creates an AStarMachine using
SimpleAStarStorage
as the storage backend. - createWithNPC(NPC) - Static method in class net.citizensnpcs.api.ai.goals.WanderGoal
- createWithNPCAndRange(NPC, int, int) - Static method in class net.citizensnpcs.api.ai.goals.WanderGoal
- createWithNPCAndRangeAndTree(NPC, int, int, Supplier<PhTreeSolid<Boolean>>) - Static method in class net.citizensnpcs.api.ai.goals.WanderGoal
- createWithNPCAndRangeAndTreeAndFallback(NPC, int, int, Supplier<PhTreeSolid<Boolean>>, Function<NPC, Location>) - Static method in class net.citizensnpcs.api.ai.goals.WanderGoal
- createWithNPCAndRangeAndTreeAndFallbackAndRegion(NPC, int, int, Supplier<PhTreeSolid<Boolean>>, Function<NPC, Location>, Object) - Static method in class net.citizensnpcs.api.ai.goals.WanderGoal
-
The full builder method.
- createWithRadius(Iterable<NPC>, double) - Static method in class net.citizensnpcs.api.ai.flocking.GroupNPCFlock
- createWithStorage(Supplier<AStarStorage>) - Static method in class net.citizensnpcs.api.astar.AStarMachine
-
Creates an AStarMachine that uses the given
to createAStarStorage
instances. - CRIT - Enum constant in enum net.citizensnpcs.util.PlayerAnimation
- CURRENT_SCRIPTS - Static variable in class net.citizensnpcs.util.Messages
- CURRENT_WAYPOINT_PROVIDER - Static variable in class net.citizensnpcs.util.Messages
- CurrentLocation - Class in net.citizensnpcs.trait
-
Persists the current
Location
of theNPC
. - CurrentLocation() - Constructor for class net.citizensnpcs.trait.CurrentLocation
D
- DAMAGE_OTHERS - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
Whether the NPC can damage other Entities.
- DAMAGE_OTHERS_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
Whether the NPC can damage other Entities.
- data() - Method in class net.citizensnpcs.api.gui.MenuContext
- data() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- data() - Method in interface net.citizensnpcs.api.npc.NPC
- DATABASE_CONNECTION_FAILED - Static variable in class net.citizensnpcs.util.Messages
- DataKey - Class in net.citizensnpcs.api.util
-
A hierarchical abstract storage class.
- DataKey(String) - Constructor for class net.citizensnpcs.api.util.DataKey
- DEATH - Enum constant in enum net.citizensnpcs.api.event.DespawnReason
- DEATH_SOUND - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
The Minecraft sound played when the NPC dies.
- DEATH_SOUND_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
The Minecraft sound played when the NPC dies.
- debug() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Returns whether this path will be debugged.
- debug() - Method in class net.citizensnpcs.api.astar.pathfinder.Path
- debug(boolean) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Sets whether the path should be debugged.
- debug(Object...) - Static method in class net.citizensnpcs.api.util.Messaging
- DEBUG_CHUNK_LOADS - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEBUG_FILE - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEBUG_MODE - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEBUG_PATHFINDING - Enum constant in enum net.citizensnpcs.Settings.Setting
- debugEnd() - Method in class net.citizensnpcs.api.astar.pathfinder.Path
- Decorator - Class in net.citizensnpcs.api.ai.tree
-
A decorator is a wrapper over a
Behavior
, which can add functionality such as filteringBehaviorStatus
es, conditions, timer loops and more without knowing the internals of the behavior it wraps. - Decorator.Builder - Class in net.citizensnpcs.api.ai.tree
- DEFAULT_CACHE_WAYPOINT_PATHS - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_DESTINATION_TELEPORT_MARGIN - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_DISTANCE_MARGIN - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_LOOK_CLOSE - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_LOOK_CLOSE_RANGE - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_NPC_HOLOGRAM_LINE_HEIGHT - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_NPC_LIMIT - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_PATH_DISTANCE_MARGIN - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_PATHFINDER_UPDATE_PATH_RATE - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_PATHFINDING_RANGE - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_POSE_SET - Static variable in class net.citizensnpcs.util.Messages
- DEFAULT_PROTECTED - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
Whether the NPC is 'protected' i.e.
- DEFAULT_PROTECTED_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
Whether the NPC is 'protected' i.e.
- DEFAULT_RANDOM_LOOK_CLOSE - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_RANDOM_LOOK_DELAY - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_RANDOM_TALKER - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_REALISTIC_LOOKING - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_SPAWN_NODAMAGE_TICKS - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_STATIONARY_TICKS - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_STRAIGHT_LINE_TARGETING_DISTANCE - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_TALK_CLOSE - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_TALK_CLOSE_RANGE - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_TEXT - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_TEXT_SPEECH_BUBBLE_TICKS - Enum constant in enum net.citizensnpcs.Settings.Setting
- DEFAULT_VOCAL_CHORD - Static variable in class net.citizensnpcs.api.trait.trait.Speech
- defaultAttackStrategy() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Returns the configured default attack strategy, which tries to perform the most Minecraft-like attack on the target.
- defaultAttackStrategy(AttackStrategy) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Sets the default
AttackStrategy
. - delay - Variable in class net.citizensnpcs.trait.waypoint.WanderWaypointProvider
- delay(int) - Method in class net.citizensnpcs.trait.CommandTrait.NPCCommandBuilder
- DELAY_TRIGGER_PROMPT - Static variable in class net.citizensnpcs.util.Messages
- DelayTrigger - Class in net.citizensnpcs.trait.waypoint.triggers
- DelayTrigger() - Constructor for class net.citizensnpcs.trait.waypoint.triggers.DelayTrigger
- DelayTrigger(int) - Constructor for class net.citizensnpcs.trait.waypoint.triggers.DelayTrigger
- DelayTriggerPrompt - Class in net.citizensnpcs.trait.waypoint.triggers
- DelayTriggerPrompt() - Constructor for class net.citizensnpcs.trait.waypoint.triggers.DelayTriggerPrompt
- DelegatePersistence - Annotation Type in net.citizensnpcs.api.persistence
-
Delegates persistence to a given
Persister
, which will be used to create and save instances. - delete() - Method in class net.citizensnpcs.npc.Template
- deregister(NPC) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
-
Deregisters the
NPC
and removes all data about it from the data store. - deregister(NPC) - Method in class net.citizensnpcs.npc.CitizensNPCRegistry
- deregister(EventHandler) - Method in class net.citizensnpcs.api.scripting.EventRegistrar.Events
- deregisterAll() - Method in interface net.citizensnpcs.api.npc.NPCRegistry
-
Deregisters all
NPC
s from this registry. - deregisterAll() - Method in class net.citizensnpcs.npc.CitizensNPCRegistry
- deregisterPlayer(Entity) - Static method in class net.citizensnpcs.util.PlayerUpdateTask
- deregisterTrait(TraitInfo) - Method in interface net.citizensnpcs.api.trait.TraitFactory
-
Removes a trait.
- deregisterTrait(TraitInfo) - Method in class net.citizensnpcs.npc.CitizensTraitFactory
- desc() - Element in annotation type net.citizensnpcs.api.command.Command
-
A short description of the command that will be displayed with the command usage and help.
- describe(CommandSender) - Method in class net.citizensnpcs.trait.Age
-
Send a brief description of the current state of the trait to the supplied
CommandSender
. - describe(CommandSender) - Method in class net.citizensnpcs.trait.CommandTrait
-
Send a brief description of the current state of the trait to the supplied
CommandSender
. - describe(CommandSender) - Method in class net.citizensnpcs.trait.SlimeSize
- describe(CommandSender, int) - Method in class net.citizensnpcs.trait.Poses
- describeProviders(CommandSender) - Method in class net.citizensnpcs.trait.waypoint.Waypoints
- describeTriggers(CommandSender) - Method in class net.citizensnpcs.trait.waypoint.Waypoint
- describeValidTriggerNames() - Static method in class net.citizensnpcs.trait.waypoint.triggers.WaypointTriggerRegistry
- description() - Method in class net.citizensnpcs.trait.waypoint.triggers.AnimationTrigger
- description() - Method in class net.citizensnpcs.trait.waypoint.triggers.ChatTrigger
- description() - Method in class net.citizensnpcs.trait.waypoint.triggers.DelayTrigger
- description() - Method in class net.citizensnpcs.trait.waypoint.triggers.SpeedTrigger
- description() - Method in class net.citizensnpcs.trait.waypoint.triggers.TeleportTrigger
- description() - Method in interface net.citizensnpcs.trait.waypoint.triggers.WaypointTrigger
- despawn() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- despawn() - Method in interface net.citizensnpcs.api.npc.NPC
-
Despawns this NPC.
- despawn(DespawnReason) - Method in interface net.citizensnpcs.api.npc.NPC
-
Despawns this NPC.
- despawn(DespawnReason) - Method in class net.citizensnpcs.npc.CitizensNPC
- despawnNPCs(DespawnReason) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
-
Despawn all NPCs within the registry.
- despawnNPCs(DespawnReason) - Method in class net.citizensnpcs.npc.CitizensNPCRegistry
- DespawnReason - Enum in net.citizensnpcs.api.event
- destinationTeleportMargin() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
- destinationTeleportMargin(double) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Sets the distance (in blocks) after which the NPC will directly teleport to the destination or -1 if disabled.
- destroy() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- destroy() - Method in interface net.citizensnpcs.api.npc.NPC
-
Permanently removes this NPC and all data about it from the registry it's attached to.
- destroy() - Method in class net.citizensnpcs.npc.CitizensNPC
- destroy(CommandSender) - Method in class net.citizensnpcs.api.npc.AbstractNPC
- destroy(CommandSender) - Method in interface net.citizensnpcs.api.npc.NPC
-
Permanently removes this NPC and all data about it from the registry it's attached to.
- destroyMarkers() - Method in class net.citizensnpcs.trait.waypoint.EntityMarkers
- dimensions() - Element in annotation type net.citizensnpcs.api.gui.Menu
-
The dimensions of the menu, if supported.
- Direction - Enum in net.citizensnpcs.api.hpastar
- DISABLE_DEFAULT_STUCK_ACTION - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
- DISABLE_DEFAULT_STUCK_ACTION_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
- DISABLE_LOOKCLOSE_WHILE_NAVIGATING - Enum constant in enum net.citizensnpcs.Settings.Setting
- DISABLE_MC_NAVIGATION_FALLBACK - Enum constant in enum net.citizensnpcs.Settings.Setting
- DISABLE_TABLIST - Enum constant in enum net.citizensnpcs.Settings.Setting
- disableWhileNavigating() - Method in class net.citizensnpcs.trait.LookClose
- dispatch(Player, CommandTrait.Hand) - Method in class net.citizensnpcs.trait.CommandTrait
- display(Player) - Method in class net.citizensnpcs.trait.ShopTrait.NPCShop
- displayEditor(Player) - Method in class net.citizensnpcs.trait.DropsTrait
- displayEditor(Player) - Method in class net.citizensnpcs.trait.ShopTrait.NPCShop
- distance(VectorNode) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
- distance(HPAGraphNode) - Method in class net.citizensnpcs.api.hpastar.HPAGraphNode
- distance(Waypoint) - Method in class net.citizensnpcs.trait.waypoint.Waypoint
-
Returns the distance in blocks to another waypoint.
- distanceMargin() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Returns the distance margin or leeway that the
Navigator
will be able to stop from the target destination. - distanceMargin(double) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Sets the distance margin.
- DoorExaminer - Class in net.citizensnpcs.api.astar.pathfinder
- DoorExaminer() - Constructor for class net.citizensnpcs.api.astar.pathfinder.DoorExaminer
- DoubleTag - Class in net.citizensnpcs.api.jnbt
-
The
TAG_Double
tag. - DoubleTag(String, double) - Constructor for class net.citizensnpcs.api.jnbt.DoubleTag
-
Creates the tag.
- DrilldownPie(String, Callable<Map<String, Map<String, Integer>>>) - Constructor for class net.citizensnpcs.Metrics.DrilldownPie
-
Class constructor.
- DROPS_ITEMS - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
Whether the NPC drops its inventory after death.
- DROPS_ITEMS_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
Whether the NPC drops its inventory after death.
- DropsGUI(DropsTrait) - Constructor for class net.citizensnpcs.trait.DropsTrait.DropsGUI
- DropsTrait - Class in net.citizensnpcs.trait
- DropsTrait() - Constructor for class net.citizensnpcs.trait.DropsTrait
- DropsTrait.DropsGUI - Class in net.citizensnpcs.trait
E
- EAST - Enum constant in enum net.citizensnpcs.api.hpastar.Direction
- EAT_FOOD - Enum constant in enum net.citizensnpcs.util.PlayerAnimation
- edit(int, String) - Method in class net.citizensnpcs.trait.text.Text
-
Edit the text at a given index to a new text.
- Editor - Class in net.citizensnpcs.editor
- Editor() - Constructor for class net.citizensnpcs.editor.Editor
- ELDER_SET - Static variable in class net.citizensnpcs.util.Messages
- ELDER_UNSET - Static variable in class net.citizensnpcs.util.Messages
- Empty - Class in net.citizensnpcs.api.ai.tree
-
An empty leaf
Behavior
. - EMPTY - Static variable in class net.citizensnpcs.api.util.BoundingBox
- EMPTY_CONFIG - Static variable in class net.citizensnpcs.api.npc.BlockBreaker
- end() - Method in class net.citizensnpcs.editor.CopierEditor
- end() - Method in class net.citizensnpcs.editor.Editor
- end() - Method in class net.citizensnpcs.editor.EquipmentEditor
- ENDERCRYSTAL_NOT_SHOWING_BOTTOM - Static variable in class net.citizensnpcs.util.Messages
- ENDERCRYSTAL_SHOWING_BOTTOM - Static variable in class net.citizensnpcs.util.Messages
- EnderCrystalTrait - Class in net.citizensnpcs.trait
-
Persists EnderCrystal metadata.
- EnderCrystalTrait() - Constructor for class net.citizensnpcs.trait.EnderCrystalTrait
- ENDERMAN_ANGRY_SET - Static variable in class net.citizensnpcs.util.Messages
- ENDERMAN_ANGRY_UNSET - Static variable in class net.citizensnpcs.util.Messages
- EndermanEquipperGUI - Class in net.citizensnpcs.editor
- EndermanEquipperGUI() - Constructor for class net.citizensnpcs.editor.EndermanEquipperGUI
- EndermanTrait - Class in net.citizensnpcs.trait
-
Persists
Enderman
metadata. - EndermanTrait() - Constructor for class net.citizensnpcs.trait.EndermanTrait
- EndTag - Class in net.citizensnpcs.api.jnbt
-
The
TAG_End
tag. - EndTag() - Constructor for class net.citizensnpcs.api.jnbt.EndTag
-
Creates the tag.
- enterOrLeave(Player, Editor) - Static method in class net.citizensnpcs.editor.Editor
- entity - Variable in class net.citizensnpcs.util.AbstractBlockBreaker
- ENTITY - Enum constant in enum net.citizensnpcs.api.ai.TargetType
- ENTITY_TYPE_SET - Static variable in class net.citizensnpcs.util.Messages
- EntityController - Interface in net.citizensnpcs.npc
- EntityControllers - Class in net.citizensnpcs.npc
- EntityControllers() - Constructor for class net.citizensnpcs.npc.EntityControllers
- EntityMarkers<T> - Class in net.citizensnpcs.trait.waypoint
-
A helper class for storing a number of entity markers.
- EntityMarkers() - Constructor for class net.citizensnpcs.trait.waypoint.EntityMarkers
- EntityMarkers(EntityType) - Constructor for class net.citizensnpcs.trait.waypoint.EntityMarkers
- EntityTarget - Interface in net.citizensnpcs.api.ai
- entityTargetLocationMapper() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Gets the target location mapper.
- entityTargetLocationMapper(Function<Entity, Location>) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Set the target location mapper.
- EntityTargetNPCEvent - Class in net.citizensnpcs.api.event
- EntityTargetNPCEvent(EntityTargetEvent, NPC) - Constructor for class net.citizensnpcs.api.event.EntityTargetNPCEvent
- equals(Object) - Method in class net.citizensnpcs.api.ai.SimpleGoalEntry
- equals(Object) - Method in class net.citizensnpcs.api.astar.AStarNode
- equals(Object) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
- equals(Object) - Method in class net.citizensnpcs.api.command.CommandManager.CommandInfo
- equals(Object) - Method in class net.citizensnpcs.api.gui.InventoryMenuSlot
- equals(Object) - Method in class net.citizensnpcs.api.hpastar.ClusterNode
- equals(Object) - Method in class net.citizensnpcs.api.hpastar.HPAGraphAStarNode
- equals(Object) - Method in class net.citizensnpcs.api.hpastar.HPAGraphNode
- equals(Object) - Method in class net.citizensnpcs.api.npc.AbstractNPC
- equals(Object) - Method in class net.citizensnpcs.api.util.DataKey
- equals(Object) - Method in class net.citizensnpcs.api.util.MemoryDataKey
- equals(Object) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
- equals(Object) - Method in class net.citizensnpcs.api.util.YamlStorage
- equals(Object) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- equals(Object) - Method in class net.citizensnpcs.trait.waypoint.Waypoint
- equals(Object) - Method in class net.citizensnpcs.util.Anchor
- equals(Object) - Method in class net.citizensnpcs.util.ChunkCoord
- equals(Object) - Method in class net.citizensnpcs.util.Pose
- equip(Player, NPC) - Method in interface net.citizensnpcs.editor.Equipper
- equip(Player, NPC) - Method in class net.citizensnpcs.editor.HorseEquipper
- equip(Player, NPC) - Method in class net.citizensnpcs.editor.SheepEquipper
- Equipment - Class in net.citizensnpcs.api.trait.trait
-
Represents an NPC's equipment.
- Equipment() - Constructor for class net.citizensnpcs.api.trait.trait.Equipment
- EQUIPMENT_EDITOR_ALL_ITEMS_REMOVED - Static variable in class net.citizensnpcs.util.Messages
- EQUIPMENT_EDITOR_BEGIN - Static variable in class net.citizensnpcs.util.Messages
- EQUIPMENT_EDITOR_END - Static variable in class net.citizensnpcs.util.Messages
- EQUIPMENT_EDITOR_INVALID_BLOCK - Static variable in class net.citizensnpcs.util.Messages
- EQUIPMENT_EDITOR_SHEEP_COLOURED - Static variable in class net.citizensnpcs.util.Messages
- Equipment.EquipmentSlot - Enum in net.citizensnpcs.api.trait.trait
- EquipmentEditor - Class in net.citizensnpcs.editor
- EquipmentEditor(Player, NPC) - Constructor for class net.citizensnpcs.editor.EquipmentEditor
- Equipper - Interface in net.citizensnpcs.editor
- ERROR_CLEARING_GOALS - Static variable in class net.citizensnpcs.util.Messages
- ERROR_COLOUR - Enum constant in enum net.citizensnpcs.Settings.Setting
- ERROR_GETTING_FIELD - Static variable in class net.citizensnpcs.util.Messages
- ERROR_GETTING_ID_MAPPING - Static variable in class net.citizensnpcs.util.Messages
- ERROR_GETTING_METHOD - Static variable in class net.citizensnpcs.util.Messages
- ERROR_INITALISING_SUB_PLUGIN - Static variable in class net.citizensnpcs.util.Messages
- ERROR_MESSAGE - Enum constant in enum net.citizensnpcs.trait.CommandTrait.ErrorHandling
- ERROR_RESTORING_GOALS - Static variable in class net.citizensnpcs.util.Messages
- ERROR_SETTING_ENTITY_PERSISTENT - Static variable in class net.citizensnpcs.util.Messages
- ERROR_SETTING_LOOKCLOSE_RANGE - Static variable in class net.citizensnpcs.util.Messages
- ERROR_SETTING_SKIN_URL - Static variable in class net.citizensnpcs.util.Messages
- ERROR_SPAWNING_CUSTOM_ENTITY - Static variable in class net.citizensnpcs.util.Messages
- ERROR_STOPPING_NETWORK_THREADS - Static variable in class net.citizensnpcs.util.Messages
- ERROR_UPDATING_NAVIGATION_WORLD - Static variable in class net.citizensnpcs.util.Messages
- ERROR_UPDATING_PATHFINDING_RANGE - Static variable in class net.citizensnpcs.util.Messages
- ERROR_UPDATING_SPEED - Static variable in class net.citizensnpcs.util.Messages
- EulerAnglePersister - Class in net.citizensnpcs.api.persistence
- EulerAnglePersister() - Constructor for class net.citizensnpcs.api.persistence.EulerAnglePersister
- EventHandler - Interface in net.citizensnpcs.api.scripting
- EventListen - Class in net.citizensnpcs
- EventRegistrar - Class in net.citizensnpcs.api.scripting
-
A simple
ContextProvider
for scripts, allowing them to register and unregister events. - EventRegistrar(Plugin) - Constructor for class net.citizensnpcs.api.scripting.EventRegistrar
- EventRegistrar.Events - Class in net.citizensnpcs.api.scripting
- Events(Plugin) - Constructor for class net.citizensnpcs.api.scripting.EventRegistrar.Events
- examiner(BlockExaminer) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Adds the given
BlockExaminer
. - examiners() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Gets a copy of all current
BlockExaminer
s. - EXCEPTION_UPDATING_NPC - Static variable in class net.citizensnpcs.util.Messages
- excludedTypes() - Element in annotation type net.citizensnpcs.api.command.Requirements
- execute(Command, String[], CommandSender, Object...) - Method in class net.citizensnpcs.api.command.CommandManager
-
Attempt to execute a command using the root
Command
given. - executeSafe(Command, String[], CommandSender, Object...) - Method in class net.citizensnpcs.api.command.CommandManager
-
A safe version of
execute
which catches and logs all errors that occur.
F
- face(Entity, float, float) - Static method in class net.citizensnpcs.util.Util
- faceEntity(Entity, Entity) - Static method in class net.citizensnpcs.util.Util
- faceLocation(Entity, Location) - Static method in class net.citizensnpcs.util.Util
- faceLocation(Entity, Location, boolean) - Static method in class net.citizensnpcs.util.Util
- faceLocation(Entity, Location, boolean, boolean) - Static method in class net.citizensnpcs.util.Util
- faceLocation(Location) - Method in interface net.citizensnpcs.api.npc.NPC
-
Faces a given
Location
if the NPC is spawned. - faceLocation(Location) - Method in class net.citizensnpcs.npc.CitizensNPC
- FACTORY - Static variable in class net.citizensnpcs.api.astar.SimpleAStarStorage
- FAILED - Enum constant in enum net.citizensnpcs.npc.profile.ProfileFetchResult
-
The profile request failed for unknown reasons.
- FAILED_LOAD_SAVES - Static variable in class net.citizensnpcs.util.Messages
- FAILED_TO_MOUNT_NPC - Static variable in class net.citizensnpcs.util.Messages
- FAILED_TO_REMOVE - Static variable in class net.citizensnpcs.util.Messages
- FAILURE - Enum constant in enum net.citizensnpcs.api.ai.tree.BehaviorStatus
-
Indicates that the
Behavior
has failed unrecoverably. - FallingExaminer - Class in net.citizensnpcs.npc.ai
- FallingExaminer(int) - Constructor for class net.citizensnpcs.npc.ai.FallingExaminer
- fetch(String, ProfileFetchHandler) - Static method in class net.citizensnpcs.npc.profile.ProfileFetcher
-
Fetch a profile.
- fetchDefaultSkin() - Method in class net.citizensnpcs.trait.SkinTrait
-
Whether to fetch the Mojang skin using the NPC's name on spawn.
- fetchForced(String, ProfileFetchHandler) - Static method in class net.citizensnpcs.npc.profile.ProfileFetcher
- files - Variable in class net.citizensnpcs.trait.ScriptTrait
- FileStorage - Interface in net.citizensnpcs.api.util
- fillProfileProperties(GameProfile, boolean) - Static method in class net.citizensnpcs.util.NMS
- fillProfileProperties(GameProfile, boolean) - Method in interface net.citizensnpcs.util.NMSBridge
- filter() - Element in annotation type net.citizensnpcs.api.gui.ClickHandler
-
An optional filter for specific actions.
- filter() - Element in annotation type net.citizensnpcs.api.gui.Menu
-
The click types to allow by default.
- filter() - Element in annotation type net.citizensnpcs.api.gui.MenuTransition
-
Whitelist the allowed clicktypes for transition (empty = all allowed).
- findNewTarget() - Method in class net.citizensnpcs.trait.LookClose
-
Finds a new look-close target
- findPath(Location, Location) - Method in class net.citizensnpcs.api.hpastar.HPAGraph
- findRandomValidLocation(Location, int, int) - Static method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
- findRandomValidLocation(Location, int, int, Function<Block, Boolean>) - Static method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
- findRandomValidLocation(Location, int, int, Function<Block, Boolean>, Random) - Static method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
- findValidLocation(Location, int) - Static method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
- findValidLocation(Location, int, int) - Static method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
- findValidLocationAbove(Location, int) - Static method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
- finish() - Method in interface net.citizensnpcs.api.ai.GoalSelector
-
Stops executing any currently running
Goal
s and allows other goals to be selected for execution. - finish() - Method in class net.citizensnpcs.api.ai.SimpleGoalController.SimpleGoalSelector
- finishAndRemove() - Method in interface net.citizensnpcs.api.ai.GoalSelector
-
Calls
GoalSelector.finish()
and removes theGoal
from the list of possible goals to execute. - finishAndRemove() - Method in class net.citizensnpcs.api.ai.SimpleGoalController.SimpleGoalSelector
- flags - Variable in class net.citizensnpcs.api.command.CommandContext
- flags() - Element in annotation type net.citizensnpcs.api.command.Command
-
Defines the flags available for this command.
- FloatTag - Class in net.citizensnpcs.api.jnbt
-
The
TAG_Float
tag. - FloatTag(String, float) - Constructor for class net.citizensnpcs.api.jnbt.FloatTag
-
Creates the tag.
- FlockBehavior - Interface in net.citizensnpcs.api.ai.flocking
-
An interface to be used with an
Flocker
to represent a certain type of behavior such as cohesion, alignment or separation. - Flocker - Class in net.citizensnpcs.api.ai.flocking
-
Implements a simple flocking controller as a
Runnable
. - Flocker(NPC, NPCFlock, FlockBehavior...) - Constructor for class net.citizensnpcs.api.ai.flocking.Flocker
- FLYABLE - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
Whether the NPC is 'flyable' i.e.
- FLYABLE_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
Whether the NPC is 'flyable' i.e.
- FLYABLE_SET - Static variable in class net.citizensnpcs.util.Messages
- FLYABLE_UNSET - Static variable in class net.citizensnpcs.util.Messages
- FlyingAStarNavigationStrategy - Class in net.citizensnpcs.npc.ai
- FlyingAStarNavigationStrategy(NPC, Iterable<Vector>, NavigatorParameters) - Constructor for class net.citizensnpcs.npc.ai.FlyingAStarNavigationStrategy
- FlyingAStarNavigationStrategy(NPC, Location, NavigatorParameters) - Constructor for class net.citizensnpcs.npc.ai.FlyingAStarNavigationStrategy
- FlyingBlockExaminer - Class in net.citizensnpcs.api.astar.pathfinder
- FlyingBlockExaminer() - Constructor for class net.citizensnpcs.api.astar.pathfinder.FlyingBlockExaminer
- FOLLOW_ACROSS_WORLDS - Enum constant in enum net.citizensnpcs.Settings.Setting
- FOLLOW_PLAYER_NOT_INGAME - Static variable in class net.citizensnpcs.util.Messages
- FOLLOW_SET - Static variable in class net.citizensnpcs.util.Messages
- FOLLOW_UNSET - Static variable in class net.citizensnpcs.util.Messages
- FollowTrait - Class in net.citizensnpcs.trait
-
Persists a
Player
to follow while spawned. - FollowTrait() - Constructor for class net.citizensnpcs.trait.FollowTrait
- format(String, Object...) - Static method in class net.citizensnpcs.api.util.Translator
- ForwardingBehaviorGoalAdapter - Class in net.citizensnpcs.api.ai.tree
-
Forwards all calls to a secondary
Behavior
. - ForwardingBehaviorGoalAdapter(Behavior) - Constructor for class net.citizensnpcs.api.ai.tree.ForwardingBehaviorGoalAdapter
- FOX_CROUCHING_SET - Static variable in class net.citizensnpcs.util.Messages
- FOX_CROUCHING_UNSET - Static variable in class net.citizensnpcs.util.Messages
- FOX_SITTING_SET - Static variable in class net.citizensnpcs.util.Messages
- FOX_SITTING_UNSET - Static variable in class net.citizensnpcs.util.Messages
- FOX_SLEEPING_SET - Static variable in class net.citizensnpcs.util.Messages
- FOX_SLEEPING_UNSET - Static variable in class net.citizensnpcs.util.Messages
- FOX_TYPE_SET - Static variable in class net.citizensnpcs.util.Messages
- FoxTrait - Class in net.citizensnpcs.trait.versioned
- FoxTrait() - Constructor for class net.citizensnpcs.trait.versioned.FoxTrait
- FROG_VARIANT_SET - Static variable in class net.citizensnpcs.util.Messages
- FrogTrait - Class in net.citizensnpcs.trait.versioned
- FrogTrait() - Constructor for class net.citizensnpcs.trait.versioned.FrogTrait
- from(NPC) - Method in class net.citizensnpcs.npc.Template.TemplateBuilder
- FROM_ENTITY_NOT_FOUND - Static variable in class net.citizensnpcs.util.Messages
- fromBoolean(boolean) - Static method in enum net.citizensnpcs.api.astar.pathfinder.BlockExaminer.PassableState
G
- g(VectorNode, VectorNode) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorGoal
- g(T, T) - Method in interface net.citizensnpcs.api.astar.AStarGoal
-
Returns the cost of moving between the two supplied
AStarNode
s. - GAMEMODE_DESCRIBE - Static variable in class net.citizensnpcs.util.Messages
- GAMEMODE_INVALID - Static variable in class net.citizensnpcs.util.Messages
- GAMEMODE_SET - Static variable in class net.citizensnpcs.util.Messages
- GameModeTrait - Class in net.citizensnpcs.trait
- GameModeTrait() - Constructor for class net.citizensnpcs.trait.GameModeTrait
- generateTeamFor(NPC, String, String) - Static method in class net.citizensnpcs.util.Util
- GenericEquipperGUI - Class in net.citizensnpcs.editor
- GenericEquipperGUI() - Constructor for class net.citizensnpcs.editor.GenericEquipperGUI
- get() - Method in interface net.citizensnpcs.api.ai.tree.Condition
- get() - Method in class net.citizensnpcs.trait.waypoint.WanderWaypointProvider
- get(int) - Method in class net.citizensnpcs.api.trait.trait.Equipment
-
Get an NPC's equipment from the given slot.
- get(String) - Method in interface net.citizensnpcs.api.npc.MetadataStore
-
Fetches metadata from the given key.
- get(String) - Method in class net.citizensnpcs.api.npc.SimpleMetadataStore
- get(String, boolean) - Static method in class net.citizensnpcs.npc.skin.Skin
-
Get a player skin.
- get(String, T) - Method in interface net.citizensnpcs.api.npc.MetadataStore
-
Fetches metadata from the given key.
- get(String, T) - Method in class net.citizensnpcs.api.npc.SimpleMetadataStore
- get(NPC.Metadata) - Method in interface net.citizensnpcs.api.npc.MetadataStore
-
Fetches metadata from the given key.
- get(NPC.Metadata) - Method in class net.citizensnpcs.api.npc.SimpleMetadataStore
- get(NPC.Metadata, T) - Method in interface net.citizensnpcs.api.npc.MetadataStore
-
Fetches metadata from the given key.
- get(NPC.Metadata, T) - Method in class net.citizensnpcs.api.npc.SimpleMetadataStore
- get(Equipment.EquipmentSlot) - Method in class net.citizensnpcs.api.trait.trait.Equipment
- get(SkinnableEntity) - Static method in class net.citizensnpcs.npc.skin.Skin
-
Get a skin for a skinnable entity.
- get(SkinnableEntity, boolean) - Static method in class net.citizensnpcs.npc.skin.Skin
-
Get a skin for a skinnable entity.
- getAction() - Method in class net.citizensnpcs.api.ai.event.NavigationStuckEvent
- getAge() - Method in class net.citizensnpcs.trait.Age
- getAnchor(String) - Method in class net.citizensnpcs.trait.Anchors
- getAnchors() - Method in class net.citizensnpcs.trait.Anchors
- getAnnotationClass() - Method in interface net.citizensnpcs.api.command.CommandAnnotationProcessor
- getAnnotationClass() - Method in class net.citizensnpcs.api.command.RequirementsProcessor
- getArmor() - Method in class net.citizensnpcs.trait.HorseModifiers
- getAttribute(String) - Method in interface net.citizensnpcs.api.scripting.Script
-
Fetches the attribute with the specified name, or null if not found.
- getAttribute(String) - Method in class net.citizensnpcs.api.scripting.SimpleScript
- getBehavior() - Method in interface net.citizensnpcs.api.ai.GoalController.GoalEntry
- getBehavior() - Method in class net.citizensnpcs.api.ai.SimpleGoalEntry
- getBehaviors() - Method in class net.citizensnpcs.api.ai.tree.Composite
- getBestNode() - Method in class net.citizensnpcs.api.astar.AStarMachine.AStarState
- getBestNode() - Method in interface net.citizensnpcs.api.astar.AStarStorage
- getBestNode() - Method in class net.citizensnpcs.api.astar.SimpleAStarStorage
- getBlockBreaker(Block, BlockBreaker.BlockBreakerConfiguration) - Method in interface net.citizensnpcs.api.npc.NPC
- getBlockBreaker(Block, BlockBreaker.BlockBreakerConfiguration) - Method in class net.citizensnpcs.npc.CitizensNPC
- getBlockBreaker(Entity, Block, BlockBreaker.BlockBreakerConfiguration) - Static method in class net.citizensnpcs.util.NMS
- getBlockBreaker(Entity, Block, BlockBreaker.BlockBreakerConfiguration) - Method in interface net.citizensnpcs.util.NMSBridge
- getBodyColor() - Method in class net.citizensnpcs.trait.versioned.TropicalFishTrait
- getBodyYaw() - Method in class net.citizensnpcs.trait.CurrentLocation
- getBoolean(String) - Method in class net.citizensnpcs.api.util.DataKey
- getBoolean(String) - Method in class net.citizensnpcs.api.util.MemoryDataKey
- getBoolean(String) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
- getBoolean(String) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- getBoolean(String, boolean) - Method in class net.citizensnpcs.api.util.DataKey
- getBoolean(String, boolean) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- getBossBar(Entity) - Static method in class net.citizensnpcs.util.NMS
- getBossBar(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- getBoundingBox(Entity) - Static method in class net.citizensnpcs.util.NMS
- getBoundingBox(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- getBukkitEntity() - Method in class net.citizensnpcs.npc.AbstractEntityController
- getBukkitEntity() - Method in interface net.citizensnpcs.npc.EntityController
- getBukkitEntity() - Method in interface net.citizensnpcs.npc.skin.SkinnableEntity
-
Get the bukkit entity.
- getById(int) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
-
Gets the
NPC
with the given ID if it exists. - getById(int) - Method in class net.citizensnpcs.npc.CitizensNPCRegistry
- getByUniqueId(UUID) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
-
Gets the
NPC
with the given unique ID if it exists. - getByUniqueId(UUID) - Method in class net.citizensnpcs.npc.CitizensNPCRegistry
- getByUniqueIdGlobal(UUID) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
-
Gets the
NPC
with the given unique ID if it exists, otherwise null. - getByUniqueIdGlobal(UUID) - Method in class net.citizensnpcs.npc.CitizensNPCRegistry
- getCancelReason() - Method in class net.citizensnpcs.api.ai.AbstractPathStrategy
- getCancelReason() - Method in class net.citizensnpcs.api.ai.event.NavigationCancelEvent
- getCancelReason() - Method in interface net.citizensnpcs.api.ai.PathStrategy
- getCancelReason() - Method in class net.citizensnpcs.api.event.CommandSenderCreateNPCEvent
- getCancelReason() - Method in interface net.citizensnpcs.npc.ai.MCNavigationStrategy.MCNavigator
- getCancelReason() - Method in class net.citizensnpcs.npc.ai.MCTargetStrategy
- getCause() - Method in class net.citizensnpcs.api.event.NPCDamageEvent
- getCenterLocation(Block) - Static method in class net.citizensnpcs.util.Util
- getChartData() - Method in class net.citizensnpcs.Metrics.AdvancedBarChart
- getChartData() - Method in class net.citizensnpcs.Metrics.AdvancedPie
- getChartData() - Method in class net.citizensnpcs.Metrics.CustomChart
- getChartData() - Method in class net.citizensnpcs.Metrics.DrilldownPie
- getChartData() - Method in class net.citizensnpcs.Metrics.MultiLineChart
- getChartData() - Method in class net.citizensnpcs.Metrics.SimpleBarChart
- getChartData() - Method in class net.citizensnpcs.Metrics.SimplePie
- getChartData() - Method in class net.citizensnpcs.Metrics.SingleLineChart
- getChunk() - Method in class net.citizensnpcs.util.ChunkCoord
- getChunkObject(int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.AsyncChunkSnapshotBlockSource
- getChunkObject(int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
- getChunkObject(int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.ChunkBlockSource
- getChunkObject(int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.ChunkSnapshotBlockSource
- getClicker() - Method in class net.citizensnpcs.api.event.NPCClickEvent
-
Gets the player that clicked the NPC.
- getClone() - Method in class net.citizensnpcs.api.event.NPCCloneEvent
- getClosestCommandModifier(String, String) - Method in class net.citizensnpcs.api.command.CommandManager
-
Searches for the closest modifier using Levenshtein distance to the given top level command and modifier.
- getCollarColor() - Method in class net.citizensnpcs.trait.WolfModifiers
- getCollidedWith() - Method in class net.citizensnpcs.api.event.NPCCollisionEvent
- getCollisionBox(int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.BlockSource
- getCollisionBox(int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
- getCollisionBox(Block) - Static method in class net.citizensnpcs.util.NMS
- getCollisionBox(Block) - Method in interface net.citizensnpcs.util.NMSBridge
- getCollisionBox(Chunk, int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.ChunkBlockSource
- getCollisionBox(Chunk, int, int, int) - Method in class net.citizensnpcs.npc.ai.NMSChunkBlockSource
- getCollisionBox(ChunkSnapshot, int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.AsyncChunkSnapshotBlockSource
- getCollisionBox(ChunkSnapshot, int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.ChunkSnapshotBlockSource
- getCollisionBox(Vector) - Method in class net.citizensnpcs.api.astar.pathfinder.BlockSource
- getCollisionBox(T, int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
- getCollisionVector() - Method in class net.citizensnpcs.api.event.NPCPushEvent
-
Return the collision
Vector
being applied to the NPC. - getColor() - Method in class net.citizensnpcs.trait.HorseModifiers
- getColor() - Method in class net.citizensnpcs.trait.ScoreboardTrait
- getColor() - Method in class net.citizensnpcs.trait.SheepTrait
- getColor() - Method in class net.citizensnpcs.trait.versioned.BossBarTrait
- getColor() - Method in class net.citizensnpcs.trait.versioned.LlamaTrait
- getColor() - Method in class net.citizensnpcs.trait.versioned.ShulkerTrait
- getColor() - Method in class net.citizensnpcs.trait.WoolColor
- getCombuster() - Method in class net.citizensnpcs.api.event.NPCCombustByBlockEvent
-
The combuster can be lava or a block that is on fire.
- getCombuster() - Method in class net.citizensnpcs.api.event.NPCCombustByEntityEvent
-
The combuster can be a WeatherStorm a Blaze, or an Entity holding a FIRE_ASPECT enchanted item.
- getCommand() - Method in class net.citizensnpcs.api.command.CommandContext
- getCommand(String, String) - Method in class net.citizensnpcs.api.command.CommandManager
-
Gets the
CommandManager.CommandInfo
for the given top level command and modifier, or null if not found. - getCommandAnnotation() - Method in class net.citizensnpcs.api.command.CommandManager.CommandInfo
- getCommandInfo(String, String) - Method in class net.citizensnpcs.Citizens
- getCommands(String) - Method in class net.citizensnpcs.api.command.CommandManager
-
Gets all modified and root commands from the given root level command.
- getCommands(String) - Method in class net.citizensnpcs.Citizens
- getCommandSender() - Method in class net.citizensnpcs.api.event.NPCTraitCommandAttachEvent
- getCommandSender() - Method in class net.citizensnpcs.api.event.NPCTraitCommandDetachEvent
- getContents() - Method in class net.citizensnpcs.api.trait.trait.Inventory
-
Gets the contents of an NPC's inventory.
- getContext() - Method in class net.citizensnpcs.api.ai.speech.event.NPCSpeechEvent
-
Returns the
SpeechContext
that will be sent to the VocalChord. - getContext() - Method in class net.citizensnpcs.api.ai.speech.event.SpeechEvent
-
Gets the
SpeechContext
associated with the SpeechEvent. - getCost() - Method in class net.citizensnpcs.trait.CommandTrait
- getCost(BlockSource, PathPoint) - Method in interface net.citizensnpcs.api.astar.pathfinder.BlockExaminer
- getCost(BlockSource, PathPoint) - Method in class net.citizensnpcs.api.astar.pathfinder.DoorExaminer
- getCost(BlockSource, PathPoint) - Method in class net.citizensnpcs.api.astar.pathfinder.FlyingBlockExaminer
- getCost(BlockSource, PathPoint) - Method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
- getCost(BlockSource, PathPoint) - Method in class net.citizensnpcs.api.astar.pathfinder.SwimmingExaminer
- getCost(BlockSource, PathPoint) - Method in class net.citizensnpcs.npc.ai.BoundingBoxExaminer
- getCost(BlockSource, PathPoint) - Method in class net.citizensnpcs.npc.ai.FallingExaminer
- getCreator() - Method in class net.citizensnpcs.api.event.CommandSenderCreateNPCEvent
- getCreator() - Method in class net.citizensnpcs.api.event.PlayerCloneNPCEvent
- getCreator() - Method in class net.citizensnpcs.api.event.PlayerCreateNPCEvent
- getCurrentDestination() - Method in interface net.citizensnpcs.api.ai.PathStrategy
- getCurrentDestination() - Method in class net.citizensnpcs.npc.ai.AStarNavigationStrategy
- getCurrentDestination() - Method in class net.citizensnpcs.npc.ai.FlyingAStarNavigationStrategy
- getCurrentDestination() - Method in class net.citizensnpcs.npc.ai.MCNavigationStrategy
- getCurrentDestination() - Method in class net.citizensnpcs.npc.ai.MCTargetStrategy
- getCurrentDestination() - Method in interface net.citizensnpcs.npc.ai.MCTargetStrategy.TargetNavigator
- getCurrentDestination() - Method in class net.citizensnpcs.npc.ai.StraightLineNavigationStrategy
- getCurrentItem() - Method in class net.citizensnpcs.api.gui.CitizensInventoryClickEvent
- getCurrentItem() - Method in class net.citizensnpcs.api.gui.InventoryMenuSlot
- getCurrentItemNonNull() - Method in class net.citizensnpcs.api.gui.CitizensInventoryClickEvent
- getCurrentProvider() - Method in class net.citizensnpcs.trait.waypoint.Waypoints
-
Returns the current
WaypointProvider
. - getCurrentProviderName() - Method in class net.citizensnpcs.trait.waypoint.Waypoints
- getCurrentVector() - Method in class net.citizensnpcs.api.astar.pathfinder.Path
- getCurrentWaypoint() - Method in class net.citizensnpcs.trait.waypoint.LinearWaypointProvider
- getCurrentWaypoint() - Method in class net.citizensnpcs.trait.waypoint.WaypointEditor
- getCursor() - Method in class net.citizensnpcs.api.gui.CitizensInventoryClickEvent
- getCursorNonNull() - Method in class net.citizensnpcs.api.gui.CitizensInventoryClickEvent
- getDamage() - Method in class net.citizensnpcs.api.event.NPCDamageEvent
- getDamage(int) - Method in class net.citizensnpcs.util.AbstractBlockBreaker
- getDamaged() - Method in class net.citizensnpcs.api.event.NPCDamageEntityEvent
- getDamager() - Method in class net.citizensnpcs.api.event.NPCDamageByBlockEvent
- getDamager() - Method in class net.citizensnpcs.api.event.NPCDamageByEntityEvent
- getDamager() - Method in class net.citizensnpcs.api.event.NPCVehicleDamageEvent
- getDataFolder() - Static method in class net.citizensnpcs.api.CitizensAPI
- getDefaultGoalController() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- getDefaultGoalController() - Method in interface net.citizensnpcs.api.npc.NPC
-
Gets the default
GoalController
of this NPC. - getDefaultNPCSelector() - Static method in class net.citizensnpcs.api.CitizensAPI
- getDefaultNPCSelector() - Method in interface net.citizensnpcs.api.CitizensPlugin
- getDefaultNPCSelector() - Method in class net.citizensnpcs.Citizens
- getDefaultParameters() - Method in interface net.citizensnpcs.api.ai.Navigator
-
Returns the
NavigatorParameters
local to this navigator. - getDefaultParameters() - Method in class net.citizensnpcs.npc.ai.CitizensNavigator
- getDefaultShop() - Method in class net.citizensnpcs.trait.ShopTrait
- getDefaultSpeechController() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- getDefaultSpeechController() - Method in interface net.citizensnpcs.api.npc.NPC
-
Gets the default
SpeechController
of this NPC. - getDefaultVocalChord() - Method in class net.citizensnpcs.api.trait.trait.Speech
-
Gets the name of the default
VocalChord
for this NPC. - getDelay() - Method in class net.citizensnpcs.trait.waypoint.triggers.DelayTrigger
- getDestination(Entity) - Static method in class net.citizensnpcs.util.NMS
- getDestination(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- getDirection() - Method in class net.citizensnpcs.trait.HologramTrait
- getDoor() - Method in class net.citizensnpcs.api.event.NPCOpenDoorEvent
-
Returns the
Block
that was opened. - getDouble(int) - Method in class net.citizensnpcs.api.command.CommandContext
- getDouble(int, double) - Method in class net.citizensnpcs.api.command.CommandContext
- getDouble(String) - Method in class net.citizensnpcs.api.util.DataKey
- getDouble(String) - Method in class net.citizensnpcs.api.util.MemoryDataKey
- getDouble(String) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
- getDouble(String) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- getDouble(String, double) - Method in class net.citizensnpcs.api.util.DataKey
- getDouble(String, double) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- getDragonYaw(Entity, double, double) - Static method in class net.citizensnpcs.util.Util
-
Returns the yaw to face along the given velocity (corrected for dragon yaw i.e.
- getDroppedExp() - Method in class net.citizensnpcs.api.event.NPCDeathEvent
- getDrops() - Method in class net.citizensnpcs.api.event.NPCDeathEvent
- getDummyScoreboard() - Static method in class net.citizensnpcs.util.Util
- getDuration() - Method in class net.citizensnpcs.api.event.NPCCombustEvent
- getEdges(int) - Method in class net.citizensnpcs.api.hpastar.HPAGraphNode
- getEditor(CommandSender, CommandContext) - Method in class net.citizensnpcs.trait.waypoint.Waypoints
- getEditor(Player) - Method in class net.citizensnpcs.trait.text.Text
-
Builds a text editor in game for the supplied
Player
. - getEntity() - Method in interface net.citizensnpcs.api.ai.speech.Talkable
-
Gets the LivingEntity associated with this Talkable
- getEntity() - Method in class net.citizensnpcs.api.event.EntityTargetNPCEvent
-
Returns the Entity involved in this event
- getEntity() - Method in interface net.citizensnpcs.api.npc.NPC
-
Gets the Bukkit entity associated with this NPC.
- getEntity() - Method in class net.citizensnpcs.npc.ai.speech.TalkableEntity
- getEntity() - Method in class net.citizensnpcs.npc.CitizensNPC
- getEntityTarget() - Method in interface net.citizensnpcs.api.ai.Navigator
-
Returns the current
EntityTarget
of the navigator, if any. - getEntityTarget() - Method in class net.citizensnpcs.npc.ai.CitizensNavigator
- getEntityType() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- getEquipment() - Method in class net.citizensnpcs.api.trait.trait.Equipment
-
Get all of an NPC's equipment.
- getEquipmentBySlot() - Method in class net.citizensnpcs.api.trait.trait.Equipment
-
Get all of the equipment as a
Map
. - getEvent() - Method in class net.citizensnpcs.api.event.NPCDamageEvent
- getEvent() - Method in class net.citizensnpcs.api.event.NPCDeathEvent
- getEvent() - Method in class net.citizensnpcs.api.event.NPCVehicleDamageEvent
- getExecutionMode() - Method in class net.citizensnpcs.trait.CommandTrait
- getExperienceCost() - Method in class net.citizensnpcs.trait.CommandTrait
- getEyeLocation(Entity) - Static method in class net.citizensnpcs.util.Util
- getFallbackMaterial(String, String) - Static method in class net.citizensnpcs.util.Util
- getFastRandom() - Static method in class net.citizensnpcs.util.Util
- getField(Class<?>, String) - Static method in class net.citizensnpcs.util.NMS
- getField(Class<?>, String, boolean) - Static method in class net.citizensnpcs.util.NMS
- getFile() - Method in interface net.citizensnpcs.api.util.FileStorage
- getFile() - Method in class net.citizensnpcs.api.util.NBTStorage
- getFile() - Method in class net.citizensnpcs.api.util.YamlStorage
- getFilter() - Method in class net.citizensnpcs.api.gui.InventoryMenuSlot
- getFinalSetter(Class<?>, String) - Static method in class net.citizensnpcs.util.NMS
- getFinalSetter(Class<?>, String, boolean) - Static method in class net.citizensnpcs.util.NMS
- getFirstGetter(Class<?>, Class<?>) - Static method in class net.citizensnpcs.util.NMS
- getFirstMethodHandle(Class<?>, boolean, Class<?>...) - Static method in class net.citizensnpcs.util.NMS
- getFirstMethodHandleWithReturnType(Class<?>, boolean, Class<?>, Class<?>...) - Static method in class net.citizensnpcs.util.NMS
- getFirstSetter(Class<?>, Class<?>) - Static method in class net.citizensnpcs.util.NMS
- getFirstStaticGetter(Class<?>, Class<?>) - Static method in class net.citizensnpcs.util.NMS
- getFlag(String) - Method in class net.citizensnpcs.api.command.CommandContext
- getFlag(String, String) - Method in class net.citizensnpcs.api.command.CommandContext
- getFlagDouble(String) - Method in class net.citizensnpcs.api.command.CommandContext
- getFlagDouble(String, double) - Method in class net.citizensnpcs.api.command.CommandContext
- getFlagInteger(String) - Method in class net.citizensnpcs.api.command.CommandContext
- getFlagInteger(String, int) - Method in class net.citizensnpcs.api.command.CommandContext
- getFlags() - Method in class net.citizensnpcs.api.command.CommandContext
- getFlags() - Method in class net.citizensnpcs.trait.versioned.BossBarTrait
- getFlagTicks(String) - Method in class net.citizensnpcs.api.command.CommandContext
- getFlagTicks(String, int) - Method in class net.citizensnpcs.api.command.CommandContext
- getFollowingPlayer() - Method in class net.citizensnpcs.trait.FollowTrait
- getFrom() - Method in class net.citizensnpcs.api.event.NPCTeleportEvent
- getFromRoot(String) - Method in class net.citizensnpcs.api.util.DataKey
- getFromRoot(String) - Method in class net.citizensnpcs.api.util.MemoryDataKey
- getFromRoot(String) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
- getFromRoot(String) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- getFullName() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- getFullName() - Method in interface net.citizensnpcs.api.npc.NPC
-
Gets the full name of this NPC.
- getGameMode() - Method in class net.citizensnpcs.trait.GameModeTrait
- getGameProfileRepository() - Static method in class net.citizensnpcs.util.NMS
- getGameProfileRepository() - Method in interface net.citizensnpcs.util.NMSBridge
- getGate() - Method in class net.citizensnpcs.api.event.NPCOpenGateEvent
-
Returns the
Block
that was opened. - getGetter(Class<?>, String) - Static method in class net.citizensnpcs.util.NMS
- getGetter(Class<?>, String, boolean) - Static method in class net.citizensnpcs.util.NMS
- getGlobalParameters() - Method in class net.citizensnpcs.trait.SmoothRotationTrait
- getGoal() - Method in interface net.citizensnpcs.api.ai.GoalController.GoalEntry
- getGoal() - Method in class net.citizensnpcs.api.ai.SimpleGoalEntry
- getGoal() - Method in interface net.citizensnpcs.api.astar.pathfinder.PathPoint
-
Gets the destination Vector
- getGoal() - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
- getGravity() - Method in class net.citizensnpcs.trait.ArmorStandTrait
- getHandlerList() - Static method in class net.citizensnpcs.api.ai.event.NavigationBeginEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.ai.event.NavigationCancelEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.ai.event.NavigationCompleteEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.ai.event.NavigationReplaceEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.ai.event.NavigationStuckEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.ai.speech.event.NPCSpeechEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.ai.speech.event.SpeechEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.CitizensDeserialiseMetaEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.CitizensDisableEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.CitizensEnableEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.CitizensGetSelectedNPCEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.CitizensPreReloadEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.CitizensReloadEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.CitizensSerialiseMetaEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.CommandSenderCloneNPCEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.CommandSenderCreateNPCEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.EntityTargetNPCEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCAddTraitEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCClickEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCCloneEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCCollisionEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCCombustByBlockEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCCombustByEntityEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCCombustEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCCommandDispatchEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCCreateEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCDamageByBlockEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCDamageByEntityEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCDamageEntityEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCDamageEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCDeathEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCDespawnEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCEnderTeleportEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCLeftClickEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCLookCloseChangeTargetEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCOpenDoorEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCOpenGateEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCPushEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCRemoveByCommandSenderEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCRemoveEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCRemoveTraitEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCRightClickEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCSelectEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCSpawnEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCTeleportEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCTraitCommandAttachEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCTraitCommandDetachEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.NPCVehicleDamageEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.PlayerCloneNPCEvent
- getHandlerList() - Static method in class net.citizensnpcs.api.event.PlayerCreateNPCEvent
- getHandlerList() - Static method in class net.citizensnpcs.NPCNeedsRespawnEvent
- getHandlerList() - Static method in class net.citizensnpcs.trait.waypoint.LinearWaypointsCompleteEvent
- getHandlers() - Method in class net.citizensnpcs.api.ai.event.NavigationBeginEvent
- getHandlers() - Method in class net.citizensnpcs.api.ai.event.NavigationCancelEvent
- getHandlers() - Method in class net.citizensnpcs.api.ai.event.NavigationCompleteEvent
- getHandlers() - Method in class net.citizensnpcs.api.ai.event.NavigationReplaceEvent
- getHandlers() - Method in class net.citizensnpcs.api.ai.event.NavigationStuckEvent
- getHandlers() - Method in class net.citizensnpcs.api.ai.speech.event.NPCSpeechEvent
- getHandlers() - Method in class net.citizensnpcs.api.ai.speech.event.SpeechEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.CitizensDeserialiseMetaEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.CitizensDisableEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.CitizensEnableEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.CitizensGetSelectedNPCEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.CitizensPreReloadEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.CitizensReloadEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.CitizensSerialiseMetaEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.CommandSenderCloneNPCEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.CommandSenderCreateNPCEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.EntityTargetNPCEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCAddTraitEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCClickEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCCloneEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCCollisionEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCCombustByBlockEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCCombustByEntityEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCCombustEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCCommandDispatchEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCCreateEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCDamageByBlockEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCDamageByEntityEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCDamageEntityEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCDamageEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCDeathEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCDespawnEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCEnderTeleportEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCLeftClickEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCLookCloseChangeTargetEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCOpenDoorEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCOpenGateEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCPushEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCRemoveByCommandSenderEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCRemoveEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCRemoveTraitEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCRightClickEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCSelectEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCSpawnEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCTeleportEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCTraitCommandAttachEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCTraitCommandDetachEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.NPCVehicleDamageEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.PlayerCloneNPCEvent
- getHandlers() - Method in class net.citizensnpcs.api.event.PlayerCreateNPCEvent
- getHandlers() - Method in class net.citizensnpcs.NPCNeedsRespawnEvent
- getHandlers() - Method in class net.citizensnpcs.trait.waypoint.LinearWaypointsCompleteEvent
- getHasArms() - Method in class net.citizensnpcs.trait.ArmorStandTrait
- getHasBaseplate() - Method in class net.citizensnpcs.trait.ArmorStandTrait
- getHeadYaw(Entity) - Static method in class net.citizensnpcs.util.NMS
- getHeadYaw(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- getHeight(Entity) - Static method in class net.citizensnpcs.util.NMS
- getHeight(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- getHiddenGene() - Method in class net.citizensnpcs.trait.versioned.PandaTrait
- getHologramEntities() - Method in class net.citizensnpcs.trait.HologramTrait
-
Note: this is implementation-specific and may be removed at a later date.
- getHorizontalMovement(Entity) - Static method in class net.citizensnpcs.util.NMS
- getHorizontalMovement(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- getId() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- getId() - Method in interface net.citizensnpcs.api.npc.NPC
-
Gets the unique ID of this NPC.
- getInitialCost(VectorNode) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorGoal
- getInitialCost(T) - Method in interface net.citizensnpcs.api.astar.AStarGoal
-
Returns the initial cost value when starting from the supplied
AStarNode
. - getInstance(Class<?>) - Method in class net.citizensnpcs.api.command.Injector
- getInt(String) - Method in class net.citizensnpcs.api.util.DataKey
- getInt(String) - Method in class net.citizensnpcs.api.util.MemoryDataKey
- getInt(String) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
- getInt(String) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- getInt(String, int) - Method in class net.citizensnpcs.api.util.DataKey
- getInt(String, int) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- getInteger(int) - Method in class net.citizensnpcs.api.command.CommandContext
- getInteger(int, int) - Method in class net.citizensnpcs.api.command.CommandContext
- getIntegerSubKeys() - Method in class net.citizensnpcs.api.util.DataKey
- getInventory() - Method in class net.citizensnpcs.api.gui.MenuContext
- getInventoryHelper() - Method in class net.citizensnpcs.Citizens
- getInventoryType() - Method in class net.citizensnpcs.api.gui.InventoryMenuPage
- getInventoryView() - Method in class net.citizensnpcs.api.trait.trait.Inventory
- getItemStack() - Method in class net.citizensnpcs.api.event.CitizensDeserialiseMetaEvent
- getItemStack() - Method in class net.citizensnpcs.util.AbstractBlockBreaker
- getJoinedStrings(int) - Method in class net.citizensnpcs.api.command.CommandContext
- getJoinedStrings(int, char) - Method in class net.citizensnpcs.api.command.CommandContext
- getKey() - Method in class net.citizensnpcs.api.event.CitizensDeserialiseMetaEvent
- getKey() - Method in class net.citizensnpcs.api.event.CitizensSerialiseMetaEvent
- getKey() - Method in enum net.citizensnpcs.api.npc.NPC.Metadata
- getKey(String) - Method in class net.citizensnpcs.api.util.NBTStorage
- getKey(String) - Method in interface net.citizensnpcs.api.util.Storage
-
Returns a
DataKey
starting from the given root. - getKey(String) - Method in class net.citizensnpcs.api.util.YamlStorage
- getLevel() - Method in class net.citizensnpcs.trait.versioned.VillagerTrait
- getLightLevel(Chunk, int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.ChunkBlockSource
- getLightLevel(ChunkSnapshot, int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.AsyncChunkSnapshotBlockSource
- getLightLevel(ChunkSnapshot, int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.ChunkSnapshotBlockSource
- getLightLevel(T, int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
- getLineHeight() - Method in class net.citizensnpcs.trait.HologramTrait
- getLines() - Method in class net.citizensnpcs.trait.HologramTrait
- getLocalParameters() - Method in interface net.citizensnpcs.api.ai.Navigator
-
Returns the
NavigatorParameters
local to any current target execution. - getLocalParameters() - Method in class net.citizensnpcs.npc.ai.CitizensNavigator
- getLocation() - Method in class net.citizensnpcs.api.event.NPCSpawnEvent
-
Gets the location where the NPC was spawned.
- getLocation() - Method in class net.citizensnpcs.trait.CurrentLocation
- getLocation() - Method in interface net.citizensnpcs.trait.waypoint.Locatable
- getLocation() - Method in class net.citizensnpcs.trait.waypoint.Waypoint
- getLocation() - Method in class net.citizensnpcs.util.Anchor
- getLong(String) - Method in class net.citizensnpcs.api.util.DataKey
- getLong(String) - Method in class net.citizensnpcs.api.util.MemoryDataKey
- getLong(String) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
- getLong(String) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- getLong(String, long) - Method in class net.citizensnpcs.api.util.DataKey
- getLong(String, long) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- getMainGene() - Method in class net.citizensnpcs.trait.versioned.PandaTrait
- getMaterialAt(int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.BlockSource
- getMaterialAt(int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
- getMaterialAt(Vector) - Method in class net.citizensnpcs.api.astar.pathfinder.BlockSource
- getMaxNameLength(EntityType) - Static method in class net.citizensnpcs.api.util.SpigotUtil
- getMenu() - Method in class net.citizensnpcs.api.gui.MenuContext
- getMessage() - Method in class net.citizensnpcs.api.ai.speech.event.SpeechEvent
-
The final message to be sent to the bystander.
- getMessage() - Method in class net.citizensnpcs.api.ai.speech.SpeechContext
-
Gets the text message sent.
- getMeta() - Method in class net.citizensnpcs.api.event.CitizensSerialiseMetaEvent
- getMethod(Class<?>, String, boolean, Class<?>...) - Static method in class net.citizensnpcs.util.NMS
- getMethodHandle(Class<?>, String, boolean, Class<?>...) - Static method in class net.citizensnpcs.util.NMS
- getMinecraftRevision() - Static method in class net.citizensnpcs.util.Util
- getMountedOn() - Method in class net.citizensnpcs.trait.MountTrait
- getName() - Method in interface net.citizensnpcs.api.ai.speech.Talkable
-
Gets the name of the Talkable LivingEntity
- getName() - Method in interface net.citizensnpcs.api.ai.speech.VocalChord
-
Returns the name of the vocal chord used in the registration process.
- getName() - Method in class net.citizensnpcs.api.jnbt.Tag
-
Gets the name of this tag.
- getName() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- getName() - Method in interface net.citizensnpcs.api.npc.NPC
-
Gets the name of this NPC with color codes stripped.
- getName() - Method in interface net.citizensnpcs.api.npc.NPCRegistry
-
Gets the name of the registry.
- getName() - Method in class net.citizensnpcs.api.trait.Trait
-
Gets the name of this trait.
- getName() - Method in class net.citizensnpcs.api.util.ResourceTranslationProvider
- getName() - Method in interface net.citizensnpcs.api.util.Translator.TranslationProvider
- getName() - Method in class net.citizensnpcs.npc.ai.speech.Chat
- getName() - Method in class net.citizensnpcs.npc.ai.speech.TalkableEntity
- getName() - Method in class net.citizensnpcs.npc.CitizensNPCRegistry
- getName() - Method in class net.citizensnpcs.npc.Template
- getName() - Method in class net.citizensnpcs.trait.ShopTrait.NPCShop
- getName() - Method in class net.citizensnpcs.util.Anchor
- getName() - Method in class net.citizensnpcs.util.Pose
- getNamedNPCRegistry(String) - Static method in class net.citizensnpcs.api.CitizensAPI
-
Retrieves the
NPCRegistry
previously created viacreateNamedNPCRegistry(String, NPCDataStore)
with the given name, or null if not found. - getNamedNPCRegistry(String) - Method in interface net.citizensnpcs.api.CitizensPlugin
- getNamedNPCRegistry(String) - Method in class net.citizensnpcs.Citizens
- getNameEntity() - Method in class net.citizensnpcs.trait.HologramTrait
-
Note: this is implementation-specific and may be removed at a later date.
- getNavigator() - Method in class net.citizensnpcs.api.ai.event.NavigationEvent
- getNavigator() - Method in interface net.citizensnpcs.api.npc.NPC
- getNavigator() - Method in class net.citizensnpcs.npc.CitizensNPC
- getNearby(NPC) - Method in class net.citizensnpcs.api.ai.flocking.GroupNPCFlock
- getNearby(NPC) - Method in interface net.citizensnpcs.api.ai.flocking.NPCFlock
-
Returns the NPCs to be considered part of a flock.
- getNearby(NPC) - Method in class net.citizensnpcs.api.ai.flocking.RadiusNPCFlock
- getNeighbours() - Method in class net.citizensnpcs.api.astar.AStarNode
- getNeighbours() - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
- getNeighbours(BlockSource, PathPoint) - Method in class net.citizensnpcs.api.astar.pathfinder.FlyingBlockExaminer
- getNeighbours(BlockSource, PathPoint) - Method in interface net.citizensnpcs.api.astar.pathfinder.NeighbourGeneratorBlockExaminer
- getNeighbours(BlockSource, PathPoint) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
- getNeighbours(BlockSource, PathPoint) - Method in class net.citizensnpcs.npc.ai.FallingExaminer
- getNewTarget() - Method in class net.citizensnpcs.api.event.NPCLookCloseChangeTargetEvent
- getNextBehavior() - Method in class net.citizensnpcs.api.ai.tree.Selector
- getNextWaypoints() - Method in class net.citizensnpcs.trait.waypoint.LinearWaypointsCompleteEvent
- getNPC() - Method in class net.citizensnpcs.api.ai.event.NavigationEvent
- getNPC() - Method in interface net.citizensnpcs.api.ai.Navigator
- getNPC() - Method in class net.citizensnpcs.api.event.NPCEvent
-
Get the npc involved in the event.
- getNPC() - Method in class net.citizensnpcs.api.trait.Trait
- getNPC() - Method in class net.citizensnpcs.npc.ai.CitizensNavigator
- getNPC() - Method in interface net.citizensnpcs.npc.ai.NPCHolder
- getNPC(Entity) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
- getNPC(Entity) - Method in class net.citizensnpcs.npc.CitizensNPCRegistry
- getNPC(Entity) - Static method in class net.citizensnpcs.util.NMS
- getNPC(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- getNPCRegistries() - Static method in class net.citizensnpcs.api.CitizensAPI
- getNPCRegistries() - Method in interface net.citizensnpcs.api.CitizensPlugin
-
Get all registered
NPCRegistry
s. - getNPCRegistries() - Method in class net.citizensnpcs.Citizens
- getNPCRegistry() - Static method in class net.citizensnpcs.api.CitizensAPI
-
Gets the current implementation's default
NPCRegistry
. - getNPCRegistry() - Method in interface net.citizensnpcs.api.CitizensPlugin
-
Gets the default
NPCRegistry
. - getNPCRegistry() - Method in class net.citizensnpcs.Citizens
- getNPCs() - Method in class net.citizensnpcs.api.ai.flocking.GroupNPCFlock
- getNPCSelector() - Method in class net.citizensnpcs.Citizens
- getOrAddTrait(Class<T>) - Method in class net.citizensnpcs.api.npc.AbstractNPC
- getOrAddTrait(Class<T>) - Method in interface net.citizensnpcs.api.npc.NPC
-
Gets a trait from the given class.
- getOriginal() - Method in class net.citizensnpcs.api.event.CommandSenderCloneNPCEvent
- getOriginal() - Method in class net.citizensnpcs.api.event.PlayerCloneNPCEvent
- getOwner() - Method in class net.citizensnpcs.api.trait.trait.Owner
-
Deprecated.
- getOwnerId() - Method in class net.citizensnpcs.api.trait.trait.Owner
- getOwningClassLoader() - Method in interface net.citizensnpcs.api.CitizensPlugin
- getOwningClassLoader() - Method in class net.citizensnpcs.Citizens
- getOwningRegistry() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- getOwningRegistry() - Method in interface net.citizensnpcs.api.npc.NPC
- getPaddedSlice(int, int) - Method in class net.citizensnpcs.api.command.CommandContext
- getPageText(int) - Method in class net.citizensnpcs.api.util.Paginator
- getParent() - Method in class net.citizensnpcs.api.astar.AStarNode
- getParentPoint() - Method in interface net.citizensnpcs.api.astar.pathfinder.PathPoint
-
Gets the parent PathPoint
- getParentPoint() - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
- getParents() - Method in class net.citizensnpcs.api.astar.AStarNode
- getPassengers(Entity) - Static method in class net.citizensnpcs.util.NMS
- getPassengers(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- getPath() - Method in interface net.citizensnpcs.api.ai.PathStrategy
- getPath() - Method in class net.citizensnpcs.api.astar.pathfinder.Path
- getPath() - Method in class net.citizensnpcs.api.util.DataKey
- getPath() - Method in class net.citizensnpcs.npc.ai.AStarNavigationStrategy
- getPath() - Method in class net.citizensnpcs.npc.ai.FlyingAStarNavigationStrategy
- getPath() - Method in class net.citizensnpcs.npc.ai.MCNavigationStrategy
- getPath() - Method in interface net.citizensnpcs.npc.ai.MCNavigationStrategy.MCNavigator
- getPath() - Method in class net.citizensnpcs.npc.ai.MCTargetStrategy
- getPath() - Method in interface net.citizensnpcs.npc.ai.MCTargetStrategy.TargetNavigator
- getPath() - Method in class net.citizensnpcs.npc.ai.StraightLineNavigationStrategy
- getPathCost() - Method in class net.citizensnpcs.api.astar.AStarNode
- getPathStrategy() - Method in interface net.citizensnpcs.api.ai.Navigator
- getPathStrategy() - Method in class net.citizensnpcs.npc.ai.CitizensNavigator
- getPathVectors() - Method in interface net.citizensnpcs.api.astar.pathfinder.PathPoint
-
Gets the list of manual path vectors
- getPathVectors() - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
- getPattern() - Method in class net.citizensnpcs.api.gui.InventoryMenuPattern
- getPattern() - Method in class net.citizensnpcs.trait.versioned.TropicalFishTrait
- getPatternColor() - Method in class net.citizensnpcs.trait.versioned.TropicalFishTrait
- getPeek() - Method in class net.citizensnpcs.trait.versioned.ShulkerTrait
- getPitch() - Method in class net.citizensnpcs.util.Pose
- getPlayer() - Method in class net.citizensnpcs.api.event.NPCCommandDispatchEvent
- getPlayerName() - Method in class net.citizensnpcs.npc.profile.ProfileRequest
-
Get the name of the player the requested profile belongs to.
- getPlugin() - Static method in class net.citizensnpcs.api.CitizensAPI
- getPluginData() - Method in class net.citizensnpcs.Metrics
-
Gets the plugin specific data.
- getPose(String) - Method in class net.citizensnpcs.trait.Poses
- getPreviousTarget() - Method in class net.citizensnpcs.api.event.NPCLookCloseChangeTargetEvent
- getPriority() - Method in interface net.citizensnpcs.api.ai.GoalController.GoalEntry
- getPriority() - Method in interface net.citizensnpcs.api.ai.PrioritisableGoal
- getPriority() - Method in class net.citizensnpcs.api.ai.SimpleGoalEntry
- getProfession() - Method in class net.citizensnpcs.trait.VillagerProfession
- getProfile() - Method in class net.citizensnpcs.npc.profile.ProfileRequest
-
Get the game profile that was requested.
- getProfile() - Method in interface net.citizensnpcs.npc.skin.SkinnableEntity
-
Get entity game profile.
- getProfile(SkullMeta) - Static method in class net.citizensnpcs.util.NMS
- getProfile(SkullMeta) - Method in interface net.citizensnpcs.util.NMSBridge
- getPromptText(ConversationContext) - Method in class net.citizensnpcs.trait.text.TextBasePrompt
- getPromptText(ConversationContext) - Method in class net.citizensnpcs.trait.waypoint.triggers.AnimationTriggerPrompt
- getPromptText(ConversationContext) - Method in class net.citizensnpcs.trait.waypoint.triggers.ChatTriggerPrompt
- getPromptText(ConversationContext) - Method in class net.citizensnpcs.trait.waypoint.triggers.DelayTriggerPrompt
- getPromptText(ConversationContext) - Method in class net.citizensnpcs.trait.waypoint.triggers.SpeedTriggerPrompt
- getPromptText(ConversationContext) - Method in class net.citizensnpcs.trait.waypoint.triggers.TeleportTriggerPrompt
- getPromptText(ConversationContext) - Method in class net.citizensnpcs.trait.waypoint.triggers.TriggerAddPrompt
- getPromptText(ConversationContext) - Method in class net.citizensnpcs.trait.waypoint.triggers.TriggerEditPrompt
- getPromptText(ConversationContext) - Method in class net.citizensnpcs.trait.waypoint.triggers.TriggerRemovePrompt
- getPuffState() - Method in class net.citizensnpcs.trait.versioned.PufferFishTrait
- getRabbitType() - Method in class net.citizensnpcs.trait.RabbitType
- getRandomLookDelay() - Method in class net.citizensnpcs.trait.LookClose
- getRandomLookPitchRange() - Method in class net.citizensnpcs.trait.LookClose
- getRandomLookYawRange() - Method in class net.citizensnpcs.trait.LookClose
- getRange() - Method in class net.citizensnpcs.trait.LookClose
- getRaw(String) - Method in class net.citizensnpcs.api.util.DataKey
- getRaw(String) - Method in class net.citizensnpcs.api.util.MemoryDataKey
- getRaw(String) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
- getRaw(String) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- getRawUnchecked(String) - Method in class net.citizensnpcs.api.util.DataKey
- getReason() - Method in class net.citizensnpcs.api.event.EntityTargetNPCEvent
-
Returns the reason for the targeting
- getReason() - Method in class net.citizensnpcs.api.event.NPCDespawnEvent
- getReason() - Method in class net.citizensnpcs.api.event.NPCSpawnEvent
-
Gets the reason for spawning the NPC.
- getRedirectNPC() - Method in class net.citizensnpcs.trait.ClickRedirectTrait
- getRegionCentres() - Method in class net.citizensnpcs.trait.waypoint.WanderWaypointProvider
- getRegisteredPlayerNPCs() - Static method in class net.citizensnpcs.util.PlayerUpdateTask
- getRegisteredTraits() - Method in interface net.citizensnpcs.api.trait.TraitFactory
-
Returns all currently registered traits, including internal traits
- getRegisteredTraits() - Method in class net.citizensnpcs.npc.CitizensTraitFactory
- getRelative(int) - Method in class net.citizensnpcs.api.util.DataKey
- getRelative(String) - Method in class net.citizensnpcs.api.util.DataKey
- getRelative(String) - Method in class net.citizensnpcs.api.util.MemoryDataKey
- getRelative(String) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
- getRelative(String) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- getRequiredPermission() - Method in class net.citizensnpcs.trait.ShopTrait.NPCShop
- getResult() - Method in class net.citizensnpcs.npc.profile.ProfileRequest
-
Get the result of the profile fetch.
- getResultItem() - Method in class net.citizensnpcs.api.gui.CitizensInventoryClickEvent
- getResultItemNonNull() - Method in class net.citizensnpcs.api.gui.CitizensInventoryClickEvent
- getSaddle() - Method in class net.citizensnpcs.trait.HorseModifiers
- getScriptCompiler() - Static method in class net.citizensnpcs.api.CitizensAPI
- getScriptFolder() - Static method in class net.citizensnpcs.api.CitizensAPI
- getScriptFolder() - Method in interface net.citizensnpcs.api.CitizensPlugin
- getScriptFolder() - Method in class net.citizensnpcs.Citizens
- getScripts() - Method in class net.citizensnpcs.trait.ScriptTrait
- getSeed() - Method in class net.citizensnpcs.util.XORShiftRNG
- getSelected() - Method in class net.citizensnpcs.api.event.CitizensGetSelectedNPCEvent
- getSelected(CommandSender) - Method in interface net.citizensnpcs.api.npc.NPCSelector
- getSelected(CommandSender) - Method in class net.citizensnpcs.npc.NPCSelector
- getSelectionFunction() - Method in class net.citizensnpcs.api.ai.tree.Selector
- getSelector() - Method in class net.citizensnpcs.api.event.NPCSelectEvent
-
Gets the selector of the NPC.
- getSender() - Method in class net.citizensnpcs.api.event.CitizensGetSelectedNPCEvent
- getSenderLocation() - Method in class net.citizensnpcs.api.command.CommandContext
- getSenderTargetBlockLocation() - Method in class net.citizensnpcs.api.command.CommandContext
- getSetter(Class<?>, String) - Static method in class net.citizensnpcs.util.NMS
- getSetter(Class<?>, String, boolean) - Static method in class net.citizensnpcs.util.NMS
- getShop(String) - Method in class net.citizensnpcs.trait.ShopTrait
- getSignature() - Method in class net.citizensnpcs.trait.SkinTrait
- getSize() - Method in class net.citizensnpcs.trait.SlimeSize
- getSize() - Method in class net.citizensnpcs.trait.versioned.PhantomTrait
- getSkin() - Method in class net.citizensnpcs.npc.skin.SkinPacketTracker
-
Get the NPC skin.
- getSkinId() - Method in class net.citizensnpcs.npc.skin.Skin
-
Get the ID of the player the skin belongs to.
- getSkinName() - Method in class net.citizensnpcs.npc.skin.Skin
-
Get the name of the skin.
- getSkinName() - Method in interface net.citizensnpcs.npc.skin.SkinnableEntity
-
Get the name of the player whose skin the NPC uses.
- getSkinName() - Method in class net.citizensnpcs.trait.SkinTrait
- getSkinTracker() - Method in interface net.citizensnpcs.npc.skin.SkinnableEntity
-
Get the entities skin packet tracker.
- getSkullMetaProvider() - Static method in class net.citizensnpcs.api.CitizensAPI
- getSkullMetaProvider() - Method in interface net.citizensnpcs.api.CitizensPlugin
- getSkullMetaProvider() - Method in class net.citizensnpcs.Citizens
- getSlice(int) - Method in class net.citizensnpcs.api.command.CommandContext
- getSlot() - Method in class net.citizensnpcs.api.gui.InventoryMenuTransition
- getSlot(int) - Method in class net.citizensnpcs.api.gui.MenuContext
- getSlot(int) - Method in interface net.citizensnpcs.api.gui.SlotSource
- getSlots() - Method in class net.citizensnpcs.api.gui.InventoryMenuPattern
- getSound(String) - Static method in class net.citizensnpcs.util.NMS
- getSound(String) - Method in interface net.citizensnpcs.util.NMSBridge
- getSource() - Method in class net.citizensnpcs.api.event.NPCRemoveByCommandSenderEvent
- getSpawnLocation() - Method in class net.citizensnpcs.NPCNeedsRespawnEvent
- getSpeechFactory() - Static method in class net.citizensnpcs.api.CitizensAPI
-
Gets the current implementation's
SpeechFactory
. - getSpeechFactory() - Method in interface net.citizensnpcs.api.CitizensPlugin
-
Gets the SpeechFactory.
- getSpeechFactory() - Method in class net.citizensnpcs.Citizens
- getSpeed() - Method in class net.citizensnpcs.trait.waypoint.triggers.SpeedTrigger
- getSpeedFor(NPC) - Static method in class net.citizensnpcs.util.NMS
- getSpeedFor(NPC) - Method in interface net.citizensnpcs.util.NMSBridge
- getStateFor(AStarGoal<N>, N) - Method in class net.citizensnpcs.api.astar.AStarMachine
-
Creates an
AStarMachine<N extends AStarNode,
that can be reused across multiple invocations of {P extends Plan>.AStarState AStarMachine.run(AStarState, int)
. - getStepHeight(Entity) - Static method in class net.citizensnpcs.util.NMS
- getStepHeight(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- getStorage() - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- getStoredLocation() - Method in interface net.citizensnpcs.api.npc.NPC
-
If the NPC is not spawned, then this method will return the last known location, or null if it has never been spawned.
- getStoredLocation() - Method in class net.citizensnpcs.npc.CitizensNPC
- getStrength() - Method in class net.citizensnpcs.trait.versioned.LlamaTrait
- getString(int) - Method in class net.citizensnpcs.api.command.CommandContext
- getString(int, String) - Method in class net.citizensnpcs.api.command.CommandContext
- getString(String) - Method in class net.citizensnpcs.api.util.DataKey
- getString(String) - Method in class net.citizensnpcs.api.util.MemoryDataKey
- getString(String) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
- getString(String) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- getString(String, String) - Method in class net.citizensnpcs.api.util.DataKey
- getStyle() - Method in class net.citizensnpcs.trait.HorseModifiers
- getStyle() - Method in class net.citizensnpcs.trait.versioned.BossBarTrait
- getSubKeys() - Method in class net.citizensnpcs.api.util.DataKey
- getSubKeys() - Method in class net.citizensnpcs.api.util.MemoryDataKey
- getSubKeys() - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
- getSubKeys() - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- getTags() - Method in class net.citizensnpcs.trait.ScoreboardTrait
- getTalker() - Method in class net.citizensnpcs.api.ai.speech.SpeechContext
-
Gets the talker.
- getTarget() - Method in interface net.citizensnpcs.api.ai.EntityTarget
- getTarget() - Method in class net.citizensnpcs.npc.ai.MCTargetStrategy
- getTarget() - Method in class net.citizensnpcs.trait.LookClose
- getTargetAsLocation() - Method in interface net.citizensnpcs.api.ai.Navigator
- getTargetAsLocation() - Method in interface net.citizensnpcs.api.ai.PathStrategy
- getTargetAsLocation() - Method in class net.citizensnpcs.npc.ai.AStarNavigationStrategy
- getTargetAsLocation() - Method in class net.citizensnpcs.npc.ai.CitizensNavigator
- getTargetAsLocation() - Method in class net.citizensnpcs.npc.ai.FlyingAStarNavigationStrategy
- getTargetAsLocation() - Method in class net.citizensnpcs.npc.ai.MCNavigationStrategy
- getTargetAsLocation() - Method in class net.citizensnpcs.npc.ai.MCTargetStrategy
- getTargetAsLocation() - Method in class net.citizensnpcs.npc.ai.StraightLineNavigationStrategy
- getTargetNavigator(Entity, Iterable<Vector>, NavigatorParameters) - Static method in class net.citizensnpcs.util.NMS
- getTargetNavigator(Entity, Iterable<Vector>, NavigatorParameters) - Method in interface net.citizensnpcs.util.NMSBridge
- getTargetNavigator(Entity, Entity, NavigatorParameters) - Static method in class net.citizensnpcs.util.NMS
- getTargetNavigator(Entity, Entity, NavigatorParameters) - Method in interface net.citizensnpcs.util.NMSBridge
- getTargetNavigator(Entity, Location, NavigatorParameters) - Static method in class net.citizensnpcs.util.NMS
- getTargetNavigator(Entity, Location, NavigatorParameters) - Method in interface net.citizensnpcs.util.NMSBridge
- getTargetType() - Method in class net.citizensnpcs.api.ai.AbstractPathStrategy
- getTargetType() - Method in interface net.citizensnpcs.api.ai.Navigator
- getTargetType() - Method in interface net.citizensnpcs.api.ai.PathStrategy
- getTargetType() - Method in class net.citizensnpcs.npc.ai.CitizensNavigator
- getTargetType() - Method in class net.citizensnpcs.npc.ai.MCNavigationStrategy
- getTargetType() - Method in class net.citizensnpcs.npc.ai.MCTargetStrategy
- getTeamName(UUID) - Static method in class net.citizensnpcs.util.Util
- getTexts() - Method in class net.citizensnpcs.trait.text.Text
- getTexture() - Method in class net.citizensnpcs.trait.SkinTrait
- getTexture(SkullMeta) - Method in interface net.citizensnpcs.api.SkullMetaProvider
- getTicks(int) - Method in class net.citizensnpcs.api.command.CommandContext
- getTitle() - Method in class net.citizensnpcs.trait.versioned.BossBarTrait
- getTo() - Method in class net.citizensnpcs.api.event.NPCTeleportEvent
- getTrackingVariable() - Method in class net.citizensnpcs.trait.versioned.BossBarTrait
- getTrait() - Method in class net.citizensnpcs.api.event.NPCTraitEvent
- getTrait(Class<T>) - Method in class net.citizensnpcs.api.npc.AbstractNPC
-
Deprecated.
- getTrait(Class<T>) - Method in interface net.citizensnpcs.api.npc.NPC
-
Deprecated.
- getTrait(Class<T>) - Method in interface net.citizensnpcs.api.trait.TraitFactory
-
Gets a trait with the given class.
- getTrait(Class<T>) - Method in class net.citizensnpcs.npc.CitizensTraitFactory
- getTrait(String) - Method in interface net.citizensnpcs.api.trait.TraitFactory
-
Gets a trait with the given name.
- getTrait(String) - Method in class net.citizensnpcs.npc.CitizensTraitFactory
- getTraitClass() - Method in class net.citizensnpcs.api.event.NPCTraitCommandAttachEvent
- getTraitClass() - Method in class net.citizensnpcs.api.event.NPCTraitCommandDetachEvent
- getTraitClass() - Method in class net.citizensnpcs.api.trait.TraitInfo
- getTraitClass(String) - Method in interface net.citizensnpcs.api.trait.TraitFactory
-
Gets the
Trait
class with the given name, or null if not found. - getTraitClass(String) - Method in class net.citizensnpcs.npc.CitizensTraitFactory
- getTraitFactory() - Static method in class net.citizensnpcs.api.CitizensAPI
-
Gets the current implementation's
TraitFactory
. - getTraitFactory() - Method in interface net.citizensnpcs.api.CitizensPlugin
-
Gets the TraitFactory.
- getTraitFactory() - Method in class net.citizensnpcs.Citizens
- getTraitFor(Class<? extends Trait>) - Method in class net.citizensnpcs.api.npc.AbstractNPC
- getTraitName() - Method in class net.citizensnpcs.api.trait.TraitInfo
- getTraitNullable(Class<T>) - Method in class net.citizensnpcs.api.npc.AbstractNPC
- getTraitNullable(Class<T>) - Method in interface net.citizensnpcs.api.npc.NPC
-
Gets a trait from the given class.
- getTraitPlot() - Method in class net.citizensnpcs.npc.CitizensTraitFactory
- getTraits() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- getTraits() - Method in interface net.citizensnpcs.api.npc.NPC
-
Returns the currently attached
Trait
s - getTransitions() - Method in class net.citizensnpcs.api.gui.InventoryMenuPattern
- getTriggerPromptFrom(String) - Static method in class net.citizensnpcs.trait.waypoint.triggers.WaypointTriggerRegistry
- getTriggers() - Method in class net.citizensnpcs.trait.waypoint.Waypoint
- getType() - Method in class net.citizensnpcs.api.jnbt.ListTag
-
Gets the type of item in this list.
- getType() - Method in class net.citizensnpcs.api.trait.trait.MobType
-
Gets the type of mob that an NPC is.
- getType() - Method in class net.citizensnpcs.trait.versioned.FoxTrait
- getType() - Method in class net.citizensnpcs.trait.versioned.VillagerTrait
- getType(Chunk, int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.ChunkBlockSource
- getType(ChunkSnapshot, int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.AsyncChunkSnapshotBlockSource
- getType(ChunkSnapshot, int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.ChunkSnapshotBlockSource
- getType(T, int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
- getTypeClass(int) - Static method in class net.citizensnpcs.api.jnbt.NBTUtils
-
Gets the class of a type of tag.
- getTypeCode(Class<? extends Tag>) - Static method in class net.citizensnpcs.api.jnbt.NBTUtils
-
Gets the type code of a tag class.
- getTypeName(Class<? extends Tag>) - Static method in class net.citizensnpcs.api.jnbt.NBTUtils
-
Gets the type name of a tag.
- getUniqueId() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- getUniqueId() - Method in interface net.citizensnpcs.api.npc.NPC
-
Gets the unique id of this NPC.
- getUnloadedValue() - Method in class net.citizensnpcs.util.Anchor
-
Returns a String[] of the 'world_name, x, y, z' information needed to create the Location that is associated with the Anchor, in that order.
- getUsage() - Method in exception net.citizensnpcs.api.command.exception.CommandUsageException
- getValue() - Method in class net.citizensnpcs.api.jnbt.ByteArrayTag
- getValue() - Method in class net.citizensnpcs.api.jnbt.ByteTag
- getValue() - Method in class net.citizensnpcs.api.jnbt.CompoundTag
- getValue() - Method in class net.citizensnpcs.api.jnbt.DoubleTag
- getValue() - Method in class net.citizensnpcs.api.jnbt.EndTag
- getValue() - Method in class net.citizensnpcs.api.jnbt.FloatTag
- getValue() - Method in class net.citizensnpcs.api.jnbt.IntArrayTag
- getValue() - Method in class net.citizensnpcs.api.jnbt.IntTag
- getValue() - Method in class net.citizensnpcs.api.jnbt.ListTag
- getValue() - Method in class net.citizensnpcs.api.jnbt.LongTag
- getValue() - Method in class net.citizensnpcs.api.jnbt.ShortTag
- getValue() - Method in class net.citizensnpcs.api.jnbt.StringTag
- getValue() - Method in class net.citizensnpcs.api.jnbt.Tag
-
Gets the value of this tag.
- getValueFlags() - Method in class net.citizensnpcs.api.command.CommandContext
- getValuesDeep() - Method in class net.citizensnpcs.api.util.DataKey
- getValuesDeep() - Method in class net.citizensnpcs.api.util.MemoryDataKey
- getValuesDeep() - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
- getValuesDeep() - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- getVariant() - Method in class net.citizensnpcs.trait.versioned.AxolotlTrait
- getVariant() - Method in class net.citizensnpcs.trait.versioned.FrogTrait
- getVariant() - Method in class net.citizensnpcs.trait.versioned.MushroomCowTrait
- getVariant() - Method in class net.citizensnpcs.trait.versioned.ParrotTrait
- getVector() - Method in interface net.citizensnpcs.api.astar.pathfinder.PathPoint
-
Gets the vector represented by this point
- getVector() - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
- getVector(NPC, Collection<NPC>) - Method in class net.citizensnpcs.api.ai.flocking.AlignmentBehavior
- getVector(NPC, Collection<NPC>) - Method in class net.citizensnpcs.api.ai.flocking.CohesionBehavior
- getVector(NPC, Collection<NPC>) - Method in interface net.citizensnpcs.api.ai.flocking.FlockBehavior
-
Returns the displacement vector to be combined with other
FlockBehavior
vectors by aFlocker
. - getVector(NPC, Collection<NPC>) - Method in class net.citizensnpcs.api.ai.flocking.SeparationBehavior
- getVehicle(Entity) - Static method in class net.citizensnpcs.util.NMS
- getVehicle(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- getVerticalMovement(Entity) - Static method in class net.citizensnpcs.util.NMS
- getVerticalMovement(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- getVocalChord(Class<? extends VocalChord>) - Method in interface net.citizensnpcs.api.ai.speech.SpeechFactory
-
Creates a new instance of a VocalChord
- getVocalChord(Class<? extends VocalChord>) - Method in class net.citizensnpcs.npc.ai.speech.CitizensSpeechFactory
- getVocalChord(String) - Method in interface net.citizensnpcs.api.ai.speech.SpeechFactory
-
Creates a new instance of a
VocalChord
- getVocalChord(String) - Method in class net.citizensnpcs.npc.ai.speech.CitizensSpeechFactory
- getVocalChordName() - Method in class net.citizensnpcs.api.ai.speech.event.NPCSpeechEvent
- getVocalChordName() - Method in class net.citizensnpcs.api.ai.speech.event.SpeechEvent
-
Returns the name of the
VocalChord
that called this event. - getVocalChordName(Class<? extends VocalChord>) - Method in interface net.citizensnpcs.api.ai.speech.SpeechFactory
-
Returns the registered name of a
VocalChord
class - getVocalChordName(Class<? extends VocalChord>) - Method in class net.citizensnpcs.npc.ai.speech.CitizensSpeechFactory
- getWaypointProvider() - Method in class net.citizensnpcs.trait.waypoint.LinearWaypointsCompleteEvent
- getWidth(Entity) - Static method in class net.citizensnpcs.util.NMS
- getWidth(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- getWorld() - Method in class net.citizensnpcs.api.astar.pathfinder.BlockSource
- getWorld() - Method in class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
- getWorld() - Method in class net.citizensnpcs.api.persistence.LocationPersister.LazilyLoadedLocation
- getWorldGuardRegion() - Method in class net.citizensnpcs.trait.waypoint.WanderWaypointProvider
- getWrapped() - Method in class net.citizensnpcs.api.ai.tree.ForwardingBehaviorGoalAdapter
- getYaw() - Method in class net.citizensnpcs.util.Pose
- getYaw(Entity) - Static method in class net.citizensnpcs.util.NMS
- getYaw(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- giveReflectiveAccess(Class<?>, Class<?>) - Static method in class net.citizensnpcs.util.NMS
- globalCooldown(int) - Method in class net.citizensnpcs.trait.CommandTrait.NPCCommandBuilder
- GLOWING - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
Whether the NPC is currently glowing.
- GLOWING_COLOR - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
The color to glow using Minecraft's scoreboard glowing feature.
- GLOWING_COLOR_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
The color to glow using Minecraft's scoreboard glowing feature.
- GLOWING_COLOR_PLAYER_ONLY - Static variable in class net.citizensnpcs.util.Messages
- GLOWING_COLOR_SET - Static variable in class net.citizensnpcs.util.Messages
- GLOWING_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
Whether the NPC is currently glowing.
- GLOWING_SET - Static variable in class net.citizensnpcs.util.Messages
- GLOWING_UNSET - Static variable in class net.citizensnpcs.util.Messages
- Goal - Interface in net.citizensnpcs.api.ai
-
Represents a Goal that can be added to a
GoalController
. - GoalController - Interface in net.citizensnpcs.api.ai
-
Represents a collection of goals that are prioritised and executed, allowing behaviour trees via a
GoalSelector
or by implementingBehavior
. - GoalController.GoalEntry - Interface in net.citizensnpcs.api.ai
- GoalSelector - Interface in net.citizensnpcs.api.ai
- GoatTrait - Class in net.citizensnpcs.trait.versioned
- GoatTrait() - Constructor for class net.citizensnpcs.trait.versioned.GoatTrait
- gravitate(boolean) - Method in class net.citizensnpcs.trait.Gravity
-
Set whether to disable gravity or not
- Gravity - Class in net.citizensnpcs.trait
-
Enable/disable Minecraft's gravity.
- Gravity() - Constructor for class net.citizensnpcs.trait.Gravity
- GRAVITY_DISABLED - Static variable in class net.citizensnpcs.util.Messages
- GRAVITY_ENABLED - Static variable in class net.citizensnpcs.util.Messages
- GroundController() - Constructor for class net.citizensnpcs.trait.Controllable.GroundController
- GroupNPCFlock - Class in net.citizensnpcs.api.ai.flocking
-
Defines a static flock of NPCs with an optional radius.
- GroupNPCFlock(Iterable<NPC>, double) - Constructor for class net.citizensnpcs.api.ai.flocking.GroupNPCFlock
- GUIDED_WAYPOINT_EDITOR_ADDED_AVAILABLE - Static variable in class net.citizensnpcs.util.Messages
- GUIDED_WAYPOINT_EDITOR_ADDED_GUIDE - Static variable in class net.citizensnpcs.util.Messages
- GUIDED_WAYPOINT_EDITOR_ALREADY_TAKEN - Static variable in class net.citizensnpcs.util.Messages
- GUIDED_WAYPOINT_EDITOR_BEGIN - Static variable in class net.citizensnpcs.util.Messages
- GUIDED_WAYPOINT_EDITOR_END - Static variable in class net.citizensnpcs.util.Messages
- GuidedWaypointProvider - Class in net.citizensnpcs.trait.waypoint
-
Stores guided waypoint info.
- GuidedWaypointProvider() - Constructor for class net.citizensnpcs.trait.waypoint.GuidedWaypointProvider
H
- h(VectorNode) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorGoal
- h(T) - Method in interface net.citizensnpcs.api.astar.AStarGoal
-
Returns the estimated heuristic cost of traversing from the supplied
AStarNode
to the goal. - HAND - Enum constant in enum net.citizensnpcs.api.trait.trait.Equipment.EquipmentSlot
- handle(ResultSet) - Method in interface net.citizensnpcs.api.util.ResultSetHandler
-
Turn the
ResultSet
into an Object. - handle(LivingEntity, LivingEntity) - Method in interface net.citizensnpcs.api.ai.AttackStrategy
-
Tries to attack the supplied target from the supplied attacker.
- handle(Event) - Method in interface net.citizensnpcs.api.scripting.EventHandler
- has(String) - Method in interface net.citizensnpcs.api.npc.MetadataStore
-
Returns whether the metadata exists.
- has(String) - Method in class net.citizensnpcs.api.npc.SimpleMetadataStore
- has(NPC.Metadata) - Method in interface net.citizensnpcs.api.npc.MetadataStore
-
Returns whether the metadata exists.
- has(NPC.Metadata) - Method in class net.citizensnpcs.api.npc.SimpleMetadataStore
- hasAnyFlags() - Method in class net.citizensnpcs.api.command.CommandContext
- hasAnyValueFlag(String...) - Method in class net.citizensnpcs.api.command.CommandContext
- hasCommand(Command, String) - Method in class net.citizensnpcs.api.command.CommandManager
-
Checks to see whether there is a command handler for the given command at the root level.
- hasCommandId(int) - Method in class net.citizensnpcs.trait.CommandTrait
- hasEditor(Player) - Static method in class net.citizensnpcs.editor.Editor
- hasFlag(char) - Method in class net.citizensnpcs.api.command.CommandContext
- hasGravity() - Method in class net.citizensnpcs.trait.Gravity
- hashCode() - Method in class net.citizensnpcs.api.ai.SimpleGoalEntry
- hashCode() - Method in class net.citizensnpcs.api.astar.AStarNode
- hashCode() - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
- hashCode() - Method in class net.citizensnpcs.api.command.CommandManager.CommandInfo
- hashCode() - Method in class net.citizensnpcs.api.gui.InventoryMenuSlot
- hashCode() - Method in class net.citizensnpcs.api.hpastar.ClusterNode
- hashCode() - Method in class net.citizensnpcs.api.hpastar.HPAGraphAStarNode
- hashCode() - Method in class net.citizensnpcs.api.hpastar.HPAGraphNode
- hashCode() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- hashCode() - Method in class net.citizensnpcs.api.util.DataKey
- hashCode() - Method in class net.citizensnpcs.api.util.MemoryDataKey
- hashCode() - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
- hashCode() - Method in class net.citizensnpcs.api.util.YamlStorage
- hashCode() - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- hashCode() - Method in class net.citizensnpcs.trait.waypoint.Waypoint
- hashCode() - Method in class net.citizensnpcs.util.Anchor
- hashCode() - Method in class net.citizensnpcs.util.ChunkCoord
- hashCode() - Method in class net.citizensnpcs.util.Pose
- hasImplementation() - Static method in class net.citizensnpcs.api.CitizensAPI
- hasIndex(int) - Method in class net.citizensnpcs.trait.text.Text
- hasNectar() - Method in class net.citizensnpcs.trait.versioned.BeeTrait
- hasPose(String) - Method in class net.citizensnpcs.trait.Poses
- hasRecipients() - Method in class net.citizensnpcs.api.ai.speech.SpeechContext
-
Checks if there are any recipients.
- hasSkinData() - Method in class net.citizensnpcs.npc.skin.Skin
-
Determine if the skin data has been retrieved.
- hasStung() - Method in class net.citizensnpcs.trait.versioned.BeeTrait
- hasTarget() - Method in class net.citizensnpcs.trait.SmoothRotationTrait.SmoothRotationSession
- hasTrait(Class<? extends Trait>) - Method in class net.citizensnpcs.api.npc.AbstractNPC
- hasTrait(Class<? extends Trait>) - Method in interface net.citizensnpcs.api.npc.NPC
-
Checks if this NPC has the given trait.
- hasValueFlag(String) - Method in class net.citizensnpcs.api.command.CommandContext
- hasWalkableNodes() - Method in class net.citizensnpcs.api.hpastar.HPACluster
- HAT - Enum constant in enum net.citizensnpcs.trait.SkinLayers.Layer
- header(String) - Method in class net.citizensnpcs.api.util.Paginator
- headOnly(boolean) - Method in class net.citizensnpcs.trait.SmoothRotationTrait.RotationParams
- HELMET - Enum constant in enum net.citizensnpcs.api.trait.trait.Equipment.EquipmentSlot
- help() - Element in annotation type net.citizensnpcs.api.command.Command
-
A longer description of the command and any flags it uses which will be displayed in addition to
Command.desc()
in help commands. - heuristicDistance(Vector) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
- hide() - Method in class net.citizensnpcs.trait.SkinLayers
- hideCape() - Method in class net.citizensnpcs.trait.SkinLayers
- hideHat() - Method in class net.citizensnpcs.trait.SkinLayers
- hideJacket() - Method in class net.citizensnpcs.trait.SkinLayers
- hideLeftPants() - Method in class net.citizensnpcs.trait.SkinLayers
- hideLeftSleeve() - Method in class net.citizensnpcs.trait.SkinLayers
- hidePants() - Method in class net.citizensnpcs.trait.SkinLayers
- hideRightPants() - Method in class net.citizensnpcs.trait.SkinLayers
- hideRightSleeve() - Method in class net.citizensnpcs.trait.SkinLayers
- hideSleeves() - Method in class net.citizensnpcs.trait.SkinLayers
- HIGH_INFLUENCE - Static variable in class net.citizensnpcs.api.ai.flocking.Flocker
-
Sample weight indicating high amount of influence from flocking.
- HIGHLIGHT_COLOUR - Enum constant in enum net.citizensnpcs.Settings.Setting
- HOLOGRAM_CLEARED - Static variable in class net.citizensnpcs.util.Messages
- HOLOGRAM_DESCRIBE_HEADER - Static variable in class net.citizensnpcs.util.Messages
- HOLOGRAM_DIRECTION_SET - Static variable in class net.citizensnpcs.util.Messages
- HOLOGRAM_INVALID_LINE - Static variable in class net.citizensnpcs.util.Messages
- HOLOGRAM_LINE_ADD - Static variable in class net.citizensnpcs.util.Messages
- HOLOGRAM_LINE_HEIGHT_SET - Static variable in class net.citizensnpcs.util.Messages
- HOLOGRAM_LINE_REMOVED - Static variable in class net.citizensnpcs.util.Messages
- HOLOGRAM_LINE_SET - Static variable in class net.citizensnpcs.util.Messages
- HOLOGRAM_TEXT_MISSING - Static variable in class net.citizensnpcs.util.Messages
- HOLOGRAM_TEXT_REMOVED - Static variable in class net.citizensnpcs.util.Messages
- HologramTrait - Class in net.citizensnpcs.trait
-
Persists a hologram attached to the NPC.
- HologramTrait() - Constructor for class net.citizensnpcs.trait.HologramTrait
- HologramTrait.HologramDirection - Enum in net.citizensnpcs.trait
- HORSE_CHEST_SET - Static variable in class net.citizensnpcs.util.Messages
- HORSE_CHEST_UNSET - Static variable in class net.citizensnpcs.util.Messages
- HORSE_COLOR_SET - Static variable in class net.citizensnpcs.util.Messages
- HORSE_DESCRIBE - Static variable in class net.citizensnpcs.util.Messages
- HORSE_STYLE_SET - Static variable in class net.citizensnpcs.util.Messages
- HORSE_TYPE_SET - Static variable in class net.citizensnpcs.util.Messages
- HorseEquipper - Class in net.citizensnpcs.editor
- HorseEquipper() - Constructor for class net.citizensnpcs.editor.HorseEquipper
- HorseModifiers - Class in net.citizensnpcs.trait
-
Persists various
Horse
metadata. - HorseModifiers() - Constructor for class net.citizensnpcs.trait.HorseModifiers
- HPACluster - Class in net.citizensnpcs.api.hpastar
- HPACluster(HPAGraph, int, int, int, int, int) - Constructor for class net.citizensnpcs.api.hpastar.HPACluster
- HPAEntrance - Class in net.citizensnpcs.api.hpastar
- HPAEntrance() - Constructor for class net.citizensnpcs.api.hpastar.HPAEntrance
- HPAGraph - Class in net.citizensnpcs.api.hpastar
- HPAGraph(BlockSource, int, int, int) - Constructor for class net.citizensnpcs.api.hpastar.HPAGraph
- HPAGraphAStarNode - Class in net.citizensnpcs.api.hpastar
- HPAGraphAStarNode(HPAGraphNode, HPAGraphEdge) - Constructor for class net.citizensnpcs.api.hpastar.HPAGraphAStarNode
- HPAGraphEdge - Class in net.citizensnpcs.api.hpastar
- HPAGraphEdge(HPAGraphNode, HPAGraphNode, HPAGraphEdge.EdgeType, float) - Constructor for class net.citizensnpcs.api.hpastar.HPAGraphEdge
- HPAGraphEdge.EdgeType - Enum in net.citizensnpcs.api.hpastar
- HPAGraphNode - Class in net.citizensnpcs.api.hpastar
- HPAGraphNode(int, int, int) - Constructor for class net.citizensnpcs.api.hpastar.HPAGraphNode
- HURT - Enum constant in enum net.citizensnpcs.util.PlayerAnimation
- HURT_SOUND - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
The Minecraft sound to play when hurt.
- HURT_SOUND_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
The Minecraft sound to play when hurt.
I
- ID_NOT_FOUND - Static variable in class net.citizensnpcs.api.command.CommandMessages
- IfElse - Class in net.citizensnpcs.api.ai.tree
- IfElse(Condition, Behavior, Behavior) - Constructor for class net.citizensnpcs.api.ai.tree.IfElse
- IGNORE - Enum constant in enum net.citizensnpcs.api.astar.pathfinder.BlockExaminer.PassableState
- immediate(boolean) - Method in class net.citizensnpcs.trait.SmoothRotationTrait.RotationParams
- inBlock(Entity) - Static method in class net.citizensnpcs.util.Util
- INITIAL_PLAYER_JOIN_SKIN_PACKET_DELAY_TICKS - Enum constant in enum net.citizensnpcs.Settings.Setting
- initialise(MenuContext) - Method in class net.citizensnpcs.api.gui.InputMenu
- initialise(MenuContext) - Method in class net.citizensnpcs.api.gui.InventoryMenuPage
- initialise(MenuContext) - Method in class net.citizensnpcs.commands.gui.NPCConfigurator
- initialise(MenuContext) - Method in class net.citizensnpcs.editor.EndermanEquipperGUI
- initialise(MenuContext) - Method in class net.citizensnpcs.editor.GenericEquipperGUI
- initialise(MenuContext) - Method in class net.citizensnpcs.editor.SteerableEquipperGUI
- initialise(MenuContext) - Method in class net.citizensnpcs.trait.CommandTrait.ItemRequirementGUI
- initialise(MenuContext) - Method in class net.citizensnpcs.trait.DropsTrait.DropsGUI
- initialise(MenuContext) - Method in class net.citizensnpcs.trait.ShopTrait.NPCShopEditor
- initialisePathfinder() - Method in class net.citizensnpcs.npc.ai.AStarNavigationStrategy
- InjectContext - Annotation Type in net.citizensnpcs.api.gui
-
Marker annotation to inject context variables at runtime into
InventoryMenuPage
s. - Injector - Class in net.citizensnpcs.api.command
- Injector(Object...) - Constructor for class net.citizensnpcs.api.command.Injector
- InputMenu - Class in net.citizensnpcs.api.gui
- InputMenu() - Constructor for class net.citizensnpcs.api.gui.InputMenu
- insert(HPAGraphNode) - Method in class net.citizensnpcs.api.hpastar.HPACluster
- INSTANCE - Static variable in class net.citizensnpcs.api.ai.TeleportStuckAction
- INSTANCE - Static variable in class net.citizensnpcs.api.ai.tree.Empty
- IntArrayTag - Class in net.citizensnpcs.api.jnbt
-
The
TAG_Int_Array
tag. - IntArrayTag(String, int[]) - Constructor for class net.citizensnpcs.api.jnbt.IntArrayTag
-
Creates the tag.
- INTER - Enum constant in enum net.citizensnpcs.api.hpastar.HPAGraphEdge.EdgeType
- interrupt() - Method in class net.citizensnpcs.api.scripting.ScriptCompiler
-
Cancel all running compile tasks.
- INTRA - Enum constant in enum net.citizensnpcs.api.hpastar.HPAGraphEdge.EdgeType
- IntTag - Class in net.citizensnpcs.api.jnbt
-
The
TAG_Int
tag. - IntTag(String, int) - Constructor for class net.citizensnpcs.api.jnbt.IntTag
-
Creates the tag.
- INVALID_AGE - Static variable in class net.citizensnpcs.util.Messages
- INVALID_ANCHOR_NAME - Static variable in class net.citizensnpcs.util.Messages
- INVALID_ANIMATION - Static variable in class net.citizensnpcs.util.Messages
- INVALID_AXOLOTL_VARIANT - Static variable in class net.citizensnpcs.util.Messages
- INVALID_BEE_ANGER - Static variable in class net.citizensnpcs.util.Messages
- INVALID_CAT_COLLAR_COLOR - Static variable in class net.citizensnpcs.util.Messages
- INVALID_CAT_TYPE - Static variable in class net.citizensnpcs.util.Messages
- INVALID_ENTITY_TYPE - Static variable in class net.citizensnpcs.util.Messages
- INVALID_FOX_TYPE - Static variable in class net.citizensnpcs.util.Messages
- INVALID_FROG_VARIANT - Static variable in class net.citizensnpcs.util.Messages
- INVALID_HORSE_COLOR - Static variable in class net.citizensnpcs.util.Messages
- INVALID_HORSE_STYLE - Static variable in class net.citizensnpcs.util.Messages
- INVALID_HORSE_VARIANT - Static variable in class net.citizensnpcs.util.Messages
- INVALID_LLAMA_COLOR - Static variable in class net.citizensnpcs.util.Messages
- INVALID_MUSHROOM_COW_VARIANT - Static variable in class net.citizensnpcs.util.Messages
- INVALID_NUMBER - Static variable in class net.citizensnpcs.api.command.CommandMessages
- INVALID_OCELOT_TYPE - Static variable in class net.citizensnpcs.util.Messages
- INVALID_PANDA_GENE - Static variable in class net.citizensnpcs.util.Messages
- INVALID_PARROT_VARIANT - Static variable in class net.citizensnpcs.util.Messages
- INVALID_POSE_NAME - Static variable in class net.citizensnpcs.util.Messages
- INVALID_PROFESSION - Static variable in class net.citizensnpcs.util.Messages
- INVALID_RABBIT_TYPE - Static variable in class net.citizensnpcs.util.Messages
- INVALID_SCRIPT_FILE - Static variable in class net.citizensnpcs.util.Messages
- INVALID_SHEEP_COLOR - Static variable in class net.citizensnpcs.util.Messages
- INVALID_SHULKER_COLOR - Static variable in class net.citizensnpcs.util.Messages
- INVALID_SKELETON_TYPE - Static variable in class net.citizensnpcs.util.Messages
- INVALID_SOUND - Static variable in class net.citizensnpcs.util.Messages
- INVALID_SPAWN_LOCATION - Static variable in class net.citizensnpcs.api.command.CommandMessages
- INVALID_SPAWN_LOCATION - Static variable in class net.citizensnpcs.util.Messages
- INVALID_TRIGGER_TELEPORT_FORMAT - Static variable in class net.citizensnpcs.util.Messages
- INVALID_TROPICALFISH_COLOR - Static variable in class net.citizensnpcs.util.Messages
- INVALID_TROPICALFISH_PATTERN - Static variable in class net.citizensnpcs.util.Messages
- INVALID_VILLAGER_TYPE - Static variable in class net.citizensnpcs.util.Messages
- Inventory - Class in net.citizensnpcs.api.trait.trait
-
Represents an NPC's inventory.
- Inventory() - Constructor for class net.citizensnpcs.api.trait.trait.Inventory
- inventoryCloseEvent(InventoryCloseEvent) - Method in class net.citizensnpcs.api.trait.trait.Inventory
- InventoryMenu - Class in net.citizensnpcs.api.gui
-
A container class for Inventory GUIs.
- InventoryMenu(InventoryMenu.InventoryMenuInfo, InventoryMenuPage) - Constructor for class net.citizensnpcs.api.gui.InventoryMenu
- InventoryMenuPage - Class in net.citizensnpcs.api.gui
-
The concrete page instance representing a single page in a stack of inventory menu GUIs.
- InventoryMenuPage() - Constructor for class net.citizensnpcs.api.gui.InventoryMenuPage
- InventoryMenuPattern - Class in net.citizensnpcs.api.gui
-
The concrete instance of a
MenuPattern
. - InventoryMenuPattern(MenuPattern, Collection<InventoryMenuSlot>, Collection<InventoryMenuTransition>) - Constructor for class net.citizensnpcs.api.gui.InventoryMenuPattern
- InventoryMenuSlot - Class in net.citizensnpcs.api.gui
-
Represents a single inventory slot in a
InventoryMenu
. - InventoryMenuTransition - Class in net.citizensnpcs.api.gui
-
The concrete class of
MenuTransition
. - InventoryMenuTransition(InventoryMenuSlot, Class<? extends InventoryMenuPage>) - Constructor for class net.citizensnpcs.api.gui.InventoryMenuTransition
- invoke(Object, String, Object...) - Method in interface net.citizensnpcs.api.scripting.Script
-
Invokes a method on the given object, which should be a return value or scripting object.
- invoke(Object, String, Object...) - Method in class net.citizensnpcs.api.scripting.SimpleScript
- invoke(String, Object...) - Method in interface net.citizensnpcs.api.scripting.Script
-
Invokes a root-level method using the method name and args and returns the result.
- invoke(String, Object...) - Method in class net.citizensnpcs.api.scripting.SimpleScript
- isActive() - Method in class net.citizensnpcs.trait.FollowTrait
-
Returns whether the trait is actively following a
Player
. - isAggressive() - Method in interface net.citizensnpcs.api.ai.EntityTarget
- isAggressive() - Method in class net.citizensnpcs.npc.ai.MCTargetStrategy
- isAlwaysFlyable(EntityType) - Static method in class net.citizensnpcs.util.Util
- isAngry() - Method in class net.citizensnpcs.trait.EndermanTrait
- isAngry() - Method in class net.citizensnpcs.trait.WolfModifiers
- isCancelled() - Method in class net.citizensnpcs.api.ai.speech.event.NPCSpeechEvent
- isCancelled() - Method in class net.citizensnpcs.api.ai.speech.event.SpeechEvent
- isCancelled() - Method in class net.citizensnpcs.api.event.CommandSenderCreateNPCEvent
- isCancelled() - Method in class net.citizensnpcs.api.event.EntityTargetNPCEvent
- isCancelled() - Method in class net.citizensnpcs.api.event.NPCClickEvent
- isCancelled() - Method in class net.citizensnpcs.api.event.NPCCombustEvent
- isCancelled() - Method in class net.citizensnpcs.api.event.NPCCommandDispatchEvent
- isCancelled() - Method in class net.citizensnpcs.api.event.NPCDamageEvent
- isCancelled() - Method in class net.citizensnpcs.api.event.NPCDespawnEvent
- isCancelled() - Method in class net.citizensnpcs.api.event.NPCEnderTeleportEvent
- isCancelled() - Method in class net.citizensnpcs.api.event.NPCOpenDoorEvent
- isCancelled() - Method in class net.citizensnpcs.api.event.NPCOpenGateEvent
- isCancelled() - Method in class net.citizensnpcs.api.event.NPCPushEvent
- isCancelled() - Method in class net.citizensnpcs.api.event.NPCSpawnEvent
- isCancelled() - Method in class net.citizensnpcs.api.event.NPCTeleportEvent
- isCancelled() - Method in class net.citizensnpcs.api.event.NPCVehicleDamageEvent
- isCharged() - Method in class net.citizensnpcs.trait.WitherTrait
- isComplete() - Method in class net.citizensnpcs.api.astar.pathfinder.Path
- isComplete() - Method in interface net.citizensnpcs.api.astar.Plan
- isCrouching() - Method in class net.citizensnpcs.trait.versioned.FoxTrait
- isDebugging() - Static method in class net.citizensnpcs.api.util.Messaging
- isDefaultTrait() - Method in class net.citizensnpcs.api.trait.TraitInfo
- isDerp() - Method in class net.citizensnpcs.trait.versioned.SnowmanTrait
- isDoor(Material) - Static method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
- isEmpty() - Method in class net.citizensnpcs.api.astar.AStarMachine.AStarState
- isEnabled() - Method in class net.citizensnpcs.Metrics
-
Checks if bStats is enabled.
- isEnabled() - Method in class net.citizensnpcs.trait.Controllable
- isEnabled() - Method in class net.citizensnpcs.trait.FollowTrait
- isEnabled() - Method in class net.citizensnpcs.trait.LookClose
- isExecutingGoal() - Method in interface net.citizensnpcs.api.ai.GoalController
- isExecutingGoal() - Method in class net.citizensnpcs.api.ai.SimpleGoalController
- isFinished(VectorNode) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorGoal
- isFinished(T) - Method in interface net.citizensnpcs.api.astar.AStarGoal
-
Returns whether the supplied
AStarNode
represents the goal state for thisAStarGoal
. - isFlyable() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- isFlyable() - Method in interface net.citizensnpcs.api.npc.NPC
-
Returns whether this NPC is flyable or not.
- isFlyable() - Method in class net.citizensnpcs.npc.CitizensNPC
- isGate(Material) - Static method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
- isHideErrorMessages() - Method in class net.citizensnpcs.trait.CommandTrait
- isHorse(EntityType) - Static method in class net.citizensnpcs.util.Util
- isInternalTrait(Trait) - Method in interface net.citizensnpcs.api.trait.TraitFactory
-
Checks whether the given trait is 'internal'.
- isInternalTrait(Trait) - Method in class net.citizensnpcs.npc.CitizensTraitFactory
- isLeftHorn() - Method in class net.citizensnpcs.trait.versioned.GoatTrait
- isLiquid(Material...) - Static method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
- isLiquidOrInLiquid(Block) - Static method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
- isLoaded() - Method in class net.citizensnpcs.util.Anchor
- isLoaded(Location) - Static method in class net.citizensnpcs.util.Util
- isLyingDown() - Method in class net.citizensnpcs.trait.versioned.CatTrait
- isMarker() - Method in class net.citizensnpcs.trait.ArmorStandTrait
- isNavigating() - Method in interface net.citizensnpcs.api.ai.Navigator
- isNavigating() - Method in class net.citizensnpcs.npc.ai.CitizensNavigator
- isNPC(Entity) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
- isNPC(Entity) - Method in class net.citizensnpcs.npc.CitizensNPCRegistry
- isOffHand(PlayerInteractEntityEvent) - Static method in class net.citizensnpcs.util.Util
- isOffHand(PlayerInteractEvent) - Static method in class net.citizensnpcs.util.Util
- isOnGround(Entity) - Static method in class net.citizensnpcs.util.NMS
- isOnGround(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- isOwnedBy(String) - Method in class net.citizensnpcs.api.trait.trait.Owner
- isOwnedBy(UUID) - Method in class net.citizensnpcs.api.trait.trait.Owner
- isOwnedBy(CommandSender) - Method in class net.citizensnpcs.api.trait.trait.Owner
-
Gets if the given
CommandSender
is the owner of an NPC. - isPassable(BlockSource, PathPoint) - Method in interface net.citizensnpcs.api.astar.pathfinder.BlockExaminer
- isPassable(BlockSource, PathPoint) - Method in class net.citizensnpcs.api.astar.pathfinder.DoorExaminer
- isPassable(BlockSource, PathPoint) - Method in class net.citizensnpcs.api.astar.pathfinder.FlyingBlockExaminer
- isPassable(BlockSource, PathPoint) - Method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
- isPassable(BlockSource, PathPoint) - Method in class net.citizensnpcs.api.astar.pathfinder.SwimmingExaminer
- isPassable(BlockSource, PathPoint) - Method in class net.citizensnpcs.npc.ai.BoundingBoxExaminer
- isPassable(BlockSource, PathPoint) - Method in class net.citizensnpcs.npc.ai.FallingExaminer
- isPaused() - Method in interface net.citizensnpcs.api.ai.GoalController
- isPaused() - Method in interface net.citizensnpcs.api.ai.Navigator
- isPaused() - Method in class net.citizensnpcs.api.ai.SimpleGoalController
- isPaused() - Method in class net.citizensnpcs.npc.ai.CitizensNavigator
- isPaused() - Method in class net.citizensnpcs.trait.waypoint.GuidedWaypointProvider
- isPaused() - Method in class net.citizensnpcs.trait.waypoint.LinearWaypointProvider
- isPaused() - Method in class net.citizensnpcs.trait.waypoint.WanderWaypointProvider
- isPaused() - Method in interface net.citizensnpcs.trait.waypoint.WaypointProvider
-
Returns whether this provider has paused execution of waypoints.
- isPlayingDead() - Method in class net.citizensnpcs.trait.versioned.AxolotlTrait
- isPowered() - Method in class net.citizensnpcs.trait.Powered
- isProtected() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- isProtected() - Method in interface net.citizensnpcs.api.npc.NPC
-
Gets whether this NPC is protected from damage, movement and other events that players and mobs use to change the entity state of the NPC.
- isRandomLook() - Method in class net.citizensnpcs.trait.LookClose
- isRandomTalker() - Method in class net.citizensnpcs.trait.text.Text
- isRearing() - Method in class net.citizensnpcs.trait.versioned.PolarBearTrait
- isRegistered(String) - Method in interface net.citizensnpcs.api.ai.speech.SpeechFactory
-
Checks whether the supplied
VocalChord
name is registered. - isRegistered(String) - Method in class net.citizensnpcs.npc.ai.speech.CitizensSpeechFactory
- isRightHorn() - Method in class net.citizensnpcs.trait.versioned.GoatTrait
- isRunImplemented() - Method in class net.citizensnpcs.api.trait.Trait
- isSheared() - Method in class net.citizensnpcs.trait.SheepTrait
- isShowBase() - Method in class net.citizensnpcs.trait.EnderCrystalTrait
- isSitting() - Method in class net.citizensnpcs.trait.SitTrait
- isSitting() - Method in class net.citizensnpcs.trait.versioned.FoxTrait
- isSitting() - Method in class net.citizensnpcs.trait.versioned.PandaTrait
- isSitting() - Method in class net.citizensnpcs.trait.WolfModifiers
- isSleeping() - Method in class net.citizensnpcs.trait.versioned.FoxTrait
- isSmall() - Method in class net.citizensnpcs.trait.ArmorStandTrait
- isSolid(Block) - Static method in class net.citizensnpcs.util.NMS
- isSolid(Block) - Method in interface net.citizensnpcs.util.NMSBridge
- isSpawned() - Method in interface net.citizensnpcs.api.npc.NPC
-
Gets whether this NPC is currently spawned.
- isSpawned() - Method in class net.citizensnpcs.npc.CitizensNPC
- isSwimmingUp() - Method in class net.citizensnpcs.api.astar.pathfinder.SwimmingExaminer
- isTamed() - Method in class net.citizensnpcs.trait.WolfModifiers
- isUsing1_13API() - Static method in class net.citizensnpcs.api.util.SpigotUtil
- isValid() - Method in class net.citizensnpcs.npc.skin.Skin
-
Determine if the skin is valid.
- isValid(Entity) - Static method in class net.citizensnpcs.util.NMS
- isValid(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- isVisible() - Method in class net.citizensnpcs.trait.ArmorStandTrait
- isVisible() - Method in class net.citizensnpcs.trait.versioned.BossBarTrait
- isVisible(SkinLayers.Layer) - Method in class net.citizensnpcs.trait.SkinLayers
- isWaterMob(Entity) - Static method in class net.citizensnpcs.api.astar.pathfinder.SwimmingExaminer
- item() - Method in class net.citizensnpcs.api.npc.BlockBreaker.BlockBreakerConfiguration
- item(ItemStack) - Method in class net.citizensnpcs.api.npc.BlockBreaker.BlockBreakerConfiguration
- ITEM_AMOUNT - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
The Item amount.
- ITEM_AMOUNT_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
The Item amount.
- ITEM_DATA - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
The Item data.
- ITEM_DATA_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
The Item data.
- ITEM_ID - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
The Item ID.
- ITEM_ID_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
The Item ID.
- ITEM_SET - Static variable in class net.citizensnpcs.util.Messages
- ItemRequirementGUI(CommandTrait) - Constructor for class net.citizensnpcs.trait.CommandTrait.ItemRequirementGUI
- ItemStackPersister - Class in net.citizensnpcs.api.persistence
- ItemStackPersister() - Constructor for class net.citizensnpcs.api.persistence.ItemStackPersister
- ItemStorage - Class in net.citizensnpcs.api.util
- ItemStorage() - Constructor for class net.citizensnpcs.api.util.ItemStorage
- iterator() - Method in class net.citizensnpcs.api.ai.SimpleGoalController
- iterator() - Method in class net.citizensnpcs.api.ai.speech.SpeechContext
-
Gets direct recipients, if any.
- iterator() - Method in class net.citizensnpcs.npc.CitizensNPCRegistry
J
- JACKET - Enum constant in enum net.citizensnpcs.trait.SkinLayers.Layer
K
- KEEP_CHUNK_LOADED - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
Whether to keep chunk loaded.
- KEEP_CHUNK_LOADED_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
Whether to keep chunk loaded.
- KEEP_CHUNKS_LOADED - Enum constant in enum net.citizensnpcs.Settings.Setting
- keyExists() - Method in class net.citizensnpcs.api.util.DataKey
- keyExists(String) - Method in class net.citizensnpcs.api.util.DataKey
- keyExists(String) - Method in class net.citizensnpcs.api.util.MemoryDataKey
- keyExists(String) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
- keyExists(String) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
L
- LazilyLoadedLocation(String, double, double, double, float, float) - Constructor for class net.citizensnpcs.api.persistence.LocationPersister.LazilyLoadedLocation
- LEASH_PROTECTED - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
Whether the NPC is leashable.
- LEASH_PROTECTED_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
Whether the NPC is leashable.
- LEASHABLE_SET - Static variable in class net.citizensnpcs.util.Messages
- LEASHABLE_STOPPED - Static variable in class net.citizensnpcs.util.Messages
- leave(Player) - Static method in class net.citizensnpcs.editor.Editor
- LEAVE_BED - Enum constant in enum net.citizensnpcs.util.PlayerAnimation
- leaveAll() - Static method in class net.citizensnpcs.editor.Editor
- LEFT - Enum constant in enum net.citizensnpcs.trait.CommandTrait.Hand
- LEFT_PANTS - Enum constant in enum net.citizensnpcs.trait.SkinLayers.Layer
- LEFT_SLEEVE - Enum constant in enum net.citizensnpcs.trait.SkinLayers.Layer
- leftClick(PlayerInteractEvent) - Method in class net.citizensnpcs.trait.Controllable.GroundController
- leftClick(PlayerInteractEvent) - Method in class net.citizensnpcs.trait.Controllable.LookAirController
- leftClick(PlayerInteractEvent) - Method in interface net.citizensnpcs.trait.Controllable.MovementController
- leftClick(PlayerInteractEvent) - Method in class net.citizensnpcs.trait.Controllable.PlayerInputAirController
- LEGGINGS - Enum constant in enum net.citizensnpcs.api.trait.trait.Equipment.EquipmentSlot
- length() - Method in class net.citizensnpcs.api.command.CommandContext
- LINEAR - Enum constant in enum net.citizensnpcs.trait.CommandTrait.ExecutionMode
- LINEAR_WAYPOINT_EDITOR_ADDED_WAYPOINT - Static variable in class net.citizensnpcs.util.Messages
- LINEAR_WAYPOINT_EDITOR_BEGIN - Static variable in class net.citizensnpcs.util.Messages
- LINEAR_WAYPOINT_EDITOR_CYCLE_SET - Static variable in class net.citizensnpcs.util.Messages
- LINEAR_WAYPOINT_EDITOR_CYCLE_UNSET - Static variable in class net.citizensnpcs.util.Messages
- LINEAR_WAYPOINT_EDITOR_END - Static variable in class net.citizensnpcs.util.Messages
- LINEAR_WAYPOINT_EDITOR_NOT_SHOWING_MARKERS - Static variable in class net.citizensnpcs.util.Messages
- LINEAR_WAYPOINT_EDITOR_RANGE_EXCEEDED - Static variable in class net.citizensnpcs.util.Messages
- LINEAR_WAYPOINT_EDITOR_REMOVED_WAYPOINT - Static variable in class net.citizensnpcs.util.Messages
- LINEAR_WAYPOINT_EDITOR_SELECTED_WAYPOINT - Static variable in class net.citizensnpcs.util.Messages
- LINEAR_WAYPOINT_EDITOR_SHOWING_MARKERS - Static variable in class net.citizensnpcs.util.Messages
- LINEAR_WAYPOINT_EDITOR_WAYPOINTS_CLEARED - Static variable in class net.citizensnpcs.util.Messages
- LinearWaypointProvider - Class in net.citizensnpcs.trait.waypoint
-
An ordered list of
Waypoint
s to walk between. - LinearWaypointProvider() - Constructor for class net.citizensnpcs.trait.waypoint.LinearWaypointProvider
- LinearWaypointProvider(NPC) - Constructor for class net.citizensnpcs.trait.waypoint.LinearWaypointProvider
- LinearWaypointsCompleteEvent - Class in net.citizensnpcs.trait.waypoint
- LinearWaypointsCompleteEvent(WaypointProvider, Iterator<Waypoint>) - Constructor for class net.citizensnpcs.trait.waypoint.LinearWaypointsCompleteEvent
- linkToNPC(NPC) - Method in class net.citizensnpcs.api.trait.Trait
- ListTag - Class in net.citizensnpcs.api.jnbt
-
The
TAG_List
tag. - ListTag(String, Class<? extends Tag>, List<? extends Tag>) - Constructor for class net.citizensnpcs.api.jnbt.ListTag
-
Creates the tag.
- listValuesPretty(Enum<?>[]) - Static method in class net.citizensnpcs.util.Util
- livingEntity() - Element in annotation type net.citizensnpcs.api.command.Requirements
- LLAMA_COLOR_SET - Static variable in class net.citizensnpcs.util.Messages
- LLAMA_STRENGTH_SET - Static variable in class net.citizensnpcs.util.Messages
- LlamaTrait - Class in net.citizensnpcs.trait.versioned
- LlamaTrait() - Constructor for class net.citizensnpcs.trait.versioned.LlamaTrait
- load() - Method in class net.citizensnpcs.api.util.NBTStorage
- load() - Method in interface net.citizensnpcs.api.util.Storage
-
Loads data from a file or other location.
- load() - Method in class net.citizensnpcs.api.util.YamlStorage
- load() - Method in class net.citizensnpcs.util.Anchor
-
Attempts to load the unloaded value of the stored
Location
. - load(Class<? extends T>, DataKey) - Static method in class net.citizensnpcs.api.persistence.PersistenceLoader
-
Creates an instance of the given class using the default constructor and loads it using
PersistenceLoader.load(Object, DataKey)
. - load(CommandManager) - Static method in class net.citizensnpcs.util.NMS
- load(CommandManager) - Method in interface net.citizensnpcs.util.NMSBridge
- load(DataKey) - Method in class net.citizensnpcs.api.npc.AbstractNPC
- load(DataKey) - Method in interface net.citizensnpcs.api.npc.NPC
- load(DataKey) - Method in interface net.citizensnpcs.api.persistence.Persistable
- load(DataKey) - Method in class net.citizensnpcs.api.trait.trait.Equipment
- load(DataKey) - Method in class net.citizensnpcs.api.trait.trait.Inventory
- load(DataKey) - Method in class net.citizensnpcs.api.trait.Trait
-
Loads a trait.
- load(DataKey) - Method in class net.citizensnpcs.api.trait.trait.MobType
- load(DataKey) - Method in class net.citizensnpcs.api.trait.trait.Owner
- load(DataKey) - Method in class net.citizensnpcs.api.trait.trait.Spawned
- load(DataKey) - Method in class net.citizensnpcs.npc.ai.CitizensNavigator
- load(DataKey) - Method in class net.citizensnpcs.npc.CitizensNPC
- load(DataKey) - Method in class net.citizensnpcs.trait.Anchors
- load(DataKey) - Method in class net.citizensnpcs.trait.ClickRedirectTrait
- load(DataKey) - Method in class net.citizensnpcs.trait.Controllable
- load(DataKey) - Method in class net.citizensnpcs.trait.CurrentLocation
- load(DataKey) - Method in class net.citizensnpcs.trait.LookClose
- load(DataKey) - Method in class net.citizensnpcs.trait.Poses
- load(DataKey) - Method in class net.citizensnpcs.trait.ScriptTrait
- load(DataKey) - Method in class net.citizensnpcs.trait.SkinTrait
- load(DataKey) - Method in class net.citizensnpcs.trait.SmoothRotationTrait.RotationParams
- load(DataKey) - Method in class net.citizensnpcs.trait.text.Text
- load(DataKey) - Method in class net.citizensnpcs.trait.VillagerProfession
- load(DataKey) - Method in class net.citizensnpcs.trait.waypoint.GuidedWaypointProvider
- load(DataKey) - Method in class net.citizensnpcs.trait.waypoint.LinearWaypointProvider
- load(DataKey) - Method in class net.citizensnpcs.trait.waypoint.WanderWaypointProvider
- load(DataKey) - Method in class net.citizensnpcs.trait.waypoint.Waypoints
- load(DataKey) - Method in class net.citizensnpcs.trait.WoolColor
- load(T, DataKey) - Static method in class net.citizensnpcs.api.persistence.PersistenceLoader
- LOAD_NAME_NOT_FOUND - Static variable in class net.citizensnpcs.util.Messages
- LOAD_TASK_NOT_SCHEDULED - Static variable in class net.citizensnpcs.util.Messages
- LOAD_UNKNOWN_NPC_TYPE - Static variable in class net.citizensnpcs.util.Messages
- loadBridge(String) - Static method in class net.citizensnpcs.util.NMS
- LOADED_ECONOMY - Static variable in class net.citizensnpcs.util.Messages
- loadFrom(DataKey) - Method in interface net.citizensnpcs.api.npc.MetadataStore
-
Loads persistent metadata from the given
DataKey
. - loadFrom(DataKey) - Method in class net.citizensnpcs.api.npc.SimpleMetadataStore
- loadFromKey(DataKey) - Method in enum net.citizensnpcs.Settings.Setting
- LOADING_SUB_PLUGIN - Static variable in class net.citizensnpcs.util.Messages
- loadInto(NPCRegistry) - Method in class net.citizensnpcs.api.npc.MemoryNPCDataStore
- loadInto(NPCRegistry) - Method in interface net.citizensnpcs.api.npc.NPCDataStore
-
Loads NPCs from disk into the given
NPCRegistry
. - loadInto(NPCRegistry) - Method in class net.citizensnpcs.api.npc.SimpleNPCDataStore
- loadItemStack(DataKey) - Static method in class net.citizensnpcs.api.util.ItemStorage
- loadPlugins() - Static method in class net.citizensnpcs.util.NMS
- loadPlugins() - Method in interface net.citizensnpcs.util.NMSBridge
- loadScript(String) - Method in class net.citizensnpcs.trait.ScriptTrait
-
Compile and load a script given by the file name.
- LOCALE - Enum constant in enum net.citizensnpcs.Settings.Setting
- LOCALE_NOTIFICATION - Static variable in class net.citizensnpcs.util.Messages
- Locatable - Interface in net.citizensnpcs.trait.waypoint
- LOCATION - Enum constant in enum net.citizensnpcs.api.ai.TargetType
- LocationPersister - Class in net.citizensnpcs.api.persistence
- LocationPersister() - Constructor for class net.citizensnpcs.api.persistence.LocationPersister
- LocationPersister.LazilyLoadedLocation - Class in net.citizensnpcs.api.persistence
- locationWithinRange(Location, Location, double) - Static method in class net.citizensnpcs.util.Util
- log(Object...) - Static method in class net.citizensnpcs.api.util.Messaging
- logTr(String, Object...) - Static method in class net.citizensnpcs.api.util.Messaging
- LongTag - Class in net.citizensnpcs.api.jnbt
-
The
TAG_Long
tag. - LongTag(String, long) - Constructor for class net.citizensnpcs.api.jnbt.LongTag
-
Creates the tag.
- look(Entity, float, float) - Static method in class net.citizensnpcs.util.NMS
- look(Entity, float, float) - Method in interface net.citizensnpcs.util.NMSBridge
- look(Entity, Entity) - Static method in class net.citizensnpcs.util.NMS
- look(Entity, Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- look(Entity, Location, boolean, boolean) - Static method in class net.citizensnpcs.util.NMS
- look(Entity, Location, boolean, boolean) - Method in interface net.citizensnpcs.util.NMSBridge
- LookAirController() - Constructor for class net.citizensnpcs.trait.Controllable.LookAirController
- lookAtFunction() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
- lookAtFunction(Function<Navigator, Location>) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Sets the position to look at during pathfinding, overriding the default 'look at target' behaviour.
- lookClose(boolean) - Method in class net.citizensnpcs.trait.LookClose
-
Enables/disables the trait
- LookClose - Class in net.citizensnpcs.trait
-
Persists the /npc lookclose metadata
- LookClose() - Constructor for class net.citizensnpcs.trait.LookClose
- LOOKCLOSE_RANDOM_DELAY_SET - Static variable in class net.citizensnpcs.util.Messages
- LOOKCLOSE_RANDOM_PITCH_RANGE_SET - Static variable in class net.citizensnpcs.util.Messages
- LOOKCLOSE_RANDOM_SET - Static variable in class net.citizensnpcs.util.Messages
- LOOKCLOSE_RANDOM_STOPPED - Static variable in class net.citizensnpcs.util.Messages
- LOOKCLOSE_RANDOM_YAW_RANGE_SET - Static variable in class net.citizensnpcs.util.Messages
- LOOKCLOSE_RANGE_SET - Static variable in class net.citizensnpcs.util.Messages
- LOOKCLOSE_REALISTIC_LOOK_SET - Static variable in class net.citizensnpcs.util.Messages
- LOOKCLOSE_REALISTIC_LOOK_UNSET - Static variable in class net.citizensnpcs.util.Messages
- LOOKCLOSE_SET - Static variable in class net.citizensnpcs.util.Messages
- LOOKCLOSE_STOPPED - Static variable in class net.citizensnpcs.util.Messages
- Loop - Class in net.citizensnpcs.api.ai.tree
-
A decorator
Behavior
that continues to execute its child behavior as long as aCondition
returnstrue
and the behavior returnsBehaviorStatus.SUCCESS
. - Loop(Behavior, Condition) - Constructor for class net.citizensnpcs.api.ai.tree.Loop
- lore() - Element in annotation type net.citizensnpcs.api.gui.MenuSlot
-
The lore of the inventory item, newline-delimited.
- LOW_INFLUENCE - Static variable in class net.citizensnpcs.api.ai.flocking.Flocker
-
Sample weight indicating low amount of influence from flocking.
M
- MAGIC_CRIT - Enum constant in enum net.citizensnpcs.util.PlayerAnimation
- mapping(Behavior, Supplier<BehaviorStatus>) - Static method in class net.citizensnpcs.api.ai.tree.StatusMapper
- matchEntityType(String) - Static method in class net.citizensnpcs.util.Util
- matchEnum(T[], String) - Static method in class net.citizensnpcs.util.Util
- matches(String) - Method in class net.citizensnpcs.api.command.CommandContext
- matchesItemInHand(Player, String) - Static method in class net.citizensnpcs.util.Util
- material() - Element in annotation type net.citizensnpcs.api.gui.MenuSlot
-
The material to display (defaults to AIR).
- max() - Element in annotation type net.citizensnpcs.api.command.Command
-
The maximum number of arguments that the command will accept.
- MAX_CONTROLLABLE_GROUND_SPEED - Enum constant in enum net.citizensnpcs.Settings.Setting
- MAX_NPC_LIMIT_CHECKS - Enum constant in enum net.citizensnpcs.Settings.Setting
- MAX_NPC_SKIN_RETRIES - Enum constant in enum net.citizensnpcs.Settings.Setting
- MAX_PACKET_ENTRIES - Enum constant in enum net.citizensnpcs.Settings.Setting
- MAX_SPEED - Enum constant in enum net.citizensnpcs.Settings.Setting
- MAX_TEXT_RANGE - Enum constant in enum net.citizensnpcs.Settings.Setting
- MAXIMUM_ASTAR_ITERATIONS - Enum constant in enum net.citizensnpcs.Settings.Setting
- maxPitchPerTick(float) - Method in class net.citizensnpcs.trait.SmoothRotationTrait.RotationParams
- maxX - Variable in class net.citizensnpcs.api.util.BoundingBox
- maxY - Variable in class net.citizensnpcs.api.util.BoundingBox
- maxYawPerTick(float) - Method in class net.citizensnpcs.trait.SmoothRotationTrait.RotationParams
- maxZ - Variable in class net.citizensnpcs.api.util.BoundingBox
- MC_NAVIGATION_MAX_FALL_DISTANCE - Enum constant in enum net.citizensnpcs.Settings.Setting
- MCNavigationStrategy - Class in net.citizensnpcs.npc.ai
- MCNavigationStrategy.MCNavigator - Interface in net.citizensnpcs.npc.ai
- MCTargetStrategy - Class in net.citizensnpcs.npc.ai
- MCTargetStrategy(NPC, Entity, boolean, NavigatorParameters) - Constructor for class net.citizensnpcs.npc.ai.MCTargetStrategy
- MCTargetStrategy.TargetNavigator - Interface in net.citizensnpcs.npc.ai
- MemoryDataKey - Class in net.citizensnpcs.api.util
- MemoryDataKey() - Constructor for class net.citizensnpcs.api.util.MemoryDataKey
- MemoryNPCDataStore - Class in net.citizensnpcs.api.npc
- MemoryNPCDataStore() - Constructor for class net.citizensnpcs.api.npc.MemoryNPCDataStore
- Menu - Annotation Type in net.citizensnpcs.api.gui
-
Defines a GUI inventory menu.
- MenuContext - Class in net.citizensnpcs.api.gui
-
A context class passed into the constructor of a
Menu
instance. - MenuContext(InventoryMenu, InventoryMenuSlot[], Inventory) - Constructor for class net.citizensnpcs.api.gui.MenuContext
- MenuContext(InventoryMenu, InventoryMenuSlot[], Inventory, Map<String, Object>) - Constructor for class net.citizensnpcs.api.gui.MenuContext
- MenuPattern - Annotation Type in net.citizensnpcs.api.gui
-
Defines a pattern of slots and/or transitions.
- MenuPatterns - Annotation Type in net.citizensnpcs.api.gui
- MenuSlot - Annotation Type in net.citizensnpcs.api.gui
-
Defines a slot with a certain item.
- MenuSlots - Annotation Type in net.citizensnpcs.api.gui
- MenuTransition - Annotation Type in net.citizensnpcs.api.gui
-
Defines a menu transition to a new sub-menu.
- MenuTransitions - Annotation Type in net.citizensnpcs.api.gui
- MESSAGE_COLOUR - Enum constant in enum net.citizensnpcs.Settings.Setting
- Messages - Class in net.citizensnpcs.util
- Messages() - Constructor for class net.citizensnpcs.util.Messages
- Messaging - Class in net.citizensnpcs.api.util
- Messaging() - Constructor for class net.citizensnpcs.api.util.Messaging
- METADATA_SET - Static variable in class net.citizensnpcs.util.Messages
- METADATA_UNSET - Static variable in class net.citizensnpcs.util.Messages
- MetadataStore - Interface in net.citizensnpcs.api.npc
-
Represents a storage system for metadata
- Metrics - Class in net.citizensnpcs
-
bStats collects some data for plugin authors.
- Metrics(Plugin, int) - Constructor for class net.citizensnpcs.Metrics
-
Class constructor.
- METRICS_ERROR_NOTIFICATION - Static variable in class net.citizensnpcs.util.Messages
- Metrics.AdvancedBarChart - Class in net.citizensnpcs
-
Represents a custom advanced bar chart.
- Metrics.AdvancedPie - Class in net.citizensnpcs
-
Represents a custom advanced pie.
- Metrics.CustomChart - Class in net.citizensnpcs
-
Represents a custom chart.
- Metrics.DrilldownPie - Class in net.citizensnpcs
-
Represents a custom drilldown pie.
- Metrics.MultiLineChart - Class in net.citizensnpcs
-
Represents a custom multi line chart.
- Metrics.SimpleBarChart - Class in net.citizensnpcs
-
Represents a custom simple bar chart.
- Metrics.SimplePie - Class in net.citizensnpcs
-
Represents a custom simple pie.
- Metrics.SingleLineChart - Class in net.citizensnpcs
-
Represents a custom single line chart.
- min() - Element in annotation type net.citizensnpcs.api.command.Command
-
Minimum number of arguments that are accepted by the command.
- MINECART_ITEM - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
The Minecart item name.
- MINECART_ITEM_DATA - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
The Minecart item data.
- MINECART_ITEM_DATA_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
The Minecart item data.
- MINECART_ITEM_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
The Minecart item name.
- MINECART_OFFSET - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
The Minecart item offset as defined by Minecraft.
- MINECART_OFFSET_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
The Minecart item offset as defined by Minecraft.
- MINECART_SET - Static variable in class net.citizensnpcs.util.Messages
- MinecraftBlockExaminer - Class in net.citizensnpcs.api.astar.pathfinder
- MinecraftBlockExaminer() - Constructor for class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
- MINIMUM_COST_REQUIRED - Static variable in class net.citizensnpcs.util.Messages
- minX - Variable in class net.citizensnpcs.api.util.BoundingBox
- minY - Variable in class net.citizensnpcs.api.util.BoundingBox
- minZ - Variable in class net.citizensnpcs.api.util.BoundingBox
- MISSING_TP_CURSOR_BLOCK - Static variable in class net.citizensnpcs.util.Messages
- MISSING_TRAIT - Static variable in class net.citizensnpcs.api.command.CommandMessages
- MISSING_TRANSLATIONS - Static variable in class net.citizensnpcs.util.Messages
- MobType - Class in net.citizensnpcs.api.trait.trait
-
Represents an NPC's mob type.
- MobType() - Constructor for class net.citizensnpcs.api.trait.trait.MobType
- MOBTYPE_CANNOT_BE_AGED - Static variable in class net.citizensnpcs.util.Messages
- ModalMenuInput - Class in net.citizensnpcs.api.gui
- modifiedSpeed(float) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Modifieds the given speed value based on the current parameters.
- modifiers() - Element in annotation type net.citizensnpcs.api.command.Command
-
The argument modifiers accepted by the command.
- MONEY_WITHDRAWN - Static variable in class net.citizensnpcs.util.Messages
- mount(Entity, Entity) - Static method in class net.citizensnpcs.util.NMS
- mount(Entity, Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- mount(Player) - Method in class net.citizensnpcs.trait.Controllable
-
Attempts to mount the
Player
onto theNPC
. - MOUNT_NPC_MUST_BE_SPAWNED - Static variable in class net.citizensnpcs.util.Messages
- MountTrait - Class in net.citizensnpcs.trait
-
Persists the NPC's mounted on entity, if any.
- MountTrait() - Constructor for class net.citizensnpcs.trait.MountTrait
- MOVETO_FORMAT - Static variable in class net.citizensnpcs.util.Messages
- MOVETO_TELEPORTED - Static variable in class net.citizensnpcs.util.Messages
- MoveToGoal - Class in net.citizensnpcs.api.ai.goals
- MoveToGoal(NPC, Location) - Constructor for class net.citizensnpcs.api.ai.goals.MoveToGoal
- MultiLineChart(String, Callable<Map<String, Integer>>) - Constructor for class net.citizensnpcs.Metrics.MultiLineChart
-
Class constructor.
- MUSHROOM_COW_VARIANT_SET - Static variable in class net.citizensnpcs.util.Messages
- MushroomCowTrait - Class in net.citizensnpcs.trait.versioned
- MushroomCowTrait() - Constructor for class net.citizensnpcs.trait.versioned.MushroomCowTrait
- MUST_BE_INGAME - Static variable in class net.citizensnpcs.api.command.CommandMessages
- MUST_BE_OWNER - Static variable in class net.citizensnpcs.api.command.CommandMessages
- MUST_HAVE_SELECTED - Static variable in class net.citizensnpcs.api.command.CommandMessages
N
- n(int) - Method in class net.citizensnpcs.trait.CommandTrait.NPCCommandBuilder
- name() - Method in class net.citizensnpcs.api.util.DataKey
- name() - Method in class net.citizensnpcs.api.util.MemoryDataKey
- name() - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
- name() - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- NAMEPLATE_VISIBILITY_TOGGLED - Static variable in class net.citizensnpcs.util.Messages
- NAMEPLATE_VISIBLE - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
Whether the NPC's nameplate should be visible.
- NAMEPLATE_VISIBLE_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
Whether the NPC's nameplate should be visible.
- namespace() - Element in annotation type net.citizensnpcs.api.persistence.Persist
-
If using global/static persistence, must be non-empty.
- NavigationBeginEvent - Class in net.citizensnpcs.api.ai.event
- NavigationBeginEvent(Navigator) - Constructor for class net.citizensnpcs.api.ai.event.NavigationBeginEvent
- NavigationCancelEvent - Class in net.citizensnpcs.api.ai.event
- NavigationCancelEvent(Navigator, CancelReason) - Constructor for class net.citizensnpcs.api.ai.event.NavigationCancelEvent
- NavigationCompleteEvent - Class in net.citizensnpcs.api.ai.event
- NavigationCompleteEvent(Navigator) - Constructor for class net.citizensnpcs.api.ai.event.NavigationCompleteEvent
- NavigationEvent - Class in net.citizensnpcs.api.ai.event
- NavigationEvent(Navigator) - Constructor for class net.citizensnpcs.api.ai.event.NavigationEvent
- NavigationReplaceEvent - Class in net.citizensnpcs.api.ai.event
- NavigationReplaceEvent(Navigator) - Constructor for class net.citizensnpcs.api.ai.event.NavigationReplaceEvent
- NavigationStuckEvent - Class in net.citizensnpcs.api.ai.event
- NavigationStuckEvent(Navigator, StuckAction) - Constructor for class net.citizensnpcs.api.ai.event.NavigationStuckEvent
- Navigator - Interface in net.citizensnpcs.api.ai
-
Represents the pathfinding AI of an
NPC
. - NavigatorCallback - Interface in net.citizensnpcs.api.ai.event
- NavigatorParameters - Class in net.citizensnpcs.api.ai
- NavigatorParameters() - Constructor for class net.citizensnpcs.api.ai.NavigatorParameters
- NBTConstants - Class in net.citizensnpcs.api.jnbt
-
A class which holds constant values.
- NBTInputStream - Class in net.citizensnpcs.api.jnbt
-
This class reads NBT, or Named Binary Tag streams, and produces an object graph of subclasses of the
Tag
object. - NBTInputStream(InputStream) - Constructor for class net.citizensnpcs.api.jnbt.NBTInputStream
-
Creates a new
NBTInputStream
, which will source its data from the specified input stream. - NBTKey(String) - Constructor for class net.citizensnpcs.api.util.NBTStorage.NBTKey
- NBTOutputStream - Class in net.citizensnpcs.api.jnbt
-
This class writes NBT, or Named Binary Tag
Tag
objects to an underlyingOutputStream
. - NBTOutputStream(OutputStream) - Constructor for class net.citizensnpcs.api.jnbt.NBTOutputStream
-
Creates a new
NBTOutputStream
, which will write data to the specified underlying output stream. - NBTStorage - Class in net.citizensnpcs.api.util
- NBTStorage(File) - Constructor for class net.citizensnpcs.api.util.NBTStorage
- NBTStorage(File, String) - Constructor for class net.citizensnpcs.api.util.NBTStorage
- NBTStorage(String) - Constructor for class net.citizensnpcs.api.util.NBTStorage
- NBTStorage.NBTKey - Class in net.citizensnpcs.api.util
- NBTUtils - Class in net.citizensnpcs.api.jnbt
-
A class which contains NBT-related utility methods.
- NeighbourGeneratorBlockExaminer - Interface in net.citizensnpcs.api.astar.pathfinder
- net.citizensnpcs - package net.citizensnpcs
- net.citizensnpcs.api - package net.citizensnpcs.api
- net.citizensnpcs.api.ai - package net.citizensnpcs.api.ai
- net.citizensnpcs.api.ai.event - package net.citizensnpcs.api.ai.event
- net.citizensnpcs.api.ai.flocking - package net.citizensnpcs.api.ai.flocking
- net.citizensnpcs.api.ai.goals - package net.citizensnpcs.api.ai.goals
- net.citizensnpcs.api.ai.speech - package net.citizensnpcs.api.ai.speech
- net.citizensnpcs.api.ai.speech.event - package net.citizensnpcs.api.ai.speech.event
- net.citizensnpcs.api.ai.tree - package net.citizensnpcs.api.ai.tree
- net.citizensnpcs.api.astar - package net.citizensnpcs.api.astar
- net.citizensnpcs.api.astar.pathfinder - package net.citizensnpcs.api.astar.pathfinder
- net.citizensnpcs.api.command - package net.citizensnpcs.api.command
- net.citizensnpcs.api.command.exception - package net.citizensnpcs.api.command.exception
- net.citizensnpcs.api.event - package net.citizensnpcs.api.event
- net.citizensnpcs.api.exception - package net.citizensnpcs.api.exception
- net.citizensnpcs.api.gui - package net.citizensnpcs.api.gui
- net.citizensnpcs.api.hpastar - package net.citizensnpcs.api.hpastar
- net.citizensnpcs.api.jnbt - package net.citizensnpcs.api.jnbt
- net.citizensnpcs.api.npc - package net.citizensnpcs.api.npc
- net.citizensnpcs.api.persistence - package net.citizensnpcs.api.persistence
- net.citizensnpcs.api.scripting - package net.citizensnpcs.api.scripting
- net.citizensnpcs.api.trait - package net.citizensnpcs.api.trait
- net.citizensnpcs.api.trait.trait - package net.citizensnpcs.api.trait.trait
- net.citizensnpcs.api.util - package net.citizensnpcs.api.util
- net.citizensnpcs.commands.gui - package net.citizensnpcs.commands.gui
- net.citizensnpcs.commands.history - package net.citizensnpcs.commands.history
- net.citizensnpcs.editor - package net.citizensnpcs.editor
- net.citizensnpcs.npc - package net.citizensnpcs.npc
- net.citizensnpcs.npc.ai - package net.citizensnpcs.npc.ai
- net.citizensnpcs.npc.ai.speech - package net.citizensnpcs.npc.ai.speech
- net.citizensnpcs.npc.profile - package net.citizensnpcs.npc.profile
- net.citizensnpcs.npc.skin - package net.citizensnpcs.npc.skin
- net.citizensnpcs.trait - package net.citizensnpcs.trait
- net.citizensnpcs.trait.text - package net.citizensnpcs.trait.text
- net.citizensnpcs.trait.versioned - package net.citizensnpcs.trait.versioned
- net.citizensnpcs.trait.waypoint - package net.citizensnpcs.trait.waypoint
- net.citizensnpcs.trait.waypoint.triggers - package net.citizensnpcs.trait.waypoint.triggers
- net.citizensnpcs.util - package net.citizensnpcs.util
- NEW_PATHFINDER_CHECK_BOUNDING_BOXES - Enum constant in enum net.citizensnpcs.Settings.Setting
- NEW_PATHFINDER_OPENS_DOORS - Enum constant in enum net.citizensnpcs.Settings.Setting
- newInstance() - Method in interface net.citizensnpcs.api.scripting.ScriptFactory
-
Creates a new local context of the
Script
. - newInstance() - Method in class net.citizensnpcs.api.scripting.SimpleScriptFactory
- newTalkableEntity(Entity) - Method in interface net.citizensnpcs.api.ai.speech.SpeechFactory
-
Creates a new Talkable entity and returns it
- newTalkableEntity(Entity) - Method in class net.citizensnpcs.npc.ai.speech.CitizensSpeechFactory
- newTalkableEntity(LivingEntity) - Method in interface net.citizensnpcs.api.ai.speech.SpeechFactory
-
Creates a new Talkable entity and returns it
- newTalkableEntity(LivingEntity) - Method in class net.citizensnpcs.npc.ai.speech.CitizensSpeechFactory
- next(int) - Method in class net.citizensnpcs.util.XORShiftRNG
- NMS - Class in net.citizensnpcs.util
- NMSBridge - Interface in net.citizensnpcs.util
- NMSChunkBlockSource - Class in net.citizensnpcs.npc.ai
- NMSChunkBlockSource(Location, float) - Constructor for class net.citizensnpcs.npc.ai.NMSChunkBlockSource
- NO_HORSE_MODIFIERS_GIVEN - Static variable in class net.citizensnpcs.util.Messages
- NO_NPC_WITH_ID_FOUND - Static variable in class net.citizensnpcs.util.Messages
- NO_PERMISSION - Static variable in class net.citizensnpcs.api.command.CommandMessages
- NO_STORED_SPAWN_LOCATION - Static variable in class net.citizensnpcs.util.Messages
- NONE - Enum constant in enum net.citizensnpcs.api.ai.TargetType
- NoPermissionsException - Exception in net.citizensnpcs.api.command.exception
- NoPermissionsException() - Constructor for exception net.citizensnpcs.api.command.exception.NoPermissionsException
- NORTH - Enum constant in enum net.citizensnpcs.api.hpastar.Direction
- NOT_FOUND - Enum constant in enum net.citizensnpcs.npc.profile.ProfileFetchResult
-
The profile request failed because the profile was not found.
- NOT_LIVING_MOBTYPE - Static variable in class net.citizensnpcs.util.Messages
- NOT_USING_MINECRAFT_AI - Static variable in class net.citizensnpcs.util.Messages
- notifySkinChange(boolean) - Method in class net.citizensnpcs.npc.skin.SkinPacketTracker
-
Notify that the NPC skin has been changed.
- npc - Variable in class net.citizensnpcs.api.trait.Trait
- NPC - Interface in net.citizensnpcs.api.npc
-
Represents an NPC with optional
Trait
s. - NPC_ALREADY_SELECTED - Static variable in class net.citizensnpcs.util.Messages
- NPC_ALREADY_SPAWNED - Static variable in class net.citizensnpcs.util.Messages
- NPC_ATTACK_DISTANCE - Enum constant in enum net.citizensnpcs.Settings.Setting
- NPC_COMMAND_HELP - Static variable in class net.citizensnpcs.util.Messages
- NPC_COMMAND_MAXIMUM_TIMES_USED_MESSAGE - Enum constant in enum net.citizensnpcs.Settings.Setting
- NPC_COMMAND_MISSING_ITEM_MESSAGE - Enum constant in enum net.citizensnpcs.Settings.Setting
- NPC_COMMAND_NO_PERMISSION_MESSAGE - Enum constant in enum net.citizensnpcs.Settings.Setting
- NPC_COMMAND_NOT_ENOUGH_EXPERIENCE_MESSAGE - Enum constant in enum net.citizensnpcs.Settings.Setting
- NPC_COMMAND_NOT_ENOUGH_MONEY_MESSAGE - Enum constant in enum net.citizensnpcs.Settings.Setting
- NPC_COMMAND_ON_COOLDOWN_MESSAGE - Enum constant in enum net.citizensnpcs.Settings.Setting
- NPC_COMMAND_ON_GLOBAL_COOLDOWN_MESSAGE - Enum constant in enum net.citizensnpcs.Settings.Setting
- NPC_COPIED - Static variable in class net.citizensnpcs.util.Messages
- NPC_COST - Enum constant in enum net.citizensnpcs.Settings.Setting
- NPC_CREATE_INVALID_MOBTYPE - Static variable in class net.citizensnpcs.util.Messages
- NPC_CREATE_MISSING_MOBTYPE - Static variable in class net.citizensnpcs.util.Messages
- NPC_DESPAWNED - Enum constant in enum net.citizensnpcs.api.ai.event.CancelReason
- NPC_DESPAWNED - Static variable in class net.citizensnpcs.util.Messages
- NPC_GOAT_HORNS_SET - Static variable in class net.citizensnpcs.util.Messages
- NPC_NAME_TOO_LONG - Static variable in class net.citizensnpcs.util.Messages
- NPC_NOT_CONTROLLABLE - Static variable in class net.citizensnpcs.util.Messages
- NPC_NOT_FOUND - Static variable in class net.citizensnpcs.util.Messages
- NPC_OWNER - Static variable in class net.citizensnpcs.util.Messages
- NPC_REMOVED - Static variable in class net.citizensnpcs.util.Messages
- NPC_RENAMED - Static variable in class net.citizensnpcs.util.Messages
- NPC_SKIN_RETRY_DELAY - Enum constant in enum net.citizensnpcs.Settings.Setting
- NPC_SKIN_ROTATION_UPDATE_DEGREES - Enum constant in enum net.citizensnpcs.Settings.Setting
- NPC_SKIN_USE_LATEST - Enum constant in enum net.citizensnpcs.Settings.Setting
- NPC_SKIN_VIEW_DISTANCE - Enum constant in enum net.citizensnpcs.Settings.Setting
- NPC_SPAWNED - Static variable in class net.citizensnpcs.util.Messages
- NPC_TELEPORTED - Static variable in class net.citizensnpcs.util.Messages
- NPC.Metadata - Enum in net.citizensnpcs.api.npc
- NPCAddTraitEvent - Class in net.citizensnpcs.api.event
- NPCAddTraitEvent(NPC, Trait) - Constructor for class net.citizensnpcs.api.event.NPCAddTraitEvent
- NPCClickEvent - Class in net.citizensnpcs.api.event
-
Represents an event where an NPC was clicked by a player.
- NPCClickEvent(NPC, Player) - Constructor for class net.citizensnpcs.api.event.NPCClickEvent
- NPCCloneEvent - Class in net.citizensnpcs.api.event
- NPCCloneEvent(NPC, NPC) - Constructor for class net.citizensnpcs.api.event.NPCCloneEvent
- NPCCollisionEvent - Class in net.citizensnpcs.api.event
- NPCCollisionEvent(NPC, Entity) - Constructor for class net.citizensnpcs.api.event.NPCCollisionEvent
- NPCCombustByBlockEvent - Class in net.citizensnpcs.api.event
- NPCCombustByBlockEvent(EntityCombustByBlockEvent, NPC) - Constructor for class net.citizensnpcs.api.event.NPCCombustByBlockEvent
- NPCCombustByEntityEvent - Class in net.citizensnpcs.api.event
- NPCCombustByEntityEvent(EntityCombustByEntityEvent, NPC) - Constructor for class net.citizensnpcs.api.event.NPCCombustByEntityEvent
- NPCCombustEvent - Class in net.citizensnpcs.api.event
- NPCCombustEvent(EntityCombustEvent, NPC) - Constructor for class net.citizensnpcs.api.event.NPCCombustEvent
- NPCCommandBuilder(String, CommandTrait.Hand) - Constructor for class net.citizensnpcs.trait.CommandTrait.NPCCommandBuilder
- NPCCommandDispatchEvent - Class in net.citizensnpcs.api.event
-
Called just before a command list is dispatched.
- NPCCommandDispatchEvent(NPC, Player) - Constructor for class net.citizensnpcs.api.event.NPCCommandDispatchEvent
- NPCConfigurator - Class in net.citizensnpcs.commands.gui
- NPCConfigurator(NPC) - Constructor for class net.citizensnpcs.commands.gui.NPCConfigurator
- NPCCreateEvent - Class in net.citizensnpcs.api.event
- NPCCreateEvent(NPC) - Constructor for class net.citizensnpcs.api.event.NPCCreateEvent
- NPCDamageByBlockEvent - Class in net.citizensnpcs.api.event
- NPCDamageByBlockEvent(NPC, EntityDamageByBlockEvent) - Constructor for class net.citizensnpcs.api.event.NPCDamageByBlockEvent
- NPCDamageByEntityEvent - Class in net.citizensnpcs.api.event
- NPCDamageByEntityEvent(NPC, EntityDamageByEntityEvent) - Constructor for class net.citizensnpcs.api.event.NPCDamageByEntityEvent
- NPCDamageEntityEvent - Class in net.citizensnpcs.api.event
- NPCDamageEntityEvent(NPC, EntityDamageByEntityEvent) - Constructor for class net.citizensnpcs.api.event.NPCDamageEntityEvent
- NPCDamageEvent - Class in net.citizensnpcs.api.event
- NPCDamageEvent(NPC, EntityDamageEvent) - Constructor for class net.citizensnpcs.api.event.NPCDamageEvent
- NPCDataStore - Interface in net.citizensnpcs.api.npc
- NPCDeathEvent - Class in net.citizensnpcs.api.event
- NPCDeathEvent(NPC, EntityDeathEvent) - Constructor for class net.citizensnpcs.api.event.NPCDeathEvent
- NPCDespawnEvent - Class in net.citizensnpcs.api.event
-
Called when an NPC despawns.
- NPCDespawnEvent(NPC, DespawnReason) - Constructor for class net.citizensnpcs.api.event.NPCDespawnEvent
- NPCEnderTeleportEvent - Class in net.citizensnpcs.api.event
-
Called when an NPC is teleported after using an ender pearl.
- NPCEnderTeleportEvent(NPC) - Constructor for class net.citizensnpcs.api.event.NPCEnderTeleportEvent
- NPCEvent - Class in net.citizensnpcs.api.event
-
Represents an event thrown by an NPC.
- NPCEvent(NPC) - Constructor for class net.citizensnpcs.api.event.NPCEvent
- NPCException - Exception in net.citizensnpcs.api.exception
-
Represents an Exception thrown by NPCs.
- NPCException(String) - Constructor for exception net.citizensnpcs.api.exception.NPCException
- NPCFlock - Interface in net.citizensnpcs.api.ai.flocking
-
Represents a 'flock' of NPCs to be used as input to a
Flocker
. - NPCHolder - Interface in net.citizensnpcs.npc.ai
- NPCLeftClickEvent - Class in net.citizensnpcs.api.event
-
Called when an NPC is left-clicked by a player.
- NPCLeftClickEvent(NPC, Player) - Constructor for class net.citizensnpcs.api.event.NPCLeftClickEvent
- NPCLoadException - Exception in net.citizensnpcs.api.exception
-
Thrown when an NPC fails to load properly.
- NPCLoadException(String) - Constructor for exception net.citizensnpcs.api.exception.NPCLoadException
- NPCLookCloseChangeTargetEvent - Class in net.citizensnpcs.api.event
- NPCLookCloseChangeTargetEvent(NPC, Player, Player) - Constructor for class net.citizensnpcs.api.event.NPCLookCloseChangeTargetEvent
- NPCNeedsRespawnEvent - Class in net.citizensnpcs
- NPCNeedsRespawnEvent(NPC, Location) - Constructor for class net.citizensnpcs.NPCNeedsRespawnEvent
- NPCOpenDoorEvent - Class in net.citizensnpcs.api.event
- NPCOpenDoorEvent(NPC, Block) - Constructor for class net.citizensnpcs.api.event.NPCOpenDoorEvent
- NPCOpenGateEvent - Class in net.citizensnpcs.api.event
- NPCOpenGateEvent(NPC, Block) - Constructor for class net.citizensnpcs.api.event.NPCOpenGateEvent
- NPCPushEvent - Class in net.citizensnpcs.api.event
- NPCPushEvent(NPC, Vector) - Constructor for class net.citizensnpcs.api.event.NPCPushEvent
- NPCRegistry - Interface in net.citizensnpcs.api.npc
-
Controls the registration and lookup of a set of
NPC
s. - NPCRemoveByCommandSenderEvent - Class in net.citizensnpcs.api.event
- NPCRemoveByCommandSenderEvent(NPC, CommandSender) - Constructor for class net.citizensnpcs.api.event.NPCRemoveByCommandSenderEvent
- NPCRemoveEvent - Class in net.citizensnpcs.api.event
- NPCRemoveEvent(NPC) - Constructor for class net.citizensnpcs.api.event.NPCRemoveEvent
- NPCRemoveTraitEvent - Class in net.citizensnpcs.api.event
- NPCRemoveTraitEvent(NPC, Trait) - Constructor for class net.citizensnpcs.api.event.NPCRemoveTraitEvent
- NPCRightClickEvent - Class in net.citizensnpcs.api.event
-
Called when an NPC is right-clicked by a player.
- NPCRightClickEvent(NPC, Player) - Constructor for class net.citizensnpcs.api.event.NPCRightClickEvent
- NPCS_REMOVED - Static variable in class net.citizensnpcs.util.Messages
- NPCSelectEvent - Class in net.citizensnpcs.api.event
-
Called when an NPC is selected by a player.
- NPCSelectEvent(NPC, CommandSender) - Constructor for class net.citizensnpcs.api.event.NPCSelectEvent
- NPCSelector - Class in net.citizensnpcs.npc
- NPCSelector - Interface in net.citizensnpcs.api.npc
-
Manages the 'selected
NPC
' for the server. - NPCSelector(Plugin) - Constructor for class net.citizensnpcs.npc.NPCSelector
- NPCShopEditor(ShopTrait.NPCShop) - Constructor for class net.citizensnpcs.trait.ShopTrait.NPCShopEditor
- NPCShopItem() - Constructor for class net.citizensnpcs.trait.ShopTrait.NPCShopItem
- NPCShopPage() - Constructor for class net.citizensnpcs.trait.ShopTrait.NPCShopPage
- NPCSpawnEvent - Class in net.citizensnpcs.api.event
-
Called when an NPC spawns.
- NPCSpawnEvent(NPC, Location, SpawnReason) - Constructor for class net.citizensnpcs.api.event.NPCSpawnEvent
- NPCSpeechEvent - Class in net.citizensnpcs.api.ai.speech.event
-
Represents an event where an NPC speaks, with
SpeechContext
. - NPCSpeechEvent(SpeechContext, String) - Constructor for class net.citizensnpcs.api.ai.speech.event.NPCSpeechEvent
- NPCTeleportEvent - Class in net.citizensnpcs.api.event
-
Called when an NPC teleports.
- NPCTeleportEvent(NPC, Location) - Constructor for class net.citizensnpcs.api.event.NPCTeleportEvent
- NPCTraitCommandAttachEvent - Class in net.citizensnpcs.api.event
- NPCTraitCommandAttachEvent(NPC, Class<? extends Trait>, CommandSender) - Constructor for class net.citizensnpcs.api.event.NPCTraitCommandAttachEvent
- NPCTraitCommandDetachEvent - Class in net.citizensnpcs.api.event
- NPCTraitCommandDetachEvent(NPC, Class<? extends Trait>, CommandSender) - Constructor for class net.citizensnpcs.api.event.NPCTraitCommandDetachEvent
- NPCTraitEvent - Class in net.citizensnpcs.api.event
- NPCTraitEvent(NPC, Trait) - Constructor for class net.citizensnpcs.api.event.NPCTraitEvent
- NPCVehicleDamageEvent - Class in net.citizensnpcs.api.event
- NPCVehicleDamageEvent(NPC, VehicleDamageEvent) - Constructor for class net.citizensnpcs.api.event.NPCVehicleDamageEvent
- NUM_LOADED_NOTIFICATION - Static variable in class net.citizensnpcs.util.Messages
O
- ObjectProvider - Class in net.citizensnpcs.api.scripting
- ObjectProvider(String, Object) - Constructor for class net.citizensnpcs.api.scripting.ObjectProvider
- ObjectProvider(String, Callable<Object>) - Constructor for class net.citizensnpcs.api.scripting.ObjectProvider
- OCELOT_TYPE_DEPRECATED - Static variable in class net.citizensnpcs.util.Messages
- OcelotModifiers - Class in net.citizensnpcs.trait
-
Persists Ocelot metadata.
- OcelotModifiers() - Constructor for class net.citizensnpcs.trait.OcelotModifiers
- OFF_HAND - Enum constant in enum net.citizensnpcs.api.trait.trait.Equipment.EquipmentSlot
- offset() - Element in annotation type net.citizensnpcs.api.gui.MenuPattern
-
The offset position to start the pattern at.
- on(Class<? extends Event>, EventHandler) - Method in class net.citizensnpcs.api.scripting.EventRegistrar.Events
- onAttach() - Method in class net.citizensnpcs.api.trait.Trait
-
Called when the trait has been attached to an
NPC
. - onAttach() - Method in class net.citizensnpcs.trait.SkinLayers
- onAttach() - Method in class net.citizensnpcs.trait.waypoint.Waypoints
- onBlockClick(PlayerInteractEvent) - Method in class net.citizensnpcs.editor.CopierEditor
- onChunkLoad(ChunkLoadEvent) - Method in class net.citizensnpcs.EventListen
- onChunkUnload(ChunkUnloadEvent) - Method in class net.citizensnpcs.EventListen
- onCitizensReload(CitizensPreReloadEvent) - Method in class net.citizensnpcs.EventListen
- onClick(InventoryMenuSlot, InventoryClickEvent) - Method in class net.citizensnpcs.api.gui.InventoryMenuPage
- onClick(InventoryMenuSlot, InventoryClickEvent) - Method in class net.citizensnpcs.trait.DropsTrait.DropsGUI
- onClose(HumanEntity) - Method in class net.citizensnpcs.api.gui.InventoryMenuPage
- onClose(HumanEntity) - Method in class net.citizensnpcs.trait.CommandTrait.ItemRequirementGUI
- onClose(HumanEntity) - Method in class net.citizensnpcs.trait.DropsTrait.DropsGUI
- onCommand(CommandSender, Command, String, String[]) - Method in class net.citizensnpcs.Citizens
- onCommandSenderCreateNPC(CommandSenderCreateNPCEvent) - Method in class net.citizensnpcs.EventListen
- onCompletion(CancelReason) - Method in interface net.citizensnpcs.api.ai.event.NavigatorCallback
- onCopy() - Method in class net.citizensnpcs.api.trait.Trait
-
Called when the trait has been newly copied to an
NPC
. - onDependentPluginDisable() - Method in class net.citizensnpcs.Citizens
- onDespawn() - Method in class net.citizensnpcs.api.trait.trait.Inventory
- onDespawn() - Method in class net.citizensnpcs.api.trait.Trait
-
Called just before the attached
NPC
is despawned. - onDespawn() - Method in class net.citizensnpcs.npc.ai.CitizensNavigator
- onDespawn() - Method in class net.citizensnpcs.trait.FollowTrait
- onDespawn() - Method in class net.citizensnpcs.trait.HologramTrait
- onDespawn() - Method in class net.citizensnpcs.trait.LookClose
- onDespawn() - Method in class net.citizensnpcs.trait.MountTrait
- onDespawn() - Method in class net.citizensnpcs.trait.SitTrait
- onDespawn() - Method in class net.citizensnpcs.trait.versioned.BossBarTrait
- onDisable() - Method in class net.citizensnpcs.Citizens
- onEnable() - Method in class net.citizensnpcs.Citizens
- onEntityCombust(EntityCombustEvent) - Method in class net.citizensnpcs.EventListen
- onEntityDamage(EntityDamageEvent) - Method in class net.citizensnpcs.EventListen
- onEntityDeath(EntityDeathEvent) - Method in class net.citizensnpcs.EventListen
- onEntityPortal(EntityPortalEvent) - Method in class net.citizensnpcs.EventListen
- onEntitySpawn(CreatureSpawnEvent) - Method in class net.citizensnpcs.EventListen
- onEntityTarget(EntityTargetEvent) - Method in class net.citizensnpcs.EventListen
- onFinish(NavigationCompleteEvent) - Method in class net.citizensnpcs.api.ai.goals.WanderGoal
- onImplementationChanged() - Method in interface net.citizensnpcs.api.CitizensPlugin
-
Called when the current Citizens implementation is changed
- onImplementationChanged() - Method in class net.citizensnpcs.Citizens
- onInventoryClick(InventoryClickEvent) - Method in class net.citizensnpcs.api.gui.InventoryMenu
- onInventoryClick(InventoryClickEvent) - Method in class net.citizensnpcs.editor.EquipmentEditor
- onInventoryClick(InventoryDragEvent) - Method in class net.citizensnpcs.editor.EquipmentEditor
- onInventoryClose(InventoryCloseEvent) - Method in class net.citizensnpcs.api.gui.InventoryMenu
- onInventoryClose(InventoryCloseEvent) - Method in class net.citizensnpcs.editor.EquipmentEditor
- onInventoryDrag(InventoryDragEvent) - Method in class net.citizensnpcs.api.gui.InventoryMenu
- onMetaDeserialise(CitizensDeserialiseMetaEvent) - Method in class net.citizensnpcs.EventListen
- onMetaSerialise(CitizensSerialiseMetaEvent) - Method in class net.citizensnpcs.EventListen
- onNavigationBegin(NavigationBeginEvent) - Method in class net.citizensnpcs.EventListen
- onNavigationComplete(NavigationCompleteEvent) - Method in class net.citizensnpcs.EventListen
- onNeedsRespawn(NPCNeedsRespawnEvent) - Method in class net.citizensnpcs.EventListen
- onNPCDeath(NPCDeathEvent) - Method in class net.citizensnpcs.trait.DropsTrait
- onNPCDespawn(NPCDespawnEvent) - Method in class net.citizensnpcs.EventListen
- onNPCDespawn(NPC) - Method in class net.citizensnpcs.npc.skin.SkinUpdateTracker
-
Invoke when an NPC is despawned.
- onNPCNavigationBegin(NPC) - Method in class net.citizensnpcs.npc.skin.SkinUpdateTracker
-
Invoke when an NPC begins navigating.
- onNPCNavigationComplete(NPC) - Method in class net.citizensnpcs.npc.skin.SkinUpdateTracker
-
Invoke when an NPC finishes navigating.
- onNPCRemove(NPCRemoveEvent) - Method in class net.citizensnpcs.EventListen
- onNPCRemove(NPCRemoveEvent) - Method in class net.citizensnpcs.npc.NPCSelector
- onNPCRightClick(NPCRightClickEvent) - Method in class net.citizensnpcs.npc.NPCSelector
- onNPCSpawn(NPCSpawnEvent) - Method in class net.citizensnpcs.EventListen
- onNPCSpawn(NPC) - Method in class net.citizensnpcs.npc.skin.SkinUpdateTracker
-
Invoke when an NPC is spawned.
- onPermissionChange(InventoryMenuSlot, CitizensInventoryClickEvent) - Method in class net.citizensnpcs.trait.ShopTrait.NPCShopEditor
- onPlayerChangedWorld(PlayerChangedWorldEvent) - Method in class net.citizensnpcs.EventListen
- onPlayerChangeWorld(PlayerChangedWorldEvent) - Method in class net.citizensnpcs.EventListen
- onPlayerCreateNPC(PlayerCreateNPCEvent) - Method in class net.citizensnpcs.EventListen
- onPlayerCreateNPC(PlayerCreateNPCEvent) - Method in class net.citizensnpcs.PaymentListener
- onPlayerFish(PlayerFishEvent) - Method in class net.citizensnpcs.EventListen
- onPlayerInteract(PlayerInteractEvent) - Method in class net.citizensnpcs.editor.EquipmentEditor
- onPlayerInteractEntity(PlayerInteractEntityEvent) - Method in class net.citizensnpcs.editor.EquipmentEditor
- onPlayerInteractEntity(PlayerInteractEntityEvent) - Method in class net.citizensnpcs.EventListen
- onPlayerJoin(PlayerJoinEvent) - Method in class net.citizensnpcs.EventListen
- onPlayerLeashEntity(PlayerLeashEntityEvent) - Method in class net.citizensnpcs.EventListen
- onPlayerMove(Player) - Method in class net.citizensnpcs.npc.skin.SkinUpdateTracker
-
Invoke when a player moves.
- onPlayerMove(PlayerMoveEvent) - Method in class net.citizensnpcs.EventListen
- onPlayerQuit(PlayerQuitEvent) - Method in class net.citizensnpcs.EventListen
- onPlayerRespawn(PlayerRespawnEvent) - Method in class net.citizensnpcs.EventListen
- onPlayerTeleport(PlayerTeleportEvent) - Method in class net.citizensnpcs.EventListen
- onPluginDisable(PluginDisableEvent) - Method in class net.citizensnpcs.EventListen
- onPotionSplashEvent(PotionSplashEvent) - Method in class net.citizensnpcs.EventListen
- onPreSpawn() - Method in class net.citizensnpcs.api.trait.Trait
-
Called just before the
NPC
is spawned. - onPreSpawn() - Method in class net.citizensnpcs.trait.ArmorStandTrait
- onProjectileHit(ProjectileHitEvent) - Method in class net.citizensnpcs.EventListen
- onReach(NPC) - Method in class net.citizensnpcs.trait.waypoint.Waypoint
-
Runs waypoint triggers for the given NPC.
- onReached(NPC, Block) - Method in interface net.citizensnpcs.api.astar.pathfinder.PathPoint.PathCallback
-
Run once the specificed point is reached.
- onRemove() - Method in class net.citizensnpcs.api.trait.Trait
-
Called when a trait is removed from the attached
NPC
. - onRemove() - Method in class net.citizensnpcs.trait.HologramTrait
- onRemove() - Method in class net.citizensnpcs.trait.waypoint.GuidedWaypointProvider
- onRemove() - Method in class net.citizensnpcs.trait.waypoint.LinearWaypointProvider
- onRemove() - Method in class net.citizensnpcs.trait.waypoint.WanderWaypointProvider
- onRemove() - Method in interface net.citizensnpcs.trait.waypoint.WaypointProvider
-
Called when the provider is removed from the NPC.
- onRemoveNPC() - Method in class net.citizensnpcs.npc.skin.SkinPacketTracker
-
Invoke when the NPC entity is removed.
- onResult(ProfileRequest) - Method in interface net.citizensnpcs.npc.profile.ProfileFetchHandler
-
Invoked when a result for a profile is ready.
- onScriptCompiled(String, ScriptFactory) - Method in interface net.citizensnpcs.api.scripting.CompileCallback
-
Called when the
ScriptFactory
has been compiled successfully. - onShopTypeChange(InventoryMenuSlot, CitizensInventoryClickEvent) - Method in class net.citizensnpcs.trait.ShopTrait.NPCShopEditor
- onSpawn() - Method in class net.citizensnpcs.api.trait.trait.Equipment
- onSpawn() - Method in class net.citizensnpcs.api.trait.trait.Inventory
- onSpawn() - Method in class net.citizensnpcs.api.trait.trait.MobType
- onSpawn() - Method in class net.citizensnpcs.api.trait.Trait
-
Called when an
NPC
is spawned. - onSpawn() - Method in class net.citizensnpcs.npc.ai.CitizensNavigator
- onSpawn() - Method in class net.citizensnpcs.trait.Age
- onSpawn() - Method in class net.citizensnpcs.trait.ArmorStandTrait
- onSpawn() - Method in class net.citizensnpcs.trait.Controllable
- onSpawn() - Method in class net.citizensnpcs.trait.CurrentLocation
- onSpawn() - Method in class net.citizensnpcs.trait.EnderCrystalTrait
- onSpawn() - Method in class net.citizensnpcs.trait.FollowTrait
- onSpawn() - Method in class net.citizensnpcs.trait.Gravity
- onSpawn() - Method in class net.citizensnpcs.trait.HologramTrait
- onSpawn() - Method in class net.citizensnpcs.trait.HorseModifiers
- onSpawn() - Method in class net.citizensnpcs.trait.MountTrait
- onSpawn() - Method in class net.citizensnpcs.trait.OcelotModifiers
- onSpawn() - Method in class net.citizensnpcs.trait.Powered
- onSpawn() - Method in class net.citizensnpcs.trait.RabbitType
- onSpawn() - Method in class net.citizensnpcs.trait.Saddle
- onSpawn() - Method in class net.citizensnpcs.trait.ScoreboardTrait
- onSpawn() - Method in class net.citizensnpcs.trait.SkinLayers
- onSpawn() - Method in class net.citizensnpcs.trait.SlimeSize
- onSpawn() - Method in class net.citizensnpcs.trait.SneakTrait
- onSpawn() - Method in class net.citizensnpcs.trait.versioned.MushroomCowTrait
- onSpawn() - Method in class net.citizensnpcs.trait.versioned.ShulkerTrait
- onSpawn() - Method in class net.citizensnpcs.trait.VillagerProfession
- onSpawn() - Method in class net.citizensnpcs.trait.waypoint.Waypoints
- onSpawn() - Method in class net.citizensnpcs.trait.WolfModifiers
- onSpawn() - Method in class net.citizensnpcs.trait.WoolColor
- onSpawn(NPC) - Method in class net.citizensnpcs.trait.waypoint.GuidedWaypointProvider
- onSpawn(NPC) - Method in class net.citizensnpcs.trait.waypoint.LinearWaypointProvider
- onSpawn(NPC) - Method in class net.citizensnpcs.trait.waypoint.WanderWaypointProvider
- onSpawn(NPC) - Method in interface net.citizensnpcs.trait.waypoint.WaypointProvider
-
Called when the
NPC
attached to this provider is spawned. - onSpawnNPC() - Method in class net.citizensnpcs.npc.skin.SkinPacketTracker
-
Invoke when the NPC entity is spawned.
- onTabComplete(CommandSender, Command, String, String[]) - Method in class net.citizensnpcs.api.command.CommandManager
- onVehicleDamage(VehicleDamageEvent) - Method in class net.citizensnpcs.EventListen
- onVehicleDestroy(VehicleDestroyEvent) - Method in class net.citizensnpcs.EventListen
- onVehicleEnter(VehicleEnterEvent) - Method in class net.citizensnpcs.EventListen
- onWaypointReached(NPC, Location) - Method in class net.citizensnpcs.trait.waypoint.triggers.AnimationTrigger
- onWaypointReached(NPC, Location) - Method in class net.citizensnpcs.trait.waypoint.triggers.ChatTrigger
- onWaypointReached(NPC, Location) - Method in class net.citizensnpcs.trait.waypoint.triggers.DelayTrigger
- onWaypointReached(NPC, Location) - Method in class net.citizensnpcs.trait.waypoint.triggers.SpeedTrigger
- onWaypointReached(NPC, Location) - Method in class net.citizensnpcs.trait.waypoint.triggers.TeleportTrigger
- onWaypointReached(NPC, Location) - Method in interface net.citizensnpcs.trait.waypoint.triggers.WaypointTrigger
- onWorldLoad(WorldLoadEvent) - Method in class net.citizensnpcs.EventListen
- onWorldUnload(WorldUnloadEvent) - Method in class net.citizensnpcs.EventListen
- op(boolean) - Method in class net.citizensnpcs.trait.CommandTrait.NPCCommandBuilder
- open(AStarNode) - Method in interface net.citizensnpcs.api.astar.AStarStorage
-
Close a given
AStarNode
, moving or adding it from the frontier to the open set. - open(AStarNode) - Method in class net.citizensnpcs.api.astar.SimpleAStarStorage
- openAnvilInventory(Player, Inventory, String) - Static method in class net.citizensnpcs.util.NMS
- openAnvilInventory(Player, Inventory, String) - Method in interface net.citizensnpcs.util.NMSBridge
- openHorseScreen(Tameable, Player) - Static method in class net.citizensnpcs.util.NMS
- openHorseScreen(Tameable, Player) - Method in interface net.citizensnpcs.util.NMSBridge
- openInventory(Player) - Method in class net.citizensnpcs.api.trait.trait.Inventory
- optionalEntitySet(String...) - Static method in class net.citizensnpcs.util.Util
- OVER_NPC_LIMIT - Static variable in class net.citizensnpcs.util.Messages
- override(boolean) - Method in class net.citizensnpcs.npc.Template.TemplateBuilder
- Owner - Class in net.citizensnpcs.api.trait.trait
-
Represents the owner of an NPC.
- Owner() - Constructor for class net.citizensnpcs.api.trait.trait.Owner
- OWNER_SET - Static variable in class net.citizensnpcs.util.Messages
- OWNER_SET_SERVER - Static variable in class net.citizensnpcs.util.Messages
- ownership() - Element in annotation type net.citizensnpcs.api.command.Requirements
P
- PACKET_UPDATE_DELAY - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
The packet update delay.
- PACKET_UPDATE_DELAY - Enum constant in enum net.citizensnpcs.Settings.Setting
- Paginator - Class in net.citizensnpcs.api.util
- Paginator() - Constructor for class net.citizensnpcs.api.util.Paginator
- PANDA_HIDDEN_GENE_SET - Static variable in class net.citizensnpcs.util.Messages
- PANDA_MAIN_GENE_SET - Static variable in class net.citizensnpcs.util.Messages
- PANDA_SITTING - Static variable in class net.citizensnpcs.util.Messages
- PANDA_STOPPED_SITTING - Static variable in class net.citizensnpcs.util.Messages
- PandaTrait - Class in net.citizensnpcs.trait.versioned
- PandaTrait() - Constructor for class net.citizensnpcs.trait.versioned.PandaTrait
- ParallelBehavior - Interface in net.citizensnpcs.api.ai.tree
-
A marker interface for
Behavior
s that indicates to any parent nodes that the behavior can be run in parallel along with other behaviors. - PARROT_VARIANT_SET - Static variable in class net.citizensnpcs.util.Messages
- ParrotTrait - Class in net.citizensnpcs.trait.versioned
- ParrotTrait() - Constructor for class net.citizensnpcs.trait.versioned.ParrotTrait
- parseColors(String) - Static method in class net.citizensnpcs.api.util.Colorizer
- parseLocation(Location, String) - Static method in class net.citizensnpcs.api.command.CommandContext
- parseTicks(String) - Method in class net.citizensnpcs.api.command.CommandContext
- PASSABLE - Enum constant in enum net.citizensnpcs.api.astar.pathfinder.BlockExaminer.PassableState
- PASSIVE_SET - Static variable in class net.citizensnpcs.util.Messages
- PASSIVE_UNSET - Static variable in class net.citizensnpcs.util.Messages
- pat() - Element in annotation type net.citizensnpcs.api.gui.MenuSlot
-
For use with patterns.
- pat() - Element in annotation type net.citizensnpcs.api.gui.MenuTransition
-
For use with patterns.
- path - Variable in class net.citizensnpcs.api.util.DataKey
- path - Variable in enum net.citizensnpcs.Settings.Setting
- Path - Class in net.citizensnpcs.api.astar.pathfinder
- Path(Collection<Vector>) - Constructor for class net.citizensnpcs.api.astar.pathfinder.Path
- pathDistanceMargin() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Gets the path distance margin.
- pathDistanceMargin(double) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Sets the path distance margin.
- PATHFINDER_OPEN_DOORS - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
Whether to open doors while pathfinding.
- PATHFINDER_OPEN_DOORS_DISABLED - Static variable in class net.citizensnpcs.util.Messages
- PATHFINDER_OPEN_DOORS_ENABLED - Static variable in class net.citizensnpcs.util.Messages
- PATHFINDER_OPEN_DOORS_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
Whether to open doors while pathfinding.
- PATHFINDING_OPTIONS_ATTACK_RANGE_SET - Static variable in class net.citizensnpcs.util.Messages
- PATHFINDING_OPTIONS_AVOID_WATER_SET - Static variable in class net.citizensnpcs.util.Messages
- PATHFINDING_OPTIONS_AVOID_WATER_UNSET - Static variable in class net.citizensnpcs.util.Messages
- PATHFINDING_OPTIONS_DISTANCE_MARGIN_SET - Static variable in class net.citizensnpcs.util.Messages
- PATHFINDING_OPTIONS_PATH_DISTANCE_MARGIN_SET - Static variable in class net.citizensnpcs.util.Messages
- PATHFINDING_OPTIONS_STATIONARY_TICKS_SET - Static variable in class net.citizensnpcs.util.Messages
- PATHFINDING_OPTIONS_USE_NEW_FINDER - Static variable in class net.citizensnpcs.util.Messages
- PATHFINDING_RANGE_SET - Static variable in class net.citizensnpcs.util.Messages
- PathPoint - Interface in net.citizensnpcs.api.astar.pathfinder
- PathPoint.PathCallback - Interface in net.citizensnpcs.api.astar.pathfinder
- PathStrategy - Interface in net.citizensnpcs.api.ai
-
A pathfinding strategy directed at a target.
- pause() - Method in class net.citizensnpcs.api.ai.goals.WanderGoal
- PaymentListener - Class in net.citizensnpcs
- PaymentListener(Economy) - Constructor for class net.citizensnpcs.PaymentListener
- PENDING - Enum constant in enum net.citizensnpcs.npc.profile.ProfileFetchResult
-
The profile has not been fetched yet.
- PENDING_RESPAWN - Enum constant in enum net.citizensnpcs.api.event.DespawnReason
- PercentageSlotHandler - Class in net.citizensnpcs.api.gui
- PercentageSlotHandler(Function<Integer, String>) - Constructor for class net.citizensnpcs.api.gui.PercentageSlotHandler
- PercentageSlotHandler(Function<Integer, String>, int) - Constructor for class net.citizensnpcs.api.gui.PercentageSlotHandler
- permission() - Element in annotation type net.citizensnpcs.api.command.Command
-
The permission of the command.
- Persist - Annotation Type in net.citizensnpcs.api.persistence
-
Tells the
PersistenceLoader
to persist this field by saving and loading it intoDataKey
s. - Persistable - Interface in net.citizensnpcs.api.persistence
-
A persistable instance that can be saved and loaded using
DataKey
- PersistenceLoader - Class in net.citizensnpcs.api.persistence
-
The main registry for managing reflective, recursive
NPC
persistence. - PersistenceLoader() - Constructor for class net.citizensnpcs.api.persistence.PersistenceLoader
- Persister<T> - Interface in net.citizensnpcs.api.persistence
- PHANTOM_STATE_SET - Static variable in class net.citizensnpcs.util.Messages
- PhantomTrait - Class in net.citizensnpcs.trait.versioned
- PhantomTrait() - Constructor for class net.citizensnpcs.trait.versioned.PhantomTrait
- PLACEHOLDER_SKIN_UPDATE_FREQUENCY - Enum constant in enum net.citizensnpcs.Settings.Setting
- Placeholders - Class in net.citizensnpcs.api.util
- Placeholders() - Constructor for class net.citizensnpcs.api.util.Placeholders
- Plan - Interface in net.citizensnpcs.api.astar
-
An abstract plan returned by the
AStarGoal
that should be run until completion. - play(Player) - Method in enum net.citizensnpcs.util.PlayerAnimation
- play(Player, int) - Method in enum net.citizensnpcs.util.PlayerAnimation
- playAnimation(PlayerAnimation, Player, int) - Static method in class net.citizensnpcs.util.NMS
- playAnimation(PlayerAnimation, Player, int) - Method in interface net.citizensnpcs.util.NMSBridge
- player(boolean) - Method in class net.citizensnpcs.trait.CommandTrait.NPCCommandBuilder
- PLAYER_NOT_FOUND_FOR_SPAWN - Static variable in class net.citizensnpcs.api.command.CommandMessages
- PLAYER_NOT_FOUND_FOR_SPAWN - Static variable in class net.citizensnpcs.util.Messages
- PLAYER_SKIN_TEXTURE_PROPERTIES - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
Deprecated.
- PLAYER_SKIN_TEXTURE_PROPERTIES_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
Deprecated.
- PLAYER_SKIN_TEXTURE_PROPERTIES_SIGN - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
Deprecated.
- PLAYER_SKIN_TEXTURE_PROPERTIES_SIGN_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
Deprecated.
- PLAYER_SKIN_USE_LATEST - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
Deprecated.
- PLAYER_SKIN_USE_LATEST - Static variable in interface net.citizensnpcs.api.npc.NPC
-
Deprecated.
- PLAYER_SKIN_UUID - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
Deprecated.
- PLAYER_SKIN_UUID_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
Deprecated.
- PlayerAnimation - Enum in net.citizensnpcs.util
- PlayerCloneNPCEvent - Class in net.citizensnpcs.api.event
- PlayerCloneNPCEvent(Player, NPC, NPC) - Constructor for class net.citizensnpcs.api.event.PlayerCloneNPCEvent
- PlayerCreateNPCEvent - Class in net.citizensnpcs.api.event
- PlayerCreateNPCEvent(Player, NPC) - Constructor for class net.citizensnpcs.api.event.PlayerCreateNPCEvent
- PlayerInputAirController() - Constructor for class net.citizensnpcs.trait.Controllable.PlayerInputAirController
- playerTick(Player) - Static method in class net.citizensnpcs.util.NMS
- playerTick(Player) - Method in interface net.citizensnpcs.util.NMSBridge
- PlayerUpdateTask - Class in net.citizensnpcs.util
- PlayerUpdateTask() - Constructor for class net.citizensnpcs.util.PlayerUpdateTask
- PLUGIN - Enum constant in enum net.citizensnpcs.api.ai.event.CancelReason
- PLUGIN - Enum constant in enum net.citizensnpcs.api.event.DespawnReason
- PLUGIN - Enum constant in enum net.citizensnpcs.api.event.SpawnReason
- POLAR_BEAR_REARING - Static variable in class net.citizensnpcs.util.Messages
- POLAR_BEAR_STOPPED_REARING - Static variable in class net.citizensnpcs.util.Messages
- PolarBearTrait - Class in net.citizensnpcs.trait.versioned
- PolarBearTrait() - Constructor for class net.citizensnpcs.trait.versioned.PolarBearTrait
- pos() - Element in annotation type net.citizensnpcs.api.gui.MenuTransition
-
The position of the slot within the inventory.
- Pose - Class in net.citizensnpcs.util
- Pose(String, float, float) - Constructor for class net.citizensnpcs.util.Pose
- POSE_ADDED - Static variable in class net.citizensnpcs.util.Messages
- POSE_ALREADY_EXISTS - Static variable in class net.citizensnpcs.util.Messages
- POSE_MISSING - Static variable in class net.citizensnpcs.util.Messages
- POSE_REMOVED - Static variable in class net.citizensnpcs.util.Messages
- Poses - Class in net.citizensnpcs.trait
-
Persists named
Pose
s. - Poses() - Constructor for class net.citizensnpcs.trait.Poses
- Powered - Class in net.citizensnpcs.trait
-
Persists
Creeper
powered status. - Powered() - Constructor for class net.citizensnpcs.trait.Powered
- POWERED_SET - Static variable in class net.citizensnpcs.util.Messages
- POWERED_STOPPED - Static variable in class net.citizensnpcs.util.Messages
- Precondition - Class in net.citizensnpcs.api.ai.tree
- Precondition(Condition) - Constructor for class net.citizensnpcs.api.ai.tree.Precondition
- PREFIX - Static variable in class net.citizensnpcs.api.util.Translator
- present(Player) - Method in class net.citizensnpcs.api.gui.InventoryMenu
-
Display the menu to the given player.
- prettyEnum(Enum<?>) - Static method in class net.citizensnpcs.util.Util
- prettyPrintLocation(Location) - Static method in class net.citizensnpcs.util.Util
- PrioritisableGoal - Interface in net.citizensnpcs.api.ai
-
A dynamically prioritisable
Goal
. - prioritySelectionFunction() - Static method in class net.citizensnpcs.api.ai.tree.Selectors
-
Returns a default priority selection function that assumes the input
Behavior
s implementComparable
. - prioritySelector(Comparator<Behavior>, Collection<Behavior>) - Static method in class net.citizensnpcs.api.ai.tree.Selectors
- prioritySelector(Comparator<Behavior>, Behavior...) - Static method in class net.citizensnpcs.api.ai.tree.Selectors
- process(CommandSender, CommandContext, Annotation, Object[]) - Method in interface net.citizensnpcs.api.command.CommandAnnotationProcessor
- process(CommandSender, CommandContext, Annotation, Object[]) - Method in class net.citizensnpcs.api.command.RequirementsProcessor
- PROFESSION_SET - Static variable in class net.citizensnpcs.util.Messages
- ProfileFetcher - Class in net.citizensnpcs.npc.profile
-
Fetches game profiles that include skin data from Mojang servers.
- ProfileFetchHandler - Interface in net.citizensnpcs.npc.profile
-
Interface for a subscriber of the results of a profile fetch.
- ProfileFetchResult - Enum in net.citizensnpcs.npc.profile
-
The result status of a profile fetch.
- ProfileRequest - Class in net.citizensnpcs.npc.profile
-
Stores basic information about a single profile used to request profiles from the Mojang servers.
- ProfileRequest(String, ProfileFetchHandler) - Constructor for class net.citizensnpcs.npc.profile.ProfileRequest
-
Constructor.
- provide(Script) - Method in interface net.citizensnpcs.api.scripting.ContextProvider
-
Provides context to a script, such as via
Script.setAttribute(String, Object)
. - provide(Script) - Method in class net.citizensnpcs.api.scripting.EventRegistrar
- provide(Script) - Method in class net.citizensnpcs.api.scripting.ObjectProvider
- PUFFERFISH_STATE_SET - Static variable in class net.citizensnpcs.util.Messages
- PufferFishTrait - Class in net.citizensnpcs.trait.versioned
- PufferFishTrait() - Constructor for class net.citizensnpcs.trait.versioned.PufferFishTrait
R
- RABBIT_TYPE_SET - Static variable in class net.citizensnpcs.util.Messages
- RabbitType - Class in net.citizensnpcs.trait
-
Persists Rabbit metadata.
- RabbitType() - Constructor for class net.citizensnpcs.trait.RabbitType
- radius() - Method in class net.citizensnpcs.api.npc.BlockBreaker.BlockBreakerConfiguration
- radius(double) - Method in class net.citizensnpcs.api.ai.goals.TargetNearbyEntityGoal.Builder
- radius(double) - Method in class net.citizensnpcs.api.npc.BlockBreaker.BlockBreakerConfiguration
- RadiusNPCFlock - Class in net.citizensnpcs.api.ai.flocking
-
A dynamic flock of NPCs that checks for entity NPCs within a certain block radius.
- RadiusNPCFlock(double) - Constructor for class net.citizensnpcs.api.ai.flocking.RadiusNPCFlock
- RadiusNPCFlock(double, int) - Constructor for class net.citizensnpcs.api.ai.flocking.RadiusNPCFlock
- RANDOM - Enum constant in enum net.citizensnpcs.trait.CommandTrait.ExecutionMode
- range() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
- range(float) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Sets the pathfinding range in blocks.
- readTag() - Method in class net.citizensnpcs.api.jnbt.NBTInputStream
-
Reads an NBT tag from the stream.
- reconstructSolution() - Method in class net.citizensnpcs.api.hpastar.ReversableAStarNode
- register(Class<?>) - Method in class net.citizensnpcs.api.command.CommandManager
-
Register a class that contains commands (methods annotated with
Command
). - register(Class<? extends VocalChord>, String) - Method in interface net.citizensnpcs.api.ai.speech.SpeechFactory
-
Registers a
VocalChord
class with the SpeechController, making it available for use within. - register(Class<? extends VocalChord>, String) - Method in class net.citizensnpcs.npc.ai.speech.CitizensSpeechFactory
- registerAnnotationProcessor(CommandAnnotationProcessor) - Method in class net.citizensnpcs.api.command.CommandManager
-
Registers an
CommandAnnotationProcessor
that can process annotations before a command is executed. - registerCommandClass(Class<?>) - Method in class net.citizensnpcs.Citizens
- registerControllerType(EntityType, Class<? extends Controllable.MovementController>) - Static method in class net.citizensnpcs.trait.Controllable
-
Register a movement controller for a certain
EntityType
to be used forNPC
s with that type. - registerEntityClass(Class<?>) - Static method in class net.citizensnpcs.util.NMS
- registerEntityClass(Class<?>) - Method in interface net.citizensnpcs.util.NMSBridge
- registerEvents(Listener) - Static method in class net.citizensnpcs.api.CitizensAPI
-
A helper method for registering events using the current implementation's
Plugin
. - registerGlobalContextProvider(ContextProvider) - Method in class net.citizensnpcs.api.scripting.ScriptCompiler
-
Registers a global
ContextProvider
, which will be invoked on all scripts created by this ScriptCompiler. - registerPersistDelegate(Class<?>, Class<? extends Persister<?>>) - Static method in class net.citizensnpcs.api.persistence.PersistenceLoader
-
Registers a
Persister
redirect. - registerPlayer(Entity) - Static method in class net.citizensnpcs.util.PlayerUpdateTask
- registerTabCompletion(JavaPlugin) - Method in class net.citizensnpcs.api.command.CommandManager
- registerTrait(TraitInfo) - Method in interface net.citizensnpcs.api.trait.TraitFactory
-
Registers a trait using the given information.
- registerTrait(TraitInfo) - Method in class net.citizensnpcs.npc.CitizensTraitFactory
- registerWaypointProvider(Class<? extends WaypointProvider>, String) - Static method in class net.citizensnpcs.trait.waypoint.Waypoints
-
Registers a
WaypointProvider
, which can be subsequently used by NPCs. - reify() - Element in annotation type net.citizensnpcs.api.persistence.Persist
-
Whether to use PersistenceLoader to load/save the value of this class.
- reload() - Method in class net.citizensnpcs.Citizens
- reload() - Method in class net.citizensnpcs.Settings
- RELOAD - Enum constant in enum net.citizensnpcs.api.event.DespawnReason
- reloadFromSource() - Method in class net.citizensnpcs.api.npc.MemoryNPCDataStore
- reloadFromSource() - Method in interface net.citizensnpcs.api.npc.NPCDataStore
-
Reloads the data store from source (such as a file on disk).
- reloadFromSource() - Method in class net.citizensnpcs.api.npc.SimpleNPCDataStore
- REMOVAL - Enum constant in enum net.citizensnpcs.api.event.DespawnReason
- remove() - Method in class net.citizensnpcs.npc.AbstractEntityController
- remove() - Method in interface net.citizensnpcs.npc.EntityController
- remove(int) - Method in class net.citizensnpcs.trait.text.Text
-
Remove text at a given index.
- remove(String) - Method in interface net.citizensnpcs.api.npc.MetadataStore
-
Removes any metadata at the given metadata key.
- remove(String) - Method in class net.citizensnpcs.api.npc.SimpleMetadataStore
- remove(HPAGraphNode...) - Method in class net.citizensnpcs.api.hpastar.HPACluster
- remove(Entity) - Static method in class net.citizensnpcs.util.NMS
- remove(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- REMOVE_FROM_PLAYERLIST - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
Whether to remove players from the player list.
- REMOVE_FROM_PLAYERLIST_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
Whether to remove players from the player list.
- REMOVE_INCORRECT_SYNTAX - Static variable in class net.citizensnpcs.util.Messages
- REMOVE_PLAYERS_FROM_PLAYER_LIST - Enum constant in enum net.citizensnpcs.Settings.Setting
- removeAnchor(Anchor) - Method in class net.citizensnpcs.trait.Anchors
- removeBehavior(Behavior) - Method in interface net.citizensnpcs.api.ai.GoalController
-
Removes the given
Behavior
from rotation. - removeBehavior(Behavior) - Method in class net.citizensnpcs.api.ai.SimpleGoalController
- removeBehavior(Behavior) - Method in class net.citizensnpcs.api.ai.tree.Composite
- removeBestNode() - Method in interface net.citizensnpcs.api.astar.AStarStorage
-
Returns the best node from the frontier and removes it.
- removeBestNode() - Method in class net.citizensnpcs.api.astar.SimpleAStarStorage
- removeCommandById(int) - Method in class net.citizensnpcs.trait.CommandTrait
- REMOVED_ALL_NPCS - Static variable in class net.citizensnpcs.util.Messages
- REMOVED_FROM_PLAYERLIST - Static variable in class net.citizensnpcs.util.Messages
- REMOVED_SCOREBOARD_TAGS - Static variable in class net.citizensnpcs.util.Messages
- removeFromServerPlayerList(Player) - Static method in class net.citizensnpcs.util.NMS
- removeFromServerPlayerList(Player) - Method in interface net.citizensnpcs.util.NMSBridge
- removeFromWorld(Entity) - Static method in class net.citizensnpcs.util.NMS
- removeFromWorld(Entity) - Method in interface net.citizensnpcs.util.NMSBridge
- removeGoal(Goal) - Method in interface net.citizensnpcs.api.ai.GoalController
-
Removes a
Goal
from rotation. - removeGoal(Goal) - Method in class net.citizensnpcs.api.ai.SimpleGoalController
- removeHookIfNecessary(NPCRegistry, FishHook) - Static method in class net.citizensnpcs.util.NMS
- removeHookIfNecessary(NPCRegistry, FishHook) - Method in interface net.citizensnpcs.util.NMSBridge
- removeKey(String) - Method in class net.citizensnpcs.api.util.DataKey
- removeKey(String) - Method in class net.citizensnpcs.api.util.MemoryDataKey
- removeKey(String) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
- removeKey(String) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
- removeLine(int) - Method in class net.citizensnpcs.trait.HologramTrait
-
Removes the line at the specified index
- removeMarker(T) - Method in class net.citizensnpcs.trait.waypoint.EntityMarkers
- removeNamedNPCRegistry(String) - Static method in class net.citizensnpcs.api.CitizensAPI
-
Removes any previously created
NPCRegistry
stored under the given name. - removeNamedNPCRegistry(String) - Method in interface net.citizensnpcs.api.CitizensPlugin
-
Removes the named NPCRegistry with the given name.
- removeNamedNPCRegistry(String) - Method in class net.citizensnpcs.Citizens
- RemoveNPCHistoryItem - Class in net.citizensnpcs.commands.history
- RemoveNPCHistoryItem(NPC) - Constructor for class net.citizensnpcs.commands.history.RemoveNPCHistoryItem
- removePlayer(UUID) - Method in class net.citizensnpcs.npc.skin.SkinUpdateTracker
-
Remove a player from the tracker.
- removePose(String) - Method in class net.citizensnpcs.trait.Poses
- removeRegionCentre(Location) - Method in class net.citizensnpcs.trait.waypoint.WanderWaypointProvider
- removeRegionCentres(Collection<Location>) - Method in class net.citizensnpcs.trait.waypoint.WanderWaypointProvider
- removeRunCallback(Runnable) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
Removes a previously added run callback.
- removeScripts(List<String>) - Method in class net.citizensnpcs.trait.ScriptTrait
-
Removes the given script file names.
- removeTag(String) - Method in class net.citizensnpcs.trait.ScoreboardTrait
- removeTeamFor(NPC, String) - Static method in class net.citizensnpcs.util.Util
- removeTrait(Class<? extends Trait>) - Method in class net.citizensnpcs.api.npc.AbstractNPC
- removeTrait(Class<? extends Trait>) - Method in interface net.citizensnpcs.api.npc.NPC
-
Removes a trait from this NPC.
- replace(String, CommandSender, NPC) - Static method in class net.citizensnpcs.api.util.Placeholders
- replace(String, OfflinePlayer) - Static method in class net.citizensnpcs.api.util.Placeholders
- REPLACE - Enum constant in enum net.citizensnpcs.api.ai.event.CancelReason
- replaceTrackerEntry(Player) - Static method in class net.citizensnpcs.util.NMS
- replaceTrackerEntry(Player) - Method in interface net.citizensnpcs.util.NMSBridge
- REPORT_ERROR - Static variable in class net.citizensnpcs.api.command.CommandMessages
- required() - Element in annotation type net.citizensnpcs.api.persistence.Persist
-
Whether a value must be present at load time.
- RequirementMissingException - Exception in net.citizensnpcs.api.command.exception
- RequirementMissingException(String) - Constructor for exception net.citizensnpcs.api.command.exception.RequirementMissingException
- Requirements - Annotation Type in net.citizensnpcs.api.command
- REQUIREMENTS_INVALID_MOB_TYPE - Static variable in class net.citizensnpcs.api.command.CommandMessages
- REQUIREMENTS_MUST_BE_LIVING_ENTITY - Static variable in class net.citizensnpcs.api.command.CommandMessages
- RequirementsProcessor - Class in net.citizensnpcs.api.command
- RequirementsProcessor() - Constructor for class net.citizensnpcs.api.command.RequirementsProcessor
- requiresFlags() - Element in annotation type net.citizensnpcs.api.command.Command
-
Whether a flag or value flag MUST be used for this command.
- requiresNameHologram() - Method in class net.citizensnpcs.api.npc.AbstractNPC
- requiresNameHologram() - Method in interface net.citizensnpcs.api.npc.NPC
- requiresNameHologram() - Method in class net.citizensnpcs.npc.CitizensNPC
- reset() - Method in interface net.citizensnpcs.api.ai.Goal
-
Resets the goal and any resources or state it is holding.
- reset() - Method in class net.citizensnpcs.api.ai.goals.MoveToGoal
- reset() - Method in class net.citizensnpcs.api.ai.goals.TargetNearbyEntityGoal
- reset() - Method in class net.citizensnpcs.api.ai.goals.WanderGoal
- reset() - Method in interface net.citizensnpcs.api.ai.tree.Behavior
-
Resets the behavior and any state it is holding.
- reset() - Method in class net.citizensnpcs.api.ai.tree.Composite
- reset() - Method in class net.citizensnpcs.api.ai.tree.Decorator
- reset() - Method in class net.citizensnpcs.api.ai.tree.Empty
- reset() - Method in class net.citizensnpcs.api.ai.tree.ForwardingBehaviorGoalAdapter
- reset() - Method in class net.citizensnpcs.api.ai.tree.IfElse
- reset() - Method in class net.citizensnpcs.api.ai.tree.Loop
- reset() - Method in class net.citizensnpcs.api.ai.tree.Selector
- reset() - Method in class net.citizensnpcs.api.ai.tree.Sequence
- reset() - Method in class net.citizensnpcs.api.ai.tree.StatusMapper
- reset() - Method in class net.citizensnpcs.api.ai.tree.TimerDecorator
- reset() - Static method in class net.citizensnpcs.npc.profile.ProfileFetcher
-
Clear all queued and cached requests.
- reset() - Method in class net.citizensnpcs.npc.skin.SkinUpdateTracker
-
Reset all players currently being tracked.
- reset() - Method in class net.citizensnpcs.util.AbstractBlockBreaker
- RESET_AND_REMOVE - Enum constant in enum net.citizensnpcs.api.ai.tree.BehaviorStatus
- ResourceTranslationProvider - Class in net.citizensnpcs.api.util
- ResourceTranslationProvider(String, Class<?>) - Constructor for class net.citizensnpcs.api.util.ResourceTranslationProvider
- RESPAWN - Enum constant in enum net.citizensnpcs.api.event.SpawnReason
- RESPAWN_DELAY - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
The Integer delay to respawn in ticks after death.
- RESPAWN_DELAY_DESCRIBE - Static variable in class net.citizensnpcs.util.Messages
- RESPAWN_DELAY_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
The Integer delay to respawn in ticks after death.
- RESPAWN_DELAY_SET - Static variable in class net.citizensnpcs.util.Messages
- ResultSetHandler<T> - Interface in net.citizensnpcs.api.util
-
Implementations of this interface convert ResultSets into other objects.
- retryChildren() - Method in class net.citizensnpcs.api.ai.tree.Selector.Builder
-
Sets whether to retry child
Behavior
s when they returnBehaviorStatus.FAILURE
. - retryChildren() - Method in class net.citizensnpcs.api.ai.tree.Selector
- retryChildren() - Method in class net.citizensnpcs.api.ai.tree.Sequence
- retryChildren(boolean) - Method in class net.citizensnpcs.api.ai.tree.Selector.Builder
-
Sets whether to retry child
Behavior
s when they returnBehaviorStatus.FAILURE
. - RETURN_PROMPT_KEY - Static variable in interface net.citizensnpcs.trait.waypoint.triggers.WaypointTriggerPrompt
- ReversableAStarNode - Class in net.citizensnpcs.api.hpastar
- ReversableAStarNode() - Constructor for class net.citizensnpcs.api.hpastar.ReversableAStarNode
- RIGHT - Enum constant in enum net.citizensnpcs.trait.CommandTrait.Hand
- RIGHT_PANTS - Enum constant in enum net.citizensnpcs.trait.SkinLayers.Layer
- RIGHT_SLEEVE - Enum constant in enum net.citizensnpcs.trait.SkinLayers.Layer
- rightClick(PlayerInteractEvent) - Method in class net.citizensnpcs.trait.Controllable.GroundController
- rightClick(PlayerInteractEvent) - Method in class net.citizensnpcs.trait.Controllable.LookAirController
- rightClick(PlayerInteractEvent) - Method in interface net.citizensnpcs.trait.Controllable.MovementController
- rightClick(PlayerInteractEvent) - Method in class net.citizensnpcs.trait.Controllable.PlayerInputAirController
- rightClickEntity(NPCRightClickEvent) - Method in class net.citizensnpcs.trait.Controllable.GroundController
- rightClickEntity(NPCRightClickEvent) - Method in class net.citizensnpcs.trait.Controllable.LookAirController
- rightClickEntity(NPCRightClickEvent) - Method in interface net.citizensnpcs.trait.Controllable.MovementController
- rightClickEntity(NPCRightClickEvent) - Method in class net.citizensnpcs.trait.Controllable.PlayerInputAirController
- rotateHeadYawTowards(int, float, float) - Method in class net.citizensnpcs.trait.SmoothRotationTrait.RotationParams
- rotatePitchTowards(int, float, float) - Method in class net.citizensnpcs.trait.SmoothRotationTrait.RotationParams
- rotateToFace(Entity) - Method in class net.citizensnpcs.trait.SmoothRotationTrait
-
Rotates to face target entity
- rotateToFace(Location) - Method in class net.citizensnpcs.trait.SmoothRotationTrait
-
Rotates to face target location
- rotateToHave(float, float) - Method in class net.citizensnpcs.trait.SmoothRotationTrait
- RotationParams() - Constructor for class net.citizensnpcs.trait.SmoothRotationTrait.RotationParams
- run() - Method in class net.citizensnpcs.api.ai.flocking.Flocker
- run() - Method in class net.citizensnpcs.api.ai.goals.MoveToGoal
- run() - Method in class net.citizensnpcs.api.ai.goals.TargetNearbyEntityGoal
- run() - Method in class net.citizensnpcs.api.ai.goals.WanderGoal
- run() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
-
FOR INTERNAL USE ONLY: ticks all
Runnable
callbacks. - run() - Method in class net.citizensnpcs.api.ai.SimpleGoalController
- run() - Method in interface net.citizensnpcs.api.ai.tree.Behavior
-
Runs the behavior for one 'tick', optionally changing the state that it is in.
- run() - Method in class net.citizensnpcs.api.ai.tree.Decorator
- run() - Method in class net.citizensnpcs.api.ai.tree.Empty
- run() - Method in class net.citizensnpcs.api.ai.tree.ForwardingBehaviorGoalAdapter
- run() - Method in class net.citizensnpcs.api.ai.tree.IfElse
- run() - Method in class net.citizensnpcs.api.ai.tree.Loop
- run() - Method in class net.citizensnpcs.api.ai.tree.Selector
- run() - Method in class net.citizensnpcs.api.ai.tree.Sequence
- run() - Method in class net.citizensnpcs.api.ai.tree.StatusMapper
- run() - Method in class net.citizensnpcs.api.ai.tree.TimerDecorator
- run() - Method in class net.citizensnpcs.api.gui.InventoryMenu
- run() - Method in class net.citizensnpcs.api.gui.InventoryMenuPage
- run() - Method in class net.citizensnpcs.api.trait.trait.Equipment
- run() - Method in class net.citizensnpcs.api.trait.trait.Inventory
- run() - Method in class net.citizensnpcs.api.trait.Trait
-
Called every tick if overridden.
- run() - Method in class net.citizensnpcs.npc.ai.CitizensNavigator
- run() - Method in class net.citizensnpcs.trait.Age
- run() - Method in class net.citizensnpcs.trait.ArmorStandTrait
- run() - Method in class net.citizensnpcs.trait.CommandTrait.ItemRequirementGUI
- run() - Method in class net.citizensnpcs.trait.Controllable
- run() - Method in class net.citizensnpcs.trait.CurrentLocation
- run() - Method in class net.citizensnpcs.trait.DropsTrait.DropsGUI
- run() - Method in class net.citizensnpcs.trait.EndermanTrait
- run() - Method in class net.citizensnpcs.trait.FollowTrait
- run() - Method in class net.citizensnpcs.trait.GameModeTrait
- run() - Method in class net.citizensnpcs.trait.Gravity
- run() - Method in class net.citizensnpcs.trait.HologramTrait
- run() - Method in class net.citizensnpcs.trait.HorseModifiers
- run() - Method in class net.citizensnpcs.trait.LookClose
- run() - Method in class net.citizensnpcs.trait.MountTrait
- run() - Method in class net.citizensnpcs.trait.Poses
- run() - Method in class net.citizensnpcs.trait.ScriptTrait
- run() - Method in class net.citizensnpcs.trait.SheepTrait
- run() - Method in class net.citizensnpcs.trait.SitTrait
- run() - Method in class net.citizensnpcs.trait.SkinTrait
- run() - Method in class net.citizensnpcs.trait.SmoothRotationTrait
- run() - Method in class net.citizensnpcs.trait.SneakTrait
- run() - Method in class net.citizensnpcs.trait.text.Text
- run() - Method in class net.citizensnpcs.trait.versioned.AxolotlTrait
- run() - Method in class net.citizensnpcs.trait.versioned.BeeTrait
- run() - Method in class net.citizensnpcs.trait.versioned.BossBarTrait
- run() - Method in class net.citizensnpcs.trait.versioned.CatTrait
- run() - Method in class net.citizensnpcs.trait.versioned.FoxTrait
- run() - Method in class net.citizensnpcs.trait.versioned.FrogTrait
- run() - Method in class net.citizensnpcs.trait.versioned.GoatTrait
- run() - Method in class net.citizensnpcs.trait.versioned.LlamaTrait
- run() - Method in class net.citizensnpcs.trait.versioned.MushroomCowTrait
- run() - Method in class net.citizensnpcs.trait.versioned.PandaTrait
- run() - Method in class net.citizensnpcs.trait.versioned.ParrotTrait
- run() - Method in class net.citizensnpcs.trait.versioned.PhantomTrait
- run() - Method in class net.citizensnpcs.trait.versioned.PolarBearTrait
- run() - Method in class net.citizensnpcs.trait.versioned.ShulkerTrait
- run() - Method in class net.citizensnpcs.trait.versioned.SnowmanTrait
- run() - Method in class net.citizensnpcs.trait.versioned.TropicalFishTrait
- run() - Method in class net.citizensnpcs.trait.versioned.VillagerTrait
- run() - Method in class net.citizensnpcs.trait.WitherTrait
- run() - Method in class net.citizensnpcs.util.AbstractBlockBreaker
- run() - Method in class net.citizensnpcs.util.PlayerUpdateTask
- run(String, String) - Method in class net.citizensnpcs.api.scripting.ScriptCompiler
- run(String, String, Map<String, Object>) - Method in class net.citizensnpcs.api.scripting.ScriptCompiler
-
Run the given source code.
- run(GoalSelector) - Method in interface net.citizensnpcs.api.ai.Goal
-
Updates the goal.
- run(GoalSelector) - Method in class net.citizensnpcs.api.ai.tree.BehaviorGoalAdapter
- run(AStarMachine.AStarState) - Method in class net.citizensnpcs.api.astar.AStarMachine
-
Runs the
AStarMachine<N extends AStarNode,
until a plan is found.P extends Plan>.AStarState - run(AStarMachine.AStarState, int) - Method in class net.citizensnpcs.api.astar.AStarMachine
-
Runs the machine using the given
AStarMachine<N extends AStarNode,
'sP extends Plan>.AStarState AStarStorage
. - run(NPC) - Method in class net.citizensnpcs.api.astar.pathfinder.Path
- run(NPC, Navigator) - Method in interface net.citizensnpcs.api.ai.StuckAction
-
Called when the
Navigator
reports that it is stuck. - run(NPC, Navigator) - Method in class net.citizensnpcs.api.ai.TeleportStuckAction
- run(NPC, Block, ListIterator<Block>) - Method in interface net.citizensnpcs.api.astar.pathfinder.PathPoint.PathCallback
-
Run every tick when moving towards a specific block.
- run(SmoothRotationTrait.EntityRotation) - Method in class net.citizensnpcs.trait.SmoothRotationTrait.SmoothRotationSession
- run(Player) - Method in class net.citizensnpcs.trait.Controllable.GroundController
- run(Player) - Method in class net.citizensnpcs.trait.Controllable.LookAirController
- run(Player) - Method in interface net.citizensnpcs.trait.Controllable.MovementController
- run(Player) - Method in class net.citizensnpcs.trait.Controllable.PlayerInputAirController
- RUN_ANYWAY - Enum constant in enum net.citizensnpcs.trait.CommandTrait.ErrorHandling
- runFully(AStarGoal<N>, N) - Method in class net.citizensnpcs.api.astar.AStarMachine
-
Runs the machine until a plan is either found or cannot be generated.
- runFully(AStarGoal<N>, N, int) - Method in class net.citizensnpcs.api.astar.AStarMachine
-
Runs the machine fully until the iteration limit has been exceeded.
- RUNNING - Enum constant in enum net.citizensnpcs.api.ai.tree.BehaviorStatus
-
Indicates that the
Behavior
is still running and should be continued next tick. - runPrecondition(Condition) - Static method in class net.citizensnpcs.api.ai.tree.Precondition
-
Creates a
Precondition
that returns eitherBehaviorStatus.SUCCESS
orBehaviorStatus.FAILURE
depending on the underlyingCondition
's return status.
S
- Saddle - Class in net.citizensnpcs.trait
-
Persists saddle metadata.
- Saddle() - Constructor for class net.citizensnpcs.trait.Saddle
- SADDLED_SET - Static variable in class net.citizensnpcs.util.Messages
- SADDLED_STOPPED - Static variable in class net.citizensnpcs.util.Messages
- save() - Method in class net.citizensnpcs.api.util.NBTStorage
- save() - Method in interface net.citizensnpcs.api.util.Storage
-
Saves the in-memory aspects of the storage to disk.
- save() - Method in class net.citizensnpcs.api.util.YamlStorage
- save() - Method in class net.citizensnpcs.npc.Template.TemplateBuilder
- save() - Method in class net.citizensnpcs.Settings
- save(Object, DataKey) - Static method in class net.citizensnpcs.api.persistence.PersistenceLoader
- save(UUID, DataKey) - Method in class net.citizensnpcs.api.persistence.UUIDPersister
- save(InventoryMenuSlot, CitizensInventoryClickEvent) - Method in class net.citizensnpcs.api.gui.InputMenu
- save(DataKey) - Method in class net.citizensnpcs.api.npc.AbstractNPC
- save(DataKey) - Method in interface net.citizensnpcs.api.npc.NPC
- save(DataKey) - Method in interface net.citizensnpcs.api.persistence.Persistable
- save(DataKey) - Method in class net.citizensnpcs.api.trait.trait.Equipment
- save(DataKey) - Method in class net.citizensnpcs.api.trait.trait.Inventory
- save(DataKey) - Method in class net.citizensnpcs.api.trait.trait.MobType
- save(DataKey) - Method in class net.citizensnpcs.api.trait.trait.Owner
- save(DataKey) - Method in class net.citizensnpcs.api.trait.Trait
-
Saves a trait.
- save(DataKey) - Method in class net.citizensnpcs.api.trait.trait.Spawned
- save(DataKey) - Method in class net.citizensnpcs.npc.ai.CitizensNavigator
- save(DataKey) - Method in class net.citizensnpcs.npc.CitizensNPC
- save(DataKey) - Method in class net.citizensnpcs.trait.Anchors
- save(DataKey) - Method in class net.citizensnpcs.trait.ClickRedirectTrait
- save(DataKey) - Method in class net.citizensnpcs.trait.Controllable
- save(DataKey) - Method in class net.citizensnpcs.trait.LookClose
- save(DataKey) - Method in class net.citizensnpcs.trait.Poses
- save(DataKey) - Method in class net.citizensnpcs.trait.SmoothRotationTrait.RotationParams
- save(DataKey) - Method in class net.citizensnpcs.trait.text.Text
- save(DataKey) - Method in class net.citizensnpcs.trait.VillagerProfession
- save(DataKey) - Method in class net.citizensnpcs.trait.waypoint.GuidedWaypointProvider
- save(DataKey) - Method in class net.citizensnpcs.trait.waypoint.LinearWaypointProvider
- save(DataKey) - Method in class net.citizensnpcs.trait.waypoint.WanderWaypointProvider
- save(DataKey) - Method in class net.citizensnpcs.trait.waypoint.Waypoints
- save(DataKey) - Method in class net.citizensnpcs.trait.WoolColor
- save(WaypointTrigger, DataKey) - Method in class net.citizensnpcs.trait.waypoint.triggers.WaypointTriggerRegistry
- save(ItemStack, DataKey) - Method in class net.citizensnpcs.api.persistence.ItemStackPersister
- save(Location, DataKey) - Method in class net.citizensnpcs.api.persistence.LocationPersister
- save(EulerAngle, DataKey) - Method in class net.citizensnpcs.api.persistence.EulerAnglePersister
- save(T, DataKey) - Method in interface net.citizensnpcs.api.persistence.Persister
-
Saves the object instance to the given
DataKey
. - SAVE_TASK_DELAY - Enum constant in enum net.citizensnpcs.Settings.Setting
- saveItem(DataKey, ItemStack) - Static method in class net.citizensnpcs.api.util.ItemStorage
- saveTo(DataKey) - Method in interface net.citizensnpcs.api.npc.MetadataStore
-
Saves persistent metadata to the given
DataKey
. - saveTo(DataKey) - Method in class net.citizensnpcs.api.npc.SimpleMetadataStore
- saveToDisk() - Method in class net.citizensnpcs.api.npc.MemoryNPCDataStore
- saveToDisk() - Method in interface net.citizensnpcs.api.npc.NPCDataStore
-
Notifies the data store to save all stored data to disk.
- saveToDisk() - Method in class net.citizensnpcs.api.npc.SimpleNPCDataStore
- saveToDiskImmediate() - Method in class net.citizensnpcs.api.npc.MemoryNPCDataStore
- saveToDiskImmediate() - Method in interface net.citizensnpcs.api.npc.NPCDataStore
-
Notifies the data store to save all stored data to disk immediately.
- saveToDiskImmediate() - Method in class net.citizensnpcs.api.npc.SimpleNPCDataStore
- saveToStore() - Method in interface net.citizensnpcs.api.npc.NPCRegistry
-
Saves the NPCs to the internal
NPCDataStore
- saveToStore() - Method in class net.citizensnpcs.npc.CitizensNPCRegistry
- SCOREBOARD_FAKE_TEAM_NAME - Enum constant in enum net.citizensnpcs.api.npc.NPC.Metadata
-
The fake NPC scoreboard team name because Minecraft requires a team name.
- SCOREBOARD_FAKE_TEAM_NAME_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
-
The fake NPC scoreboard team name because Minecraft requires a team name.
- ScoreboardTrait - Class in net.citizensnpcs.trait
- ScoreboardTrait() - Constructor for class net.citizensnpcs.trait.ScoreboardTrait
- Script - Interface in net.citizensnpcs.api.scripting
-
Represents a script written in a scripting language such as Lua, Ruby, Python or JavaScript, or any others that implements the JSR-233 scripting interfaces, including
Invocable
andCompilable
. - SCRIPT_COMPILED - Static variable in class net.citizensnpcs.util.Messages
- SCRIPT_COMPILING - Static variable in class net.citizensnpcs.util.Messages
- SCRIPT_FILE_MISSING - Static variable in class net.citizensnpcs.util.Messages
NPC.getOrAddTrait(Class)
for the same behavior.