Skip to content

WorldPathChangedEvent

Package: com.hypixel.hytale.server.core.universe.world.path Implements: 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.

FieldTypeAccessorMutableNullable
worldPathWorldPathgetWorldPath()NoNo
  • worldPath — The new world path configuration.

Dispatch location not identified in decompiled source. This event may be dispatched by game modules not yet mapped.

getEventRegistry().register(WorldPathChangedEvent.class, event -> {
WorldPath path = event.getWorldPath();
// React to world path configuration changes
});