keaft

Sequential Structure Spawn (CoFH World)

Mar 6th, 2022
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.40 KB | None | 0 0
  1. {
  2.     "populate": {
  3.         "gorgon_temple_sand": {
  4.             "distribution": "sequential",
  5.             "generator": {
  6.                 "type": "structure",
  7.                 "material": "minecraft:sand",
  8.                 "structure": [{"name": "./structures/gorgon_temple_sand.nbt"}]
  9.             },
  10.             "distribution": "custom",
  11.             "cluster-count": 1,
  12.             "chunk-chance": 15,
  13.             "x-offset": 0,
  14.             "y-offset": {"min": 53,"max": 56},
  15.             "z-offset": 0,
  16.             "features": [
  17.                 {
  18.                     "distribution": "custom",
  19.                     "generator": {
  20.                         "type": "structure",
  21.                         "material": "minecraft:air",
  22.                         "structure": [{"name": "./structures/gorgon_temple_roof.nbt"}]
  23.                     },
  24.                     "cluster-count": 1,
  25.                     "x-offset": 0,
  26.                     "y-offset": {
  27.                         "value-a": ${populate.gorgon_temple_sand.y-offset},
  28.                         "value-b": 20,
  29.                         "operation": "ADD"
  30.                     },
  31.                     "z-offset": 0
  32.                 }
  33.             ],
  34.             "biome": {
  35.                 "restriction": "whitelist",
  36.                 "value": [
  37.                     {
  38.                         "type": "id",
  39.                         "entry": ["minecraft:beaches"]
  40.                     }
  41.                 ]
  42.             },
  43.             "dimension": {
  44.                 "restriction": "whitelist",
  45.                 "value": [
  46.                     0  
  47.                 ]  
  48.             }
  49.         }
  50.     }
  51. }
Advertisement
Add Comment
Please, Sign In to add comment