Inspired by 2020's April Fools' 20w14infinite Snapshot, this mod brings endless randomly generated dimensions into Minecraft.
at create-6.0 48 lines 3.2 kB view raw
1--- 2title: Cosmic Invocation 3hide_meta: true 4--- 5 6Cosmic Invocation is the process of generating config files for all loaded mods. In the older versions, 7players had to construct and activate their own Transfinite Altar to enrich the multiverse with modded content; 8now this process is performed automatically by a special Cosmic Altar. 9 10In singleplayer, invocation happens on the first couple of ticks of the first world created on a new game instance 11(since config files are shared between all the worlds on an instance). On a server, it is performed the instant the first player 12joins the game. 13 14Currently, the config files and therefore types of modded content which the invocation is able to scan for and introduce to dimensions are: 15* blocks, 16* fluids, 17* mobs, 18* sounds, 19* items, 20* particles, 21* status effects, 22* block tags, 23* structures plus some of their additional data, 24* biomes and surface rules for them. 25 26Blocks are auto-assigned tags needed for the generator to know which parts of worldgen are they usable for ("full", "laggy" etc., 27see the page on [configuring the mod](Configuring-the-mod)), plus checked for different traits (being a flower, rotatable, dyeable etc.). 28Mobs are auto-tagged with their spawn group (monsters, underwater creatures etc.). Music is also auto-chosen from the list of sounds, 29although the way the game checks for that is currently imperfect (it just checks if the ID of the sound event contains the 30substrings "music" or "disc"). When scanning for biomes, the game ignores all the ones from Infinite Dimensions itself as to not 31introduce mod-generated biomes into the pool of ones to choose from when you specifically want to _not_ generate one; a similar thing happens 32with structures. 33 34All the entries in all these lists are assigned the default weight of 1.0. You're free to edit these weights as you wish after 35the invocation if you want to tweak the rarity of certain blocks/mobs/etc. or disable some of them from appearing in mod's dimensions 36altogether (set the weight to 0.0 for that). 37 38## Known issues with invocation 39* Invocation only happens once per game folder. As such, if you add new mods to the instance after you already loaded worlds on it once, 40invocation will not happen again. This especially stands for the default Minecraft launcher by Mojang, which by design only uses one. 41To force the invocation to happen again, you can either construct and activate the Transfinite Altar, or delete the file 42`config/infinity/modular/invocation.lock` and relaunch the game. 43 * Note that such reinvocation will not touch any of the existing files, only add new ones. As such, it is useful by itself only when 44 adding new mods to the instance. If you update one of the mods (including Infinite Dimensions!) to a newer version that brings 45 more content, or *especially* if you remove mods, you have to purge the `/config/modular` folder entirely to do a successful reinvocation. 46* Starting at version 2.1.0 of the mod, Infinite Dimensions will automatically delete all modular configs and issue reinvocation 47if it detects that the version of those configs (set in the invocation lock) is outdated. If you make changes to your modular configs, 48do a backup of them before updating the mod!