overworld.json 18 KB

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