diff --git a/package-lock.json b/package-lock.json index b28cb9b..833d935 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3152,6 +3152,15 @@ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" }, + "bindings": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", + "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", + "optional": true, + "requires": { + "file-uri-to-path": "1.0.0" + } + }, "bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", @@ -5892,6 +5901,12 @@ "schema-utils": "^2.5.0" } }, + "file-uri-to-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", + "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", + "optional": true + }, "filesize": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/filesize/-/filesize-6.0.1.tgz", @@ -7720,7 +7735,11 @@ "version": "1.2.13", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", - "optional": true + "optional": true, + "requires": { + "bindings": "^1.5.0", + "nan": "^2.12.1" + } } } }, @@ -8831,6 +8850,12 @@ "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" }, + "nan": { + "version": "2.14.2", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", + "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==", + "optional": true + }, "nanomatch": { "version": "1.2.13", "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", @@ -13812,7 +13837,11 @@ "version": "1.2.13", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", - "optional": true + "optional": true, + "requires": { + "bindings": "^1.5.0", + "nan": "^2.12.1" + } }, "glob-parent": { "version": "3.1.0", diff --git a/src/components/mods/Geolosys.jsx b/src/components/mods/Geolosys.jsx index e4cf59d..2b02066 100644 --- a/src/components/mods/Geolosys.jsx +++ b/src/components/mods/Geolosys.jsx @@ -1,7 +1,7 @@ import React, { useState, useEffect } from 'react'; import { CSSTransition } from 'react-transition-group'; import About from './GeolosysComponents/About'; -import Deposits from './GeolosysComponents/Deposits'; +import Plutons from './GeolosysComponents/Plutons'; import Datapacks from './GeolosysComponents/Datapacks'; import Config from './GeolosysComponents/Config'; import CraftTweaker from './GeolosysComponents/CraftTweaker'; @@ -73,11 +73,11 @@ export default () => {
- There are many specificities to plutons and how they're implemented
- in Geolosys, and knowing them could be helpful while creating your datapack,
- {' '}
- geolosys.json
- , or CraftTweaker Script.
-
- In the Geolosys configuration tool and in the Datapack, you'll see mention - of Ore- and Stone-type plutons. There are some key differences between the two, - which are outlined below: -
-
+ There are many specificities to plutons and how they're implemented
+ in Geolosys, and knowing them could be helpful while creating your datapack,
+ {' '}
+ geolosys.json
+ , or CraftTweaker Script.
+
+ In the Geolosys configuration tool and in the Datapack, you'll see mention + of Ore- and Stone-type plutons. There are some key differences between the two, + which are outlined below: +
++ All pluton types have the following attributes: +
+ +yMin/yMax
+ : this is a range where the pluton can be found. Any
+ Y-Level above sea level will generate only in hills/mountains where the pluton's
+ block matchers are located. These values can range from 0 to worldheight.
+ size
+ : The size variable is dependent on the type of pluton. For example, a dike pluton
+ uses the derivatives of the Size variable to determine the starting radius of the dike.
+ chance
+ : chance is always relative to the sum of all chances - that is to say, if you have
+ three plutons X, Y and Z with chances 3, 5 and 10 respectively, then X will have a 3/18
+ chance of generating, Y will have a 5/18 chance and Z will have a 10/18 chance -- see the
+ below graphic if that helps:
+
+
+ dimensions
+ : a way to choose which dimensions a pluton can generate in. For your
+ convenience you can choose to treat the list of dimensions as a whitelist
+ {' '}
+ or
+ {' '}
+ a blacklist, depending on which is easier!
+ + Ore plutons have a different possible attributes over all plutons in general. + To start, ore plutons all have sample blocks -- these are blocks on that + generate on the surface of the world above a pluton to indicate that a pluton + is in that area. Secondly, ore plutons can replace any block you specify - grass, + stone, air, gravel? No problem! Lastly, ore plutons can generate in different shapes, + referred to as "types" in the config. These types can be: +
+ ++ This type of pluton generates in a spheroid structure: +
+
+ + This type of pluton generates as a pillar/column underground: +
+
+ + This type of pluton spans an entire chunk, filling it with single + blocks here and there: +
+
+ + This type of pluton generates in layers (based on the size attribute): +
+
+ + This type of pluton generates in layers but on the surface instead of underground. +
++ Stone Plutons are essentially identical to Ore Plutons aside from the three things that + were specified; stone plutons cannot have samples, specific block replacement matches or + types. Stone plutons have + {' '} + no + {' '} + samples, take on a Dense formation and will only replace stone blocks, which cannot be + configured or changed. Stone plutons are meant to be very basic methods of generating + large amounts of stone of whatever type you'd like! +
+