Index
All Classes and Interfaces|All Packages|Serialized Form
A
- action() - Method in record class de.oliver.fancynpcs.api.actions.NpcAction.NpcActionData
-
Returns the value of the
action
record component. - ActionExecutionContext - Class in de.oliver.fancynpcs.api.actions.executor
-
Context for executing a sequence of NPC actions initiated by different triggers.
- ActionExecutionContext(ActionTrigger, Npc) - Constructor for class de.oliver.fancynpcs.api.actions.executor.ActionExecutionContext
-
Constructs an ActionExecutionContext with the specified ActionTrigger and Npc, without a Player.
- ActionExecutionContext(ActionTrigger, Npc, UUID) - Constructor for class de.oliver.fancynpcs.api.actions.executor.ActionExecutionContext
-
Constructs an ActionExecutionContext with the specified ActionTrigger, Npc, and an optional Player.
- ActionExecutor - Class in de.oliver.fancynpcs.api.actions.executor
- ActionExecutor() - Constructor for class de.oliver.fancynpcs.api.actions.executor.ActionExecutor
- ActionManager - Interface in de.oliver.fancynpcs.api.actions
- ActionTrigger - Enum Class in de.oliver.fancynpcs.api.actions
- add(long, Interval.Unit) - Method in class de.oliver.fancynpcs.api.utils.Interval
- add(Interval) - Method in class de.oliver.fancynpcs.api.utils.Interval
- addAction(ActionTrigger, int, NpcAction, String) - Method in class de.oliver.fancynpcs.api.NpcData
- addAttribute(NpcAttribute, String) - Method in class de.oliver.fancynpcs.api.NpcData
- addEquipment(NpcEquipmentSlot, ItemStack) - Method in class de.oliver.fancynpcs.api.NpcData
- ANY_CLICK - Enum constant in enum class de.oliver.fancynpcs.api.actions.ActionTrigger
-
represents any click interaction by a player.
- apply(Npc, String) - Method in class de.oliver.fancynpcs.api.NpcAttribute
- applyAllAttributes(Npc) - Method in class de.oliver.fancynpcs.api.NpcData
- as(Interval.Unit) - Method in class de.oliver.fancynpcs.api.utils.Interval
-
Returns interval converted to specified
Interval.Unit
(unit)
. - ATTRIBUTE - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- AttributeManager - Interface in de.oliver.fancynpcs.api
- AUTO - Enum constant in enum class de.oliver.fancynpcs.api.skins.SkinData.SkinVariant
B
- between(double, double, Interval.Unit) - Static method in class de.oliver.fancynpcs.api.utils.Interval
- between(long, long, Interval.Unit) - Static method in class de.oliver.fancynpcs.api.utils.Interval
- BlockUntilDoneAction - Class in de.oliver.fancynpcs.api.actions.types
-
The BlockUntilDoneAction class is a specific implementation of the NpcAction class that represents an action requiring the NPC (Non-Player Character) to block its subsequent actions until the current interaction is completed.
- BlockUntilDoneAction() - Constructor for class de.oliver.fancynpcs.api.actions.types.BlockUntilDoneAction
C
- checkAndUpdateVisibility(Player) - Method in class de.oliver.fancynpcs.api.Npc
- CHEST - Enum constant in enum class de.oliver.fancynpcs.api.utils.NpcEquipmentSlot
- COLLIDABLE - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- ConsoleCommandAction - Class in de.oliver.fancynpcs.api.actions.types
-
Represents a console command action that can be executed for an NPC.
- ConsoleCommandAction() - Constructor for class de.oliver.fancynpcs.api.actions.types.ConsoleCommandAction
- create() - Method in class de.oliver.fancynpcs.api.Npc
- CUSTOM - Enum constant in enum class de.oliver.fancynpcs.api.actions.ActionTrigger
-
represents interactions invoked by the API.
D
- data - Variable in class de.oliver.fancynpcs.api.Npc
- DAYS - Enum constant in enum class de.oliver.fancynpcs.api.utils.Interval.Unit
- de.oliver.fancynpcs.api - package de.oliver.fancynpcs.api
- de.oliver.fancynpcs.api.actions - package de.oliver.fancynpcs.api.actions
- de.oliver.fancynpcs.api.actions.executor - package de.oliver.fancynpcs.api.actions.executor
- de.oliver.fancynpcs.api.actions.types - package de.oliver.fancynpcs.api.actions.types
- de.oliver.fancynpcs.api.events - package de.oliver.fancynpcs.api.events
- de.oliver.fancynpcs.api.skins - package de.oliver.fancynpcs.api.skins
- de.oliver.fancynpcs.api.utils - package de.oliver.fancynpcs.api.utils
- DISPLAY_NAME - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
E
- equals(Object) - Method in record class de.oliver.fancynpcs.api.actions.NpcAction.NpcActionData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class de.oliver.fancynpcs.api.skins.SkinData
- EQUIPMENT - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- execute(ActionTrigger, Npc, Player) - Static method in class de.oliver.fancynpcs.api.actions.executor.ActionExecutor
- execute(ActionExecutionContext, String) - Method in class de.oliver.fancynpcs.api.actions.NpcAction
-
Executes the action associated with this NpcAction.
- execute(ActionExecutionContext, String) - Method in class de.oliver.fancynpcs.api.actions.types.ConsoleCommandAction
-
Executes the console command action for an NPC.
- execute(ActionExecutionContext, String) - Method in class de.oliver.fancynpcs.api.actions.types.ExecuteRandomActionAction
-
Executes a random action triggered by the given action trigger on the specified NPC and player.
- execute(ActionExecutionContext, String) - Method in class de.oliver.fancynpcs.api.actions.types.MessageAction
-
Executes the action associated with this NpcAction.
- execute(ActionExecutionContext, String) - Method in class de.oliver.fancynpcs.api.actions.types.PlayerCommandAction
-
Executes a player command action when triggered by an NPC interaction.
- execute(ActionExecutionContext, String) - Method in class de.oliver.fancynpcs.api.actions.types.PlayerCommandAsOpAction
-
Executes a player command as an operator when triggered by an NPC interaction.
- execute(ActionExecutionContext, String) - Method in class de.oliver.fancynpcs.api.actions.types.PlaySoundAction
- execute(ActionExecutionContext, String) - Method in class de.oliver.fancynpcs.api.actions.types.SendToServerAction
-
Executes the action associated with this NpcAction.
- execute(ActionExecutionContext, String) - Method in class de.oliver.fancynpcs.api.actions.types.WaitAction
-
Executes the "wait" action for an NPC.
- execute(ActionExecutionContext, String) - Method in class de.oliver.fancynpcs.api.actions.types.BlockUntilDoneAction
- execute(ActionExecutionContext, String) - Method in class de.oliver.fancynpcs.api.actions.types.NeedPermissionAction
- ExecuteRandomActionAction - Class in de.oliver.fancynpcs.api.actions.types
-
The ExecuteRandomActionAction class represents an action that can be executed randomly by an NPC.
- ExecuteRandomActionAction() - Constructor for class de.oliver.fancynpcs.api.actions.types.ExecuteRandomActionAction
F
- FancyNpcsConfig - Interface in de.oliver.fancynpcs.api
- FancyNpcsPlugin - Interface in de.oliver.fancynpcs.api
- FEET - Enum constant in enum class de.oliver.fancynpcs.api.utils.NpcEquipmentSlot
- fromShortCode(String) - Static method in enum class de.oliver.fancynpcs.api.utils.Interval.Unit
-
Returns
Interval.Unit
ornull
from provided short code.
G
- generateLocalName() - Method in class de.oliver.fancynpcs.api.Npc
- get() - Static method in interface de.oliver.fancynpcs.api.FancyNpcsPlugin
- getActionByName(String) - Method in interface de.oliver.fancynpcs.api.actions.ActionManager
- getActionIndex() - Method in class de.oliver.fancynpcs.api.actions.executor.ActionExecutionContext
- getActionManager() - Method in interface de.oliver.fancynpcs.api.FancyNpcsPlugin
- getActions() - Method in class de.oliver.fancynpcs.api.actions.executor.ActionExecutionContext
- getActions() - Method in class de.oliver.fancynpcs.api.events.NpcInteractEvent
- getActions() - Method in class de.oliver.fancynpcs.api.NpcData
- getActions(ActionTrigger) - Method in class de.oliver.fancynpcs.api.NpcData
- getAllActions() - Method in interface de.oliver.fancynpcs.api.actions.ActionManager
- getAllAttributes() - Method in interface de.oliver.fancynpcs.api.AttributeManager
- getAllAttributesForEntityType(EntityType) - Method in interface de.oliver.fancynpcs.api.AttributeManager
- getAllNpcs() - Method in interface de.oliver.fancynpcs.api.NpcManager
- getAttributeByName(EntityType, String) - Method in interface de.oliver.fancynpcs.api.AttributeManager
- getAttributeManager() - Method in interface de.oliver.fancynpcs.api.FancyNpcsPlugin
- getAttributes() - Method in class de.oliver.fancynpcs.api.NpcData
- getAutoSaveInterval() - Method in interface de.oliver.fancynpcs.api.FancyNpcsConfig
- getBlockedCommands() - Method in interface de.oliver.fancynpcs.api.FancyNpcsConfig
- getByFile(String, SkinData.SkinVariant) - Method in interface de.oliver.fancynpcs.api.skins.SkinManager
-
Fetch a skin by a file path pointing to a skin image (relative to plugins/FancyNPCs/skins)
- getByIdentifier(String, SkinData.SkinVariant) - Method in interface de.oliver.fancynpcs.api.skins.SkinManager
-
Fetch a skin by its identifier and variant
- getByName(String) - Static method in enum class de.oliver.fancynpcs.api.actions.ActionTrigger
-
Gets the ActionTrigger by its name.
- getByURL(String, SkinData.SkinVariant) - Method in interface de.oliver.fancynpcs.api.skins.SkinManager
-
Fetch a skin by a URL pointing to a skin image
- getByUsername(String, SkinData.SkinVariant) - Method in interface de.oliver.fancynpcs.api.skins.SkinManager
-
Fetch a skin by a username of a player
- getByUUID(UUID, SkinData.SkinVariant) - Method in interface de.oliver.fancynpcs.api.skins.SkinManager
-
Fetch a skin by a UUID of a player
- getCreator() - Method in class de.oliver.fancynpcs.api.events.NpcCreateEvent
- getCreator() - Method in class de.oliver.fancynpcs.api.NpcData
- getData() - Method in class de.oliver.fancynpcs.api.Npc
- getDisplayName() - Method in class de.oliver.fancynpcs.api.NpcData
- getEntityId() - Method in class de.oliver.fancynpcs.api.Npc
- getEquipment() - Method in class de.oliver.fancynpcs.api.NpcData
- getEyeHeight() - Method in class de.oliver.fancynpcs.api.Npc
- getFactor() - Method in enum class de.oliver.fancynpcs.api.utils.Interval.Unit
- getFancyLogger() - Method in interface de.oliver.fancynpcs.api.FancyNpcsPlugin
- getFancyNpcConfig() - Method in interface de.oliver.fancynpcs.api.FancyNpcsPlugin
- getGlowingColor() - Method in class de.oliver.fancynpcs.api.NpcData
- getHandlerList() - Static method in class de.oliver.fancynpcs.api.events.NpcCreateEvent
- getHandlerList() - Static method in class de.oliver.fancynpcs.api.events.NpcInteractEvent
- getHandlerList() - Static method in class de.oliver.fancynpcs.api.events.NpcModifyEvent
- getHandlerList() - Static method in class de.oliver.fancynpcs.api.events.NpcRemoveEvent
- getHandlerList() - Static method in class de.oliver.fancynpcs.api.events.NpcsLoadedEvent
- getHandlerList() - Static method in class de.oliver.fancynpcs.api.events.NpcSpawnEvent
- getHandlerList() - Static method in class de.oliver.fancynpcs.api.events.NpcStartLookingEvent
- getHandlerList() - Static method in class de.oliver.fancynpcs.api.events.NpcStopLookingEvent
- getHandlerList() - Static method in class de.oliver.fancynpcs.api.events.PacketReceivedEvent
- getHandlerList() - Static method in class de.oliver.fancynpcs.api.skins.SkinGeneratedEvent
- getHandlers() - Method in class de.oliver.fancynpcs.api.events.NpcCreateEvent
- getHandlers() - Method in class de.oliver.fancynpcs.api.events.NpcInteractEvent
- getHandlers() - Method in class de.oliver.fancynpcs.api.events.NpcModifyEvent
- getHandlers() - Method in class de.oliver.fancynpcs.api.events.NpcRemoveEvent
- getHandlers() - Method in class de.oliver.fancynpcs.api.events.NpcsLoadedEvent
- getHandlers() - Method in class de.oliver.fancynpcs.api.events.NpcSpawnEvent
- getHandlers() - Method in class de.oliver.fancynpcs.api.events.NpcStartLookingEvent
- getHandlers() - Method in class de.oliver.fancynpcs.api.events.NpcStopLookingEvent
- getHandlers() - Method in class de.oliver.fancynpcs.api.events.PacketReceivedEvent
- getHandlers() - Method in class de.oliver.fancynpcs.api.skins.SkinGeneratedEvent
- getId() - Method in class de.oliver.fancynpcs.api.NpcData
- getId() - Method in class de.oliver.fancynpcs.api.skins.SkinGeneratedEvent
- getIdentifier() - Method in class de.oliver.fancynpcs.api.skins.SkinData
- getInteractionCooldown() - Method in class de.oliver.fancynpcs.api.NpcData
- getInteractionType() - Method in class de.oliver.fancynpcs.api.events.NpcInteractEvent
- getIsLookingAtPlayer() - Method in class de.oliver.fancynpcs.api.Npc
- getIsTeamCreated() - Method in class de.oliver.fancynpcs.api.Npc
- getIsVisibleForPlayer() - Method in class de.oliver.fancynpcs.api.Npc
- getLastPlayerInteraction() - Method in class de.oliver.fancynpcs.api.Npc
- getLocation() - Method in class de.oliver.fancynpcs.api.NpcData
- getMaxNpcsPerPermission() - Method in interface de.oliver.fancynpcs.api.FancyNpcsConfig
- getMineSkinApiKey() - Method in interface de.oliver.fancynpcs.api.FancyNpcsConfig
- getModification() - Method in class de.oliver.fancynpcs.api.events.NpcModifyEvent
- getModifier() - Method in class de.oliver.fancynpcs.api.events.NpcModifyEvent
- getName() - Method in class de.oliver.fancynpcs.api.actions.NpcAction
- getName() - Method in class de.oliver.fancynpcs.api.NpcAttribute
- getName() - Method in class de.oliver.fancynpcs.api.NpcData
- getNewValue() - Method in class de.oliver.fancynpcs.api.events.NpcModifyEvent
- getNpc() - Method in class de.oliver.fancynpcs.api.actions.executor.ActionExecutionContext
- getNpc() - Method in class de.oliver.fancynpcs.api.events.NpcCreateEvent
- getNpc() - Method in class de.oliver.fancynpcs.api.events.NpcInteractEvent
- getNpc() - Method in class de.oliver.fancynpcs.api.events.NpcModifyEvent
- getNpc() - Method in class de.oliver.fancynpcs.api.events.NpcRemoveEvent
- getNpc() - Method in class de.oliver.fancynpcs.api.events.NpcSpawnEvent
- getNpc() - Method in class de.oliver.fancynpcs.api.events.NpcStartLookingEvent
- getNpc() - Method in class de.oliver.fancynpcs.api.events.NpcStopLookingEvent
- getNpc(int) - Method in interface de.oliver.fancynpcs.api.NpcManager
- getNpc(String) - Method in interface de.oliver.fancynpcs.api.NpcManager
- getNpc(String, UUID) - Method in interface de.oliver.fancynpcs.api.NpcManager
- getNpcAdapter() - Method in interface de.oliver.fancynpcs.api.FancyNpcsPlugin
- getNpcById(String) - Method in interface de.oliver.fancynpcs.api.NpcManager
- getNpcManager() - Method in interface de.oliver.fancynpcs.api.FancyNpcsPlugin
- getNpcThread() - Method in interface de.oliver.fancynpcs.api.FancyNpcsPlugin
- getNpcUpdateInterval() - Method in interface de.oliver.fancynpcs.api.FancyNpcsConfig
- getNpcUpdateVisibilityInterval() - Method in interface de.oliver.fancynpcs.api.FancyNpcsConfig
- getOnClick() - Method in class de.oliver.fancynpcs.api.events.NpcInteractEvent
- getOnClick() - Method in class de.oliver.fancynpcs.api.NpcData
- getPacket() - Method in class de.oliver.fancynpcs.api.events.PacketReceivedEvent
- getParsedIdentifier() - Method in class de.oliver.fancynpcs.api.skins.SkinData
- getPlayer() - Method in class de.oliver.fancynpcs.api.actions.executor.ActionExecutionContext
- getPlayer() - Method in class de.oliver.fancynpcs.api.events.NpcInteractEvent
- getPlayer() - Method in class de.oliver.fancynpcs.api.events.NpcSpawnEvent
- getPlayer() - Method in class de.oliver.fancynpcs.api.events.NpcStartLookingEvent
- getPlayer() - Method in class de.oliver.fancynpcs.api.events.NpcStopLookingEvent
- getPlayer() - Method in class de.oliver.fancynpcs.api.events.PacketReceivedEvent
- getPlayerUUID() - Method in class de.oliver.fancynpcs.api.actions.executor.ActionExecutionContext
- getPlugin() - Method in interface de.oliver.fancynpcs.api.FancyNpcsPlugin
- getPossibleValues() - Method in class de.oliver.fancynpcs.api.NpcAttribute
- getReason() - Method in exception class de.oliver.fancynpcs.api.skins.SkinLoadException
-
Returns the reason why the skin could not be loaded.
- getRemoveNpcsFromPlayerlistDelay() - Method in interface de.oliver.fancynpcs.api.FancyNpcsConfig
- getScale() - Method in class de.oliver.fancynpcs.api.NpcData
- getScheduler() - Method in interface de.oliver.fancynpcs.api.FancyNpcsPlugin
- getSender() - Method in class de.oliver.fancynpcs.api.events.NpcRemoveEvent
- getShortCode() - Method in enum class de.oliver.fancynpcs.api.utils.Interval.Unit
- getSkin() - Method in class de.oliver.fancynpcs.api.skins.SkinGeneratedEvent
-
Get the skin that was generated
- getSkinData() - Method in class de.oliver.fancynpcs.api.NpcData
- getSkinManager() - Method in interface de.oliver.fancynpcs.api.FancyNpcsPlugin
- getTextureSignature() - Method in class de.oliver.fancynpcs.api.skins.SkinData
- getTextureValue() - Method in class de.oliver.fancynpcs.api.skins.SkinData
- getTranslator() - Method in interface de.oliver.fancynpcs.api.FancyNpcsPlugin
- getTrigger() - Method in class de.oliver.fancynpcs.api.actions.executor.ActionExecutionContext
- getTurnToPlayerDistance() - Method in interface de.oliver.fancynpcs.api.FancyNpcsConfig
- getTurnToPlayerDistance() - Method in class de.oliver.fancynpcs.api.NpcData
-
Gets the turn-to-player distance for this NPC.
- getType() - Method in class de.oliver.fancynpcs.api.NpcData
- getTypes() - Method in class de.oliver.fancynpcs.api.NpcAttribute
- getVariant() - Method in class de.oliver.fancynpcs.api.skins.SkinData
- getVisibilityDistance() - Method in interface de.oliver.fancynpcs.api.FancyNpcsConfig
- getVisibilityDistance() - Method in class de.oliver.fancynpcs.api.NpcData
- GLOWING - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- GLOWING_COLOR - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
H
- hashCode() - Method in record class de.oliver.fancynpcs.api.actions.NpcAction.NpcActionData
-
Returns a hash code value for this object.
- hashCode() - Method in class de.oliver.fancynpcs.api.skins.SkinData
- hasNext() - Method in class de.oliver.fancynpcs.api.actions.executor.ActionExecutionContext
-
Checks if there are more actions to be executed.
- hasTexture() - Method in class de.oliver.fancynpcs.api.skins.SkinData
- HEAD - Enum constant in enum class de.oliver.fancynpcs.api.utils.NpcEquipmentSlot
- HOURS - Enum constant in enum class de.oliver.fancynpcs.api.utils.Interval.Unit
I
- interact(Player) - Method in class de.oliver.fancynpcs.api.Npc
- interact(Player, ActionTrigger) - Method in class de.oliver.fancynpcs.api.Npc
- INTERACTION_COOLDOWN - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- Interval - Class in de.oliver.fancynpcs.api.utils
-
Interval
is simple (but not very extensible) object that provides methods for unit conversion and creation of human-readable 'elapsed time' strings. - Interval(long) - Constructor for class de.oliver.fancynpcs.api.utils.Interval
- Interval.Unit - Enum Class in de.oliver.fancynpcs.api.utils
- INVALID_FILE - Enum constant in enum class de.oliver.fancynpcs.api.skins.SkinLoadException.Reason
- INVALID_PLACEHOLDER - Enum constant in enum class de.oliver.fancynpcs.api.skins.SkinLoadException.Reason
- INVALID_URL - Enum constant in enum class de.oliver.fancynpcs.api.skins.SkinLoadException.Reason
- INVALID_USERNAME - Enum constant in enum class de.oliver.fancynpcs.api.skins.SkinLoadException.Reason
- isCancelled() - Method in class de.oliver.fancynpcs.api.events.NpcCreateEvent
- isCancelled() - Method in class de.oliver.fancynpcs.api.events.NpcInteractEvent
- isCancelled() - Method in class de.oliver.fancynpcs.api.events.NpcModifyEvent
- isCancelled() - Method in class de.oliver.fancynpcs.api.events.NpcRemoveEvent
- isCancelled() - Method in class de.oliver.fancynpcs.api.events.NpcSpawnEvent
- isCollidable() - Method in class de.oliver.fancynpcs.api.NpcData
- isDirty() - Method in class de.oliver.fancynpcs.api.Npc
- isDirty() - Method in class de.oliver.fancynpcs.api.NpcData
- isEnableAutoSave() - Method in interface de.oliver.fancynpcs.api.FancyNpcsConfig
- isGlowing() - Method in class de.oliver.fancynpcs.api.NpcData
- isInteractionCooldownMessageDisabled() - Method in interface de.oliver.fancynpcs.api.FancyNpcsConfig
- isLookingAtPlayer - Variable in class de.oliver.fancynpcs.api.Npc
- isMirrorSkin() - Method in class de.oliver.fancynpcs.api.NpcData
- isMuteVersionNotification() - Method in interface de.oliver.fancynpcs.api.FancyNpcsConfig
- isSaveToFile() - Method in class de.oliver.fancynpcs.api.Npc
- isShowInTab() - Method in class de.oliver.fancynpcs.api.NpcData
- isSkipInvisibleNpcs() - Method in interface de.oliver.fancynpcs.api.FancyNpcsConfig
- isSpawnEntity() - Method in class de.oliver.fancynpcs.api.NpcData
- isTeamCreated - Variable in class de.oliver.fancynpcs.api.Npc
- isTerminated() - Method in class de.oliver.fancynpcs.api.actions.executor.ActionExecutionContext
-
Checks if the action sequence has been terminated.
- isTurnToPlayer() - Method in class de.oliver.fancynpcs.api.NpcData
- isTurnToPlayerResetToInitialDirection() - Method in interface de.oliver.fancynpcs.api.FancyNpcsConfig
- isValidValue(String) - Method in class de.oliver.fancynpcs.api.NpcAttribute
- isVisibleForPlayer - Variable in class de.oliver.fancynpcs.api.Npc
L
- lastPlayerInteraction - Variable in class de.oliver.fancynpcs.api.Npc
- LEFT_CLICK - Enum constant in enum class de.oliver.fancynpcs.api.actions.ActionTrigger
-
represents a left click interaction by a player.
- LEGS - Enum constant in enum class de.oliver.fancynpcs.api.utils.NpcEquipmentSlot
- loadNpcs() - Method in interface de.oliver.fancynpcs.api.NpcManager
- LOCATION - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- lookAt(Player, Location) - Method in class de.oliver.fancynpcs.api.Npc
M
- MAINHAND - Enum constant in enum class de.oliver.fancynpcs.api.utils.NpcEquipmentSlot
- MESSAGE_ADD - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- MESSAGE_CLEAR - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- MESSAGE_REMOVE - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- MESSAGE_SEND_RANDOMLY - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- MESSAGE_SET - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- MessageAction - Class in de.oliver.fancynpcs.api.actions.types
-
The MessageAction class represents an action that sends a message to the player when executed by an NPC.
- MessageAction() - Constructor for class de.oliver.fancynpcs.api.actions.types.MessageAction
- MILLISECONDS - Enum constant in enum class de.oliver.fancynpcs.api.utils.Interval.Unit
- MINUTES - Enum constant in enum class de.oliver.fancynpcs.api.utils.Interval.Unit
- MIRROR_SKIN - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- MONTHS - Enum constant in enum class de.oliver.fancynpcs.api.utils.Interval.Unit
- move(Player) - Method in class de.oliver.fancynpcs.api.Npc
- move(Player, boolean) - Method in class de.oliver.fancynpcs.api.Npc
- moveForAll() - Method in class de.oliver.fancynpcs.api.Npc
- moveForAll(boolean) - Method in class de.oliver.fancynpcs.api.Npc
N
- NeedPermissionAction - Class in de.oliver.fancynpcs.api.actions.types
- NeedPermissionAction() - Constructor for class de.oliver.fancynpcs.api.actions.types.NeedPermissionAction
- newThread(String, Runnable) - Method in interface de.oliver.fancynpcs.api.FancyNpcsPlugin
-
Creates a new thread with the given name and runnable.
- now() - Static method in class de.oliver.fancynpcs.api.utils.Interval
-
Returns
Interval
object of current time. - Npc - Class in de.oliver.fancynpcs.api
- Npc(NpcData) - Constructor for class de.oliver.fancynpcs.api.Npc
- NpcAction - Class in de.oliver.fancynpcs.api.actions
-
The NpcAction class is an abstract class that represents an action that can be performed by an NPC.
- NpcAction(String, boolean) - Constructor for class de.oliver.fancynpcs.api.actions.NpcAction
- NpcAction.NpcActionData - Record Class in de.oliver.fancynpcs.api.actions
- NpcActionData(int, NpcAction, String) - Constructor for record class de.oliver.fancynpcs.api.actions.NpcAction.NpcActionData
-
Creates an instance of a
NpcActionData
record class. - NpcAttribute - Class in de.oliver.fancynpcs.api
- NpcAttribute(String, List<String>, List<EntityType>, BiConsumer<Npc, String>) - Constructor for class de.oliver.fancynpcs.api.NpcAttribute
- NpcCreateEvent - Class in de.oliver.fancynpcs.api.events
-
Is fired when a new NPC is being created
- NpcCreateEvent(Npc, CommandSender) - Constructor for class de.oliver.fancynpcs.api.events.NpcCreateEvent
- NpcData - Class in de.oliver.fancynpcs.api
- NpcData(String, String, UUID, String, SkinData, Location, boolean, boolean, boolean, boolean, NamedTextColor, EntityType, Map<NpcEquipmentSlot, ItemStack>, boolean, int, Consumer<Player>, Map<ActionTrigger, List<NpcAction.NpcActionData>>, float, float, int, Map<NpcAttribute, String>, boolean) - Constructor for class de.oliver.fancynpcs.api.NpcData
- NpcData(String, UUID, Location) - Constructor for class de.oliver.fancynpcs.api.NpcData
-
Creates a default npc with random id
- NpcEquipmentSlot - Enum Class in de.oliver.fancynpcs.api.utils
- NpcInteractEvent - Class in de.oliver.fancynpcs.api.events
-
Is fired when a player interacts with a NPC
- NpcInteractEvent(Npc, Consumer<Player>, List<NpcAction.NpcActionData>, Player, ActionTrigger) - Constructor for class de.oliver.fancynpcs.api.events.NpcInteractEvent
- NpcManager - Interface in de.oliver.fancynpcs.api
- NpcModifyEvent - Class in de.oliver.fancynpcs.api.events
-
Is fired when a NPC is being modified
- NpcModifyEvent(Npc, NpcModifyEvent.NpcModification, Object, CommandSender) - Constructor for class de.oliver.fancynpcs.api.events.NpcModifyEvent
- NpcModifyEvent.NpcModification - Enum Class in de.oliver.fancynpcs.api.events
- NpcRemoveEvent - Class in de.oliver.fancynpcs.api.events
-
Is fired when a NPC is being deleted
- NpcRemoveEvent(Npc, CommandSender) - Constructor for class de.oliver.fancynpcs.api.events.NpcRemoveEvent
- NpcsLoadedEvent - Class in de.oliver.fancynpcs.api.events
-
Is fired when all NPCs are loaded.
- NpcsLoadedEvent() - Constructor for class de.oliver.fancynpcs.api.events.NpcsLoadedEvent
- NpcSpawnEvent - Class in de.oliver.fancynpcs.api.events
-
Is fired when a NPC is being spawned
- NpcSpawnEvent(Npc, Player) - Constructor for class de.oliver.fancynpcs.api.events.NpcSpawnEvent
- NpcStartLookingEvent - Class in de.oliver.fancynpcs.api.events
-
Is fired when NPC starts looking at a player.
- NpcStartLookingEvent(Npc, Player) - Constructor for class de.oliver.fancynpcs.api.events.NpcStartLookingEvent
- NpcStopLookingEvent - Class in de.oliver.fancynpcs.api.events
-
Is fired when NPC stops looking at a player.
- NpcStopLookingEvent(Npc, Player) - Constructor for class de.oliver.fancynpcs.api.events.NpcStopLookingEvent
O
- of(double, Interval.Unit) - Static method in class de.oliver.fancynpcs.api.utils.Interval
- of(long, Interval.Unit) - Static method in class de.oliver.fancynpcs.api.utils.Interval
- OFFHAND - Enum constant in enum class de.oliver.fancynpcs.api.utils.NpcEquipmentSlot
- order() - Method in record class de.oliver.fancynpcs.api.actions.NpcAction.NpcActionData
-
Returns the value of the
order
record component.
P
- PacketReceivedEvent - Class in de.oliver.fancynpcs.api.events
- PacketReceivedEvent(Object, Player) - Constructor for class de.oliver.fancynpcs.api.events.PacketReceivedEvent
- parse(String) - Static method in enum class de.oliver.fancynpcs.api.utils.NpcEquipmentSlot
- PLAYER_COMMAND - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- PLAYER_COMMAND_ADD - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- PLAYER_COMMAND_CLEAR - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- PLAYER_COMMAND_REMOVE - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- PLAYER_COMMAND_SEND_RANDOMLY - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- PLAYER_COMMAND_SET - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- PlayerCommandAction - Class in de.oliver.fancynpcs.api.actions.types
-
Represents a player command action that can be executed when triggered by an NPC interaction.
- PlayerCommandAction() - Constructor for class de.oliver.fancynpcs.api.actions.types.PlayerCommandAction
- PlayerCommandAsOpAction - Class in de.oliver.fancynpcs.api.actions.types
-
PlayerCommandAsOpAction is a npc action that allows a player to execute a command as an operator when triggered by an NPC interaction.
- PlayerCommandAsOpAction() - Constructor for class de.oliver.fancynpcs.api.actions.types.PlayerCommandAsOpAction
- PlaySoundAction - Class in de.oliver.fancynpcs.api.actions.types
- PlaySoundAction() - Constructor for class de.oliver.fancynpcs.api.actions.types.PlaySoundAction
R
- refreshEntityData(Player) - Method in class de.oliver.fancynpcs.api.Npc
- registerAction(NpcAction) - Method in interface de.oliver.fancynpcs.api.actions.ActionManager
- registerAttribute(NpcAttribute) - Method in interface de.oliver.fancynpcs.api.AttributeManager
- registerNpc(Npc) - Method in interface de.oliver.fancynpcs.api.NpcManager
- reloadNpcs() - Method in interface de.oliver.fancynpcs.api.NpcManager
- remove(long, Interval.Unit) - Method in class de.oliver.fancynpcs.api.utils.Interval
- remove(Interval) - Method in class de.oliver.fancynpcs.api.utils.Interval
- remove(Player) - Method in class de.oliver.fancynpcs.api.Npc
- removeAction(ActionTrigger, NpcAction) - Method in class de.oliver.fancynpcs.api.NpcData
- removeForAll() - Method in class de.oliver.fancynpcs.api.Npc
- removeNpc(Npc) - Method in interface de.oliver.fancynpcs.api.NpcManager
- requiresValue() - Method in class de.oliver.fancynpcs.api.actions.NpcAction
- reset() - Method in class de.oliver.fancynpcs.api.actions.executor.ActionExecutionContext
-
Resets the current action index to its initial state.
- RIGHT_CLICK - Enum constant in enum class de.oliver.fancynpcs.api.actions.ActionTrigger
-
represents a right click interaction by a player.
- run(int) - Method in class de.oliver.fancynpcs.api.actions.executor.ActionExecutionContext
-
Executes the action at the specified index within the list of actions.
- runNext() - Method in class de.oliver.fancynpcs.api.actions.executor.ActionExecutionContext
-
Executes the next action in the list of actions.
S
- saveNpcs(boolean) - Method in interface de.oliver.fancynpcs.api.NpcManager
- saveToFile - Variable in class de.oliver.fancynpcs.api.Npc
- SCALE - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- SECONDS - Enum constant in enum class de.oliver.fancynpcs.api.utils.Interval.Unit
- SendToServerAction - Class in de.oliver.fancynpcs.api.actions.types
-
The SendToServerAction class is a subclass of NpcAction that represents an action to send data to the server using BungeeCord messaging.
- SendToServerAction() - Constructor for class de.oliver.fancynpcs.api.actions.types.SendToServerAction
- SERVER_COMMAND - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- SERVER_COMMAND_ADD - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- SERVER_COMMAND_CLEAR - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- SERVER_COMMAND_REMOVE - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- SERVER_COMMAND_SEND_RANDOMLY - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- SERVER_COMMAND_SET - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- setActions(ActionTrigger, List<NpcAction.NpcActionData>) - Method in class de.oliver.fancynpcs.api.NpcData
- setActions(Map<ActionTrigger, List<NpcAction.NpcActionData>>) - Method in class de.oliver.fancynpcs.api.NpcData
- setCancelled(boolean) - Method in class de.oliver.fancynpcs.api.events.NpcCreateEvent
- setCancelled(boolean) - Method in class de.oliver.fancynpcs.api.events.NpcInteractEvent
- setCancelled(boolean) - Method in class de.oliver.fancynpcs.api.events.NpcModifyEvent
- setCancelled(boolean) - Method in class de.oliver.fancynpcs.api.events.NpcRemoveEvent
- setCancelled(boolean) - Method in class de.oliver.fancynpcs.api.events.NpcSpawnEvent
- setCollidable(boolean) - Method in class de.oliver.fancynpcs.api.NpcData
- setDirty(boolean) - Method in class de.oliver.fancynpcs.api.Npc
- setDirty(boolean) - Method in class de.oliver.fancynpcs.api.NpcData
- setDisplayName(String) - Method in class de.oliver.fancynpcs.api.NpcData
- setEquipment(Map<NpcEquipmentSlot, ItemStack>) - Method in class de.oliver.fancynpcs.api.NpcData
- setGlowing(boolean) - Method in class de.oliver.fancynpcs.api.NpcData
- setGlowingColor(NamedTextColor) - Method in class de.oliver.fancynpcs.api.NpcData
- setIdentifier(String) - Method in class de.oliver.fancynpcs.api.skins.SkinData
- setInteractionCooldown(float) - Method in class de.oliver.fancynpcs.api.NpcData
- setLocation(Location) - Method in class de.oliver.fancynpcs.api.NpcData
- setMirrorSkin(boolean) - Method in class de.oliver.fancynpcs.api.NpcData
- setOnClick(Consumer<Player>) - Method in class de.oliver.fancynpcs.api.NpcData
- setSaveToFile(boolean) - Method in class de.oliver.fancynpcs.api.Npc
- setScale(float) - Method in class de.oliver.fancynpcs.api.NpcData
- setShowInTab(boolean) - Method in class de.oliver.fancynpcs.api.NpcData
- setSkin(String) - Method in class de.oliver.fancynpcs.api.NpcData
-
Loads the skin data and sets it as the skin of the npc
- setSkin(String, SkinData.SkinVariant) - Method in class de.oliver.fancynpcs.api.NpcData
-
Loads the skin data and sets it as the skin of the npc
- setSkinData(SkinData) - Method in class de.oliver.fancynpcs.api.NpcData
-
Sets the skin data of the npc Use this method, if you have a loaded skin data object (with texture and signature), otherwise use
NpcData.setSkin(String, SkinData.SkinVariant)
- setSpawnEntity(boolean) - Method in class de.oliver.fancynpcs.api.NpcData
- setTextureSignature(String) - Method in class de.oliver.fancynpcs.api.skins.SkinData
- setTextureValue(String) - Method in class de.oliver.fancynpcs.api.skins.SkinData
- setTurnToPlayer(boolean) - Method in class de.oliver.fancynpcs.api.NpcData
- setTurnToPlayerDistance(int) - Method in interface de.oliver.fancynpcs.api.FancyNpcsConfig
-
Sets the distance at which NPCs turn to the player.
- setTurnToPlayerDistance(int) - Method in class de.oliver.fancynpcs.api.NpcData
-
Sets the turn-to-player distance for this NPC.
- setType(EntityType) - Method in class de.oliver.fancynpcs.api.NpcData
- setVariant(SkinData.SkinVariant) - Method in class de.oliver.fancynpcs.api.skins.SkinData
- setVisibilityDistance(int) - Method in class de.oliver.fancynpcs.api.NpcData
- shouldBeVisible(Player) - Method in class de.oliver.fancynpcs.api.Npc
-
Checks if the NPC should be visible for the player.
- shouldBlockUntilDone() - Method in class de.oliver.fancynpcs.api.actions.executor.ActionExecutionContext
- SHOW_IN_TAB - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- SKIN - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- SkinData - Class in de.oliver.fancynpcs.api.skins
- SkinData(String, SkinData.SkinVariant) - Constructor for class de.oliver.fancynpcs.api.skins.SkinData
- SkinData(String, SkinData.SkinVariant, String, String) - Constructor for class de.oliver.fancynpcs.api.skins.SkinData
- SkinData.SkinVariant - Enum Class in de.oliver.fancynpcs.api.skins
- SkinGeneratedEvent - Class in de.oliver.fancynpcs.api.skins
-
Event that is called when a skin is generated
- SkinGeneratedEvent(String, SkinData) - Constructor for class de.oliver.fancynpcs.api.skins.SkinGeneratedEvent
- SkinLoadException - Exception Class in de.oliver.fancynpcs.api.skins
-
Exception that is thrown when a skin cannot be fetched or loaded.
- SkinLoadException(SkinLoadException.Reason, String) - Constructor for exception class de.oliver.fancynpcs.api.skins.SkinLoadException
- SkinLoadException.Reason - Enum Class in de.oliver.fancynpcs.api.skins
- SkinManager - Interface in de.oliver.fancynpcs.api.skins
- SLIM - Enum constant in enum class de.oliver.fancynpcs.api.skins.SkinData.SkinVariant
- spawn(Player) - Method in class de.oliver.fancynpcs.api.Npc
- spawnForAll() - Method in class de.oliver.fancynpcs.api.Npc
T
- terminate() - Method in class de.oliver.fancynpcs.api.actions.executor.ActionExecutionContext
-
Terminates the current action sequence by setting the action index to -1.
- TICKS - Enum constant in enum class de.oliver.fancynpcs.api.utils.Interval.Unit
- toDate() - Method in class de.oliver.fancynpcs.api.utils.Interval
- toInstant() - Method in class de.oliver.fancynpcs.api.utils.Interval
- toNmsName() - Method in enum class de.oliver.fancynpcs.api.utils.NpcEquipmentSlot
- toString() - Method in record class de.oliver.fancynpcs.api.actions.NpcAction.NpcActionData
-
Returns a string representation of this record class.
- toString() - Method in class de.oliver.fancynpcs.api.skins.SkinData
- toString() - Method in class de.oliver.fancynpcs.api.utils.Interval
- TURN_TO_PLAYER - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- TURN_TO_PLAYER_DISTANCE - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
- TYPE - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
U
- unregisterAction(NpcAction) - Method in interface de.oliver.fancynpcs.api.actions.ActionManager
- update(Player) - Method in class de.oliver.fancynpcs.api.Npc
- updateForAll() - Method in class de.oliver.fancynpcs.api.Npc
V
- value() - Method in record class de.oliver.fancynpcs.api.actions.NpcAction.NpcActionData
-
Returns the value of the
value
record component. - valueOf(String) - Static method in enum class de.oliver.fancynpcs.api.actions.ActionTrigger
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.oliver.fancynpcs.api.skins.SkinData.SkinVariant
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.oliver.fancynpcs.api.skins.SkinLoadException.Reason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.oliver.fancynpcs.api.utils.Interval.Unit
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.oliver.fancynpcs.api.utils.NpcEquipmentSlot
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class de.oliver.fancynpcs.api.actions.ActionTrigger
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.oliver.fancynpcs.api.skins.SkinData.SkinVariant
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.oliver.fancynpcs.api.skins.SkinLoadException.Reason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.oliver.fancynpcs.api.utils.Interval.Unit
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.oliver.fancynpcs.api.utils.NpcEquipmentSlot
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VISIBILITY_DISTANCE - Enum constant in enum class de.oliver.fancynpcs.api.events.NpcModifyEvent.NpcModification
W
- WaitAction - Class in de.oliver.fancynpcs.api.actions.types
- WaitAction() - Constructor for class de.oliver.fancynpcs.api.actions.types.WaitAction
Y
- YEARS - Enum constant in enum class de.oliver.fancynpcs.api.utils.Interval.Unit
All Classes and Interfaces|All Packages|Serialized Form