Download Controlled Random — Minecraft Mods — MetaMods

Controlled Random

Active

Downloads

0

Last update

3 years ago
Client
Addons

Controlled Random

The Controlled Random mod serves as an extension for RandomLib (previously implemented as an addon for one block plus), introducing a system of dynamic random elements that change their content depending on specific in-game conditions being met.

For proper functioning of certain features, player presence within a 10-block radius from the generation point might be required.

Compatibility with Popular Mods

Integration with Sequential Progress (GameStages)

Using this function requires the gamestages modification to be installed. This element type allows matching content according to the current level of sequences unlocked by the player, or using default settings.

Configuration example:

"controlled_random:gamestages": [
    { weight: 1,
      content: {
           default: "random1",
           controlled: {
                    "stage0" : "random2",
                    "stage1" : "random3"
           }
       }
     }
]

Depending on conditions, the system will apply the following:

  • Default settings: file "random1.nbt"
  • With unlocked sequence stage0: file "random2.nbt"
  • With unlocked sequence stage1: file "random3.nbt"

Integration with Origins mod

Requires the origins (forge version) modification to be present. Elements of this category substitute corresponding content based on the character's origin profile or use default values.

Implementation example:

"controlled_random:origin": [
    { weight: 1,
      content: {
           default: "random1",
           controlled: {
                    "origins:blazeborn" : "randomBlaze",
                    "origins:merling" : "randomMerling"
           }
       }
     }
]

This configuration provides:

  • By default: loading "random1.nbt"
  • For blazeborn player: loading "randomBlaze.nbt"
  • For merling player: loading "randomMerling.nbt"

Compatibility with Astral Sorcery

Working with this function requires installation of the astral sorcery mod. Elements of this type regulate content according to the character's current attunement or apply standard indicators.

Configuration example:

"controlled_random:attunement": [
    { weight: 1,
      content: {
           default: "random1",
           controlled: {
                   "astralsorcery:discidia" : "randomDiscidia"
           }
       }
     }
]

The system loads the following files:

  • Base option: "random1.nbt"
  • With discidia attunement: "randomDiscidia.nbt"
Project members
NaturaSpell

NaturaSpell

Created: 27 Mar 2022

ID: 92405