diff --git a/src/components/mods/GeolosysComponents/About.jsx b/src/components/mods/GeolosysComponents/About.jsx index 27de68e..b986199 100644 --- a/src/components/mods/GeolosysComponents/About.jsx +++ b/src/components/mods/GeolosysComponents/About.jsx @@ -3,7 +3,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faLink } from '@fortawesome/free-solid-svg-icons'; export default () => ( -
+

About @@ -62,8 +62,6 @@ export default () => (

-
-

@@ -72,5 +70,52 @@ export default () => (

+ +
+

Ore Generation Changed by Geolosys

+ +

+ The default configuration for Ore Generation has changed with Geolosys v3.0.0. + Many deposit configs remain unchanged, but a few have changed: + +

    +
  • Lapis is now found in Deserts of all types (hills and mutated)
  • +
  • Beryl is now found in Extreme Hills of all types, and Ice Mountains
  • +
  • Limonite is now found on Mushroom Islands and in Swamplands
  • +
  • + Azurite and Malachite now generate together, as in real life. Azurite generates at a + 60% chance, where Malachite generates at a 40% chance. +
  • +
  • Cassiterite is now found in ocean biomes (may be changed)
  • +
  • + Teallite is now found in ocean biomes (may be changed) and has a small chance to + generate with Beryl, as in real life. +
  • +
  • Galena is now found in flat biomes, such as Plains and Ice Plains
  • +
  • Bauxite is now found in Jungle biomes and Savannah biomes
  • +
  • Autunite is now found in Extreme Hills of all types, and Ice Mountains
  • +
+ + All of these changes are reflected in the Field Manual in versions for 1.15.2 and below. +

+
+ +
+ +
+

Pluton Density

+ +

+ New to Version 3.0.0c and above, plutons can now have a density. + This density describes how much of the pluton is/are the defined ore block/blocks. + For example, a density of 1.0 means the pluton will generate exactly how it used to. + A density of 0.75 means that the pluton will take on the same shape, + but only 75% of the blocks within that shape will actually be the ore block(s) -- + the rest will remain whatever block they were initially. This change is reflected in + the docs for CraftTweaker and the JSON config where applicable, and is also a part of + the datapack API built into Minecraft. +

+
+
); diff --git a/src/components/mods/GeolosysComponents/Config.jsx b/src/components/mods/GeolosysComponents/Config.jsx index 95918d5..c8962b9 100644 --- a/src/components/mods/GeolosysComponents/Config.jsx +++ b/src/components/mods/GeolosysComponents/Config.jsx @@ -1,6 +1,6 @@ import React from 'react'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faLink, faBook } from '@fortawesome/free-solid-svg-icons'; +import { faLink } from '@fortawesome/free-solid-svg-icons'; export default () => (
diff --git a/src/components/mods/GeolosysComponents/Datapacks.jsx b/src/components/mods/GeolosysComponents/Datapacks.jsx new file mode 100644 index 0000000..5e8a8fc --- /dev/null +++ b/src/components/mods/GeolosysComponents/Datapacks.jsx @@ -0,0 +1,273 @@ +import React from 'react'; +import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter'; +import { nord } from 'react-syntax-highlighter/dist/esm/styles/prism'; + +export default () => ( +
+
+

Geolosys Datapacks (1.16 and Up)

+ +

+ Starting as of Geolosys's port to Minecraft 1.16, all plutons in + Geolosys are now registered using Datapacks! Datapacks are a fantastic, + flexible way of adding or modifying content in Geolosys your heart's + desires! +

+ +

+ On this page you will find documentation and tutorials on how to create + your own datapack in Geolosys for both modifying/removing default plutons, + as well as adding your very own! This tutorial will + {' '} + not + {' '} + teach you datapack fundamentals, nor will it teach you JSON -- you should be + able to learn that using resources such as + {' '} + + this one + + + . It will, however, teach you how to expand upon vanilla datapack knowledge + to manipulate Plutons 😊 +

+ +

+ For pack creators looking to have datapacks apply to any world that is created, + I suggest taking a look at + {' '} + + this mod! + +

+
+ +
+

Geolosys Built-In Pluton Locations

+

+ In order to override or disable a pre-existing, built-in pluton that + comes with Geolosys by default, you'll need to know the exact + path of that + {' '} + .json + {' '} + file in order to successfully overwrite it. To help with this, a list + of all of Geoloys's built-in plutons can be found below: +

+ +
+ Ores: + +
    +
  • /data/geolosys/deposits/ore/ancient_debris_nether.json
  • +
  • /data/geolosys/deposits/ore/bituminous_coal.json
  • +
  • /data/geolosys/deposits/ore/gold_nether.json
  • +
  • /data/geolosys/deposits/ore/malachite_and_azurite.json
  • +
  • /data/geolosys/deposits/ore/anthracitic_coal.json
  • +
  • /data/geolosys/deposits/ore/cassiterite.json
  • +
  • /data/geolosys/deposits/ore/hematite.json
  • +
  • /data/geolosys/deposits/ore/platinum.json
  • +
  • /data/geolosys/deposits/ore/assorted_quartz.json
  • +
  • /data/geolosys/deposits/ore/cinnabar.json
  • +
  • /data/geolosys/deposits/ore/kimberlite.json
  • +
  • /data/geolosys/deposits/ore/sphalerite.json
  • +
  • /data/geolosys/deposits/ore/autunite.json
  • +
  • /data/geolosys/deposits/ore/coal.json
  • +
  • /data/geolosys/deposits/ore/lapis.json
  • +
  • /data/geolosys/deposits/ore/teallite_and_emerald.json
  • +
  • /data/geolosys/deposits/ore/bauxite.json
  • +
  • /data/geolosys/deposits/ore/galena.json
  • +
  • /data/geolosys/deposits/ore/lignite.json
  • +
  • /data/geolosys/deposits/ore/beryl.json
  • +
  • /data/geolosys/deposits/ore/gold.json
  • +
  • /data/geolosys/deposits/ore/limonite.json
  • +
+ + Stones: +
    +
  • /data/geolosys/deposits/stone/andesite.json
  • +
  • /data/geolosys/deposits/stone/diorite.json
  • +
  • /data/geolosys/deposits/stone/granite.json
  • +
+ + Other: +
    +
  • /data/geolosys/deposits/other/peat.json
  • +
+
+
+ +
+

Disabling Default Plutons

+ +

+ First thing's first, most people will want to learn how to disable a + pluton added by Geolosys. This is easy enough to do, but it is important to + understand that in order to override a preexisting pluton you must replace the + file at the + {' '} + exact + {' '} + path that the original file is in, but in + {' '} + your + {' '} + datapack. For example, to override/disable a Sphalerite pluton you must place your new + {' '} + .json + {' '} + file in your datapack located in + {' '} + data/geolosys/deposits/ore/ + {' '} + and named + {' '} + sphalerite.json + . Afterwards, all you must do is put an empty JSON object inside! +

+
+ +
+

Modifying Default Plutons

+ +

+ Similar to the instructions for removing them, follow every step but after + creating your empty JSON object, you will need to populate that JSON object. + I suggest starting with the original JSON object + {' '} + + (which you can find here) + + {' '} + and then modifying it from there. If you wish to start from scratch, follow the + next section's tutorial on creating your own custom pluton! +

+
+ +
+

Creating Custom Plutons

+ +

+ Creating a custom pluton is a bit easier, but also harder, than locating + and disabling/overriding an existing pluton. There are a few different + types of pluton you can make, so the below + {' '} + JSON5 + {' '} + object should well explain how to accomplish the creation of a new pluton entirely. +

+ +

geolosys:ore_deposit

+ +

+ This would be used for an ore-deposit-like pluton (with a sample block, matchers, etc.). +

+ + + {` + { /* Notes / Comments ↓ */ + "type": "geolosys:ore_deposit", /* This is always the same for ore plutons */ + "config": { + "block": "minecraft:ice", /* The ore block to generate */ + "sample": "minecraft:ice", /* The surface sample to generate with the pluton */ + "type": "sparse", /* Can be SPARSE, DENSE, DIKE, LAYER or TOP_LAYER */ + "yMin": 1, /* The Minimum Y-level the deposit can gen */ + "yMax": 255, /* The Maximum Y-level the deposit can gen */ + "chance": 1, /* Out of all chances, cumulatively that the deposits gens */ + "size": 24, /* The size of pluton - # blocks dependent on type of dep */ + "dimensions": { /* Control over which dimensions the pluton can gen */ + "isBlacklist": true, /* Is the filter a blacklist or whitelist? */ + "filter": [ /* The dimensions you wish to filter */ + "the_nether", + "the_end" + ] + }, + "biomes" :[ /* OPTIONAL: which biomes this can/can't gen in */ + "minecraft:plains" + ], + "isWhitelist": true, /* OPTIONAL (Req'd if biomes key is present) */ + "density": 0.75 /* Float w/ Range 0.0 - 1.0. Density of ores in pluton */ + } + } + `} + + +

+ NOTE: + {' '} + It is possible to have more than one Ore Block, Sample Block, or both! + If you decide to have multiple sample blocks or multiple ore blocks, + you must use the syntax below for both samples and blocks, not just one. + That is, if you decide you want 2+ ore blocks but only one sample (or vice-versa), + you must use the below syntax and just put your one sample/ore (just as is shown in + the JSON sample below) alone in the array with a chance of 100. +

+ + {` + { + . + . + . + "blocks": [{ /* The block(s) that will generate in the pluton */ + "block": "minecraft:dirt", /* NOTE: only 1 minimum block is required. Chances MUST */ + "chance": 90 /* Add up to equal 100 */ + }, { + "block": "minecraft:diamond_ore", + "chance": 10 + }], + "samples": [{ + "block": "minecraft:grass", + "chance": 100 + }], + . + . + . + } + `} + + +

geolosys:stone_deposit

+ +

+ This would be used for an stone-like pluton. No sample block, + no choice in matchers, just another stone type. +

+ + + {` + { /* Notes / Comments ↓ */ + "type": "geolosys:stone_deposit", /* This is always the same for all stone plutons */ + "config": { + "block": "minecraft:ice", /* The stone block to generate */ + "size": 24, /* The size of pluton, in this case max-radius */ + "chance": 1, /* Out of all chances, cumulatively that the deposits gens */ + "yMin": 1, /* The Minimum Y-level the deposit can gen */ + "yMax": 255, /* The Maximum Y-level the deposit can gen */ + "dimensions": { /* Control over which dimensions the pluton can gen */ + "isBlacklist": true, /* Is the filter a blacklist or whitelist? */ + "filter": [ /* The dimensions you wish to filter */ + "the_nether", + "the_end" + ] + } + } + } + `} + + + +
+
+); diff --git a/src/components/mods/GeolosysComponents/OreGeneration.jsx b/src/components/mods/GeolosysComponents/OreGeneration.jsx deleted file mode 100644 index 3a79fcd..0000000 --- a/src/components/mods/GeolosysComponents/OreGeneration.jsx +++ /dev/null @@ -1,49 +0,0 @@ -import React from 'react'; - -export default () => ( -
-
-

Ore Generation - What's Changed?

- -

- The default configuration for Ore Generation has changed with Geolosys v3.0.0. - Many deposit configs remain unchanged, but a few have changed: - -

    -
  • Lapis is now found in Deserts of all types (hills and mutated)
  • -
  • Beryl is now found in Extreme Hills of all types, and Ice Mountains
  • -
  • Limonite is now found on Mushroom Islands and in Swamplands
  • -
  • - Azurite and Malachite now generate together, as in real life. Azurite generates at a - 60% chance, where Malachite generates at a 40% chance. -
  • -
  • Cassiterite is now found in ocean biomes (may be changed)
  • -
  • - Teallite is now found in ocean biomes (may be changed) and has a small chance to - generate with Beryl, as in real life. -
  • -
  • Galena is now found in flat biomes, such as Plains and Ice Plains
  • -
  • Bauxite is now found in Jungle biomes and Savannah biomes
  • -
  • Autunite is now found in Extreme Hills of all types, and Ice Mountains
  • -
- - All of these changes are reflected in the Field Manual in versions for 1.15.2 and below. -

-
- -
-

Pluton Density

- -

- New to Version 3.0.0c and above, plutons can now have a density. - This density describes how much of the pluton is/are the defined ore block/blocks. - For example, a density of 1.0 means the pluton will generate exactly how it used to. - A density of 0.75 means that the pluton will take on the same shape, - but only 75% of the blocks within that shape will actually be the ore block(s) -- - the rest will remain whatever block they were initially. This change is reflected in - the docs for CraftTweaker and the JSON config where applicable, and is also a part of - the datapack API built into Minecraft. -

-
-
-); diff --git a/src/css/app.css b/src/css/app.css index 48ce298..60225b4 100644 --- a/src/css/app.css +++ b/src/css/app.css @@ -79,14 +79,6 @@ background-color: red; } -button.nav-link.nav-btn { - appearance: none; - -webkit-appearance: none; - -moz-appearance: none; - background-color: transparent; - border: none; -} - .dropdown-item.active { color: #1e2125; background-color: #c2c3c4;