overworld.json 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  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": "h",
  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": "h",
  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": "u",
  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": "h"
  96. },
  97. {
  98. "type": "constant",
  99. "value": 5
  100. },
  101. {
  102. "type": "operator",
  103. "operator": "*",
  104. "values": [
  105. {
  106. "type": "noise",
  107. "name": "u",
  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.0025,
  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": "==i",
  198. "values": [
  199. {
  200. "type": "variable",
  201. "name": "z"
  202. },
  203. {
  204. "type": "operator",
  205. "operator": "-",
  206. "values": [
  207. {
  208. "type": "variable",
  209. "name": "h"
  210. },
  211. {
  212. "type": "constant",
  213. "value": 1
  214. }
  215. ]
  216. }
  217. ]
  218. }
  219. }
  220. ],
  221. "blocks": [
  222. {
  223. "type": "blockType",
  224. "blockType": "Air",
  225. "condition": {
  226. "type": "operator",
  227. "operator": ">i",
  228. "values": [
  229. {
  230. "type": "variable",
  231. "name": "z"
  232. },
  233. {
  234. "type": "variable",
  235. "name": "h"
  236. }
  237. ]
  238. }
  239. },
  240. {
  241. "type": "blockType",
  242. "blockType": "Grass",
  243. "noise": {
  244. "type": "random",
  245. "seed": {
  246. "type": "operator",
  247. "operator": "+",
  248. "values": [
  249. {
  250. "type": "variable",
  251. "name": "dimensionSeed"
  252. },
  253. {
  254. "type": "constant",
  255. "value": 3
  256. }
  257. ]
  258. }
  259. },
  260. "threshold": 0.25,
  261. "condition": {
  262. "type": "operator",
  263. "operator": "&&",
  264. "values": [
  265. {
  266. "type": "operator",
  267. "operator": "==i",
  268. "values": [
  269. {
  270. "type": "variable",
  271. "name": "z"
  272. },
  273. {
  274. "type": "variable",
  275. "name": "h"
  276. }
  277. ]
  278. },
  279. {
  280. "type": "blockType",
  281. "x": {
  282. "type": "variable",
  283. "name": "x"
  284. },
  285. "y": {
  286. "type": "variable",
  287. "name": "y"
  288. },
  289. "z": {
  290. "type": "operator",
  291. "operator": "-",
  292. "values": [
  293. {
  294. "type": "variable",
  295. "name": "z"
  296. },
  297. {
  298. "type": "constant",
  299. "value": 1
  300. }
  301. ]
  302. },
  303. "blockType": "Dirt"
  304. }
  305. ]
  306. }
  307. },
  308. {
  309. "type": "blockType",
  310. "blockType": "Gravel",
  311. "noise": {
  312. "type": "ValueCubic",
  313. "frequency": 0.1,
  314. "seed": {
  315. "type": "operator",
  316. "operator": "+",
  317. "values": [
  318. {
  319. "type": "variable",
  320. "name": "dimensionSeed"
  321. },
  322. {
  323. "type": "constant",
  324. "value": 2
  325. }
  326. ]
  327. }
  328. },
  329. "threshold": 0.35,
  330. "condition": {
  331. "type": "operator",
  332. "operator": "<i",
  333. "values": [
  334. {
  335. "type": "variable",
  336. "name": "z"
  337. },
  338. {
  339. "type": "variable",
  340. "name": "h"
  341. }
  342. ]
  343. }
  344. },
  345. {
  346. "type": "blockType",
  347. "blockType": "Dirt",
  348. "noise": {
  349. "type": "ValueCubic",
  350. "frequency": 0.125,
  351. "seed": {
  352. "type": "operator",
  353. "operator": "+",
  354. "values": [
  355. {
  356. "type": "variable",
  357. "name": "dimensionSeed"
  358. },
  359. {
  360. "type": "constant",
  361. "value": 1
  362. }
  363. ]
  364. }
  365. },
  366. "threshold": 0.35,
  367. "condition": {
  368. "type": "operator",
  369. "operator": "<i",
  370. "values": [
  371. {
  372. "type": "variable",
  373. "name": "z"
  374. },
  375. {
  376. "type": "variable",
  377. "name": "h"
  378. }
  379. ]
  380. }
  381. },
  382. {
  383. "type": "blockType",
  384. "blockType": "Sand",
  385. "noise": {
  386. "type": "ValueCubic",
  387. "frequency": 0.125,
  388. "seed": {
  389. "type": "operator",
  390. "operator": "+",
  391. "values": [
  392. {
  393. "type": "variable",
  394. "name": "dimensionSeed"
  395. },
  396. {
  397. "type": "constant",
  398. "value": 2
  399. }
  400. ]
  401. }
  402. },
  403. "threshold": 0.35,
  404. "condition": {
  405. "type": "operator",
  406. "operator": "&&",
  407. "values": [
  408. {
  409. "type": "operator",
  410. "operator": "<",
  411. "values": [
  412. {
  413. "type": "variable",
  414. "name": "z"
  415. },
  416. {
  417. "type": "variable",
  418. "name": "h"
  419. }
  420. ]
  421. },
  422. {
  423. "type": "operator",
  424. "operator": ">",
  425. "values": [
  426. {
  427. "type": "variable",
  428. "name": "z"
  429. },
  430. {
  431. "type": "variable",
  432. "name": "u"
  433. }
  434. ]
  435. }
  436. ]
  437. }
  438. },
  439. {
  440. "type": "blockType",
  441. "blockType": "Dirt",
  442. "condition": {
  443. "type": "operator",
  444. "operator": "&&",
  445. "values": [
  446. {
  447. "type": "operator",
  448. "operator": "<i",
  449. "values": [
  450. {
  451. "type": "variable",
  452. "name": "z"
  453. },
  454. {
  455. "type": "variable",
  456. "name": "h"
  457. }
  458. ]
  459. },
  460. {
  461. "type": "operator",
  462. "operator": ">i",
  463. "values": [
  464. {
  465. "type": "variable",
  466. "name": "z"
  467. },
  468. {
  469. "type": "variable",
  470. "name": "u"
  471. }
  472. ]
  473. }
  474. ]
  475. }
  476. },
  477. {
  478. "type": "blockType",
  479. "blockType": "Stone",
  480. "condition": {
  481. "type": "operator",
  482. "operator": "<i",
  483. "values": [
  484. {
  485. "type": "variable",
  486. "name": "z"
  487. },
  488. {
  489. "type": "variable",
  490. "name": "u"
  491. }
  492. ]
  493. }
  494. }
  495. ],
  496. "condition": {
  497. "type": "constant",
  498. "value": true
  499. }
  500. }
  501. ]
  502. }
  503. ]