Mod Controlled Random by NaturaSpell

  • Controlled Random by NaturaSpell

    An addon for RandomLib. It adds random entries that change their content depending on certain conditions.
    • 710744
    • 15.13 KB
    • 1.16.5
    • January 20, 2022
    • March 26, 2022
    • Addons
    Controlled Random
Mod Information
NameControlled RandomAuthorNaturaSpellDescriptionAn addon for RandomLib. It adds random entries that change their content depending on certain conditions.
InformationDownloads: 710744
Version: 1.16.5
Size: 15.13 KB
Updated at: March 26, 2022
Created at: January 20, 2022
Tags
Addons

An addon for RandomLib (previously an addon for one block plus). It adds new random entries that change their content depending on certain conditions.

 

(These entries may need a player within 10 blocks of the generation position. Depending on the mod using RandomLib)

 

Entries

 

controlled_random:gamestages

It needs the gamestages mod to be installed.

 

This type of entry provides content from a specific level of oneblock set by default or depending on gamestages unlocked by the player.

for example:

"controlled_random:gamestages": [

          { weight: 1,

            content: {

                 default: "random1",

                 controlled: {

                          "stage0" : "random2",

                          "stage1" : "random3"

                 }

             }

           }

      ]
This entry will use the content of the corresponding file:

- "random1.nbt" by default.

-  "random2.nbt" if the player have the 'stage0' gamestage unlocked

- "random3.nbt"  if the player have the 'stage1' gamestage unlocked

 

 

controlled_random:origin

It needs the origins (forge) mod to be installed.

 

This type of entry provides content from a specific level of oneblock set by default or depending on the origin of the player.

for example:

"controlled_random:origin": [

          { weight: 1,

            content: {

                 default: "random1",

                 controlled: {

                          "origins:blazeborn" : "randomBlaze",

                          "origins:merling" : "randomMerling"

                 }

             }

           }

      ]
This entry will use the content of the corresponding file:

- "random1.nbt" by default.

- "randomBlaze.nbt" if the player is a blazeborn.

- "randomMerling" if the player is a merling.

 

 

controlled_random:attunement

It needs the astral sorcery mod to be installed.

 

This type of entry provides content from a specific level of oneblock set by default or depending on the attunement of the player.

for example:

"controlled_random:attunement": [

          { weight: 1,

            content: {

                 default: "random1",

                 controlled: {

                         "astralsorcery:discidia" : "randomDiscidia"

                 }

             }

           }

      ]
This entry will use the content of the corresponding file:

- "random1.nbt" by default.

- "randomDiscidia" if the player has the discidia attunement.