Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
EliteMobs
/
com.magmaguy.elitemobs.mobconstructor
/
PersistentObjectHandler
Persistent
Object
Handler
public
class
PersistentObjectHandler
Members
Constructors
Persistent
Object
Handler
Link copied to clipboard
public
void
PersistentObjectHandler
(
PersistentObject
persistentObject
)
Used to store the locations of custom bosses that have gone into unloaded chunks.
Types
Persistent
Object
Handler
Events
Link copied to clipboard
public
class
PersistentObjectHandlerEvents
implements
Listener
Properties
persistent
Location
Link copied to clipboard
public
Location
persistentLocation
Functions
get
Persistent
Location
Link copied to clipboard
public
Location
getPersistentLocation
(
)
load
World
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.
remove
Link copied to clipboard
public
void
remove
(
)
remove
For
World
Link copied to clipboard
public
static
void
removeForWorld
(
UUID
worldUUID
)
Removes every handler whose stored location lives in the given world.
shutdown
Link copied to clipboard
public
static
void
shutdown
(
)
Clears all data for a correct shutdown
update
Persistent
Location
Link copied to clipboard
public
void
updatePersistentLocation
(
Location
location
)
world
Load
Link copied to clipboard
public
void
worldLoad
(
World
world
)
world
Unload
Link copied to clipboard
public
void
worldUnload
(
)