Index

A C D E G H I L M N O P R S T V W X Y Z 
All Classes and Interfaces|All Packages

A

ABSORBTION - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Represents the player's absorbtion
Action - Class in dev.foxikle.customnpcs.actions
The object to represent what should be done after an NPC interaction
Action(ActionType, List<String>, int, Conditional.SelectionMode, List<Conditional>) - Constructor for class dev.foxikle.customnpcs.actions.Action
Creates a new Action
ACTION_BAR - Enum constant in enum class dev.foxikle.customnpcs.actions.ActionType
Represents sending the player an action bar.
ActionAdapter - Class in dev.foxikle.customnpcs.actions.conditions
A TypeAdapter for Gson
ActionAdapter() - Constructor for class dev.foxikle.customnpcs.actions.conditions.ActionAdapter
 
ActionType - Enum Class in dev.foxikle.customnpcs.actions
All supported types of actions
ADD_EFFECT - Enum constant in enum class dev.foxikle.customnpcs.actions.ActionType
Represents giving an effect to the player.
addConditional(Conditional) - Method in class dev.foxikle.customnpcs.actions.Action
Adds a condition to the action
ALL - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.SelectionMode
If ALL the conditions must be true for the action to be executed

C

clone() - Method in class dev.foxikle.customnpcs.actions.Action
 
clone() - Method in interface dev.foxikle.customnpcs.actions.conditions.Conditional
Clones this conditional object
clone() - Method in class dev.foxikle.customnpcs.actions.conditions.LogicalConditional
 
clone() - Method in class dev.foxikle.customnpcs.actions.conditions.NumericConditional
 
clone() - Method in class dev.foxikle.customnpcs.data.Equipment
 
clone() - Method in class dev.foxikle.customnpcs.data.Settings
 
compute(Player) - Method in interface dev.foxikle.customnpcs.actions.conditions.Conditional
Computes the condition to determine if the action should be executed
compute(Player) - Method in class dev.foxikle.customnpcs.actions.conditions.LogicalConditional
Computes the condition to determine if the action should be executed
compute(Player) - Method in class dev.foxikle.customnpcs.actions.conditions.NumericConditional
Computes the condition to determine if the action should be executed
Conditional - Interface in dev.foxikle.customnpcs.actions.conditions
The interface to represent a comparison
Conditional.Comparator - Enum Class in dev.foxikle.customnpcs.actions.conditions
A list of comparators used to compare the values and target values of conditions
Conditional.SelectionMode - Enum Class in dev.foxikle.customnpcs.actions.conditions
Represents if how the conditions should be computed
Conditional.Type - Enum Class in dev.foxikle.customnpcs.actions.conditions
A list of comparator types
Conditional.Value - Enum Class in dev.foxikle.customnpcs.actions.conditions
A list of values the plugin can compare
ConditionalTypeAdapter - Class in dev.foxikle.customnpcs.actions.conditions
The object allowing Gson to parse conditional objects
ConditionalTypeAdapter() - Constructor for class dev.foxikle.customnpcs.actions.conditions.ConditionalTypeAdapter
 
create() - Method in class dev.foxikle.customnpcs.api.NPC
Creates the NPC.

D

delete() - Method in class dev.foxikle.customnpcs.api.NPC
Permanantly deletes an NPC.
dev.foxikle.customnpcs.actions - package dev.foxikle.customnpcs.actions
 
dev.foxikle.customnpcs.actions.conditions - package dev.foxikle.customnpcs.actions.conditions
 
dev.foxikle.customnpcs.api - package dev.foxikle.customnpcs.api
 
dev.foxikle.customnpcs.data - package dev.foxikle.customnpcs.data
 
DISPLAY_TITLE - Enum constant in enum class dev.foxikle.customnpcs.actions.ActionType
Represents sending the player a title.

E

EQUAL_TO - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Comparator
Represents the value being equal to the target value
Equipment - Class in dev.foxikle.customnpcs.data
The class representing the NPC's items
Equipment() - Constructor for class dev.foxikle.customnpcs.data.Equipment
A constructor to create an equipment object with air as all items
Equipment(ItemStack, ItemStack, ItemStack, ItemStack, ItemStack, ItemStack) - Constructor for class dev.foxikle.customnpcs.data.Equipment
The constructor to create the equipment object
EXP_LEVELS - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Represents the player's experience levels
EXP_POINTS - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Represents the player's experience points

G

