overworld.json 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  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. "entities": [],
  245. "structurCollections": [
  246. {
  247. "activeNoise": {
  248. "type": "random",
  249. "seed": {
  250. "type": "variable",
  251. "name": "dimensionSeed"
  252. }
  253. },
  254. "structureNoise": {
  255. "type": "random",
  256. "seed": {
  257. "type": "operator",
  258. "operator": "+",
  259. "values": [
  260. {
  261. "type": "variable",
  262. "name": "dimensionSeed"
  263. },
  264. {
  265. "type": "constant",
  266. "value": 10
  267. }
  268. ]
  269. }
  270. },
  271. "threshold": 0.0025,
  272. "structures": [
  273. {
  274. "type": "Tree",
  275. "wood": "Birch Wood",
  276. "leaves": "Birch Wood Leaves",
  277. "minSize": 8,
  278. "maxSize": 15,
  279. "propability": 0.5
  280. },
  281. {
  282. "type": "Tree",
  283. "wood": "Beech Wood",
  284. "leaves": "Beech Wood Leaves",
  285. "minSize": 8,
  286. "maxSize": 13,
  287. "propability": 0.25
  288. },
  289. {
  290. "type": "Tree",
  291. "wood": "Oak Wood",
  292. "leaves": "Oak Wood Leaves",
  293. "minSize": 10,
  294. "maxSize": 15,
  295. "propability": 0.125
  296. },
  297. {
  298. "type": "Tree",
  299. "wood": "Pine Wood",
  300. "leaves": "Pine Wood Leaves",
  301. "minSize": 15,
  302. "maxSize": 24,
  303. "propability": 0.075
  304. }
  305. ],
  306. "condition": {
  307. "type": "operator",
  308. "operator": "&&",
  309. "values": [
  310. {
  311. "type": "comparsion",
  312. "operator": "==i",
  313. "values": [
  314. {
  315. "type": "variable",
  316. "name": "z"
  317. },
  318. {
  319. "type": "operator",
  320. "operator": "-",
  321. "values": [
  322. {
  323. "type": "variable",
  324. "name": "h"
  325. },
  326. {
  327. "type": "constant",
  328. "value": 1
  329. }
  330. ]
  331. }
  332. ]
  333. },
  334. {
  335. "type": "comparsion",
  336. "operator": ">=i",
  337. "values": [
  338. {
  339. "type": "variable",
  340. "name": "h"
  341. },
  342. {
  343. "type": "constant",
  344. "value": 200
  345. }
  346. ]
  347. },
  348. {
  349. "type": "comparsion",
  350. "operator": "<i",
  351. "values": [
  352. {
  353. "type": "variable",
  354. "name": "h"
  355. },
  356. {
  357. "type": "constant",
  358. "value": 300
  359. }
  360. ]
  361. }
  362. ]
  363. }
  364. }
  365. ],
  366. "blocks": [
  367. {
  368. "type": "blockInstance",
  369. "blockType": "Water",
  370. "condition": {
  371. "type": "operator",
  372. "operator": "&&",
  373. "values": [
  374. {
  375. "type": "comparsion",
  376. "operator": ">=i",
  377. "values": [
  378. {
  379. "type": "variable",
  380. "name": "z"
  381. },
  382. {
  383. "type": "variable",
  384. "name": "h"
  385. }
  386. ]
  387. },
  388. {
  389. "type": "comparsion",
  390. "operator": "<i",
  391. "values": [
  392. {
  393. "type": "variable",
  394. "name": "z"
  395. },
  396. {
  397. "type": "constant",
  398. "value": 200
  399. }
  400. ]
  401. }
  402. ]
  403. }
  404. },
  405. {
  406. "type": "blockType",
  407. "blockType": "Air",
  408. "condition": {
  409. "type": "comparsion",
  410. "operator": ">i",
  411. "values": [
  412. {
  413. "type": "variable",
  414. "name": "z"
  415. },
  416. {
  417. "type": "variable",
  418. "name": "h"
  419. }
  420. ]
  421. }
  422. },
  423. {
  424. "type": "blockType",
  425. "blockType": "Grass",
  426. "noise": {
  427. "type": "random",
  428. "seed": {
  429. "type": "operator",
  430. "operator": "+",
  431. "values": [
  432. {
  433. "type": "variable",
  434. "name": "dimensionSeed"
  435. },
  436. {
  437. "type": "constant",
  438. "value": 3
  439. }
  440. ]
  441. }
  442. },
  443. "threshold": 0.25,
  444. "condition": {
  445. "type": "operator",
  446. "operator": "&&",
  447. "values": [
  448. {
  449. "type": "comparsion",
  450. "operator": "==i",
  451. "values": [
  452. {
  453. "type": "variable",
  454. "name": "z"
  455. },
  456. {
  457. "type": "variable",
  458. "name": "h"
  459. }
  460. ]
  461. },
  462. {
  463. "type": "blockType",
  464. "x": {
  465. "type": "variable",
  466. "name": "x"
  467. },
  468. "y": {
  469. "type": "variable",
  470. "name": "y"
  471. },
  472. "z": {
  473. "type": "operator",
  474. "operator": "-",
  475. "values": [
  476. {
  477. "type": "variable",
  478. "name": "z"
  479. },
  480. {
  481. "type": "constant",
  482. "value": 1
  483. }
  484. ]
  485. },
  486. "blockType": "Dirt"
  487. }
  488. ]
  489. }
  490. },
  491. {
  492. "type": "blockType",
  493. "blockType": "Gravel",
  494. "noise": {
  495. "type": "ValueCubic",
  496. "frequency": 0.1,
  497. "seed": {
  498. "type": "operator",
  499. "operator": "+",
  500. "values": [
  501. {
  502. "type": "variable",
  503. "name": "dimensionSeed"
  504. },
  505. {
  506. "type": "constant",
  507. "value": 2
  508. }
  509. ]
  510. }
  511. },
  512. "threshold": 0.35,
  513. "condition": {
  514. "type": "comparsion",
  515. "operator": "<i",
  516. "values": [
  517. {
  518. "type": "variable",
  519. "name": "z"
  520. },
  521. {
  522. "type": "variable",
  523. "name": "h"
  524. }
  525. ]
  526. }
  527. },
  528. {
  529. "type": "blockType",
  530. "blockType": "Dirt",
  531. "noise": {
  532. "type": "ValueCubic",
  533. "frequency": 0.125,
  534. "seed": {
  535. "type": "operator",
  536. "operator": "+",
  537. "values": [
  538. {
  539. "type": "variable",
  540. "name": "dimensionSeed"
  541. },
  542. {
  543. "type": "constant",
  544. "value": 1
  545. }
  546. ]
  547. }
  548. },
  549. "threshold": 0.35,
  550. "condition": {
  551. "type": "comparsion",
  552. "operator": "<i",
  553. "values": [
  554. {
  555. "type": "variable",
  556. "name": "z"
  557. },
  558. {
  559. "type": "variable",
  560. "name": "h"
  561. }
  562. ]
  563. }
  564. },
  565. {
  566. "type": "blockType",
  567. "blockType": "Sand",
  568. "noise": {
  569. "type": "ValueCubic",
  570. "frequency": 0.125,
  571. "seed": {
  572. "type": "operator",
  573. "operator": "+",
  574. "values": [
  575. {
  576. "type": "variable",
  577. "name": "dimensionSeed"
  578. },
  579. {
  580. "type": "constant",
  581. "value": 2
  582. }
  583. ]
  584. }
  585. },
  586. "threshold": 0.35,
  587. "condition": {
  588. "type": "operator",
  589. "operator": "&&",
  590. "values": [
  591. {
  592. "type": "comparsion",
  593. "operator": "<i",
  594. "values": [
  595. {
  596. "type": "variable",
  597. "name": "z"
  598. },
  599. {
  600. "type": "variable",
  601. "name": "h"
  602. }
  603. ]
  604. },
  605. {
  606. "type": "comparsion",
  607. "operator": ">i",
  608. "values": [
  609. {
  610. "type": "variable",
  611. "name": "z"
  612. },
  613. {
  614. "type": "variable",
  615. "name": "u"
  616. }
  617. ]
  618. }
  619. ]
  620. }
  621. },
  622. {
  623. "type": "blockType",
  624. "blockType": "Dirt",
  625. "condition": {
  626. "type": "operator",
  627. "operator": "&&",
  628. "values": [
  629. {
  630. "type": "comparsion",
  631. "operator": "<i",
  632. "values": [
  633. {
  634. "type": "variable",
  635. "name": "z"
  636. },
  637. {
  638. "type": "variable",
  639. "name": "h"
  640. }
  641. ]
  642. },
  643. {
  644. "type": "comparsion",
  645. "operator": ">i",
  646. "values": [
  647. {
  648. "type": "variable",
  649. "name": "z"
  650. },
  651. {
  652. "type": "variable",
  653. "name": "u"
  654. }
  655. ]
  656. }
  657. ]
  658. }
  659. },
  660. {
  661. "type": "blockType",
  662. "blockType": "Stone",
  663. "condition": {
  664. "type": "comparsion",
  665. "operator": "<=i",
  666. "values": [
  667. {
  668. "type": "variable",
  669. "name": "z"
  670. },
  671. {
  672. "type": "variable",
  673. "name": "u"
  674. }
  675. ]
  676. }
  677. }
  678. ],
  679. "condition": {
  680. "type": "constant",
  681. "value": true
  682. }
  683. }
  684. ]
  685. }
  686. ]