A B C D E F G H I K L M N O P Q R S T U V W Y 

A

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(T) - Method in interface net.citizensnpcs.api.util.prtree.NodeFilter
Check if the given node object is accepted
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
 
addBehavior(Behavior) - Method in class net.citizensnpcs.api.ai.tree.Composite
 
addCallback(PathPoint.PathCallback) - Method in interface net.citizensnpcs.api.astar.pathfinder.PathPoint
 
addCallback(PathPoint.PathCallback) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
 
addDefaultTraits(NPC) - Method in interface net.citizensnpcs.api.trait.TraitFactory
Adds all default traits to a given NPC.
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
 
addLine(String) - Method in class net.citizensnpcs.api.util.Paginator
 
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.
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.
addSingleUseCallback(NavigatorCallback) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
Adds a NavigatorCallback that will be removed immediately after being called.
addTrait(Class<? extends Trait>) - Method in class net.citizensnpcs.api.npc.AbstractNPC
 
addTrait(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 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
 
Agent - Interface in net.citizensnpcs.api.astar
 
aggressive(boolean) - Method in class net.citizensnpcs.api.ai.goals.TargetNearbyEntityGoal.Builder
 
AlignmentBehavior - Class in net.citizensnpcs.api.ai.flocking
 
AlignmentBehavior(double) - Constructor for class net.citizensnpcs.api.ai.flocking.AlignmentBehavior
 
alwaysAcceptNodeFilter() - Static method in class net.citizensnpcs.api.util.prtree.Region3D
 
AMBIENT_SOUND_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
apply(List<Behavior>) - Method in class net.citizensnpcs.api.ai.tree.Selectors.PrioritySelection
 
args - Variable in class net.citizensnpcs.api.command.CommandContext
 
argsLength() - Method in class net.citizensnpcs.api.command.CommandContext
 
asDefaultTrait() - Method in class net.citizensnpcs.api.trait.TraitInfo
 
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
 
AStarNode - Class in net.citizensnpcs.api.astar
 
AStarNode() - Constructor for class net.citizensnpcs.api.astar.AStarNode
 
AStarStorage - Interface in net.citizensnpcs.api.astar
 
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 - Interface in net.citizensnpcs.api.ai
 
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.
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

B

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.
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 extending BehaviorGoalAdapter.
BehaviorGoalAdapter - Class in net.citizensnpcs.api.ai.tree
An adapter between Goal and Behavior, forwarding the calls correctly.
BehaviorGoalAdapter() - Constructor for class net.citizensnpcs.api.ai.tree.BehaviorGoalAdapter
 
BehaviorStatus - Enum in net.citizensnpcs.api.ai.tree
 
BlockBreaker - Class in net.citizensnpcs.api.npc
 
BlockBreaker() - Constructor for class net.citizensnpcs.api.npc.BlockBreaker
 
BlockBreaker.BlockBreakerConfiguration - Class in net.citizensnpcs.api.npc
 
BlockBreaker.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
 
BookmarkedResult - Class in net.citizensnpcs.api.util.cuboid
 
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
 
builder(NPC) - Static method in class net.citizensnpcs.api.ai.goals.TargetNearbyEntityGoal
 
buildPlan() - Method in class net.citizensnpcs.api.astar.AStarNode
 
buildPlan() - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
 
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
 
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
 
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
 
cancelNavigation() - Method in interface net.citizensnpcs.api.ai.Navigator
Cancels any running navigation towards a target.
CancelReason - Enum in net.citizensnpcs.api.ai.event
 
canCompile(File) - Method in class net.citizensnpcs.api.scripting.ScriptCompiler
 
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
 
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).
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
 
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
 
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
 
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
 
clear() - Method in interface net.citizensnpcs.api.ai.GoalController
Clears the goal controller of all Goals.
clear() - Method in class net.citizensnpcs.api.ai.SimpleGoalController
 
clear() - Method in class net.citizensnpcs.api.util.prtree.PRTree
 
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.
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 BlockExaminers.
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.NPC
 
close(AStarNode) - Method in interface net.citizensnpcs.api.astar.AStarStorage
 
close(AStarNode) - Method in class net.citizensnpcs.api.astar.SimpleAStarStorage
 
close() - Method in class net.citizensnpcs.api.jnbt.NBTInputStream
 
close() - Method in class net.citizensnpcs.api.jnbt.NBTOutputStream
 
coercing(Behavior, Supplier<BehaviorStatus>) - Static method in class net.citizensnpcs.api.ai.tree.StatusCoercer
 
CohesionBehavior - Class in net.citizensnpcs.api.ai.flocking
 
CohesionBehavior(double) - Constructor for class net.citizensnpcs.api.ai.flocking.CohesionBehavior
 
COLLIDABLE_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
Colorizer - Class in net.citizensnpcs.api.util
 
Colorizer() - Constructor for class net.citizensnpcs.api.util.Colorizer
 
Command - Annotation Type in net.citizensnpcs.api.command
 
COMMAND_HELP_HEADER - Static variable in class net.citizensnpcs.api.command.CommandMessages
 
COMMAND_MISSING - Static variable in class net.citizensnpcs.api.command.CommandMessages
 
COMMAND_PAGE_MISSING - Static variable in class net.citizensnpcs.api.command.CommandMessages
 
CommandAnnotationProcessor - Interface in net.citizensnpcs.api.command
 
CommandConfigurable - Interface in net.citizensnpcs.api.command
 
CommandContext - Class in net.citizensnpcs.api.command
 
CommandContext(CommandSender, String[]) - Constructor for class net.citizensnpcs.api.command.CommandContext
 
