Gamemode4Dev / GM4_Datapacks

Gamemode 4 is a collection of modular Minecraft Datapacks that change or expand on the vanilla experience whilst keeping the vanilla feel. Our modules are developed with a focus on usability and efficiency.
https://gm4.co
GNU General Public License v3.0
113 stars 56 forks source link

Mysterious midnights seed based randomization #948

Closed Bloo-dev closed 8 months ago

Bloo-dev commented 9 months ago

This modifies the overlay_18 (Minecraft Version 1.20.2 and newer) to use /random for determining the Mysterious Midnight difficulty.

As a result, the sequence of Mysterious Midnight difficulties (not specific events, those are still random) are always the same on a given world. Specifically, which nights are and which nights are not is only based on a random number which is seeded by the day count, and the world seed.