Infinity Legacy Skyblock 1.0.1
Curse Maven Snippet
What's new
Fixed bugs
IslandSavedData.java: Added playerIslands (Map<UUID, PlayerIsland>) using optionalFieldOf (100% compatible with legacy islands.dat files), persisting the index, x, z, difficulty, and hasChosenDifficulty directly into the world save data.
Added onPlayerClone (PlayerEvent.Clone) to preserve data across deaths, respawns, and dimension changes (with a fallback to IslandSavedData).
Implemented a multi-layered recovery process in onPlayerLoggedIn: it first checks IslandSavedData, then attempts to migrate legacy PersistentData. If both are missing in an existing save determined by criteria such as the presence of the legacyblock:* advancement, existing blocks at (0, 61..66, 0), a nextIslandIndex > 0 (in single-player), or existing playtime/inventory data the system recovers the existing island instead of creating a new one or teleporting the player.
When a new island must be allocated, the system skips already occupied slots and forces the use of the Overworld (server.overworld()).
ServerPacketHandler.java & IslandCommands.java: Synchronized with IslandSavedData; all teleportation and island-placement operations (for commands such as /is home, /is info, /is reset, and /is accept) now consistently use server.overworld().
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects