Package studio.magemonkey.fabled.task
Class GUITask
java.lang.Object
studio.magemonkey.fabled.thread.RepeatThreadTask
studio.magemonkey.fabled.task.GUITask
- All Implemented Interfaces:
Runnable
,IThreadTask
Task that handles updating GUI elements such as level bar,
food bar, and action bar according to the config.yml content.
-
Field Summary
Fields inherited from class studio.magemonkey.fabled.thread.RepeatThreadTask
expired
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class studio.magemonkey.fabled.thread.RepeatThreadTask
tick
-
Constructor Details
-
GUITask
Sets up the task, running if any of the GUI options are enabled- Parameters:
api
- API reference
-
-
Method Details
-
run
public void run()Runs the tasks, updating GUI elements for players
-