Klasse ExecuteRandomActionAction
java.lang.Object
de.oliver.fancynpcs.api.actions.NpcAction
de.oliver.fancynpcs.api.actions.types.ExecuteRandomActionAction
The ExecuteRandomActionAction class represents an action that can be executed randomly by an NPC.
The ExecuteRandomActionAction class provides an implementation for the execute method, which executes a random action triggered by the given action trigger on the specified NPC and player. The execution of the action is based on the actions associated with the NPC's data for the given trigger.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen de.oliver.fancynpcs.api.actions.NpcAction
NpcAction.NpcActionData -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidexecute(@NotNull ActionExecutionContext context, String value) Executes a random action triggered by the given action trigger on the specified NPC and player.Von Klasse geerbte Methoden de.oliver.fancynpcs.api.actions.NpcAction
getName, requiresValue
-
Konstruktordetails
-
ExecuteRandomActionAction
public ExecuteRandomActionAction()
-
-
Methodendetails
-
execute
Executes a random action triggered by the given action trigger on the specified NPC and player.
-