Class HoloAPI
java.lang.Object
me.fami6xx.rpuniverse.core.holoapi.HoloAPI
The HoloAPI is the main class for handling the holograms.
It is responsible for loading the holograms, saving the holograms, and handling the hologram handler.
The HoloAPI is a singleton class, so only one instance of it should be created.
The HoloAPI is also a listener for the PlayerJoinEvent and PlayerQuitEvent. This means that the HoloAPI will also listen for these events and update the holograms accordingly.
-
Constructor Details
-
HoloAPI
public HoloAPI()
-
-
Method Details
-
enable
public boolean enable()Enable the HoloAPI- Returns:
- If the HoloAPI was enabled
-
disable
public boolean disable() -
getPlayerHolograms
Get the player holograms- Returns:
- The player holograms
-
getFollowHandler
Get the follow handler- Returns:
- The follow handler
-
getVisibilityHandler
Get the visibility handler- Returns:
- The visibility handler
-