Index

B C D E G H I L M O P R S T 
All Classes and Interfaces|All Packages

B

BindConfig - Interface in org.yuemi.mmomechanics.api.skill
Configuration detailing which entities a skill automatically binds to.

C

castSkill(UUID, String) - Method in interface org.yuemi.mmomechanics.api.MmoMechanicsApi
Casts a skill on behalf of the entity with the specified UUID.
Condition - Interface in org.yuemi.mmomechanics.api.skill.condition
Gating check determining if a mechanic should run on a specific target.
conditions() - Method in record class org.yuemi.mmomechanics.api.skill.mechanic.MechanicWrapper
Returns the value of the conditions record component.

D

DelayMechanic - Class in org.yuemi.mmomechanics.api.skill.mechanic
A Mechanic representing a execution pause in ticks or seconds.
DelayMechanic(String, boolean) - Constructor for class org.yuemi.mmomechanics.api.skill.mechanic.DelayMechanic
Constructs a DelayMechanic.

E

EntityTarget - Class in org.yuemi.mmomechanics.api.skill.target
A Target implementation representing a specific Entity.
EntityTarget(Entity) - Constructor for class org.yuemi.mmomechanics.api.skill.target.EntityTarget
Constructs an EntityTarget.
equals(Object) - Method in record class org.yuemi.mmomechanics.api.skill.mechanic.MechanicWrapper
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class org.yuemi.mmomechanics.api.skill.target.EntityTarget
 
equals(Object) - Method in class org.yuemi.mmomechanics.api.skill.target.LocationTarget
 
execute(SkillContext, Collection<Target>) - Method in class org.yuemi.mmomechanics.api.skill.mechanic.DelayMechanic
 
execute(SkillContext, Collection<Target>) - Method in interface org.yuemi.mmomechanics.api.skill.mechanic.Mechanic
Executes this mechanic on the provided collection of targets.
execute(SkillContext, Collection<Target>) - Method in interface org.yuemi.mmomechanics.api.skill.Metaskill
 

G

getApi() - Method in interface org.yuemi.mmomechanics.api.MmoMechanicsApiProvider
Gets the active instance of the MmoMechanicsApi.
getAsEntity() - Method in class org.yuemi.mmomechanics.api.skill.target.EntityTarget
 
getAsEntity() - Method in class org.yuemi.mmomechanics.api.skill.target.LocationTarget
 
getAsEntity() - Method in interface org.yuemi.mmomechanics.api.skill.target.Target
Gets this target as a Bukkit Entity, if applicable.
getBindConfig() - Method in interface org.yuemi.mmomechanics.api.skill.Metaskill
Gets the binding configuration defining which entities possess this skill.
getCaster() - Method in class org.yuemi.mmomechanics.api.skill.context.SkillContext
Gets the caster of the skill.
getEntityTypes() - Method in interface org.yuemi.mmomechanics.api.skill.BindConfig
Gets the collection of entity types (e.g.
getExpression() - Method in class org.yuemi.mmomechanics.api.skill.mechanic.DelayMechanic
Gets the parsed delay expression.
getId() - Method in interface org.yuemi.mmomechanics.api.skill.trigger.Trigger
Gets the unique ID of the trigger event type (e.g.
getLocation() - Method in class org.yuemi.mmomechanics.api.skill.target.EntityTarget
 
getLocation() - Method in class org.yuemi.mmomechanics.api.skill.target.LocationTarget
 
getLocation() - Method in interface org.yuemi.mmomechanics.api.skill.target.Target
Gets the location of this target.
getMechanics() - Method in interface org.yuemi.mmomechanics.api.skill.Metaskill
Gets the collection of mechanic wrappers that define the steps of this skill.
getName() - Method in interface org.yuemi.mmomechanics.api.skill.Metaskill
Gets the name of the skill.
getSkillExecutor() - Method in interface org.yuemi.mmomechanics.api.MmoMechanicsApi
Gets the active skill executor instance.
getTargets(SkillContext) - Method in interface org.yuemi.mmomechanics.api.skill.targeter.Targeter
Resolves the targets for the given skill context.
getTrigger() - Method in class org.yuemi.mmomechanics.api.skill.context.SkillContext
Gets the trigger event context of the skill.
getTriggers() - Method in interface org.yuemi.mmomechanics.api.skill.Metaskill
Gets the collection of registered trigger event IDs that can execute this skill.
getTriggerTarget() - Method in interface org.yuemi.mmomechanics.api.skill.trigger.Trigger
Gets the target entity or location that triggered this skill, if applicable.
getUuids() - Method in interface org.yuemi.mmomechanics.api.skill.BindConfig
Gets the collection of specific entity UUID strings that this skill binds to.
getVariable(String) - Method in class org.yuemi.mmomechanics.api.skill.context.SkillContext
Gets a context-local variable.
getVariables() - Method in class org.yuemi.mmomechanics.api.skill.context.SkillContext
Gets a read-only copy of all context variables.

H

hashCode() - Method in record class org.yuemi.mmomechanics.api.skill.mechanic.MechanicWrapper
Returns a hash code value for this object.
hashCode() - Method in class org.yuemi.mmomechanics.api.skill.target.EntityTarget
 
hashCode() - Method in class org.yuemi.mmomechanics.api.skill.target.LocationTarget
 

I

isEntity() - Method in interface org.yuemi.mmomechanics.api.skill.target.Target
Checks if this target is an entity.
isFeatureEnabled(Player) - Method in interface org.yuemi.mmomechanics.api.MmoMechanicsApi
Checks if the player has permission to use mechanics features.
isGlobal() - Method in interface org.yuemi.mmomechanics.api.skill.BindConfig
Checks if this skill is bound globally to all entities.
isSeconds() - Method in class org.yuemi.mmomechanics.api.skill.mechanic.DelayMechanic
Checks if the delay is represented in seconds.

L

LocationTarget - Class in org.yuemi.mmomechanics.api.skill.target
A Target implementation representing a specific Block or World Location.
LocationTarget(Location) - Constructor for class org.yuemi.mmomechanics.api.skill.target.LocationTarget
Constructs a LocationTarget.

M

mechanic() - Method in record class org.yuemi.mmomechanics.api.skill.mechanic.MechanicWrapper
Returns the value of the mechanic record component.
Mechanic - Interface in org.yuemi.mmomechanics.api.skill.mechanic
Represents a single gameplay action or effect performed on targets.
MechanicWrapper - Record Class in org.yuemi.mmomechanics.api.skill.mechanic
A wrapper record holding a mechanic, its targeter, and conditional checks.
MechanicWrapper(Mechanic, Targeter, Collection<Condition>) - Constructor for record class org.yuemi.mmomechanics.api.skill.mechanic.MechanicWrapper
Creates an instance of a MechanicWrapper record class.
Metaskill - Interface in org.yuemi.mmomechanics.api.skill
Represents a meta-skill consisting of multiple sequenced mechanics.
MmoMechanicsApi - Interface in org.yuemi.mmomechanics.api
Main API interface for accessing MMO Mechanics features and executing skills.
MmoMechanicsApiProvider - Interface in org.yuemi.mmomechanics.api
Entry point for accessing the MmoMechanics API.

O

org.yuemi.mmomechanics.api - package org.yuemi.mmomechanics.api
 
org.yuemi.mmomechanics.api.skill - package org.yuemi.mmomechanics.api.skill
 
org.yuemi.mmomechanics.api.skill.condition - package org.yuemi.mmomechanics.api.skill.condition
 
org.yuemi.mmomechanics.api.skill.context - package org.yuemi.mmomechanics.api.skill.context
 
org.yuemi.mmomechanics.api.skill.executor - package org.yuemi.mmomechanics.api.skill.executor
 
org.yuemi.mmomechanics.api.skill.mechanic - package org.yuemi.mmomechanics.api.skill.mechanic
 
org.yuemi.mmomechanics.api.skill.target - package org.yuemi.mmomechanics.api.skill.target
 
org.yuemi.mmomechanics.api.skill.targeter - package org.yuemi.mmomechanics.api.skill.targeter
 
org.yuemi.mmomechanics.api.skill.trigger - package org.yuemi.mmomechanics.api.skill.trigger
 

P

parsePlaceholders(Target, String) - Method in interface org.yuemi.mmomechanics.api.MmoMechanicsApi
Parses PlaceholderAPI placeholders for the target recipient player.

R

run(SkillContext, Collection<Target>, Collection<MechanicWrapper>) - Method in interface org.yuemi.mmomechanics.api.skill.executor.SkillExecutor
Executes the list of mechanics sequentially.

S

sendMessage(Player, String) - Method in interface org.yuemi.mmomechanics.api.MmoMechanicsApi
Sends a formatted chat message to a player, supporting PlaceholderAPI expansion.
setVariable(String, Object) - Method in class org.yuemi.mmomechanics.api.skill.context.SkillContext
Sets a context-local variable.
SkillContext - Class in org.yuemi.mmomechanics.api.skill.context
Context wrapper passed during skill executions, containing the caster, the trigger, and local variables.
SkillContext(Target, Trigger) - Constructor for class org.yuemi.mmomechanics.api.skill.context.SkillContext
Constructs a SkillContext.
SkillExecutor - Interface in org.yuemi.mmomechanics.api.skill.executor
Handles executing a sequence of mechanics on targets within a SkillContext.

T

Target - Interface in org.yuemi.mmomechanics.api.skill.target
Represents a target location or entity within a skill execution context.
targeter() - Method in record class org.yuemi.mmomechanics.api.skill.mechanic.MechanicWrapper
Returns the value of the targeter record component.
Targeter - Interface in org.yuemi.mmomechanics.api.skill.targeter
Resolves targets (entities or locations) based on a skill execution context.
test(SkillContext, Target) - Method in interface org.yuemi.mmomechanics.api.skill.condition.Condition
Tests if the target passes this condition.
toString() - Method in record class org.yuemi.mmomechanics.api.skill.mechanic.MechanicWrapper
Returns a string representation of this record class.
toString() - Method in class org.yuemi.mmomechanics.api.skill.target.EntityTarget
 
toString() - Method in class org.yuemi.mmomechanics.api.skill.target.LocationTarget
 
Trigger - Interface in org.yuemi.mmomechanics.api.skill.trigger
Represents a trigger context associated with a skill cast.
B C D E G H I L M O P R S T 
All Classes and Interfaces|All Packages