overworld.json 28 KB

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