GAMEMODE - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Represents if the player is in the gamemode
getArgsCopy() - Method in class dev.foxikle.customnpcs.actions.Action
Gets a copy of the arguments of an action
getCommand(Player) - Method in class dev.foxikle.customnpcs.actions.Action
Gets the command that is run to initiate the action.
getComparator() - Method in interface dev.foxikle.customnpcs.actions.conditions.Conditional
Gets the comparator the condition uses to compare the value and target value.
getComparator() - Method in class dev.foxikle.customnpcs.actions.conditions.LogicalConditional
Gets the comparator the condition uses to compare the value and target value.
getComparator() - Method in class dev.foxikle.customnpcs.actions.conditions.NumericConditional
Gets the comparator the condition uses to compare the value and target value.
getEquipment() - Method in class dev.foxikle.customnpcs.api.NPC
Gets the equipment object representing the NPC's armor and hand items
getName() - Method in class dev.foxikle.customnpcs.data.Settings
gets the NPC's name in serialized minimessage format.
getNPC(UUID) - Static method in class dev.foxikle.customnpcs.api.NPCApi
Gets the NPC object by ID.
getSettings() - Method in class dev.foxikle.customnpcs.api.NPC
Gets the object representing the NPC's settings
getTarget() - Method in interface dev.foxikle.customnpcs.actions.conditions.Conditional
Gets the target of the condition
getTarget() - Method in class dev.foxikle.customnpcs.actions.conditions.LogicalConditional
Gets the target of the condition
getTarget() - Method in class dev.foxikle.customnpcs.actions.conditions.NumericConditional
Gets the target of the condition
getType() - Method in interface dev.foxikle.customnpcs.actions.conditions.Conditional
Gets the type of condition
getType() - Method in class dev.foxikle.customnpcs.actions.conditions.LogicalConditional
Gets the type of condition
getType() - Method in class dev.foxikle.customnpcs.actions.conditions.NumericConditional
Gets the type of condition
getValue() - Method in interface dev.foxikle.customnpcs.actions.conditions.Conditional
Gets the value the condition is comparing
getValue() - Method in class dev.foxikle.customnpcs.actions.conditions.LogicalConditional
Gets the value the condition is comparing
getValue() - Method in class dev.foxikle.customnpcs.actions.conditions.NumericConditional
Gets the value the condition is comparing
GIVE_EXP - Enum constant in enum class dev.foxikle.customnpcs.actions.ActionType
Represents giving a xp to the player.
GREATER_THAN - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Comparator
Represents the value being greater than the target value
GREATER_THAN_OR_EQUAL_TO - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Comparator
Represents the value being greater than or equal to the target value

H

HAS_EFFECT - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Represents if the player has an effect
HAS_PERMISSION - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Represents if the player has a permission node
HEALTH - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Represents the player's health

I

importFromEntityEquipment(EntityEquipment) - Method in class dev.foxikle.customnpcs.data.Equipment
Imports the relevant items from an EntityEquipment Object
initialize() - Static method in class dev.foxikle.customnpcs.api.NPCApi
Initiailizes the API
injectPlayer(Player) - Method in class dev.foxikle.customnpcs.api.NPC
Injects the npc into the player's connection.
IS_FLYING - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Represents if the player is flying
IS_FROZEN - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Represents if the player is frozen
IS_GLIDING - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Represents if the player is gliding
IS_SNEAKING - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Represents if the player is sneaking
IS_SPRINTING - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Represents if the player is sprinting
isLogical() - Method in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Determines if the value is considdered 'logical'

L

LESS_THAN - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Comparator
Represents the value being less than the target value
LESS_THAN_OR_EQUAL_TO - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Comparator
Represents the value being less than or equal to the target value
LOGICAL - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Type
Represents a comparison between a Value and a target value with a finite number of possibilities
LogicalConditional - Class in dev.foxikle.customnpcs.actions.conditions
The object representing two non-numeric values
LogicalConditional(Conditional.Comparator, Conditional.Value, String) - Constructor for class dev.foxikle.customnpcs.actions.conditions.LogicalConditional
 
lookAt(Entity, boolean) - Method in class dev.foxikle.customnpcs.api.NPC
Points the NPC's head in the direction of an entity
lookAt(Location) - Method in class dev.foxikle.customnpcs.api.NPC
Points the NPC's head at a location

M

moveTo(Location) - Method in class dev.foxikle.customnpcs.api.NPC
Move the npc to the specified location.

N

NOT_EQUAL_TO - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Comparator
Represents the value being inequal to the target value
NPC - Class in dev.foxikle.customnpcs.api
A class providing a 'Paper API friendly' NPC object requring no NMS to use within a project.
NPC(InternalNpc) - Constructor for class dev.foxikle.customnpcs.api.NPC
A constructor for creating an api friendly npc object using an internal npc object.
NPC(World) - Constructor for class dev.foxikle.customnpcs.api.NPC
The intended way to create an NPC
NPCApi - Class in dev.foxikle.customnpcs.api
A class providing an interface using non NMS objects to use NPCs
NPCApi() - Constructor for class dev.foxikle.customnpcs.api.NPCApi
 
