Finalize port of changes from website
This commit is contained in:
parent
0882a5d742
commit
b788631f99
4 changed files with 118 additions and 186 deletions
|
|
@ -5,7 +5,7 @@ import ConfigArchive from './GeolosysComponents/Docs/Archive/Config';
|
||||||
import CraftTweakerArchive from './GeolosysComponents/Docs/Archive/CraftTweaker';
|
import CraftTweakerArchive from './GeolosysComponents/Docs/Archive/CraftTweaker';
|
||||||
import DatapacksArchive from './GeolosysComponents/Docs/Archive/Datapacks';
|
import DatapacksArchive from './GeolosysComponents/Docs/Archive/Datapacks';
|
||||||
import Datapacks from './GeolosysComponents/Docs/Datapacks';
|
import Datapacks from './GeolosysComponents/Docs/Datapacks';
|
||||||
import PlutonsArchive from './GeolosysComponents/Plutons';
|
import Plutons from './GeolosysComponents/Docs/Plutons';
|
||||||
|
|
||||||
export default () => {
|
export default () => {
|
||||||
const [component, setComponent] = useState(window.location.hash.replace(/#/g, '') || 'about');
|
const [component, setComponent] = useState(window.location.hash.replace(/#/g, '') || 'about');
|
||||||
|
|
@ -59,6 +59,15 @@ export default () => {
|
||||||
Docs
|
Docs
|
||||||
</a>
|
</a>
|
||||||
<ul className="dropdown-menu" aria-labelledby="geolosysDocsDD">
|
<ul className="dropdown-menu" aria-labelledby="geolosysDocsDD">
|
||||||
|
<li>
|
||||||
|
<a
|
||||||
|
className={`dropdown-item ${component === 'plutons' ? 'active' : ''}`}
|
||||||
|
onClick={() => setComponent('plutons')}
|
||||||
|
href="#plutons"
|
||||||
|
>
|
||||||
|
Plutons
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
className={`dropdown-item ${component === 'datapacks' ? 'active' : ''}`}
|
className={`dropdown-item ${component === 'datapacks' ? 'active' : ''}`}
|
||||||
|
|
@ -83,15 +92,6 @@ export default () => {
|
||||||
Docs (Archive)
|
Docs (Archive)
|
||||||
</a>
|
</a>
|
||||||
<ul className="dropdown-menu" aria-labelledby="geolosysDocsDDArchive">
|
<ul className="dropdown-menu" aria-labelledby="geolosysDocsDDArchive">
|
||||||
<li>
|
|
||||||
<a
|
|
||||||
className={`dropdown-item ${component === 'plutons-archive' ? 'active' : ''}`}
|
|
||||||
onClick={() => setComponent('plutons-archive')}
|
|
||||||
href="#plutons-archive"
|
|
||||||
>
|
|
||||||
Plutons
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
className={`dropdown-item ${component === 'datapacks-archive' ? 'active' : ''}`}
|
className={`dropdown-item ${component === 'datapacks-archive' ? 'active' : ''}`}
|
||||||
|
|
@ -131,7 +131,7 @@ export default () => {
|
||||||
|
|
||||||
{component === 'datapacks' && (<Datapacks />)}
|
{component === 'datapacks' && (<Datapacks />)}
|
||||||
|
|
||||||
{component === 'plutons-archive' && (<PlutonsArchive />)}
|
{component === 'plutons' && (<Plutons />)}
|
||||||
{component === 'datapacks-archive' && (<DatapacksArchive />)}
|
{component === 'datapacks-archive' && (<DatapacksArchive />)}
|
||||||
{component === 'config-archive' && (<ConfigArchive />)}
|
{component === 'config-archive' && (<ConfigArchive />)}
|
||||||
{component === 'crafttweaker-archive' && (<CraftTweakerArchive />)}
|
{component === 'crafttweaker-archive' && (<CraftTweakerArchive />)}
|
||||||
|
|
|
||||||
|
|
@ -92,17 +92,20 @@ export default () => (
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="fluid container pb-5">
|
<div className="fluid container pb-5">
|
||||||
<h3>Pluton Density</h3>
|
<h3>Archived Info</h3>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
New to Version 3.0.0c and above, plutons can now have a density.
|
Over time, needless to say Geolosys has changed. As such, I'm keeping old information
|
||||||
This density describes how much of the pluton is/are the defined ore block/blocks.
|
on Geolosys in the Docs (Archive) dropdown - this may be a bit jumbled as far as organization
|
||||||
For example, a density of 1.0 means the pluton will generate exactly how it used to.
|
goes, but nothing a little
|
||||||
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) --
|
<kbd>CTRL</kbd>
|
||||||
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.
|
{' '}
|
||||||
|
<kbd>F</kbd>
|
||||||
|
{' '}
|
||||||
|
can't find for you 😄
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,95 @@
|
||||||
|
import React from 'react';
|
||||||
|
|
||||||
|
export default () => (
|
||||||
|
<div className="pb-5">
|
||||||
|
<div className="fluid container pb-5">
|
||||||
|
<h1>Plutons</h1>
|
||||||
|
<p>
|
||||||
|
There are many specificities to plutons and how they're implemented in Geolosys,
|
||||||
|
and knowing them could be helpful while creating your datapack.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="fluid container pb-3">
|
||||||
|
<h2>Pluton Types</h2>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Plutons have a different possible attributes over all plutons in general, and you can
|
||||||
|
read about them in the Datapacks documentation. As you explore, you'll see that plutons
|
||||||
|
can 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. No problem! These plutons can
|
||||||
|
form in a few variants based on what type of resource it's made of:
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="fluid container pb-3">
|
||||||
|
<div className="pb-1 w-100 d-block m-auto">
|
||||||
|
<div className="d-flex justify-content-around align-items-center">
|
||||||
|
<div className="w-100">
|
||||||
|
<h4>Dense</h4>
|
||||||
|
<p>
|
||||||
|
This type of pluton generates in a spheroid structure:
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<img
|
||||||
|
src="/img/geolosys/dense.png"
|
||||||
|
style={{ borderRadius: '8px', width: '128px' }}
|
||||||
|
alt=""
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="pb-1 w-100 d-block m-auto">
|
||||||
|
<div className="d-flex justify-content-around align-items-center">
|
||||||
|
<div className="w-100">
|
||||||
|
<h4>Dike</h4>
|
||||||
|
<p>
|
||||||
|
This type of pluton generates as a pillar/column underground:
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<img
|
||||||
|
src="/img/geolosys/dike.png"
|
||||||
|
style={{ borderRadius: '8px', width: '128px' }}
|
||||||
|
alt=""
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="pb-1 w-100 d-block m-auto">
|
||||||
|
<div className="d-flex justify-content-around align-items-center">
|
||||||
|
<div className="w-100">
|
||||||
|
<h4>Sparse</h4>
|
||||||
|
<p>
|
||||||
|
This type of pluton spans an entire chunk, filling it with single
|
||||||
|
blocks here and there:
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<img
|
||||||
|
src="/img/geolosys/sparse.png"
|
||||||
|
style={{ borderRadius: '8px', width: '128px' }}
|
||||||
|
alt=""
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="pb-1 w-100 d-block m-auto">
|
||||||
|
<div className="d-flex justify-content-around align-items-center">
|
||||||
|
<div className="w-100">
|
||||||
|
<h4>Layer</h4>
|
||||||
|
<p>
|
||||||
|
This type of pluton generates in layers (based on the size attribute):
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<img
|
||||||
|
src="/img/geolosys/layer.png"
|
||||||
|
style={{ borderRadius: '8px', width: '128px' }}
|
||||||
|
alt=""
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="pb-1 w-100 d-block m-auto">
|
||||||
|
<h4>Top Layer</h4>
|
||||||
|
<p>
|
||||||
|
This type of pluton generates in layers but on the surface instead of underground.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
|
@ -1,166 +0,0 @@
|
||||||
import React from 'react';
|
|
||||||
|
|
||||||
export default () => (
|
|
||||||
<div className="pb-5">
|
|
||||||
<div className="fluid container pb-5">
|
|
||||||
<h1>Plutons</h1>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
There are many specificities to plutons and how they're implemented
|
|
||||||
in Geolosys, and knowing them could be helpful while creating your datapack,
|
|
||||||
{' '}
|
|
||||||
<code>geolosys.json</code>
|
|
||||||
, or CraftTweaker Script.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="fluid container pb-3">
|
|
||||||
<h2>Types of Plutons</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
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:
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="fluid container pb-3">
|
|
||||||
<h3>All Pluton Types</h3>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
All pluton types have the following attributes:
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<code>yMin/yMax</code>
|
|
||||||
: 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.
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<code>size</code>
|
|
||||||
: 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.
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<code>chance</code>
|
|
||||||
: 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:
|
|
||||||
|
|
||||||
<img
|
|
||||||
src="/img/geolosys/generation.png"
|
|
||||||
className="d-block m-auto w-75 py-3"
|
|
||||||
alt=""
|
|
||||||
/>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<code>dimensions</code>
|
|
||||||
: 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
|
|
||||||
{' '}
|
|
||||||
<i>or</i>
|
|
||||||
{' '}
|
|
||||||
a blacklist, depending on which is easier!
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="fluid container pb-3">
|
|
||||||
<h3>Ore Plutons</h3>
|
|
||||||
<p>
|
|
||||||
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:
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div className="pb-1 w-100 d-block m-auto">
|
|
||||||
<div className="d-flex justify-content-around align-items-center">
|
|
||||||
<div className="w-100">
|
|
||||||
<h4>Dense</h4>
|
|
||||||
<p>
|
|
||||||
This type of pluton generates in a spheroid structure:
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<img
|
|
||||||
src="/img/geolosys/dense.png"
|
|
||||||
style={{ borderRadius: '8px', width: '128px' }}
|
|
||||||
alt=""
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div className="pb-1 w-100 d-block m-auto">
|
|
||||||
<div className="d-flex justify-content-around align-items-center">
|
|
||||||
<div className="w-100">
|
|
||||||
<h4>Dike</h4>
|
|
||||||
<p>
|
|
||||||
This type of pluton generates as a pillar/column underground:
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<img
|
|
||||||
src="/img/geolosys/dike.png"
|
|
||||||
style={{ borderRadius: '8px', width: '128px' }}
|
|
||||||
alt=""
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div className="pb-1 w-100 d-block m-auto">
|
|
||||||
<div className="d-flex justify-content-around align-items-center">
|
|
||||||
<div className="w-100">
|
|
||||||
<h4>Sparse</h4>
|
|
||||||
<p>
|
|
||||||
This type of pluton spans an entire chunk, filling it with single
|
|
||||||
blocks here and there:
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<img
|
|
||||||
src="/img/geolosys/sparse.png"
|
|
||||||
style={{ borderRadius: '8px', width: '128px' }}
|
|
||||||
alt=""
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div className="pb-1 w-100 d-block m-auto">
|
|
||||||
<div className="d-flex justify-content-around align-items-center">
|
|
||||||
<div className="w-100">
|
|
||||||
<h4>Layer</h4>
|
|
||||||
<p>
|
|
||||||
This type of pluton generates in layers (based on the size attribute):
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<img
|
|
||||||
src="/img/geolosys/layer.png"
|
|
||||||
style={{ borderRadius: '8px', width: '128px' }}
|
|
||||||
alt=""
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div className="pb-1 w-100 d-block m-auto">
|
|
||||||
<h4>Top Layer</h4>
|
|
||||||
<p>
|
|
||||||
This type of pluton generates in layers but on the surface instead of underground.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="fluid container">
|
|
||||||
<h3>Stone Plutons</h3>
|
|
||||||
<p>
|
|
||||||
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
|
|
||||||
{' '}
|
|
||||||
<i>no</i>
|
|
||||||
{' '}
|
|
||||||
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!
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
Loading…
Reference in a new issue