overworld.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  1. [
  2. {
  3. "dimension": "Overworld",
  4. "dimensionSeed": {
  5. "type": "operator",
  6. "operator": "+",
  7. "values": [
  8. {
  9. "type": "variable",
  10. "name": "worldSeed"
  11. },
  12. {
  13. "type": "variable",
  14. "name": "dimensionId"
  15. }
  16. ]
  17. },
  18. "biomNoise": {
  19. "type": "Cellular",
  20. "seed": {
  21. "type": "variable",
  22. "name": "dimensionSeed"
  23. },
  24. "rotationType3D": "None",
  25. "frequency": 0.015,
  26. "fractalType": "None",
  27. "cellularDistanceFunction": "Hybrid",
  28. "cellularReturnType": "CellValue",
  29. "cellularJitter": 1,
  30. "domainWarpType": "OpenSimplex2Reduced",
  31. "domainWarpAmp": 30
  32. },
  33. "heightLayers": [
  34. {
  35. "name": "surfaceHeight",
  36. "noise": {
  37. "type": "ValueCubic",
  38. "seed": {
  39. "type": "variable",
  40. "name": "dimensionSeed"
  41. }
  42. },
  43. "value": {
  44. "type": "operator",
  45. "operator": "+",
  46. "values": [
  47. {
  48. "type": "constant",
  49. "value": 50
  50. },
  51. {
  52. "type": "operator",
  53. "operator": "*",
  54. "values": [
  55. {
  56. "type": "noise",
  57. "name": "surfaceHeight",
  58. "x": {
  59. "type": "variable",
  60. "name": "x"
  61. },
  62. "y": {
  63. "type": "variable",
  64. "name": "y"
  65. },
  66. "z": {
  67. "type": "constant",
  68. "value": 0
  69. }
  70. },
  71. {
  72. "type": "constant",
  73. "value": 400
  74. }
  75. ]
  76. }
  77. ]
  78. }
  79. },
  80. {
  81. "name": "underground1",
  82. "noise": {
  83. "type": "ValueCubic",
  84. "seed": {
  85. "type": "variable",
  86. "name": "dimensionSeed"
  87. }
  88. },
  89. "value": {
  90. "type": "operator",
  91. "operator": "-",
  92. "values": [
  93. {
  94. "type": "variable",
  95. "name": "surfaceHeight"
  96. },
  97. {
  98. "type": "constant",
  99. "value": 5
  100. },
  101. {
  102. "type": "operator",
  103. "operator": "*",
  104. "values": [
  105. {
  106. "type": "noise",
  107. "name": "underground1",
  108. "x": {
  109. "type": "variable",
  110. "name": "x"
  111. },
  112. "y": {
  113. "type": "variable",
  114. "name": "y"
  115. },
  116. "z": {
  117. "type": "constant",
  118. "value": 0
  119. }
  120. },
  121. {
  122. "type": "constant",
  123. "value": 45
  124. }
  125. ]
  126. }
  127. ]
  128. }
  129. }
  130. ],
  131. "bioms": [
  132. {
  133. "name": "Grassland",
  134. "structurCollections": [
  135. {
  136. "activeNoise": {
  137. "type": "random",
  138. "seed": {
  139. "type": "variable",
  140. "name": "dimensionSeed"
  141. }
  142. },
  143. "structureNoise": {
  144. "type": "random",
  145. "seed": {
  146. "type": "operator",
  147. "operator": "+",
  148. "values": [
  149. {
  150. "type": "variable",
  151. "name": "dimensionSeed"
  152. },
  153. {
  154. "type": "constant",
  155. "value": 10
  156. }
  157. ]
  158. }
  159. },
  160. "threshold": 0.001,
  161. "structures": [
  162. {
  163. "type": "Tree",
  164. "wood": "Birch Wood",
  165. "leaves": "Birch Wood Leaves",
  166. "minSize": 8,
  167. "maxSize": 15,
  168. "propability": 0.5
  169. },
  170. {
  171. "type": "Tree",
  172. "wood": "Beech Wood",
  173. "leaves": "Beech Wood Leaves",
  174. "minSize": 8,
  175. "maxSize": 13,
  176. "propability": 0.25
  177. },
  178. {
  179. "type": "Tree",
  180. "wood": "Oak Wood",
  181. "leaves": "Oak Wood Leaves",
  182. "minSize": 10,
  183. "maxSize": 15,
  184. "propability": 0.125
  185. },
  186. {
  187. "type": "Tree",
  188. "wood": "Pine Wood",
  189. "leaves": "Pine Wood Leaves",
  190. "minSize": 15,
  191. "maxSize": 24,
  192. "propability": 0.075
  193. }
  194. ],
  195. "condition": {
  196. "type": "operator",
  197. "operator": "==",
  198. "values": [
  199. {
  200. "type": "variable",
  201. "name": "z"
  202. },
  203. {
  204. "type": "operator",
  205. "operator": "-",
  206. "values": [
  207. {
  208. "type": "variable",
  209. "name": "surfaceHeight"
  210. },
  211. {
  212. "type": "constant",
  213. "value": 1
  214. }
  215. ]
  216. }
  217. ]
  218. }
  219. }
  220. ],
  221. "blocks": [
  222. {
  223. "type": "blockType",
  224. "blockType": "Grass",
  225. "noise": {
  226. "type": "random",
  227. "seed": {
  228. "type": "operator",
  229. "operator": "+",
  230. "values": [
  231. {
  232. "type": "variable",
  233. "name": "dimensionSeed"
  234. },
  235. {
  236. "type": "constant",
  237. "value": 3
  238. }
  239. ]
  240. }
  241. },
  242. "threshold": 0.25,
  243. "condition": {
  244. "type": "operator",
  245. "operator": "&&",
  246. "values": [
  247. {
  248. "type": "operator",
  249. "operator": "==",
  250. "values": [
  251. {
  252. "type": "variable",
  253. "name": "z"
  254. },
  255. {
  256. "type": "variable",
  257. "name": "surfaceHeight"
  258. }
  259. ]
  260. },
  261. {
  262. "type": "blockType",
  263. "x": {
  264. "type": "variable",
  265. "name": "x"
  266. },
  267. "y": {
  268. "type": "variable",
  269. "name": "y"
  270. },
  271. "z": {
  272. "type": "operator",
  273. "operator": "-",
  274. "values": [
  275. {
  276. "type": "variable",
  277. "name": "z"
  278. },
  279. {
  280. "type": "constant",
  281. "value": 1
  282. }
  283. ]
  284. },
  285. "blockType": "Dirt"
  286. }
  287. ]
  288. }
  289. },
  290. {
  291. "type": "blockType",
  292. "blockType": "Gravel",
  293. "noise": {
  294. "type": "ValueCubic",
  295. "frequency": 0.1,
  296. "seed": {
  297. "type": "operator",
  298. "operator": "+",
  299. "values": [
  300. {
  301. "type": "variable",
  302. "name": "dimensionSeed"
  303. },
  304. {
  305. "type": "constant",
  306. "value": 2
  307. }
  308. ]
  309. }
  310. },
  311. "threshold": 0.35,
  312. "condition": {
  313. "type": "operator",
  314. "operator": "<",
  315. "values": [
  316. {
  317. "type": "variable",
  318. "name": "z"
  319. },
  320. {
  321. "type": "variable",
  322. "name": "surfaceHeight"
  323. }
  324. ]
  325. }
  326. },
  327. {
  328. "type": "blockType",
  329. "blockType": "Dirt",
  330. "noise": {
  331. "type": "ValueCubic",
  332. "frequency": 0.125,
  333. "seed": {
  334. "type": "operator",
  335. "operator": "+",
  336. "values": [
  337. {
  338. "type": "variable",
  339. "name": "dimensionSeed"
  340. },
  341. {
  342. "type": "constant",
  343. "value": 1
  344. }
  345. ]
  346. }
  347. },
  348. "threshold": 0.35,
  349. "condition": {
  350. "type": "operator",
  351. "operator": "<",
  352. "values": [
  353. {
  354. "type": "variable",
  355. "name": "z"
  356. },
  357. {
  358. "type": "variable",
  359. "name": "surfaceHeight"
  360. }
  361. ]
  362. }
  363. },
  364. {
  365. "type": "blockType",
  366. "blockType": "Sand",
  367. "noise": {
  368. "type": "ValueCubic",
  369. "frequency": 0.125,
  370. "seed": {
  371. "type": "operator",
  372. "operator": "+",
  373. "values": [
  374. {
  375. "type": "variable",
  376. "name": "dimensionSeed"
  377. },
  378. {
  379. "type": "constant",
  380. "value": 2
  381. }
  382. ]
  383. }
  384. },
  385. "threshold": 0.35,
  386. "condition": {
  387. "type": "operator",
  388. "operator": "&&",
  389. "values": [
  390. {
  391. "type": "operator",
  392. "operator": "<",
  393. "values": [
  394. {
  395. "type": "variable",
  396. "name": "z"
  397. },
  398. {
  399. "type": "variable",
  400. "name": "surfaceHeight"
  401. }
  402. ]
  403. },
  404. {
  405. "type": "operator",
  406. "operator": ">",
  407. "values": [
  408. {
  409. "type": "variable",
  410. "name": "z"
  411. },
  412. {
  413. "type": "variable",
  414. "name": "underground1"
  415. }
  416. ]
  417. }
  418. ]
  419. }
  420. },
  421. {
  422. "type": "blockType",
  423. "blockType": "Dirt",
  424. "condition": {
  425. "type": "operator",
  426. "operator": "&&",
  427. "values": [
  428. {
  429. "type": "operator",
  430. "operator": "<",
  431. "values": [
  432. {
  433. "type": "variable",
  434. "name": "z"
  435. },
  436. {
  437. "type": "variable",
  438. "name": "surfaceHeight"
  439. }
  440. ]
  441. },
  442. {
  443. "type": "operator",
  444. "operator": ">",
  445. "values": [
  446. {
  447. "type": "variable",
  448. "name": "z"
  449. },
  450. {
  451. "type": "variable",
  452. "name": "underground1"
  453. }
  454. ]
  455. }
  456. ]
  457. }
  458. },
  459. {
  460. "type": "blockType",
  461. "blockType": "Stone",
  462. "condition": {
  463. "type": "operator",
  464. "operator": "<",
  465. "values": [
  466. {
  467. "type": "variable",
  468. "name": "z"
  469. },
  470. {
  471. "type": "variable",
  472. "name": "underground1"
  473. }
  474. ]
  475. }
  476. }
  477. ],
  478. "condition": {
  479. "type": "constant",
  480. "value": true
  481. }
  482. }
  483. ]
  484. }
  485. ]