Skip to content

Pre-Skip Random

  • Id: moderner_beta:pre_skip_random
  • Inputs: none
  • Uses seed: no
  • Added in: 3.0.0

The Pre-Skip Random layer is a wrapper layer that causes the RNG of the wrapped layer to skip over a few rolls before being used. This is used for accurately reproducing layer pipelines of older versions of Minecraft.

Properties

  • layer
    • Type: layer
    • Default: required
    • Description: The layer to be wrapped. Note that this layer is not referred by ID and is instead inlined.
  • skipAmount
    • Type: int
    • Default: required
    • Description: The amount of times to skip the RNG.

Example

json
{
  "id": "example",
  "type": "moderner_beta:pre_skip_random",
  "skipAmount": 1,
  "layer": {
    "id": "the id here doesn't matter; the id of the wrapper layer is used instead",
    "type": "moderner_beta:random_biome",
    "seed": 2500,
    "biomes": [
      "minecraft:plains",
      "minecraft:forest",
      "minecraft:desert"
    ]
  }
}