NUMERIC - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Type
Represents a comparison between a Value and a target value that can be any numeric value.
NumericConditional - Class in dev.foxikle.customnpcs.actions.conditions
The object representing a comparison of two numeric values
NumericConditional(Conditional.Comparator, Conditional.Value, double) - Constructor for class dev.foxikle.customnpcs.actions.conditions.NumericConditional
 

O

of(String) - Static method in class dev.foxikle.customnpcs.actions.Action
Gets the action from a serialized string
of(String) - Static method in interface dev.foxikle.customnpcs.actions.conditions.Conditional
 
of(String) - Static method in class dev.foxikle.customnpcs.actions.conditions.LogicalConditional
 
of(String) - Static method in class dev.foxikle.customnpcs.actions.conditions.NumericConditional
 
ONE - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.SelectionMode
if at least ONE of the conditions must be met for the action to be executed

P

PLAY_SOUND - Enum constant in enum class dev.foxikle.customnpcs.actions.ActionType
Represents playing a sound for the player.
plugin - Static variable in class dev.foxikle.customnpcs.api.NPCApi
A static instance of the plugin for API use.

R

read(JsonReader) - Method in class dev.foxikle.customnpcs.actions.conditions.ActionAdapter
deserializes an Action
read(JsonReader) - Method in class dev.foxikle.customnpcs.actions.conditions.ConditionalTypeAdapter
 
reloadSettings() - Method in class dev.foxikle.customnpcs.api.NPC
Reloads the NPC's settings within the Settings and Equipment objects
remove() - Method in class dev.foxikle.customnpcs.api.NPC
Temporarily removes an NPC.
REMOVE_EFFECT - Enum constant in enum class dev.foxikle.customnpcs.actions.ActionType
Represents removing an effect to the player.
REMOVE_EXP - Enum constant in enum class dev.foxikle.customnpcs.actions.ActionType
Represents removing a xp to the player.
removeConditional(Conditional) - Method in class dev.foxikle.customnpcs.actions.Action
Removes a condition from the action
RUN_COMMAND - Enum constant in enum class dev.foxikle.customnpcs.actions.ActionType
Represents running a command.

S

