Class Action
java.lang.Object
io.github.lucfr1746.llibrary.action.Action
- Direct Known Subclasses:
BroadcastAction,BroadcastSoundAction,BroadcastWorldAction,BroadcastWorldSoundAction,ChatAction,ConsoleAction,GiveExpAction,GiveMoneyAction,GivePermissionAction,MessageAction,MiniMessageAction,OpenMenuAction,PlayerAction,SoundAction,TakeExpAction,TakeMoneyAction,TakePermissionAction
Represents an abstract action that can be executed on a player.
Extends and register this custom action using
ActionLoader-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidexecute(org.bukkit.entity.Player player) Executes the action on the specified player.
-
Constructor Details
-
Action
public Action()
-
-
Method Details
-
execute
public abstract void execute(org.bukkit.entity.Player player) Executes the action on the specified player.- Parameters:
player- The player on whom the action is performed.
-