WorldPathChangedEvent
Package:
com.hypixel.hytale.server.core.universe.world.pathImplements:IEvent<Void>Cancellable: No
Standard event dispatched when the world path configuration changes. The world path must not be null — the constructor validates this requirement.
Fields / Accessors
Section titled “Fields / Accessors”| Field | Type | Accessor | Mutable | Nullable |
|---|---|---|---|---|
worldPath | WorldPath | getWorldPath() | No | No |
- worldPath — The new world path configuration.
Fired By
Section titled “Fired By”Dispatch location not identified in decompiled source. This event may be dispatched by game modules not yet mapped.
Listening
Section titled “Listening”getEventRegistry().register(WorldPathChangedEvent.class, event -> { WorldPath path = event.getWorldPath(); // React to world path configuration changes});Related Events
Section titled “Related Events”AllWorldsLoadedEvent— Fired when all worlds have loaded.