SEND_MESSAGE - Enum constant in enum class dev.foxikle.customnpcs.actions.ActionType
Represents sending the player a message.
SEND_TO_SERVER - Enum constant in enum class dev.foxikle.customnpcs.actions.ActionType
Represents sending the player to a BungeeCord server.
setActions(Collection<Action>) - Method in class dev.foxikle.customnpcs.api.NPC
Sets the NPC's actions to the specified Collection
setBoots(ItemStack) - Method in class dev.foxikle.customnpcs.api.NPC
Deprecated.
in favour of
invalid reference
dev.foxikle.customnpcs.data.Equipment#setBoots(ItemStack)
setChestplate(ItemStack) - Method in class dev.foxikle.customnpcs.api.NPC
Deprecated.
in favour of
invalid reference
dev.foxikle.customnpcs.data.Equipment#setChest(ItemStack)
setComparator(Conditional.Comparator) - Method in interface dev.foxikle.customnpcs.actions.conditions.Conditional
Sets the comparator of this condition
setComparator(Conditional.Comparator) - Method in class dev.foxikle.customnpcs.actions.conditions.LogicalConditional
Sets the comparator of this condition
setComparator(Conditional.Comparator) - Method in class dev.foxikle.customnpcs.actions.conditions.NumericConditional
Sets the comparator of this condition
setEquipment(Equipment) - Method in class dev.foxikle.customnpcs.api.NPC
Sets the npc's equipment
setHandItem(ItemStack) - Method in class dev.foxikle.customnpcs.api.NPC
Deprecated.
in favour of
invalid reference
dev.foxikle.customnpcs.data.Equipment#setHand(ItemStack)
setHeading(double) - Method in class dev.foxikle.customnpcs.api.NPC
Deprecated.
in favour of
invalid reference
Settings#setDirection(double)
setHelmet(ItemStack) - Method in class dev.foxikle.customnpcs.api.NPC
Deprecated.
in favour of
invalid reference
dev.foxikle.customnpcs.data.Equipment#setHead(ItemStack)
setInteractable(boolean) - Method in class dev.foxikle.customnpcs.api.NPC
Deprecated.
in favour of
invalid reference
Settings#setInteractable(boolean)
setLeggings(ItemStack) - Method in class dev.foxikle.customnpcs.api.NPC
Deprecated.
in favour of
invalid reference
dev.foxikle.customnpcs.data.Equipment#setLegs(ItemStack)
setName(String) - Method in class dev.foxikle.customnpcs.api.NPC
Deprecated.
in favour of setName(Component)
setName(Component) - Method in class dev.foxikle.customnpcs.api.NPC
Deprecated.
in favour of setName(Component)
setName(Component) - Method in class dev.foxikle.customnpcs.data.Settings
Sets the name of the npc
setOffhandItem(ItemStack) - Method in class dev.foxikle.customnpcs.api.NPC
Deprecated.
in favour of
invalid reference
dev.foxikle.customnpcs.data.Equipment#setOffhand(ItemStack)
setPostion(Location) - Method in class dev.foxikle.customnpcs.api.NPC
Sets the location of the NPC
setResilient(boolean) - Method in class dev.foxikle.customnpcs.api.NPC
Deprecated.
in favour of
invalid reference
Settings#setResilient(boolean)
setSettings(Settings) - Method in class dev.foxikle.customnpcs.api.NPC
Sets the npc's settings
setSkin(String, String, String) - Method in class dev.foxikle.customnpcs.api.NPC
Sets the leggings the NPC is wearing
setSkinData(String, String, String) - Method in class dev.foxikle.customnpcs.data.Settings
Sets the skin data in on fell swoop
setTargetValue(String) - Method in interface dev.foxikle.customnpcs.actions.conditions.Conditional
Sets the target value of this condition
setTargetValue(String) - Method in class dev.foxikle.customnpcs.actions.conditions.LogicalConditional
Sets the target value of this condition
setTargetValue(String) - Method in class dev.foxikle.customnpcs.actions.conditions.NumericConditional
Sets the target value of this condition
Settings - Class in dev.foxikle.customnpcs.data
A class holding the data for an NPC's settings
Settings() - Constructor for class dev.foxikle.customnpcs.data.Settings
Creates a settings with defaults.
Settings(boolean, boolean, boolean, double, String, String, String, String) - Constructor for class dev.foxikle.customnpcs.data.Settings
Deprecated.
Settings(boolean, boolean, boolean, double, String, String, String, String, String, boolean) - Constructor for class dev.foxikle.customnpcs.data.Settings
Creates a settings object with the specified settings
setTunnelVision(boolean) - Method in class dev.foxikle.customnpcs.api.NPC
Deprecated.
in favour of
invalid reference
Settings#setTunnelvision(boolean)
setValue(Conditional.Value) - Method in interface dev.foxikle.customnpcs.actions.conditions.Conditional
Sets the value of this condition
setValue(Conditional.Value) - Method in class dev.foxikle.customnpcs.actions.conditions.LogicalConditional
Sets the value of this condition
setValue(Conditional.Value) - Method in class dev.foxikle.customnpcs.actions.conditions.NumericConditional
Sets the value of this condition
swingArm() - Method in class dev.foxikle.customnpcs.api.NPC
Swings the NPC's arm

T

TELEPORT - Enum constant in enum class dev.foxikle.customnpcs.actions.ActionType
Represents teleporting the player.
TOGGLE_FOLLOWING - Enum constant in enum class dev.foxikle.customnpcs.actions.ActionType
Represents starting/stopping following the player.
toJson() - Method in class dev.foxikle.customnpcs.actions.Action
Gets the json equivalent of this action
toJson() - Method in interface dev.foxikle.customnpcs.actions.conditions.Conditional
Serializes the condition to json using Gson
toJson() - Method in class dev.foxikle.customnpcs.actions.conditions.LogicalConditional
Serializes the condition to json using Gson
toJson() - Method in class dev.foxikle.customnpcs.actions.conditions.NumericConditional
Serializes the condition to json using Gson

V

valueOf(String) - Static method in enum class dev.foxikle.customnpcs.actions.ActionType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Comparator
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.SelectionMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Returns the enum constant of this class with the specified name.
values() - Static method in enum class dev.foxikle.customnpcs.actions.ActionType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Comparator
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.SelectionMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Returns an array containing the constants of this enum class, in the order they are declared.

W

write(JsonWriter, Action) - Method in class dev.foxikle.customnpcs.actions.conditions.ActionAdapter
Serializes the Action object to json
write(JsonWriter, Conditional) - Method in class dev.foxikle.customnpcs.actions.conditions.ConditionalTypeAdapter
 

X

X_COORD - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Represents the player's X coordinate

Y

Y_COORD - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Represents the player's Y coordinate

Z

Z_COORD - Enum constant in enum class dev.foxikle.customnpcs.actions.conditions.Conditional.Value
Represents the player's Z coordinate
A C D E G H I L M N O P R S T V W X Y Z 
All Classes and Interfaces|All Packages