CommandContext(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
 
CommandManager - Class in net.citizensnpcs.api.command
 
CommandManager() - Constructor for class net.citizensnpcs.api.command.CommandManager
 
CommandManager.CommandInfo - Class in net.citizensnpcs.api.command
 
CommandManager.CommandInfo(Command) - Constructor for class net.citizensnpcs.api.command.CommandManager.CommandInfo
 
CommandMessages - Class in net.citizensnpcs.api.command
 
CommandMessages() - Constructor for class net.citizensnpcs.api.command.CommandMessages
 
CommandSenderCreateNPCEvent - Class in net.citizensnpcs.api.event
 
CommandSenderCreateNPCEvent(CommandSender, NPC) - Constructor for class net.citizensnpcs.api.event.CommandSenderCreateNPCEvent
 
CommandUsageException - Exception in net.citizensnpcs.api.command.exception
 
CommandUsageException(String, String) - Constructor for exception net.citizensnpcs.api.command.exception.CommandUsageException
 
compareTo(GoalController.GoalEntry) - Method in class net.citizensnpcs.api.ai.SimpleGoalEntry
 
compareTo(AStarNode) - Method in class net.citizensnpcs.api.astar.AStarNode
 
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 Behaviors, which handle the transition between multiple sub-behaviors.
Composite(Behavior...) - Constructor for class net.citizensnpcs.api.ai.tree.Composite
 
Composite(Collection<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 - Interface in net.citizensnpcs.api.ai.tree
 
condition - Variable in class net.citizensnpcs.api.ai.tree.Precondition
 
configure(CommandContext) - Method in interface net.citizensnpcs.api.command.CommandConfigurable
 
configure(File, boolean, String, String) - Static method in class net.citizensnpcs.api.util.Messaging
 
ContextProvider - Interface in net.citizensnpcs.api.scripting
Provides useful objects or methods to an instance of Script.
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
 
create(Iterable<NPC>) - Static method in class net.citizensnpcs.api.ai.flocking.GroupNPCFlock
 
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(Storage) - Static method in class net.citizensnpcs.api.npc.SimpleNPCDataStore
 
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(Class<? extends Trait>) - Static method in class net.citizensnpcs.api.trait.TraitInfo
Constructs a factory with the given trait class.
create(MBRConverter<T>, int) - Static method in class net.citizensnpcs.api.util.prtree.PRTree
 
createAnonymousNPCRegistry(NPCDataStore) - Static method in class net.citizensnpcs.api.CitizensAPI
Creates a new anonymous NPCRegistry with its own set of NPCs.
createAnonymousNPCRegistry(NPCDataStore) - Method in interface net.citizensnpcs.api.CitizensPlugin
 
createAtOffset(Vector) - Method in interface net.citizensnpcs.api.astar.pathfinder.PathPoint
 
createAtOffset(Vector) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
 
createInputStream() - Method in class net.citizensnpcs.api.util.ResourceTranslationProvider
 
createInputStream() - Method in interface net.citizensnpcs.api.util.Translator.TranslationProvider
 
createNamedNPCRegistry(String, NPCDataStore) - Static method in class net.citizensnpcs.api.CitizensAPI
Creates a new NPCRegistry with its own set of NPCs.
createNamedNPCRegistry(String, NPCDataStore) - Method in interface net.citizensnpcs.api.CitizensPlugin
 
createNPC(EntityType, String) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
Creates an despawned NPC.
createNPC(EntityType, UUID, int, String) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
Creates an NPC with the given id.
createRelativeKey(String) - Method in class net.citizensnpcs.api.util.DataKey
 
createRetryingSequence(Behavior...) - Static method in class net.citizensnpcs.api.ai.tree.Sequence
 
createRetryingSequence(Collection<Behavior>) - Static method in class net.citizensnpcs.api.ai.tree.Sequence
 
createSequence(Behavior...) - Static method in class net.citizensnpcs.api.ai.tree.Sequence
 
createSequence(Collection<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
 
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
 
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 create AStarStorage instances.

D

DAMAGE_OTHERS_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
data() - Method in class net.citizensnpcs.api.npc.AbstractNPC
 
data() - Method in interface net.citizensnpcs.api.npc.NPC
 
DataKey - Class in net.citizensnpcs.api.util
 
DataKey(String) - Constructor for class net.citizensnpcs.api.util.DataKey
 
DEATH_SOUND_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
debug() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
Returns whether this path will be debugged.
debug(boolean) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
Sets whether the path should be debugged.
debug() - Method in class net.citizensnpcs.api.astar.pathfinder.Path
 
debug(Object...) - Static method in class net.citizensnpcs.api.util.Messaging
 
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 filtering BehaviorStatuses, conditions, timer loops and more without knowing the internals of the behavior it wraps.
Decorator.Builder - Class in net.citizensnpcs.api.ai.tree
 
DEFAULT_PROTECTED_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
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.
DelegatePersistence - Annotation Type in net.citizensnpcs.api.persistence
Delegates persistence to a given Persister, which will be used to create and save instances.
deregister(NPC) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
Deregisters the NPC and removes all data about it from the data store.
deregister(EventHandler) - Method in class net.citizensnpcs.api.scripting.EventRegistrar.Events
 
deregisterAll() - Method in interface net.citizensnpcs.api.npc.NPCRegistry
Deregisters all NPCs from this registry.
deregisterTrait(TraitInfo) - Method in interface net.citizensnpcs.api.trait.TraitFactory
Removes a trait.
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.
DespawnReason - Enum in net.citizensnpcs.api.event
 
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.
distance(VectorNode) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
 
DistanceCalculator<T> - Interface in net.citizensnpcs.api.util.prtree
A class that can calculate the distance to a given object stored in the PRTree
distanceCalculator() - Static method in class net.citizensnpcs.api.util.prtree.Region3D
 
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.
DistanceResult<T> - Class in net.citizensnpcs.api.util.prtree
Class to hold object and distance to it
DistanceResult(T, double) - Constructor for class net.citizensnpcs.api.util.prtree.DistanceResult
Create a new DistanceResult with a given object and distance
distanceTo(T, PointND) - Method in interface net.citizensnpcs.api.util.prtree.DistanceCalculator
Calculate the distance between the given object and the point
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.
DROPS_ITEMS_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 

E

Empty - Class in net.citizensnpcs.api.ai.tree
 
EMPTY - Static variable in class net.citizensnpcs.api.util.cuboid.BookmarkedResult
 
EMPTY_CONFIG - Static variable in class net.citizensnpcs.api.npc.BlockBreaker
 
EndTag - Class in net.citizensnpcs.api.jnbt
The TAG_End tag.
EndTag() - Constructor for class net.citizensnpcs.api.jnbt.EndTag
Creates the tag.
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.npc.AbstractNPC
 
equals(Object) - Method in class net.citizensnpcs.api.util.cuboid.QuadCuboid
 
equals(Object) - Method in class net.citizensnpcs.api.util.cuboid.QuadNode
 
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
 
Equipment - Class in net.citizensnpcs.api.trait.trait
Represents an NPC's equipment.
Equipment() - Constructor for class net.citizensnpcs.api.trait.trait.Equipment
 
Equipment.EquipmentSlot - Enum in net.citizensnpcs.api.trait.trait
 
EulerAnglePersister - Class in net.citizensnpcs.api.persistence
 
EulerAnglePersister() - Constructor for class net.citizensnpcs.api.persistence.EulerAnglePersister
 
EventHandler - Interface in net.citizensnpcs.api.scripting
 
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
 
EventRegistrar.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 BlockExaminers.
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

faceLocation(Location) - Method in interface net.citizensnpcs.api.npc.NPC
Faces a given Location if the NPC is spawned.
FACTORY - Static variable in class net.citizensnpcs.api.astar.SimpleAStarStorage
 
FileStorage - Interface in net.citizensnpcs.api.util
 
find(double, double, double, double) - Method in class net.citizensnpcs.api.util.prtree.PRTree
Find all objects that intersect the given rectangle.
find(double, double, double, double, List<T>) - Method in class net.citizensnpcs.api.util.prtree.PRTree
Finds all objects that intersect the given rectangle and stores the found node in the given list.
find(MBR) - Method in class net.citizensnpcs.api.util.prtree.PRTree
Find all objects that intersect the given rectangle.
find(MBR, List<T>) - Method in class net.citizensnpcs.api.util.prtree.PRTree
Finds all objects that intersect the given rectangle and stores the found node in the given list.
findOverlappingCuboids(int, int, int) - Method in class net.citizensnpcs.api.util.cuboid.QuadTree
 
findOverlappingCuboidsFromBookmark(BookmarkedResult, int, int, int) - Method in class net.citizensnpcs.api.util.cuboid.QuadTree
 
findValidLocation(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 Goals 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 the Goal 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
 
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
 
Flocker - Class in net.citizensnpcs.api.ai.flocking
 
Flocker(NPC, NPCFlock, FlockBehavior...) - Constructor for class net.citizensnpcs.api.ai.flocking.Flocker
 
FLYABLE_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
FlyingBlockExaminer - Class in net.citizensnpcs.api.astar.pathfinder
 
FlyingBlockExaminer() - Constructor for class net.citizensnpcs.api.astar.pathfinder.FlyingBlockExaminer
 
ForwardingBehaviorGoalAdapter - Class in net.citizensnpcs.api.ai.tree
 
ForwardingBehaviorGoalAdapter(Behavior) - Constructor for class net.citizensnpcs.api.ai.tree.ForwardingBehaviorGoalAdapter
 
fromBoolean(boolean) - Static method in enum net.citizensnpcs.api.astar.pathfinder.BlockExaminer.PassableState
 

G

g(T, T) - Method in interface net.citizensnpcs.api.astar.AStarGoal
Returns the cost of moving between the two supplied AStarNodes.
g(VectorNode, VectorNode) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorGoal
 
get() - Method in interface net.citizensnpcs.api.ai.tree.Condition
 
get(String) - Method in interface net.citizensnpcs.api.npc.MetadataStore
Fetches metadata from the given key.
get(String, T) - 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, T) - Method in class net.citizensnpcs.api.npc.SimpleMetadataStore
 
get(Equipment.EquipmentSlot) - Method in class net.citizensnpcs.api.trait.trait.Equipment
 
get(int) - Method in class net.citizensnpcs.api.trait.trait.Equipment
Get an NPC's equipment from the given slot.
get() - Method in class net.citizensnpcs.api.util.prtree.DistanceResult
Get the object
get(MBR, PointND) - Static method in class net.citizensnpcs.api.util.prtree.MinDist
Calculate the MINDIST between the given MBRND and the given point
get(double, double, double, double, double, double) - Static method in class net.citizensnpcs.api.util.prtree.MinDist2D
Calculate the MINDIST between the given rectangle and the given point
getAction() - Method in class net.citizensnpcs.api.ai.event.NavigationStuckEvent
 
getAllOverlapsWith(QuadCuboid) - Method in class net.citizensnpcs.api.util.cuboid.QuadTree
 
getAnnotationClass() - Method in interface net.citizensnpcs.api.command.CommandAnnotationProcessor
 
getAnnotationClass() - Method in class net.citizensnpcs.api.command.RequirementsProcessor
 
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
 
getBlockTypeIdAt(int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.BlockSource
 
getBlockTypeIdAt(int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
 
getBoolean(String) - Method in class net.citizensnpcs.api.util.DataKey
 
getBoolean(String, boolean) - 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.YamlStorage.YamlKey
 
getById(int) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
Gets the NPC with the given ID if it exists.
getByUniqueId(UUID) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
 
getByUniqueIdGlobal(UUID) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
Gets the NPC with the given unique ID if it exists, otherwise null.
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
 
getCause() - Method in class net.citizensnpcs.api.event.NPCDamageEvent
 
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.
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.
getCollidedWith() - Method in class net.citizensnpcs.api.event.NPCCollisionEvent
Returns the Entity that collided with the NPC.
getCollisionVector() - Method in class net.citizensnpcs.api.event.NPCPushEvent
Return the collision Vector being applied to the NPC.
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
 
getCommands(String) - Method in class net.citizensnpcs.api.command.CommandManager
Gets all modified and root commands from the given root level command.
getCommandSender() - Method in class net.citizensnpcs.api.event.NPCTraitCommandAttachEvent
 
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(BlockSource, PathPoint) - Method in interface net.citizensnpcs.api.astar.pathfinder.BlockExaminer
 
getCost(BlockSource, PathPoint) - Method in class net.citizensnpcs.api.astar.pathfinder.FlyingBlockExaminer
 
getCost(BlockSource, PathPoint) - Method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
 
getCreator() - Method in class net.citizensnpcs.api.event.CommandSenderCreateNPCEvent
 
getCreator() - Method in class net.citizensnpcs.api.event.PlayerCreateNPCEvent
 
getCurrentVector() - Method in class net.citizensnpcs.api.astar.pathfinder.Path
 
getDamage() - Method in class net.citizensnpcs.api.event.NPCDamageEvent
 
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
 
getData() - Method in class net.citizensnpcs.api.util.prtree.Region3D
 
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
 
getDefaultParameters() - Method in interface net.citizensnpcs.api.ai.Navigator
Returns the NavigatorParameters local to this navigator.
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.
getDimensions() - Method in interface net.citizensnpcs.api.util.prtree.MBR
 
getDimensions() - Method in interface net.citizensnpcs.api.util.prtree.MBRConverter
 
getDimensions() - Method in interface net.citizensnpcs.api.util.prtree.PointND
 
getDimensions() - Method in class net.citizensnpcs.api.util.prtree.Region3D.Converter
 
getDimensions() - Method in class net.citizensnpcs.api.util.prtree.Region3D
 
getDimensions() - Method in class net.citizensnpcs.api.util.prtree.SimpleMBR
 
getDimensions() - Method in class net.citizensnpcs.api.util.prtree.SimplePointND
 
getDistance() - Method in class net.citizensnpcs.api.util.prtree.DistanceResult
Get the distance
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, double) - 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.YamlStorage.YamlKey
 
getDroppedExp() - Method in class net.citizensnpcs.api.event.NPCDeathEvent
 
getDrops() - Method in class net.citizensnpcs.api.event.NPCDeathEvent
 
getDuration() - Method in class net.citizensnpcs.api.event.NPCCombustEvent
 
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.
getEntityTarget() - Method in interface net.citizensnpcs.api.ai.Navigator
Returns the current EntityTarget of the navigator, if any.
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.
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
 
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
 
getFrom() - Method in class net.citizensnpcs.api.event.NPCTeleportEvent
 
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.
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
 
getGoal() - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
 
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.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.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.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.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.NPCPushEvent
 
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.PlayerCreateNPCEvent
 
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.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.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.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.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.NPCPushEvent
 
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.PlayerCreateNPCEvent
 
getHeight() - Method in class net.citizensnpcs.api.util.prtree.PRTree
Get the height of this tree.
getId(T, int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
 
getId(Chunk, int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.ChunkBlockSource
 
getId(ChunkSnapshot, int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.ChunkSnapshotBlockSource
 
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(T) - Method in interface net.citizensnpcs.api.astar.AStarGoal
Returns the initial cost value when starting from the supplied AStarNode.
getInitialCost(VectorNode) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorGoal
 
getInstance(Class<?>) - Method in class net.citizensnpcs.api.command.Injector
 
getInt(String) - Method in class net.citizensnpcs.api.util.DataKey
 
getInt(String, int) - 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.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
 
getItemStack() - Method in class net.citizensnpcs.api.event.CitizensDeserialiseMetaEvent
 
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(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
 
getLightLevel(T, int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
 
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.ChunkSnapshotBlockSource
 
getLocalParameters() - Method in interface net.citizensnpcs.api.ai.Navigator
Returns the NavigatorParameters local to any current target execution.
getLocation() - Method in class net.citizensnpcs.api.event.NPCSpawnEvent
Gets the location where the NPC was spawned.
getLong(String) - Method in class net.citizensnpcs.api.util.DataKey
 
getLong(String, long) - 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.YamlStorage.YamlKey
 
getMaterialAt(int, int, int) - Method in class net.citizensnpcs.api.astar.pathfinder.BlockSource
 
getMaterialAt(Vector) - Method in class net.citizensnpcs.api.astar.pathfinder.BlockSource
 
getMax(int) - Method in interface net.citizensnpcs.api.util.prtree.MBR
Get the maximum value for the given axis
getMax(int, T) - Method in interface net.citizensnpcs.api.util.prtree.MBRConverter
Get the maximum coordinate value for the given t
getMax(int, Region3D<C>) - Method in class net.citizensnpcs.api.util.prtree.Region3D.Converter
 
getMax(int) - Method in class net.citizensnpcs.api.util.prtree.Region3D
 
getMax(int) - Method in class net.citizensnpcs.api.util.prtree.SimpleMBR
 
getMaxX() - Method in interface net.citizensnpcs.api.util.prtree.MBR2D
Get the maximum x value
getMaxX() - Method in class net.citizensnpcs.api.util.prtree.SimpleMBR2D
 
getMaxY() - Method in interface net.citizensnpcs.api.util.prtree.MBR2D
Get the maximum y value
getMaxY() - Method in class net.citizensnpcs.api.util.prtree.SimpleMBR2D
 
getMBR() - Method in class net.citizensnpcs.api.util.prtree.PRTree
Get an N dimensional minimum bounding box of the data stored in this tree.
getMBR2D() - Method in class net.citizensnpcs.api.util.prtree.PRTree
Get a 2 dimensional minimum bounding rectangle of the data stored in this tree.
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
 
getMin(int) - Method in interface net.citizensnpcs.api.util.prtree.MBR
Get the minimum value for the given axis
getMin(int, T) - Method in interface net.citizensnpcs.api.util.prtree.MBRConverter
Get the minimum coordinate value for the given t.
getMin(int, Region3D<C>) - Method in class net.citizensnpcs.api.util.prtree.Region3D.Converter
 
getMin(int) - Method in class net.citizensnpcs.api.util.prtree.Region3D
 
getMin(int) - Method in class net.citizensnpcs.api.util.prtree.SimpleMBR
 
getMinX() - Method in interface net.citizensnpcs.api.util.prtree.MBR2D
Get the minimum x value
getMinX() - Method in class net.citizensnpcs.api.util.prtree.SimpleMBR2D
 
getMinY() - Method in interface net.citizensnpcs.api.util.prtree.MBR2D
Get the minimum y value
getMinY() - Method in class net.citizensnpcs.api.util.prtree.SimpleMBR2D
 
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 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
 
getNamedNPCRegistry(String) - Static method in class net.citizensnpcs.api.CitizensAPI
Retrieves the NPCRegistry previously created via #createNamedNPCRegistry(String) with the given name, or null if not found.
getNamedNPCRegistry(String) - Method in interface net.citizensnpcs.api.CitizensPlugin
 
getNavigator() - Method in class net.citizensnpcs.api.ai.event.NavigationEvent
 
getNavigator() - Method in interface net.citizensnpcs.api.npc.NPC
 
getNearby(NPC) - Method in class net.citizensnpcs.api.ai.flocking.GroupNPCFlock
 
getNearby(NPC) - Method in interface net.citizensnpcs.api.ai.flocking.NPCFlock
 
getNearby(NPC) - Method in class net.citizensnpcs.api.ai.flocking.RadiusNPCFlock
 
getNeighbours() - Method in class net.citizensnpcs.api.astar.AStarNode
 
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() - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
 
getNeighbours(BlockSource, PathPoint) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
 
getNextBehavior() - Method in class net.citizensnpcs.api.ai.tree.Selector
 
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(Entity) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
Tries to convert the given Entity to a spawned NPC.
getNPC() - Method in class net.citizensnpcs.api.trait.Trait
 
getNPCRegistries() - Static method in class net.citizensnpcs.api.CitizensAPI
 
getNPCRegistries() - Method in interface net.citizensnpcs.api.CitizensPlugin
 
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.
getNumberOfLeaves() - Method in class net.citizensnpcs.api.util.prtree.PRTree
Get the number of data leafs in this tree.
getOrd(int) - Method in interface net.citizensnpcs.api.util.prtree.PointND
 
getOrd(int) - Method in class net.citizensnpcs.api.util.prtree.SimplePointND
 
getOwner() - Method in class net.citizensnpcs.api.trait.trait.Owner
Gets the owner.
getOwnerId() - Method in class net.citizensnpcs.api.trait.trait.Owner
 
getOwningClassLoader() - Method in interface net.citizensnpcs.api.CitizensPlugin
 
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
 
getParent() - Method in class net.citizensnpcs.api.astar.AStarNode
 
getParentPoint() - Method in interface net.citizensnpcs.api.astar.pathfinder.PathPoint
 
getParentPoint() - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
 
getParents() - Method in class net.citizensnpcs.api.astar.AStarNode
 
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
 
getPathCost() - Method in class net.citizensnpcs.api.astar.AStarNode
 
getPathStrategy() - Method in interface net.citizensnpcs.api.ai.Navigator
 
getPlugin() - Static method in class net.citizensnpcs.api.CitizensAPI
 
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
 
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
 
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
 
getResults() - Method in class net.citizensnpcs.api.util.cuboid.BookmarkedResult
 
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
 
getSelected(CommandSender) - Method in interface net.citizensnpcs.api.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.
getSenderLocation() - Method in class net.citizensnpcs.api.command.CommandContext
 
getSenderTargetBlockLocation() - Method in class net.citizensnpcs.api.command.CommandContext
 
getSlice(int) - Method in class net.citizensnpcs.api.command.CommandContext
 
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.
getStateFor(AStarGoal<N>, N) - Method in class net.citizensnpcs.api.astar.AStarMachine
Creates an AStarMachine.AStarState that can be reused across multiple invocations of {AStarMachine.run(AStarState, int).
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.
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, 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
 
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
 
getTalker() - Method in class net.citizensnpcs.api.ai.speech.SpeechContext
Gets the talker.
getTarget() - Method in interface net.citizensnpcs.api.ai.EntityTarget
 
getTargetAsLocation() - Method in interface net.citizensnpcs.api.ai.Navigator
Returns the current Location being navigated towards - this is not necessarily permanent and may change, for example when pathing towards a moving Entity.
getTargetAsLocation() - Method in interface net.citizensnpcs.api.ai.PathStrategy
 
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
 
getTo() - Method in class net.citizensnpcs.api.event.NPCTeleportEvent
 
getTrait() - Method in class net.citizensnpcs.api.event.NPCTraitEvent
 
getTrait(Class<T>) - Method in class net.citizensnpcs.api.npc.AbstractNPC
 
getTrait(Class<T>) - Method in interface net.citizensnpcs.api.npc.NPC
Gets a trait from the given class.
getTrait(Class<T>) - Method in interface net.citizensnpcs.api.trait.TraitFactory
Gets a trait with the given class.
getTrait(String) - Method in interface net.citizensnpcs.api.trait.TraitFactory
Gets a trait with the given name.
getTraitClass() - Method in class net.citizensnpcs.api.event.NPCTraitCommandAttachEvent
 
getTraitClass(String) - Method in interface net.citizensnpcs.api.trait.TraitFactory
Gets the Trait class with the given name, or null if not found.
getTraitClass() - Method in class net.citizensnpcs.api.trait.TraitInfo
 
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.
getTraitFor(Class<? extends Trait>) - Method in class net.citizensnpcs.api.npc.AbstractNPC
 
getTraitName() - Method in class net.citizensnpcs.api.trait.TraitInfo
 
getTraits() - Method in class net.citizensnpcs.api.npc.AbstractNPC
 
getTraits() - Method in interface net.citizensnpcs.api.npc.NPC
Returns the currently attached Traits
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.
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.
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
 
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
 
getVector(NPC, Collection<NPC>) - Method in class net.citizensnpcs.api.ai.flocking.SeparationBehavior
 
getVector() - Method in interface net.citizensnpcs.api.astar.pathfinder.PathPoint
 
getVector() - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
 
getVocalChord(Class<? extends VocalChord>) - Method in interface net.citizensnpcs.api.ai.speech.SpeechFactory
Creates a new instance of a VocalChord
getVocalChord(String) - Method in interface net.citizensnpcs.api.ai.speech.SpeechFactory
Creates a new instance of a VocalChord
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
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
 
getWrapped() - Method in class net.citizensnpcs.api.ai.tree.ForwardingBehaviorGoalAdapter
 
GLOWING_COLOR_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
GLOWING_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
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.
GoalController.GoalEntry - Interface in net.citizensnpcs.api.ai
 
GoalSelector - Interface in net.citizensnpcs.api.ai
 
GroupNPCFlock - Class in net.citizensnpcs.api.ai.flocking
 
GroupNPCFlock(Iterable<NPC>, double) - Constructor for class net.citizensnpcs.api.ai.flocking.GroupNPCFlock
 

H

h(T) - Method in interface net.citizensnpcs.api.astar.AStarGoal
Returns the estimated heuristic cost of traversing from the supplied AStarNode to the goal.
h(VectorNode) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorGoal
 
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
 
handle(ResultSet) - Method in interface net.citizensnpcs.api.util.ResultSetHandler
Turn the ResultSet into an Object.
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
 
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.
hasFlag(char) - Method in class net.citizensnpcs.api.command.CommandContext
 
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.npc.AbstractNPC
 
hashCode() - Method in class net.citizensnpcs.api.util.cuboid.QuadCuboid
 
hashCode() - Method in class net.citizensnpcs.api.util.cuboid.QuadNode
 
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
 
hasImplementation() - Static method in class net.citizensnpcs.api.CitizensAPI
 
hasRecipients() - Method in class net.citizensnpcs.api.ai.speech.SpeechContext
Checks if there are any recipients.
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
 
header(String) - Method in class net.citizensnpcs.api.util.Paginator
 
heuristicDistance(Vector) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
 
HIGH_INFLUENCE - Static variable in class net.citizensnpcs.api.ai.flocking.Flocker
 
HURT_SOUND_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 

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
 
includesPoint(int, int, int) - Method in class net.citizensnpcs.api.util.cuboid.QuadCuboid
 
includesPoint(int[]) - Method in class net.citizensnpcs.api.util.cuboid.QuadCuboid
 
Injector - Class in net.citizensnpcs.api.command
 
Injector(Object...) - Constructor for class net.citizensnpcs.api.command.Injector
 
insert(QuadCuboid) - Method in class net.citizensnpcs.api.util.cuboid.QuadTree
 
insertIfNoOverlaps(QuadCuboid) - Method in class net.citizensnpcs.api.util.cuboid.QuadTree
Attempts to insert the node ONLY if there are no overlaps with existing nodes
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.
interrupt() - Method in class net.citizensnpcs.api.scripting.ScriptCompiler
 
intersects(MBR) - Method in interface net.citizensnpcs.api.util.prtree.MBR
Check if the other MBR intersects this one
intersects(T, MBRConverter<T>) - Method in interface net.citizensnpcs.api.util.prtree.MBR
Check if this MBR intersects the rectangle given by the object and the MBRConverter.
intersects(MBR2D) - Method in interface net.citizensnpcs.api.util.prtree.MBR2D
Check if the other MBR intersects this one
intersects(I, MBRConverter<I>) - Method in class net.citizensnpcs.api.util.prtree.Region3D
 
intersects(MBR) - Method in class net.citizensnpcs.api.util.prtree.Region3D
 
intersects(MBR) - Method in class net.citizensnpcs.api.util.prtree.SimpleMBR
 
intersects(T, MBRConverter<T>) - Method in class net.citizensnpcs.api.util.prtree.SimpleMBR
 
intersects(MBR2D) - Method in class net.citizensnpcs.api.util.prtree.SimpleMBR2D
 
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_NUMBER - Static variable in class net.citizensnpcs.api.command.CommandMessages
 
INVALID_SPAWN_LOCATION - Static variable in class net.citizensnpcs.api.command.CommandMessages
 
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
 
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(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(Object, String, Object...) - Method in class net.citizensnpcs.api.scripting.SimpleScript
 
invoke(String, Object...) - Method in class net.citizensnpcs.api.scripting.SimpleScript
 
isAggressive() - Method in interface net.citizensnpcs.api.ai.EntityTarget
 
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.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.NPCPushEvent
 
isCancelled() - Method in class net.citizensnpcs.api.event.NPCSpawnEvent
 
isCancelled() - Method in class net.citizensnpcs.api.event.NPCTeleportEvent
 
isComplete() - Method in class net.citizensnpcs.api.astar.pathfinder.Path
 
isComplete() - Method in interface net.citizensnpcs.api.astar.Plan
 
isDebugging() - Static method in class net.citizensnpcs.api.util.Messaging
 
isDefaultTrait() - Method in class net.citizensnpcs.api.trait.TraitInfo
 
isDoor(Material) - Static method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
 
isEmpty() - Method in class net.citizensnpcs.api.util.prtree.PRTree
Check if this tree is empty
isExecutingGoal() - Method in interface net.citizensnpcs.api.ai.GoalController
 
isExecutingGoal() - Method in class net.citizensnpcs.api.ai.SimpleGoalController
 
isFinished(T) - Method in interface net.citizensnpcs.api.astar.AStarGoal
Returns whether the supplied AStarNode represents the goal state for this AStarGoal.
isFinished(VectorNode) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorGoal
 
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.
isInternalTrait(Trait) - Method in interface net.citizensnpcs.api.trait.TraitFactory
Checks whether the given trait is 'internal'.
isLiquid(Material...) - Static method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
 
isNavigating() - Method in interface net.citizensnpcs.api.ai.Navigator
 
isNPC(Entity) - Method in interface net.citizensnpcs.api.npc.NPCRegistry
Checks whether the given Entity is convertable to an NPC.
isOwnedBy(CommandSender) - Method in class net.citizensnpcs.api.trait.trait.Owner
Gets if the given CommandSender is the owner of an NPC.
isOwnedBy(String) - Method in class net.citizensnpcs.api.trait.trait.Owner
 
isPassable(BlockSource, PathPoint) - Method in interface net.citizensnpcs.api.astar.pathfinder.BlockExaminer
 
isPassable(BlockSource, PathPoint) - Method in class net.citizensnpcs.api.astar.pathfinder.FlyingBlockExaminer
 
isPassable(BlockSource, PathPoint) - Method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
 
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
 
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.
isRegistered(String) - Method in interface net.citizensnpcs.api.ai.speech.SpeechFactory
Checks whether the supplied VocalChord name is registered.
isRunImplemented() - Method in class net.citizensnpcs.api.trait.Trait
 
isSpawned() - Method in class net.citizensnpcs.api.npc.AbstractNPC
 
isSpawned() - Method in interface net.citizensnpcs.api.npc.NPC
Gets whether this NPC is currently spawned.
item() - Method in class net.citizensnpcs.api.npc.BlockBreaker.BlockBreakerConfiguration
 
item(ItemStack) - Method in class net.citizensnpcs.api.npc.BlockBreaker.BlockBreakerConfiguration
 
ITEM_DATA_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
ITEM_ID_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
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.api.util.cuboid.BookmarkedResult
 

K

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

LEASH_PROTECTED_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
length() - Method in class net.citizensnpcs.api.command.CommandContext
 
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.
load(DataKey) - Method in class net.citizensnpcs.api.npc.AbstractNPC
 
load(DataKey) - Method in interface net.citizensnpcs.api.npc.NPC
Loads the NPC from the given DataKey.
load(DataKey) - Method in interface net.citizensnpcs.api.persistence.Persistable
 
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(T, DataKey) - Static method in class net.citizensnpcs.api.persistence.PersistenceLoader
Analyses the class for Fields with the Persist annotation and loads data into them using the given DataKey.
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() - Method in class net.citizensnpcs.api.util.NBTStorage
 
load(Collection<? extends T>) - Method in class net.citizensnpcs.api.util.prtree.PRTree
Bulk load data into this tree.
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
 
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
 
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
 
LocationPersister - Class in net.citizensnpcs.api.persistence
 
LocationPersister() - Constructor for class net.citizensnpcs.api.persistence.LocationPersister
 
LocationPersister.LazilyLoadedLocation - Class in net.citizensnpcs.api.persistence
 
LocationPersister.LazilyLoadedLocation(String, double, double, double, float, float) - Constructor for class net.citizensnpcs.api.persistence.LocationPersister.LazilyLoadedLocation
 
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.
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.
Loop - Class in net.citizensnpcs.api.ai.tree
A decorator Behavior that continues to execute its child behavior as long as a Condition returns true and the behavior returns BehaviorStatus.SUCCESS.
Loop(Behavior, Condition) - Constructor for class net.citizensnpcs.api.ai.tree.Loop
 
LOW_INFLUENCE - Static variable in class net.citizensnpcs.api.ai.flocking.Flocker
 

M

matches(String) - Method in class net.citizensnpcs.api.command.CommandContext
 
MBR - Interface in net.citizensnpcs.api.util.prtree
A minimum bounding box for n dimensions.
MBR2D - Interface in net.citizensnpcs.api.util.prtree
A minimum bounding rectangle
MBRConverter<T> - Interface in net.citizensnpcs.api.util.prtree
A class that given a T can tell the minimum and maximum ordinates for that object.
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
 
Messaging - Class in net.citizensnpcs.api.util
 
Messaging() - Constructor for class net.citizensnpcs.api.util.Messaging
 
MetadataStore - Interface in net.citizensnpcs.api.npc
Represents a metadata
MinDist - Class in net.citizensnpcs.api.util.prtree
Class that can calculate the MINDIST between a point and a rectangle
MinDist2D - Class in net.citizensnpcs.api.util.prtree
Class that can calculate the MINDIST between a point and a rectangle
MINECART_ITEM_DATA_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
MINECART_ITEM_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
MINECART_OFFSET_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
MinecraftBlockExaminer - Class in net.citizensnpcs.api.astar.pathfinder
 
MinecraftBlockExaminer() - Constructor for class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
 
MISSING_TRAIT - Static variable in class net.citizensnpcs.api.command.CommandMessages
 
MobType - Class in net.citizensnpcs.api.trait.trait
Represents an NPC's mob type.
MobType() - Constructor for class net.citizensnpcs.api.trait.trait.MobType
 
modifiedSpeed(float) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
Modifieds the given speed value based on the current parameters.
MoveToGoal - Class in net.citizensnpcs.api.ai.goals
 
MoveToGoal(NPC, Location) - Constructor for class net.citizensnpcs.api.ai.goals.MoveToGoal
 
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

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_VISIBLE_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
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.
NBTOutputStream - Class in net.citizensnpcs.api.jnbt
This class writes NBT, or Named Binary Tag Tag objects to an underlying OutputStream.
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
 
NBTStorage.NBTKey(String) - Constructor for class net.citizensnpcs.api.util.NBTStorage.NBTKey
 
NBTUtils - Class in net.citizensnpcs.api.jnbt
A class which contains NBT-related utility methods.
nearestNeighbour(DistanceCalculator<T>, NodeFilter<T>, int, PointND) - Method in class net.citizensnpcs.api.util.prtree.PRTree
Get the nearest neighbour of the given point
NeighbourGeneratorBlockExaminer - Interface in net.citizensnpcs.api.astar.pathfinder
 
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.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.api.util.cuboid - package net.citizensnpcs.api.util.cuboid
 
net.citizensnpcs.api.util.prtree - package net.citizensnpcs.api.util.prtree
 
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(LivingEntity) - Method in interface net.citizensnpcs.api.ai.speech.SpeechFactory
 
NO_PERMISSION - Static variable in class net.citizensnpcs.api.command.CommandMessages
 
NodeFilter<T> - Interface in net.citizensnpcs.api.util.prtree
A node object filterer.
NoPermissionsException - Exception in net.citizensnpcs.api.command.exception
 
NoPermissionsException() - Constructor for exception net.citizensnpcs.api.command.exception.NoPermissionsException
 
NPC - Interface in net.citizensnpcs.api.npc
Represents an NPC with optional Traits.
npc - Variable in class net.citizensnpcs.api.trait.Trait
 
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
 
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
 
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
 
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
 
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 NPCs.
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
 
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 - Interface in net.citizensnpcs.api.npc
 
NPCSpawnEvent - Class in net.citizensnpcs.api.event
Called when an NPC spawns.
NPCSpawnEvent(NPC, Location) - 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
 
NPCTraitEvent - Class in net.citizensnpcs.api.event
 
NPCTraitEvent(NPC, Trait) - Constructor for class net.citizensnpcs.api.event.NPCTraitEvent
 

O

ObjectProvider - Class in net.citizensnpcs.api.scripting
 
ObjectProvider(String, Callable<Object>) - Constructor for class net.citizensnpcs.api.scripting.ObjectProvider
 
ObjectProvider(String, Object) - Constructor for class net.citizensnpcs.api.scripting.ObjectProvider
 
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.
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.
onDespawn() - Method in class net.citizensnpcs.api.trait.Trait
Called just before the attached NPC is despawned.
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
onRemove() - Method in class net.citizensnpcs.api.trait.Trait
Called when a trait is removed from the attached NPC.
onScriptCompiled(String, ScriptFactory) - Method in interface net.citizensnpcs.api.scripting.CompileCallback
Called when the ScriptFactory has been compiled successfully.
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.
open(AStarNode) - Method in interface net.citizensnpcs.api.astar.AStarStorage
 
open(AStarNode) - Method in class net.citizensnpcs.api.astar.SimpleAStarStorage
 
openInventory(Player) - Method in class net.citizensnpcs.api.trait.trait.Inventory
 
overlaps(QuadCuboid) - Method in class net.citizensnpcs.api.util.cuboid.QuadCuboid
 
overlapsExisting(QuadCuboid) - Method in class net.citizensnpcs.api.util.cuboid.QuadTree
 
Owner - Class in net.citizensnpcs.api.trait.trait
Represents the owner of an NPC.
Owner() - Constructor for class net.citizensnpcs.api.trait.trait.Owner
 

P

Paginator - Class in net.citizensnpcs.api.util
 
Paginator() - Constructor for class net.citizensnpcs.api.util.Paginator
 
ParallelBehavior - Interface in net.citizensnpcs.api.ai.tree
A marker interface for Behaviors that indicates to any parent nodes that the behavior can be run in parallel along with other behaviors.
parseColors(String) - Static method in class net.citizensnpcs.api.util.Colorizer
 
parseLocation(Location, String) - Static method in class net.citizensnpcs.api.command.CommandContext
 
Path - Class in net.citizensnpcs.api.astar.pathfinder
 
Path(Collection<Vector>) - Constructor for class net.citizensnpcs.api.astar.pathfinder.Path
 
path - Variable in class net.citizensnpcs.api.util.DataKey
 
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.
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.
Persist - Annotation Type in net.citizensnpcs.api.persistence
Tells the PersistenceLoader to persist this field by saving and loading it into DataKeys.
Persistable - Interface in net.citizensnpcs.api.persistence
 
PersistenceLoader - Class in net.citizensnpcs.api.persistence
 
PersistenceLoader() - Constructor for class net.citizensnpcs.api.persistence.PersistenceLoader
 
Persister<T> - Interface in net.citizensnpcs.api.persistence
 
Plan - Interface in net.citizensnpcs.api.astar
 
PLAYER_NOT_FOUND_FOR_SPAWN - Static variable in class net.citizensnpcs.api.command.CommandMessages
 
PLAYER_SKIN_TEXTURE_PROPERTIES_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
PLAYER_SKIN_TEXTURE_PROPERTIES_SIGN_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
PLAYER_SKIN_USE_LATEST - Static variable in interface net.citizensnpcs.api.npc.NPC
 
PLAYER_SKIN_UUID_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
PlayerCreateNPCEvent - Class in net.citizensnpcs.api.event
 
PlayerCreateNPCEvent(Player, NPC) - Constructor for class net.citizensnpcs.api.event.PlayerCreateNPCEvent
 
PointND - Interface in net.citizensnpcs.api.util.prtree
A description of an N-dimensional point
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
 
PrioritisableGoal - Interface in net.citizensnpcs.api.ai
 
prioritySelectionFunction() - Static method in class net.citizensnpcs.api.ai.tree.Selectors
 
prioritySelector(Comparator<Behavior>, Behavior...) - Static method in class net.citizensnpcs.api.ai.tree.Selectors
 
prioritySelector(Comparator<Behavior>, Collection<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
 
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
 
PRTree<T> - Class in net.citizensnpcs.api.util.prtree
A Priority R-Tree, a spatial index, for N dimensions.
PRTree(MBRConverter<T>, int) - Constructor for class net.citizensnpcs.api.util.prtree.PRTree
Create a new PRTree using the specified branch factor.

Q

QuadCuboid - Class in net.citizensnpcs.api.util.cuboid
 
QuadCuboid(int, int, int, int, int, int) - Constructor for class net.citizensnpcs.api.util.cuboid.QuadCuboid
 
QuadCuboid(int[], int[]) - Constructor for class net.citizensnpcs.api.util.cuboid.QuadCuboid
 
QuadNode - Class in net.citizensnpcs.api.util.cuboid
 
QuadTree - Class in net.citizensnpcs.api.util.cuboid
 
QuadTree() - Constructor for class net.citizensnpcs.api.util.cuboid.QuadTree
 

R

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
 
RadiusNPCFlock(double) - Constructor for class net.citizensnpcs.api.ai.flocking.RadiusNPCFlock
 
RadiusNPCFlock(double, int) - Constructor for class net.citizensnpcs.api.ai.flocking.RadiusNPCFlock
 
radiusSquared() - Method in class net.citizensnpcs.api.npc.BlockBreaker.BlockBreakerConfiguration
 
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.
Region3D<T> - Class in net.citizensnpcs.api.util.prtree
 
Region3D(Vector, Vector, T) - Constructor for class net.citizensnpcs.api.util.prtree.Region3D
 
Region3D.Converter<C> - Class in net.citizensnpcs.api.util.prtree
 
Region3D.Converter() - Constructor for class net.citizensnpcs.api.util.prtree.Region3D.Converter
 
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<?>) - Method in class net.citizensnpcs.api.command.CommandManager
Register a class that contains commands (methods annotated with Command).
registerAnnotationProcessor(CommandAnnotationProcessor) - Method in class net.citizensnpcs.api.command.CommandManager
Registers an CommandAnnotationProcessor that can process annotations before a command is executed.
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.
registerTrait(TraitInfo) - Method in interface net.citizensnpcs.api.trait.TraitFactory
Registers a trait using the given information.
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(QuadCuboid) - Method in class net.citizensnpcs.api.util.cuboid.QuadTree
 
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
 
removeBestNode() - Method in class net.citizensnpcs.api.astar.SimpleAStarStorage
 
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
 
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
 
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.
removeRunCallback(Runnable) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
Removes a previously added run callback.
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.
REPORT_ERROR - Static variable in class net.citizensnpcs.api.command.CommandMessages
 
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
 
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.StatusCoercer
 
reset() - Method in class net.citizensnpcs.api.ai.tree.TimerDecorator
 
ResourceTranslationProvider - Class in net.citizensnpcs.api.util
 
ResourceTranslationProvider(String, Class<?>) - Constructor for class net.citizensnpcs.api.util.ResourceTranslationProvider
 
RESPAWN_DELAY_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
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 Behaviors when they return BehaviorStatus.FAILURE.
retryChildren(boolean) - Method in class net.citizensnpcs.api.ai.tree.Selector.Builder
Sets whether to retry child Behaviors when they return BehaviorStatus.FAILURE.
retryChildren() - Method in class net.citizensnpcs.api.ai.tree.Selector
 
retryChildren() - Method in class net.citizensnpcs.api.ai.tree.Sequence
 
run() - Method in class net.citizensnpcs.api.ai.flocking.Flocker
 
run(GoalSelector) - Method in interface net.citizensnpcs.api.ai.Goal
Updates the goal.
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(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() - Method in interface net.citizensnpcs.api.ai.tree.Behavior
Ticks the behavior, optionally changing the state that it is in.
run(GoalSelector) - Method in class net.citizensnpcs.api.ai.tree.BehaviorGoalAdapter
 
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.StatusCoercer
 
run() - Method in class net.citizensnpcs.api.ai.tree.TimerDecorator
 
run(AStarMachine<N, P>.AStarState) - Method in class net.citizensnpcs.api.astar.AStarMachine
Runs the AStarMachine.AStarState until a plan is found.
run(AStarMachine<N, P>.AStarState, int) - Method in class net.citizensnpcs.api.astar.AStarMachine
Runs the machine using the given AStarMachine.AStarState's AStarStorage.
run(NPC) - Method in class net.citizensnpcs.api.astar.pathfinder.Path
 
run(NPC, Block, ListIterator<Block>) - Method in interface net.citizensnpcs.api.astar.pathfinder.PathPoint.PathCallback
 
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() - Method in class net.citizensnpcs.api.trait.trait.Inventory
 
run() - Method in class net.citizensnpcs.api.trait.Trait
 
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.
runPrecondition(Condition) - Static method in class net.citizensnpcs.api.ai.tree.Precondition
Creates a Precondition that returns either BehaviorStatus.SUCCESS or BehaviorStatus.FAILURE depending on the underlying Condition's return status.

S

save(DataKey) - Method in class net.citizensnpcs.api.npc.AbstractNPC
 
save(DataKey) - Method in interface net.citizensnpcs.api.npc.NPC
Saves the NPC to the given DataKey.
save(EulerAngle, DataKey) - Method in class net.citizensnpcs.api.persistence.EulerAnglePersister
 
save(ItemStack, DataKey) - Method in class net.citizensnpcs.api.persistence.ItemStackPersister
 
save(Location, DataKey) - Method in class net.citizensnpcs.api.persistence.LocationPersister
 
save(DataKey) - Method in interface net.citizensnpcs.api.persistence.Persistable
 
save(Object, DataKey) - Static method in class net.citizensnpcs.api.persistence.PersistenceLoader
Scans the object for fields annotated with Persist and saves them to the given DataKey.
save(T, DataKey) - Method in interface net.citizensnpcs.api.persistence.Persister
Saves the object instance to the given DataKey.
save(UUID, DataKey) - Method in class net.citizensnpcs.api.persistence.UUIDPersister
 
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() - 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
 
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
 
SCOREBOARD_FAKE_TEAM_NAME_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
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 and Compilable.
ScriptCompiler - Class in net.citizensnpcs.api.scripting
Compiles files into ScriptFactorys.
ScriptCompiler(ClassLoader) - Constructor for class net.citizensnpcs.api.scripting.ScriptCompiler
 
ScriptCompiler.CompileTaskBuilder - Class in net.citizensnpcs.api.scripting
 
ScriptFactory - Interface in net.citizensnpcs.api.scripting
Represents a producer of Scripts.
search(int, int, int) - Method in class net.citizensnpcs.api.util.cuboid.QuadTree
 
select(Goal) - Method in interface net.citizensnpcs.api.ai.GoalSelector
Replaces the execution of any running Goals with the specified goal.
select(Goal) - Method in class net.citizensnpcs.api.ai.SimpleGoalController.SimpleGoalSelector
 
selectAdditional(Goal...) - Method in interface net.citizensnpcs.api.ai.GoalSelector
Adds the provided Goals to the execution list.
selectAdditional(Goal...) - Method in class net.citizensnpcs.api.ai.SimpleGoalController.SimpleGoalSelector
 
selecting(Behavior...) - Static method in class net.citizensnpcs.api.ai.tree.Selector
 
selecting(Collection<Behavior>) - Static method in class net.citizensnpcs.api.ai.tree.Selector
 
selectionFunction(Function<List<Behavior>, Behavior>) - Method in class net.citizensnpcs.api.ai.tree.Selector.Builder
Sets the Function that selects a Behavior to execute from a list of behaviors, such as a random selection or a priority selection.
Selector - Class in net.citizensnpcs.api.ai.tree
A selector of sub-goals, that chooses a single Behavior to execute from a list.
Selector.Builder - Class in net.citizensnpcs.api.ai.tree
 
Selectors - Class in net.citizensnpcs.api.ai.tree
 
Selectors.PrioritySelection - Class in net.citizensnpcs.api.ai.tree
 
send(CommandSender, Object...) - Static method in class net.citizensnpcs.api.util.Messaging
 
sendError(CommandSender, Object...) - Static method in class net.citizensnpcs.api.util.Messaging
 
sendErrorTr(CommandSender, String, Object...) - Static method in class net.citizensnpcs.api.util.Messaging
 
sendPage(CommandSender, int) - Method in class net.citizensnpcs.api.util.Paginator
 
sendTr(CommandSender, String, Object...) - Static method in class net.citizensnpcs.api.util.Messaging
 
sendWithNPC(CommandSender, Object, NPC) - Static method in class net.citizensnpcs.api.util.Messaging
 
SeparationBehavior - Class in net.citizensnpcs.api.ai.flocking
 
SeparationBehavior(double) - Constructor for class net.citizensnpcs.api.ai.flocking.SeparationBehavior
 
Sequence - Class in net.citizensnpcs.api.ai.tree
 
SERVER - Static variable in class net.citizensnpcs.api.trait.trait.Owner
 
ServerCommandException - Exception in net.citizensnpcs.api.command.exception
 
ServerCommandException() - Constructor for exception net.citizensnpcs.api.command.exception.ServerCommandException
 
set(String, Object) - Method in interface net.citizensnpcs.api.npc.MetadataStore
Stores data at the given key.
set(String, Object) - Method in class net.citizensnpcs.api.npc.SimpleMetadataStore
 
set(Equipment.EquipmentSlot, ItemStack) - Method in class net.citizensnpcs.api.trait.trait.Equipment
 
set(int, ItemStack) - Method in class net.citizensnpcs.api.trait.trait.Equipment
Set the armor from the given slot as the given item.
setAction(StuckAction) - Method in class net.citizensnpcs.api.ai.event.NavigationStuckEvent
 
setAttribute(String, Object) - Method in interface net.citizensnpcs.api.scripting.Script
Sets the attribute with the given name and value.
setAttribute(String, Object) - Method in class net.citizensnpcs.api.scripting.SimpleScript
 
setBoolean(String, boolean) - Method in class net.citizensnpcs.api.util.DataKey
 
setBoolean(String, boolean) - Method in class net.citizensnpcs.api.util.MemoryDataKey
 
setBoolean(String, boolean) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
 
setBoolean(String, boolean) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
 
setBukkitEntityType(EntityType) - Method in interface net.citizensnpcs.api.npc.NPC
Sets the EntityType of this NPC.
setCancelled(boolean) - Method in class net.citizensnpcs.api.ai.speech.event.NPCSpeechEvent
 
setCancelled(boolean) - Method in class net.citizensnpcs.api.ai.speech.event.SpeechEvent
 
setCancelled(boolean) - Method in class net.citizensnpcs.api.event.CommandSenderCreateNPCEvent
 
setCancelled(boolean) - Method in class net.citizensnpcs.api.event.EntityTargetNPCEvent
 
setCancelled(boolean) - Method in class net.citizensnpcs.api.event.NPCClickEvent
 
setCancelled(boolean) - Method in class net.citizensnpcs.api.event.NPCCombustEvent
 
setCancelled(boolean) - Method in class net.citizensnpcs.api.event.NPCDamageEvent
 
setCancelled(boolean) - Method in class net.citizensnpcs.api.event.NPCDespawnEvent
 
setCancelled(boolean) - Method in class net.citizensnpcs.api.event.NPCEnderTeleportEvent
 
setCancelled(boolean) - Method in class net.citizensnpcs.api.event.NPCPushEvent
 
setCancelled(boolean) - Method in class net.citizensnpcs.api.event.NPCSpawnEvent
 
setCancelled(boolean) - Method in class net.citizensnpcs.api.event.NPCTeleportEvent
 
setCancelReason(CancelReason) - Method in class net.citizensnpcs.api.ai.AbstractPathStrategy
 
setCancelReason(String) - Method in class net.citizensnpcs.api.event.CommandSenderCreateNPCEvent
Sets the reason for cancelling the event.
setCollisionVector(Vector) - Method in class net.citizensnpcs.api.event.NPCPushEvent
Sets the collision Vector to be applied to the NPC.
setContents(ItemStack[]) - Method in class net.citizensnpcs.api.trait.trait.Inventory
Sets the contents of an NPC's inventory.
setDamage(int) - Method in class net.citizensnpcs.api.event.NPCDamageEvent
 
setDefaultVocalChord(Class<VocalChord>) - Method in class net.citizensnpcs.api.trait.trait.Speech
Sets the name of the default VocalChord for this NPC.
setDouble(String, double) - Method in class net.citizensnpcs.api.util.DataKey
 
setDouble(String, double) - Method in class net.citizensnpcs.api.util.MemoryDataKey
 
setDouble(String, double) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
 
setDouble(String, double) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
 
setDroppedExp(int) - Method in class net.citizensnpcs.api.event.NPCDeathEvent
 
setDuration(int) - Method in class net.citizensnpcs.api.event.NPCCombustEvent
The number of seconds the combustee should be alight for.
setFlyable(boolean) - Method in class net.citizensnpcs.api.npc.AbstractNPC
 
setFlyable(boolean) - Method in interface net.citizensnpcs.api.npc.NPC
Sets whether this NPC is flyable or not.
setImplementation(CitizensPlugin) - Static method in class net.citizensnpcs.api.CitizensAPI
Sets the current Citizens implementation.
setInjector(Injector) - Method in class net.citizensnpcs.api.command.CommandManager
 
setInstance(File, Locale) - Static method in class net.citizensnpcs.api.util.Translator
 
setInt(String, int) - Method in class net.citizensnpcs.api.util.DataKey
 
setInt(String, int) - Method in class net.citizensnpcs.api.util.MemoryDataKey
 
setInt(String, int) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
 
setInt(String, int) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
 
setLong(String, long) - Method in class net.citizensnpcs.api.util.DataKey
 
setLong(String, long) - Method in class net.citizensnpcs.api.util.MemoryDataKey
 
setLong(String, long) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
 
setLong(String, long) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
 
setMaxForce(double) - Method in class net.citizensnpcs.api.ai.flocking.Flocker
 
setMessage(String) - Method in class net.citizensnpcs.api.ai.speech.event.SpeechEvent
Sets the message to be sent to the bystander.
setMessage(String) - Method in class net.citizensnpcs.api.ai.speech.SpeechContext
Sets the text message sent.
setName(String) - Method in class net.citizensnpcs.api.npc.AbstractNPC
 
setName(String) - Method in interface net.citizensnpcs.api.npc.NPC
Sets the name of this NPC.
setOwner(CommandSender) - Method in class net.citizensnpcs.api.trait.trait.Owner
 
setOwner(String) - Method in class net.citizensnpcs.api.trait.trait.Owner
Sets the owner of an NPC.
setOwner(String, UUID) - Method in class net.citizensnpcs.api.trait.trait.Owner
Sets the owner of an NPC.
setPaused(boolean) - Method in interface net.citizensnpcs.api.ai.GoalController
Sets whether the controller is paused.
setPaused(boolean) - Method in interface net.citizensnpcs.api.ai.Navigator
Sets whether the navigator is paused and shouldn't process the path for now.
setPaused(boolean) - Method in class net.citizensnpcs.api.ai.SimpleGoalController
 
setPersistent(String, Object) - Method in interface net.citizensnpcs.api.npc.MetadataStore
Stores data at the given key.
setPersistent(String, Object) - Method in class net.citizensnpcs.api.npc.SimpleMetadataStore
 
setProtected(boolean) - Method in class net.citizensnpcs.api.npc.AbstractNPC
 
setProtected(boolean) - Method in interface net.citizensnpcs.api.npc.NPC
A helper method for using NPC.DEFAULT_PROTECTED_METADATA to set the NPC as protected or not protected from damage/entity target events.
setRaw(String, Object) - Method in class net.citizensnpcs.api.util.DataKey
 
setRaw(String, Object) - Method in class net.citizensnpcs.api.util.MemoryDataKey
 
setRaw(String, Object) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
 
setRaw(String, Object) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
 
setSpawned(boolean) - Method in class net.citizensnpcs.api.trait.trait.Spawned
Sets whether an NPC should spawn during server starts or reloads.
setStorageSupplier(Supplier<AStarStorage>) - Method in class net.citizensnpcs.api.astar.AStarMachine
Sets the Supplier to use to generate instances of AStarStorage for use while searching.
setString(String, String) - Method in class net.citizensnpcs.api.util.DataKey
 
setString(String, String) - Method in class net.citizensnpcs.api.util.MemoryDataKey
 
setString(String, String) - Method in class net.citizensnpcs.api.util.NBTStorage.NBTKey
 
setString(String, String) - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
 
setTalker(Entity) - Method in class net.citizensnpcs.api.ai.speech.SpeechContext
Sets the talker.
setTalker(LivingEntity) - Method in class net.citizensnpcs.api.ai.speech.SpeechContext
Deprecated.
setTarget(Entity, boolean) - Method in interface net.citizensnpcs.api.ai.Navigator
Sets the current navigation to an entity target.
setTarget(Iterable<Vector>) - Method in interface net.citizensnpcs.api.ai.Navigator
Sets the current navigation using a list of Vectors which will be followed in turn.
setTarget(Location) - Method in interface net.citizensnpcs.api.ai.Navigator
Sets the current navigation to a Location destination.
setType(EntityType) - Method in class net.citizensnpcs.api.trait.trait.MobType
Sets the type of mob that an NPC is.
setVector(Vector) - Method in interface net.citizensnpcs.api.astar.pathfinder.PathPoint
 
setVector(Vector) - Method in class net.citizensnpcs.api.astar.pathfinder.VectorNode
 
setVocalChord(String) - Method in class net.citizensnpcs.api.ai.speech.event.NPCSpeechEvent
Sets the name of the VocalChord to be used.
severe(Object...) - Static method in class net.citizensnpcs.api.util.Messaging
 
severeTr(String, Object...) - Static method in class net.citizensnpcs.api.util.Messaging
 
ShortTag - Class in net.citizensnpcs.api.jnbt
The TAG_Short tag.
ShortTag(String, short) - Constructor for class net.citizensnpcs.api.jnbt.ShortTag
Creates the tag.
SHOULD_SAVE_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
shouldExamine(AStarNode) - Method in interface net.citizensnpcs.api.astar.AStarStorage
 
shouldExamine(AStarNode) - Method in class net.citizensnpcs.api.astar.SimpleAStarStorage
 
shouldExecute(GoalSelector) - Method in interface net.citizensnpcs.api.ai.Goal
Returns whether the goal is ready to start.
shouldExecute() - Method in class net.citizensnpcs.api.ai.goals.MoveToGoal
 
shouldExecute() - Method in class net.citizensnpcs.api.ai.goals.TargetNearbyEntityGoal
 
shouldExecute() - Method in class net.citizensnpcs.api.ai.goals.WanderGoal
 
shouldExecute() - Method in interface net.citizensnpcs.api.ai.tree.Behavior
 
shouldExecute(GoalSelector) - Method in class net.citizensnpcs.api.ai.tree.BehaviorGoalAdapter
 
shouldExecute() - Method in class net.citizensnpcs.api.ai.tree.Composite
 
shouldExecute() - Method in class net.citizensnpcs.api.ai.tree.Decorator
 
shouldExecute() - Method in class net.citizensnpcs.api.ai.tree.Empty
 
shouldExecute() - Method in class net.citizensnpcs.api.ai.tree.ForwardingBehaviorGoalAdapter
 
shouldExecute() - Method in class net.citizensnpcs.api.ai.tree.IfElse
 
shouldExecute() - Method in class net.citizensnpcs.api.ai.tree.Loop
 
shouldExecute() - Method in class net.citizensnpcs.api.ai.tree.StatusCoercer
 
shouldExecute() - Method in class net.citizensnpcs.api.ai.tree.TimerDecorator
 
shouldSpawn() - Method in class net.citizensnpcs.api.trait.trait.Spawned
Gets whether an NPC should spawn during server starts or reloads.
shutdown() - Static method in class net.citizensnpcs.api.CitizensAPI
Shuts down any resources currently being held.
SILENT_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
SimpleAStarStorage - Class in net.citizensnpcs.api.astar
 
SimpleAStarStorage() - Constructor for class net.citizensnpcs.api.astar.SimpleAStarStorage
 
SimpleGoalController - Class in net.citizensnpcs.api.ai
 
SimpleGoalController() - Constructor for class net.citizensnpcs.api.ai.SimpleGoalController
 
SimpleGoalController.SimpleGoalSelector - Class in net.citizensnpcs.api.ai
 
SimpleGoalController.SimpleGoalSelector() - Constructor for class net.citizensnpcs.api.ai.SimpleGoalController.SimpleGoalSelector
 
SimpleGoalEntry - Class in net.citizensnpcs.api.ai
 
SimpleGoalEntry(Goal, int) - Constructor for class net.citizensnpcs.api.ai.SimpleGoalEntry
 
SimpleMBR - Class in net.citizensnpcs.api.util.prtree
An implementation of MBRND that keeps a double array with the max and min values
SimpleMBR(double...) - Constructor for class net.citizensnpcs.api.util.prtree.SimpleMBR
Create a new SimpleMBR using the given double values for max and min.
SimpleMBR(T, MBRConverter<T>) - Constructor for class net.citizensnpcs.api.util.prtree.SimpleMBR
Create a new SimpleMBR from a given object and a MBRConverter
SimpleMBR2D - Class in net.citizensnpcs.api.util.prtree
An implementation of MBR that keeps 4 double values for the actual min and max values needed.
SimpleMBR2D(double, double, double, double) - Constructor for class net.citizensnpcs.api.util.prtree.SimpleMBR2D
Create a 2D minimum bounding box
SimpleMetadataStore - Class in net.citizensnpcs.api.npc
 
SimpleMetadataStore() - Constructor for class net.citizensnpcs.api.npc.SimpleMetadataStore
 
SimpleNPCDataStore - Class in net.citizensnpcs.api.npc
 
SimpleNPCDataStore(Storage) - Constructor for class net.citizensnpcs.api.npc.SimpleNPCDataStore
 
SimplePointND - Class in net.citizensnpcs.api.util.prtree
One implementatoin of a point
SimplePointND(double...) - Constructor for class net.citizensnpcs.api.util.prtree.SimplePointND
Create a new SimplePointND using the given ordinates.
SimpleScript - Class in net.citizensnpcs.api.scripting
 
SimpleScript(CompiledScript, ContextProvider[]) - Constructor for class net.citizensnpcs.api.scripting.SimpleScript
 
SimpleScriptFactory - Class in net.citizensnpcs.api.scripting
 
SimpleSpeechController - Class in net.citizensnpcs.api.ai.speech
Simple implementation of SpeechController which allows a NPC to speak with any registered VocalChord.
SimpleSpeechController(NPC) - Constructor for class net.citizensnpcs.api.ai.speech.SimpleSpeechController
 
size() - Method in class net.citizensnpcs.api.ai.speech.SpeechContext
 
sorted() - Method in interface net.citizensnpcs.api.npc.NPCRegistry
Returns a sorted view of this registry, sorted by NPC id.
spawn(Location) - Method in interface net.citizensnpcs.api.npc.NPC
Attempts to spawn this NPC.
Spawned - Class in net.citizensnpcs.api.trait.trait
Represents the spawn state of an NPC.
Spawned() - Constructor for class net.citizensnpcs.api.trait.trait.Spawned
 
speak(SpeechContext) - Method in class net.citizensnpcs.api.ai.speech.SimpleSpeechController
 
speak(SpeechContext, String) - Method in class net.citizensnpcs.api.ai.speech.SimpleSpeechController
 
speak(SpeechContext) - Method in interface net.citizensnpcs.api.ai.speech.SpeechController
Sends the speechController's NPC and SpeechContext to the current default VocalChord for the NPC.
speak(SpeechContext, String) - Method in interface net.citizensnpcs.api.ai.speech.SpeechController
Sends the speechController's NPC and SpeechContext to the specified VocalChord.
Speech - Class in net.citizensnpcs.api.trait.trait
Represents the default speech settings of an NPC.
Speech() - Constructor for class net.citizensnpcs.api.trait.trait.Speech
 
SpeechBystanderEvent - Class in net.citizensnpcs.api.ai.speech.event
Represents an event where a Talkable entity speaks by a Talkable bystander.
SpeechBystanderEvent(Talkable, SpeechContext, String, VocalChord) - Constructor for class net.citizensnpcs.api.ai.speech.event.SpeechBystanderEvent
 
SpeechContext - Class in net.citizensnpcs.api.ai.speech
SpeechContext contains information about a NPCSpeechEvent, including the Talkable talker, recipients, and message.
SpeechContext() - Constructor for class net.citizensnpcs.api.ai.speech.SpeechContext
 
SpeechContext(NPC, String) - Constructor for class net.citizensnpcs.api.ai.speech.SpeechContext
 
SpeechContext(NPC, String, LivingEntity) - Constructor for class net.citizensnpcs.api.ai.speech.SpeechContext
 
SpeechContext(String) - Constructor for class net.citizensnpcs.api.ai.speech.SpeechContext
 
SpeechContext(String, LivingEntity) - Constructor for class net.citizensnpcs.api.ai.speech.SpeechContext
 
SpeechController - Interface in net.citizensnpcs.api.ai.speech
Represents the NPCs speech abilities using VocalChords registered with the SpeechFactory.
SpeechEvent - Class in net.citizensnpcs.api.ai.speech.event
Represents an event where a Talkable entity speaks at/near a Talkable entity.
SpeechEvent(Talkable, SpeechContext, String, VocalChord) - Constructor for class net.citizensnpcs.api.ai.speech.event.SpeechEvent
 
SpeechFactory - Interface in net.citizensnpcs.api.ai.speech
SpeechFactory keeps track of and creates new VocalChord instances, necessary for NPC Speech.
SpeechTargetedEvent - Class in net.citizensnpcs.api.ai.speech.event
Represents an event where a Talkable entity speaks to another Talkable entity.
SpeechTargetedEvent(Talkable, SpeechContext, String, VocalChord) - Constructor for class net.citizensnpcs.api.ai.speech.event.SpeechTargetedEvent
 
speed() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
 
speed(float) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
speedModifier() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
 
speedModifier(float) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
Sets the movement speed modifier of the Navigator.
stationaryTicks() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
 
stationaryTicks(int) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
Sets the number of stationary ticks before navigation is cancelled with a CancelReason of STUCK.
StatusCoercer - Class in net.citizensnpcs.api.ai.tree
 
stop() - Method in interface net.citizensnpcs.api.ai.PathStrategy
Forcibly stops pathfinding.
stopExecution(Behavior) - Method in class net.citizensnpcs.api.ai.tree.Composite
 
Storage - Interface in net.citizensnpcs.api.util
 
store(NPC) - Method in class net.citizensnpcs.api.npc.MemoryNPCDataStore
 
store(NPC) - Method in interface net.citizensnpcs.api.npc.NPCDataStore
Stores the given NPC into memory or to a disk representation.
store(NPC) - Method in class net.citizensnpcs.api.npc.SimpleNPCDataStore
 
storeAll(NPCRegistry) - Method in class net.citizensnpcs.api.npc.MemoryNPCDataStore
 
storeAll(NPCRegistry) - Method in interface net.citizensnpcs.api.npc.NPCDataStore
Stores all NPCs in the given NPCRegistry to disk.
storeAll(NPCRegistry) - Method in class net.citizensnpcs.api.npc.SimpleNPCDataStore
 
StringTag - Class in net.citizensnpcs.api.jnbt
The TAG_String tag.
StringTag(String, String) - Constructor for class net.citizensnpcs.api.jnbt.StringTag
Creates the tag.
stripColors(String) - Static method in class net.citizensnpcs.api.util.Colorizer
 
stuckAction() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
Gets the StuckAction of these parameters.
stuckAction(StuckAction) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
Sets the StuckAction of the parameters.
StuckAction - Interface in net.citizensnpcs.api.ai
 
SWIMMING_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 

T

Tag - Class in net.citizensnpcs.api.jnbt
Represents a single NBT tag.
Tag(String) - Constructor for class net.citizensnpcs.api.jnbt.Tag
Creates the tag with the specified name.
talk(SpeechContext) - Method in interface net.citizensnpcs.api.ai.speech.VocalChord
Called when an NPC's SpeechController needs to output some text to a Talkable entity.
Talkable - Interface in net.citizensnpcs.api.ai.speech
Talkable provides an interface for talking to Players, Entities and NPCs.
talkNear(SpeechContext, String, VocalChord) - Method in interface net.citizensnpcs.api.ai.speech.Talkable
Called by a VocalChord when talking near this Talkable Entity to provide a universal method to getting an event/output.
talkTo(SpeechContext, String, VocalChord) - Method in interface net.citizensnpcs.api.ai.speech.Talkable
Called by a VocalChord when talking to this Talkable Entity to provide a universal method to getting an event/output.
TARGETABLE_METADATA - Static variable in interface net.citizensnpcs.api.npc.NPC
 
TargetNearbyEntityGoal - Class in net.citizensnpcs.api.ai.goals
 
TargetNearbyEntityGoal.Builder - Class in net.citizensnpcs.api.ai.goals
 
TargetNearbyEntityGoal.Builder(NPC) - Constructor for class net.citizensnpcs.api.ai.goals.TargetNearbyEntityGoal.Builder
 
targets(Set<EntityType>) - Method in class net.citizensnpcs.api.ai.goals.TargetNearbyEntityGoal.Builder
 
TargetType - Enum in net.citizensnpcs.api.ai
 
teleport(Location, PlayerTeleportEvent.TeleportCause) - Method in class net.citizensnpcs.api.npc.AbstractNPC
 
teleport(Location, PlayerTeleportEvent.TeleportCause) - Method in interface net.citizensnpcs.api.npc.NPC
An alternative to {#getBukkitEntity().getLocation() that teleports passengers as well.
TeleportStuckAction - Class in net.citizensnpcs.api.ai
 
tickLimiter(Behavior, int) - Static method in class net.citizensnpcs.api.ai.tree.TimerDecorator
 
tickParallel() - Method in class net.citizensnpcs.api.ai.tree.Composite
 
TimerDecorator - Class in net.citizensnpcs.api.ai.tree
 
TOO_FEW_ARGUMENTS - Static variable in class net.citizensnpcs.api.command.CommandMessages
 
TOO_MANY_ARGUMENTS - Static variable in class net.citizensnpcs.api.command.CommandMessages
 
toString() - Method in class net.citizensnpcs.api.ai.tree.ForwardingBehaviorGoalAdapter
 
toString() - Method in class net.citizensnpcs.api.ai.tree.Selector
 
toString() - Method in class net.citizensnpcs.api.ai.tree.Sequence
 
toString() - Method in class net.citizensnpcs.api.astar.pathfinder.Path
 
toString() - Method in class net.citizensnpcs.api.astar.SimpleAStarStorage
 
toString() - Method in class net.citizensnpcs.api.jnbt.ByteArrayTag
 
toString() - Method in class net.citizensnpcs.api.jnbt.ByteTag
 
toString() - Method in class net.citizensnpcs.api.jnbt.CompoundTag
 
toString() - Method in class net.citizensnpcs.api.jnbt.DoubleTag
 
toString() - Method in class net.citizensnpcs.api.jnbt.EndTag
 
toString() - Method in class net.citizensnpcs.api.jnbt.FloatTag
 
toString() - Method in class net.citizensnpcs.api.jnbt.IntArrayTag
 
toString() - Method in class net.citizensnpcs.api.jnbt.IntTag
 
toString() - Method in class net.citizensnpcs.api.jnbt.ListTag
 
toString() - Method in class net.citizensnpcs.api.jnbt.LongTag
 
toString() - Method in class net.citizensnpcs.api.jnbt.ShortTag
 
toString() - Method in class net.citizensnpcs.api.jnbt.StringTag
 
toString() - Method in class net.citizensnpcs.api.trait.trait.Equipment
 
toString() - Method in class net.citizensnpcs.api.trait.trait.Inventory
 
toString() - Method in class net.citizensnpcs.api.trait.trait.MobType
 
toString() - Method in class net.citizensnpcs.api.trait.trait.Owner
 
toString() - Method in class net.citizensnpcs.api.trait.trait.Spawned
 
toString() - Method in class net.citizensnpcs.api.trait.trait.Speech
 
toString() - Method in class net.citizensnpcs.api.util.cuboid.QuadCuboid
 
toString() - Method in class net.citizensnpcs.api.util.cuboid.QuadNode
 
toString() - Method in class net.citizensnpcs.api.util.NBTStorage
 
toString() - Method in class net.citizensnpcs.api.util.prtree.SimpleMBR
 
toString() - Method in class net.citizensnpcs.api.util.prtree.SimpleMBR2D
Get a string representation of this mbr.
toString() - Method in class net.citizensnpcs.api.util.YamlStorage
 
toString() - Method in class net.citizensnpcs.api.util.YamlStorage.YamlKey
 
tr(String, Object...) - Static method in class net.citizensnpcs.api.util.Messaging
 
Trait - Class in net.citizensnpcs.api.trait
Represents a Trait that can be loaded and saved.
Trait(String) - Constructor for class net.citizensnpcs.api.trait.Trait
 
TraitFactory - Interface in net.citizensnpcs.api.trait
 
TraitInfo - Class in net.citizensnpcs.api.trait
Builds a trait.
TraitName - Annotation Type in net.citizensnpcs.api.trait
 
traits - Variable in class net.citizensnpcs.api.npc.AbstractNPC
 
translate(String, Locale, Object...) - Static method in class net.citizensnpcs.api.util.Translator
 
translate(String, Object...) - Static method in class net.citizensnpcs.api.util.Translator
 
Translator - Class in net.citizensnpcs.api.util
 
Translator.TranslationProvider - Interface in net.citizensnpcs.api.util
 
tryCreateInstance() - Method in class net.citizensnpcs.api.trait.TraitInfo
 
tryTranslate(Object) - Static method in class net.citizensnpcs.api.util.Messaging
 
TYPE_BYTE - Static variable in class net.citizensnpcs.api.jnbt.NBTConstants
Tag type constants.
TYPE_BYTE_ARRAY - Static variable in class net.citizensnpcs.api.jnbt.NBTConstants
Tag type constants.
TYPE_COMPOUND - Static variable in class net.citizensnpcs.api.jnbt.NBTConstants
Tag type constants.
TYPE_DOUBLE - Static variable in class net.citizensnpcs.api.jnbt.NBTConstants
Tag type constants.
TYPE_END - Static variable in class net.citizensnpcs.api.jnbt.NBTConstants
Tag type constants.
TYPE_FLOAT - Static variable in class net.citizensnpcs.api.jnbt.NBTConstants
Tag type constants.
TYPE_INT - Static variable in class net.citizensnpcs.api.jnbt.NBTConstants
Tag type constants.
TYPE_INT_ARRAY - Static variable in class net.citizensnpcs.api.jnbt.NBTConstants
Tag type constants.
TYPE_LIST - Static variable in class net.citizensnpcs.api.jnbt.NBTConstants
Tag type constants.
TYPE_LONG - Static variable in class net.citizensnpcs.api.jnbt.NBTConstants
Tag type constants.
TYPE_SHORT - Static variable in class net.citizensnpcs.api.jnbt.NBTConstants
Tag type constants.
TYPE_STRING - Static variable in class net.citizensnpcs.api.jnbt.NBTConstants
Tag type constants.

U

UnhandledCommandException - Exception in net.citizensnpcs.api.command.exception
 
UnhandledCommandException() - Constructor for exception net.citizensnpcs.api.command.exception.UnhandledCommandException
 
union(MBR) - Method in interface net.citizensnpcs.api.util.prtree.MBR
Return a new MBR that is the union of this mbr and the other
union(MBR2D) - Method in interface net.citizensnpcs.api.util.prtree.MBR2D
Return a new MBR that is the union of this mbr and the other
union(MBR) - Method in class net.citizensnpcs.api.util.prtree.Region3D
 
union(MBR) - Method in class net.citizensnpcs.api.util.prtree.SimpleMBR
 
union(MBR2D) - Method in class net.citizensnpcs.api.util.prtree.SimpleMBR2D
 
UNKNOWN_COMMAND - Static variable in class net.citizensnpcs.api.command.CommandMessages
 
unloadEvents() - Method in class net.citizensnpcs.api.npc.AbstractNPC
 
update() - Method in interface net.citizensnpcs.api.ai.PathStrategy
Updates and runs the pathfinding strategy on its current NPC and destination.
update(Agent) - Method in class net.citizensnpcs.api.astar.pathfinder.Path
 
update(Agent) - Method in interface net.citizensnpcs.api.astar.Plan
 
update() - Method in class net.citizensnpcs.api.npc.AbstractNPC
 
updatePathRate() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
 
updatePathRate(int) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
Sets the update path rate, in ticks (default 20).
usage - Variable in exception net.citizensnpcs.api.command.exception.CommandUsageException
 
useNewPathfinder() - Method in class net.citizensnpcs.api.ai.NavigatorParameters
 
useNewPathfinder(boolean) - Method in class net.citizensnpcs.api.ai.NavigatorParameters
Sets whether or not to use an A* pathfinder defined in AStarMachine for pathfinding.
UUIDPersister - Class in net.citizensnpcs.api.persistence
 
UUIDPersister() - Constructor for class net.citizensnpcs.api.persistence.UUIDPersister
 

V

validPosition(Block) - Static method in class net.citizensnpcs.api.astar.pathfinder.MinecraftBlockExaminer
 
valueFlags - Variable in class net.citizensnpcs.api.command.CommandContext
 
valueOf(String) - Static method in enum net.citizensnpcs.api.ai.event.CancelReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.citizensnpcs.api.ai.TargetType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.citizensnpcs.api.ai.tree.BehaviorStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.citizensnpcs.api.astar.pathfinder.BlockExaminer.PassableState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.citizensnpcs.api.event.DespawnReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.citizensnpcs.api.trait.trait.Equipment.EquipmentSlot
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.citizensnpcs.api.ai.event.CancelReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.citizensnpcs.api.ai.TargetType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.citizensnpcs.api.ai.tree.BehaviorStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.citizensnpcs.api.astar.pathfinder.BlockExaminer.PassableState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.citizensnpcs.api.event.DespawnReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.citizensnpcs.api.trait.trait.Equipment.EquipmentSlot
Returns an array containing the constants of this enum type, in the order they are declared.
VectorGoal - Class in net.citizensnpcs.api.astar.pathfinder
 
VectorGoal(Location, float) - Constructor for class net.citizensnpcs.api.astar.pathfinder.VectorGoal
 
VectorNode - Class in net.citizensnpcs.api.astar.pathfinder
 
VectorNode(VectorGoal, Location, BlockSource, BlockExaminer...) - Constructor for class net.citizensnpcs.api.astar.pathfinder.VectorNode
 
VectorNode(VectorGoal, Vector, BlockSource, BlockExaminer...) - Constructor for class net.citizensnpcs.api.astar.pathfinder.VectorNode
 
VocalChord - Interface in net.citizensnpcs.api.ai.speech
 

W

WanderGoal - Class in net.citizensnpcs.api.ai.goals
 
withCallback(CompileCallback) - Method in class net.citizensnpcs.api.scripting.ScriptCompiler.CompileTaskBuilder
 
withContextProvider(ContextProvider) - Method in class net.citizensnpcs.api.scripting.ScriptCompiler.CompileTaskBuilder
 
withName(String) - Method in class net.citizensnpcs.api.trait.TraitInfo
 
withPreRunCallback(Runnable) - Method in class net.citizensnpcs.api.ai.tree.Decorator.Builder
 
withResetCallback(Runnable) - Method in class net.citizensnpcs.api.ai.tree.Decorator.Builder
 
withShouldExecutePredicate(Predicate<Boolean>) - Method in class net.citizensnpcs.api.ai.tree.Decorator.Builder
 
withStatusTransformer(Function<BehaviorStatus, BehaviorStatus>) - Method in class net.citizensnpcs.api.ai.tree.Decorator.Builder
 
withSupplier(Supplier<? extends Trait>) - Method in class net.citizensnpcs.api.trait.TraitInfo
 
world - Variable in class net.citizensnpcs.api.astar.pathfinder.CachingChunkBlockSource
 
wrapHeader(Object) - Static method in class net.citizensnpcs.api.util.Paginator
 
WrappedCommandException - Exception in net.citizensnpcs.api.command.exception
 
WrappedCommandException(Throwable) - Constructor for exception net.citizensnpcs.api.command.exception.WrappedCommandException
 
wrapping(Behavior) - Static method in class net.citizensnpcs.api.ai.tree.Decorator
 
wrappingPrecondition(Behavior, Condition) - Static method in class net.citizensnpcs.api.ai.tree.Precondition
Creates a Precondition that wraps the shouldExecute method in Behavior.
writeTag(Tag) - Method in class net.citizensnpcs.api.jnbt.NBTOutputStream
Writes a tag.

Y

YamlStorage - Class in net.citizensnpcs.api.util
 
YamlStorage(File) - Constructor for class net.citizensnpcs.api.util.YamlStorage
 
YamlStorage(File, String) - Constructor for class net.citizensnpcs.api.util.YamlStorage
 
YamlStorage.YamlKey - Class in net.citizensnpcs.api.util
 
YamlStorage.YamlKey(String) - Constructor for class net.citizensnpcs.api.util.YamlStorage.YamlKey
 
A B C D E F G H I K L M N O P Q R S T U V W Y 

Copyright © 2017. All rights reserved.