promotional bannermobile promotional banner
premium banner
Adding randomly generated world to stargate journey

Description

Hello! Many weeks ago I started working on a rework of Mystcraft (by XCompWiz), but for personal reasons I had to stop

If the first release broke some adresses, you can now use the command /mystgate_debug repair_gates to reset all adresses !

I thought it would be interesting to take the world generator I had built and bridge it with Stargate Journey — here's what it adds:

1) A Mystcraft-inspired world generator for new dimensions
Each generated world has its own combination of custom grass, sky, tree, water and foliage colours, custom sky style, custom celestial bodies, weather, terrain, caves, and more

2) Two ways to discover new worlds

Cartouches — rare artefacts that generate buried in the Overworld. Right-clicking one triggers the generation of a new dimension and places a Stargate at its spawn point. The address is written back onto the cartouche so you can dial it from any DHD.
Jackpot mode — if you dial a random address that doesn't exist yet, there is a small chance (1% / 0.5% 0.2% depending on 7/8/9 dialed adress) it will work and create a brand-new world on the spot. The more chevrons you lock, the more exotic the generated dimension will be (8-chevron addresses generate Atlantis-style gates, 9-chevron addresses generate Universe-style gates).


3) MoreGates compatibility
If MoreGates is installed, each placed Stargate has a configurable chance (default 30%) of receiving a random visual variant from that mod instead of the standard Milky Way skin.

4) You can edit the probability to get a jackpot/find a buried cartouche/Moregate probability into the server config 

How it works

When a cartouche is read (or a jackpot dial succeeds), the bridge mod calls Mystcore to dynamically create a new ServerLevel at runtime. A world plan is sampled from one of several profiles (Standard, Flat Dunes, Peaceful Garden, Storm Frontier, Void Exotic, Chaos Random, Fractured World, Aberrant…) based on the number of chevrons dialed — the more chevrons, the rarer and more exotic the profile. Each profile picks a weighted combination of Mystcore symbols (biome, terrain, weather, sky, colours, caves, features, celestials) to fully describe the dimension.

Once the dimension exists, a Stargate structure template is placed at a random surface position (within ±1500 blocks of spawn), the gate is activated via SGJourney's reflection API, and its address is registered in SGJourney's Universe so it becomes dialable. The 7-chevron solar system address is written back to the cartouche (or sent in chat for jackpot dials), ready to use.

Planned features
Per-dimension gamerule support