PersistentObjectHandler

Constructors

Link copied to clipboard
public void PersistentObjectHandler(PersistentObject persistentObject)
Used to store the locations of custom bosses that have gone into unloaded chunks.

Types

Link copied to clipboard
public class PersistentObjectHandlerEvents implements Listener

Properties

Link copied to clipboard
public Location persistentLocation

Functions

Link copied to clipboard
public Location getPersistentLocation()
Link copied to clipboard
public static void loadWorld(World world)
Drains every handler that is currently filed under a world name and hands it back to chunk-based tracking.
Link copied to clipboard
public void remove()
Link copied to clipboard
public static void removeForWorld(UUID worldUUID)
Removes every handler whose stored location lives in the given world.
Link copied to clipboard
public static void shutdown()
Clears all data for a correct shutdown
Link copied to clipboard
public void updatePersistentLocation(Location location)
Link copied to clipboard
public void worldLoad(World world)
Link copied to clipboard
public void worldUnload()