overworld.json 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678
  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": "factorize",
  38. "noiseA": {
  39. "type": "flatten",
  40. "noise": {
  41. "type": "Perlin",
  42. "multiplier": 0.05,
  43. "seed": {
  44. "type": "operator",
  45. "operator": "+",
  46. "values": [
  47. {
  48. "type": "variable",
  49. "name": "dimensionSeed"
  50. },
  51. {
  52. "type": "constant",
  53. "value": 23
  54. }
  55. ]
  56. }
  57. },
  58. "factor": 0.5,
  59. "addition": 0.25
  60. },
  61. "noiseB": {
  62. "type": "multiply",
  63. "base": {
  64. "type": "factorize",
  65. "noiseA": {
  66. "type": "Perlin",
  67. "frequency": 0.02,
  68. "seed": {
  69. "type": "operator",
  70. "operator": "+",
  71. "values": [
  72. {
  73. "type": "variable",
  74. "name": "dimensionSeed"
  75. },
  76. {
  77. "type": "constant",
  78. "value": 22
  79. }
  80. ]
  81. }
  82. },
  83. "noiseB": {
  84. "type": "Perlin",
  85. "frequency": 0.25,
  86. "seed": {
  87. "type": "operator",
  88. "operator": "+",
  89. "values": [
  90. {
  91. "type": "variable",
  92. "name": "dimensionSeed"
  93. },
  94. {
  95. "type": "constant",
  96. "value": 21
  97. }
  98. ]
  99. }
  100. },
  101. "factorA": 0.9
  102. },
  103. "multiplier": {
  104. "type": "scale",
  105. "noise": {
  106. "type": "negate",
  107. "noise": {
  108. "type": "scale",
  109. "noise": {
  110. "type": "Cellular",
  111. "multiplier": 0.4,
  112. "frequency": 0.005,
  113. "rotationType3D": "None",
  114. "fractalType": "DomainWarpIndependent",
  115. "cellularDistanceFunction": "Euclidean",
  116. "cellularReturnType": "Distance",
  117. "cellularJitter": 1.5,
  118. "domainWarpType": "OpenSimplex2Reduced",
  119. "domainWarpAmp": 100,
  120. "fractalOctaves": 3,
  121. "fractalLacunarity": 2,
  122. "fractalGain": 0.5,
  123. "seed": {
  124. "type": "operator",
  125. "operator": "+",
  126. "values": [
  127. {
  128. "type": "variable",
  129. "name": "dimensionSeed"
  130. },
  131. {
  132. "type": "constant",
  133. "value": 20
  134. }
  135. ]
  136. }
  137. },
  138. "factor": 3.5
  139. }
  140. },
  141. "factor": 1.5
  142. }
  143. },
  144. "factorA": 0.5
  145. },
  146. "value": {
  147. "type": "operator",
  148. "operator": "+",
  149. "values": [
  150. {
  151. "type": "constant",
  152. "value": 50
  153. },
  154. {
  155. "type": "operator",
  156. "operator": "*",
  157. "values": [
  158. {
  159. "type": "noise",
  160. "name": "h",
  161. "x": {
  162. "type": "variable",
  163. "name": "x"
  164. },
  165. "y": {
  166. "type": "variable",
  167. "name": "y"
  168. },
  169. "z": {
  170. "type": "constant",
  171. "value": 0
  172. }
  173. },
  174. {
  175. "type": "constant",
  176. "value": 400
  177. }
  178. ]
  179. }
  180. ]
  181. }
  182. },
  183. {
  184. "name": "u",
  185. "noise": {
  186. "type": "ValueCubic",
  187. "seed": {
  188. "type": "variable",
  189. "name": "dimensionSeed"
  190. }
  191. },
  192. "value": {
  193. "type": "operator",
  194. "operator": "-",
  195. "values": [
  196. {
  197. "type": "variable",
  198. "name": "h"
  199. },
  200. {
  201. "type": "constant",
  202. "value": 5
  203. },
  204. {
  205. "type": "operator",
  206. "operator": "*",
  207. "values": [
  208. {
  209. "type": "noise",
  210. "name": "u",
  211. "x": {
  212. "type": "variable",
  213. "name": "x"
  214. },
  215. "y": {
  216. "type": "variable",
  217. "name": "y"
  218. },
  219. "z": {
  220. "type": "constant",
  221. "value": 0
  222. }
  223. },
  224. {
  225. "type": "constant",
  226. "value": 45
  227. }
  228. ]
  229. }
  230. ]
  231. }
  232. }
  233. ],
  234. "bioms": [
  235. {
  236. "name": "Grassland",
  237. "structurCollections": [
  238. {
  239. "activeNoise": {
  240. "type": "random",
  241. "seed": {
  242. "type": "variable",
  243. "name": "dimensionSeed"
  244. }
  245. },
  246. "structureNoise": {
  247. "type": "random",
  248. "seed": {
  249. "type": "operator",
  250. "operator": "+",
  251. "values": [
  252. {
  253. "type": "variable",
  254. "name": "dimensionSeed"
  255. },
  256. {
  257. "type": "constant",
  258. "value": 10
  259. }
  260. ]
  261. }
  262. },
  263. "threshold": 0.0025,
  264. "structures": [
  265. {
  266. "type": "Tree",
  267. "wood": "Birch Wood",
  268. "leaves": "Birch Wood Leaves",
  269. "minSize": 8,
  270. "maxSize": 15,
  271. "propability": 0.5
  272. },
  273. {
  274. "type": "Tree",
  275. "wood": "Beech Wood",
  276. "leaves": "Beech Wood Leaves",
  277. "minSize": 8,
  278. "maxSize": 13,
  279. "propability": 0.25
  280. },
  281. {
  282. "type": "Tree",
  283. "wood": "Oak Wood",
  284. "leaves": "Oak Wood Leaves",
  285. "minSize": 10,
  286. "maxSize": 15,
  287. "propability": 0.125
  288. },
  289. {
  290. "type": "Tree",
  291. "wood": "Pine Wood",
  292. "leaves": "Pine Wood Leaves",
  293. "minSize": 15,
  294. "maxSize": 24,
  295. "propability": 0.075
  296. }
  297. ],
  298. "condition": {
  299. "type": "operator",
  300. "operator": "&&",
  301. "values": [
  302. {
  303. "type": "operator",
  304. "operator": "==i",
  305. "values": [
  306. {
  307. "type": "variable",
  308. "name": "z"
  309. },
  310. {
  311. "type": "operator",
  312. "operator": "-",
  313. "values": [
  314. {
  315. "type": "variable",
  316. "name": "h"
  317. },
  318. {
  319. "type": "constant",
  320. "value": 1
  321. }
  322. ]
  323. }
  324. ]
  325. },
  326. {
  327. "type": "operator",
  328. "operator": ">=i",
  329. "values": [
  330. {
  331. "type": "variable",
  332. "name": "h"
  333. },
  334. {
  335. "type": "constant",
  336. "value": 190
  337. }
  338. ]
  339. },
  340. {
  341. "type": "operator",
  342. "operator": "<i",
  343. "values": [
  344. {
  345. "type": "variable",
  346. "name": "h"
  347. },
  348. {
  349. "type": "constant",
  350. "value": 300
  351. }
  352. ]
  353. }
  354. ]
  355. }
  356. }
  357. ],
  358. "blocks": [
  359. {
  360. "type": "blockType",
  361. "blockType": "Water",
  362. "condition": {
  363. "type": "operator",
  364. "operator": "&&",
  365. "values": [
  366. {
  367. "type": "operator",
  368. "operator": ">=i",
  369. "values": [
  370. {
  371. "type": "variable",
  372. "name": "z"
  373. },
  374. {
  375. "type": "variable",
  376. "name": "h"
  377. }
  378. ]
  379. },
  380. {
  381. "type": "operator",
  382. "operator": "<i",
  383. "values": [
  384. {
  385. "type": "variable",
  386. "name": "z"
  387. },
  388. {
  389. "type": "constant",
  390. "value": 190
  391. }
  392. ]
  393. }
  394. ]
  395. }
  396. },
  397. {
  398. "type": "blockType",
  399. "blockType": "Air",
  400. "condition": {
  401. "type": "operator",
  402. "operator": ">i",
  403. "values": [
  404. {
  405. "type": "variable",
  406. "name": "z"
  407. },
  408. {
  409. "type": "variable",
  410. "name": "h"
  411. }
  412. ]
  413. }
  414. },
  415. {
  416. "type": "blockType",
  417. "blockType": "Grass",
  418. "noise": {
  419. "type": "random",
  420. "seed": {
  421. "type": "operator",
  422. "operator": "+",
  423. "values": [
  424. {
  425. "type": "variable",
  426. "name": "dimensionSeed"
  427. },
  428. {
  429. "type": "constant",
  430. "value": 3
  431. }
  432. ]
  433. }
  434. },
  435. "threshold": 0.25,
  436. "condition": {
  437. "type": "operator",
  438. "operator": "&&",
  439. "values": [
  440. {
  441. "type": "operator",
  442. "operator": "==i",
  443. "values": [
  444. {
  445. "type": "variable",
  446. "name": "z"
  447. },
  448. {
  449. "type": "variable",
  450. "name": "h"
  451. }
  452. ]
  453. },
  454. {
  455. "type": "blockType",
  456. "x": {
  457. "type": "variable",
  458. "name": "x"
  459. },
  460. "y": {
  461. "type": "variable",
  462. "name": "y"
  463. },
  464. "z": {
  465. "type": "operator",
  466. "operator": "-",
  467. "values": [
  468. {
  469. "type": "variable",
  470. "name": "z"
  471. },
  472. {
  473. "type": "constant",
  474. "value": 1
  475. }
  476. ]
  477. },
  478. "blockType": "Dirt"
  479. }
  480. ]
  481. }
  482. },
  483. {
  484. "type": "blockType",
  485. "blockType": "Gravel",
  486. "noise": {
  487. "type": "ValueCubic",
  488. "frequency": 0.1,
  489. "seed": {
  490. "type": "operator",
  491. "operator": "+",
  492. "values": [
  493. {
  494. "type": "variable",
  495. "name": "dimensionSeed"
  496. },
  497. {
  498. "type": "constant",
  499. "value": 2
  500. }
  501. ]
  502. }
  503. },
  504. "threshold": 0.35,
  505. "condition": {
  506. "type": "operator",
  507. "operator": "<i",
  508. "values": [
  509. {
  510. "type": "variable",
  511. "name": "z"
  512. },
  513. {
  514. "type": "variable",
  515. "name": "h"
  516. }
  517. ]
  518. }
  519. },
  520. {
  521. "type": "blockType",
  522. "blockType": "Dirt",
  523. "noise": {
  524. "type": "ValueCubic",
  525. "frequency": 0.125,
  526. "seed": {
  527. "type": "operator",
  528. "operator": "+",
  529. "values": [
  530. {
  531. "type": "variable",
  532. "name": "dimensionSeed"
  533. },
  534. {
  535. "type": "constant",
  536. "value": 1
  537. }
  538. ]
  539. }
  540. },
  541. "threshold": 0.35,
  542. "condition": {
  543. "type": "operator",
  544. "operator": "<i",
  545. "values": [
  546. {
  547. "type": "variable",
  548. "name": "z"
  549. },
  550. {
  551. "type": "variable",
  552. "name": "h"
  553. }
  554. ]
  555. }
  556. },
  557. {
  558. "type": "blockType",
  559. "blockType": "Sand",
  560. "noise": {
  561. "type": "ValueCubic",
  562. "frequency": 0.125,
  563. "seed": {
  564. "type": "operator",
  565. "operator": "+",
  566. "values": [
  567. {
  568. "type": "variable",
  569. "name": "dimensionSeed"
  570. },
  571. {
  572. "type": "constant",
  573. "value": 2
  574. }
  575. ]
  576. }
  577. },
  578. "threshold": 0.35,
  579. "condition": {
  580. "type": "operator",
  581. "operator": "&&",
  582. "values": [
  583. {
  584. "type": "operator",
  585. "operator": "<i",
  586. "values": [
  587. {
  588. "type": "variable",
  589. "name": "z"
  590. },
  591. {
  592. "type": "variable",
  593. "name": "h"
  594. }
  595. ]
  596. },
  597. {
  598. "type": "operator",
  599. "operator": ">i",
  600. "values": [
  601. {
  602. "type": "variable",
  603. "name": "z"
  604. },
  605. {
  606. "type": "variable",
  607. "name": "u"
  608. }
  609. ]
  610. }
  611. ]
  612. }
  613. },
  614. {
  615. "type": "blockType",
  616. "blockType": "Dirt",
  617. "condition": {
  618. "type": "operator",
  619. "operator": "&&",
  620. "values": [
  621. {
  622. "type": "operator",
  623. "operator": "<i",
  624. "values": [
  625. {
  626. "type": "variable",
  627. "name": "z"
  628. },
  629. {
  630. "type": "variable",
  631. "name": "h"
  632. }
  633. ]
  634. },
  635. {
  636. "type": "operator",
  637. "operator": ">i",
  638. "values": [
  639. {
  640. "type": "variable",
  641. "name": "z"
  642. },
  643. {
  644. "type": "variable",
  645. "name": "u"
  646. }
  647. ]
  648. }
  649. ]
  650. }
  651. },
  652. {
  653. "type": "blockType",
  654. "blockType": "Stone",
  655. "condition": {
  656. "type": "operator",
  657. "operator": "<=i",
  658. "values": [
  659. {
  660. "type": "variable",
  661. "name": "z"
  662. },
  663. {
  664. "type": "variable",
  665. "name": "u"
  666. }
  667. ]
  668. }
  669. }
  670. ],
  671. "condition": {
  672. "type": "constant",
  673. "value": true
  674. }
  675. }
  676. ]
  677. }
  678. ]