overworld.json 18 KB

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