Update site, add new dp format
This commit is contained in:
parent
f38a3b52a4
commit
0882a5d742
11 changed files with 610 additions and 40 deletions
|
|
@ -1,27 +1,14 @@
|
|||
import React, { useState, useEffect } from 'react';
|
||||
import React, { useState } from 'react';
|
||||
import { CSSTransition } from 'react-transition-group';
|
||||
import About from './GeolosysComponents/About';
|
||||
import Plutons from './GeolosysComponents/Plutons';
|
||||
import Datapacks from './GeolosysComponents/Datapacks';
|
||||
import Config from './GeolosysComponents/Config';
|
||||
import CraftTweaker from './GeolosysComponents/CraftTweaker';
|
||||
|
||||
const extractComponentName = () => {
|
||||
const url = window.location.href;
|
||||
if (url.includes('#')) {
|
||||
return url.split('#')[1];
|
||||
}
|
||||
|
||||
return 'about';
|
||||
};
|
||||
import ConfigArchive from './GeolosysComponents/Docs/Archive/Config';
|
||||
import CraftTweakerArchive from './GeolosysComponents/Docs/Archive/CraftTweaker';
|
||||
import DatapacksArchive from './GeolosysComponents/Docs/Archive/Datapacks';
|
||||
import Datapacks from './GeolosysComponents/Docs/Datapacks';
|
||||
import PlutonsArchive from './GeolosysComponents/Plutons';
|
||||
|
||||
export default () => {
|
||||
const [component, setComponent] = useState(extractComponentName());
|
||||
|
||||
useEffect(() => {
|
||||
setComponent(extractComponentName());
|
||||
return () => { };
|
||||
}, []);
|
||||
const [component, setComponent] = useState(window.location.hash.replace(/#/g, '') || 'about');
|
||||
|
||||
return (
|
||||
<CSSTransition classNames="react-router" appear in timeout={300}>
|
||||
|
|
@ -37,7 +24,7 @@ export default () => {
|
|||
<nav className="navbar navbar-expand navbar-light bg-light geolosys-navbar mt-2 mb-5">
|
||||
<div className="container-fluid mw-100">
|
||||
<div className="navbar-brand">
|
||||
Geolosys Submenu
|
||||
Submenu
|
||||
</div>
|
||||
<button
|
||||
className="navbar-toggler"
|
||||
|
|
@ -59,9 +46,10 @@ export default () => {
|
|||
>
|
||||
About
|
||||
</a>
|
||||
|
||||
<li className="nav-item dropdown">
|
||||
<a
|
||||
className={`nav-link dropdown-toggle ${component !== 'about' ? 'active' : ''}`}
|
||||
className={`nav-link dropdown-toggle ${component !== 'about' && !component.endsWith('-archive') ? 'active' : ''}`}
|
||||
href="/"
|
||||
id="geolosysDocsDD"
|
||||
role="button"
|
||||
|
|
@ -71,15 +59,6 @@ export default () => {
|
|||
Docs
|
||||
</a>
|
||||
<ul className="dropdown-menu" aria-labelledby="geolosysDocsDD">
|
||||
<li>
|
||||
<a
|
||||
className={`dropdown-item ${component === 'plutons' ? 'active' : ''}`}
|
||||
onClick={() => setComponent('plutons')}
|
||||
href="#plutons"
|
||||
>
|
||||
Plutons
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
className={`dropdown-item ${component === 'datapacks' ? 'active' : ''}`}
|
||||
|
|
@ -89,20 +68,53 @@ export default () => {
|
|||
Datapacks
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li className="nav-item dropdown">
|
||||
<a
|
||||
className={`nav-link dropdown-toggle ${component.endsWith('-archive') ? 'active' : ''}`}
|
||||
href="/"
|
||||
id="geolosysDocsDD"
|
||||
role="button"
|
||||
data-bs-toggle="dropdown"
|
||||
aria-expanded="false"
|
||||
>
|
||||
Docs (Archive)
|
||||
</a>
|
||||
<ul className="dropdown-menu" aria-labelledby="geolosysDocsDDArchive">
|
||||
<li>
|
||||
<a
|
||||
className={`dropdown-item ${component === 'config' ? 'active' : ''}`}
|
||||
onClick={() => setComponent('config')}
|
||||
href="#config"
|
||||
className={`dropdown-item ${component === 'plutons-archive' ? 'active' : ''}`}
|
||||
onClick={() => setComponent('plutons-archive')}
|
||||
href="#plutons-archive"
|
||||
>
|
||||
Plutons
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
className={`dropdown-item ${component === 'datapacks-archive' ? 'active' : ''}`}
|
||||
onClick={() => setComponent('datapacks-archive')}
|
||||
href="#datapacks-archive"
|
||||
>
|
||||
Datapacks
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
className={`dropdown-item ${component === 'config-archive' ? 'active' : ''}`}
|
||||
onClick={() => setComponent('config-archive')}
|
||||
href="#config-archive"
|
||||
>
|
||||
JSON Config
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
className={`dropdown-item ${component === 'crafttweaker' ? 'active' : ''}`}
|
||||
onClick={() => setComponent('crafttweaker')}
|
||||
href="#crafttweaker"
|
||||
className={`dropdown-item ${component === 'crafttweaker-archive' ? 'active' : ''}`}
|
||||
onClick={() => setComponent('crafttweaker-archive')}
|
||||
href="#crafttweaker-archive"
|
||||
>
|
||||
CraftTweaker API
|
||||
</a>
|
||||
|
|
@ -116,10 +128,13 @@ export default () => {
|
|||
</div>
|
||||
|
||||
{component === 'about' && (<About />)}
|
||||
{component === 'plutons' && (<Plutons />)}
|
||||
|
||||
{component === 'datapacks' && (<Datapacks />)}
|
||||
{component === 'config' && (<Config />)}
|
||||
{component === 'crafttweaker' && (<CraftTweaker />)}
|
||||
|
||||
{component === 'plutons-archive' && (<PlutonsArchive />)}
|
||||
{component === 'datapacks-archive' && (<DatapacksArchive />)}
|
||||
{component === 'config-archive' && (<ConfigArchive />)}
|
||||
{component === 'crafttweaker-archive' && (<CraftTweakerArchive />)}
|
||||
|
||||
</div>
|
||||
</CSSTransition>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
import React from 'react';
|
||||
import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';
|
||||
import { nord } from 'react-syntax-highlighter/dist/esm/styles/prism';
|
||||
import OreDeposit from './DatapackTemplates/OreDeposit';
|
||||
import OreDepositMulti from './DatapackTemplates/OreDepositMulti';
|
||||
import StoneDeposit from './DatapackTemplates/StoneDeposit';
|
||||
import OreDeposit from './Templates/OreDeposit';
|
||||
import OreDepositMulti from './Templates/OreDepositMulti';
|
||||
import StoneDeposit from './Templates/StoneDeposit';
|
||||
|
||||
export default () => (
|
||||
<div className="pb-5">
|
||||
217
src/components/mods/GeolosysComponents/Docs/Datapacks.jsx
Normal file
217
src/components/mods/GeolosysComponents/Docs/Datapacks.jsx
Normal file
|
|
@ -0,0 +1,217 @@
|
|||
import React from 'react';
|
||||
import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';
|
||||
import { nord } from 'react-syntax-highlighter/dist/esm/styles/prism';
|
||||
import Version6Dp from './Templates/Version6Dp';
|
||||
import Version7Dp from './Templates/Version7Dp';
|
||||
|
||||
export default () => (
|
||||
<div className="pb-5">
|
||||
<div className="fluid container pb-5">
|
||||
<h2>Geolosys Datapacks (1.16 and Up)</h2>
|
||||
|
||||
<p>
|
||||
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!
|
||||
</p>
|
||||
|
||||
<p>
|
||||
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
|
||||
{' '}
|
||||
<i>not</i>
|
||||
{' '}
|
||||
teach you datapack fundamentals, nor will it teach you JSON -- you should be
|
||||
able to learn that using resources such as
|
||||
{' '}
|
||||
<a
|
||||
href="https://minecraft.fandom.com/wiki/Data_Pack"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
this one
|
||||
</a>
|
||||
|
||||
. It will, however, teach you how to expand upon vanilla datapack knowledge
|
||||
to manipulate Plutons 😊
|
||||
</p>
|
||||
|
||||
<p>
|
||||
For pack creators looking to have datapacks apply to any world that is created,
|
||||
I suggest taking a look at
|
||||
{' '}
|
||||
<a
|
||||
href="https://www.curseforge.com/minecraft/mc-mods/drp-global-datapack"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
this mod!
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="fluid container pb-5">
|
||||
<h2>Geolosys Built-In Pluton Locations</h2>
|
||||
<p>
|
||||
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
|
||||
{' '}
|
||||
<code>.json</code>
|
||||
{' '}
|
||||
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:
|
||||
</p>
|
||||
|
||||
<div>
|
||||
<b>Ores: </b>
|
||||
|
||||
<ul>
|
||||
<li><code>/data/geolosys/deposits/ore/ancient_debris_nether.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/bituminous_coal.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/gold_nether.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/malachite_and_azurite.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/anthracitic_coal.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/cassiterite.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/hematite.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/platinum.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/assorted_quartz.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/cinnabar.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/kimberlite.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/sphalerite.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/autunite.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/coal.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/lapis.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/teallite_and_emerald.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/bauxite.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/galena.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/lignite.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/beryl.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/gold.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/ore/limonite.json</code></li>
|
||||
</ul>
|
||||
|
||||
<b>Stones: </b>
|
||||
<ul>
|
||||
<li><code>/data/geolosys/deposits/stone/andesite.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/stone/diorite.json</code></li>
|
||||
<li><code>/data/geolosys/deposits/stone/granite.json</code></li>
|
||||
</ul>
|
||||
|
||||
<b>Other: </b>
|
||||
<ul>
|
||||
<li><code>/data/geolosys/deposits/other/peat.json</code></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="fluid container pb-5">
|
||||
<h2>Disabling Default Plutons</h2>
|
||||
|
||||
<p>
|
||||
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
|
||||
{' '}
|
||||
<i>exact</i>
|
||||
{' '}
|
||||
path that the original file is in, but in
|
||||
{' '}
|
||||
<i>your</i>
|
||||
{' '}
|
||||
datapack. For example, to override/disable a Sphalerite pluton you must place your new
|
||||
{' '}
|
||||
<code>.json</code>
|
||||
{' '}
|
||||
file in your datapack located in
|
||||
{' '}
|
||||
<code>data/geolosys/deposits/ore/</code>
|
||||
{' '}
|
||||
and named
|
||||
{' '}
|
||||
<code>sphalerite.json</code>
|
||||
. Afterwards, all you must do is put an empty JSON object inside!
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="fluid container pb-5">
|
||||
<h2>Modifying Default Plutons</h2>
|
||||
|
||||
<p>
|
||||
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
|
||||
{' '}
|
||||
<a
|
||||
href="https://github.com/oitsjustjose/Geolosys/tree/1.16/src/main/resources/data/geolosys/deposits"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
(which you can find here)
|
||||
</a>
|
||||
{' '}
|
||||
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!
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="fluid container pb-5">
|
||||
<h2>Creating Custom Plutons</h2>
|
||||
|
||||
<p>
|
||||
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
|
||||
{' '}
|
||||
<code>JSON5</code>
|
||||
{' '}
|
||||
object should well explain how to accomplish the creation of a new pluton entirely.
|
||||
</p>
|
||||
|
||||
<div className="accordion" id="version-acc">
|
||||
<div className="accordion-item">
|
||||
<h2 className="accordion-header" id="acc-6.x">
|
||||
<button className="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
|
||||
Geolosys 6.x (1.16)
|
||||
</button>
|
||||
</h2>
|
||||
<div id="collapseOne" className="accordion-collapse collapse show" aria-labelledby="acc-6.x" data-bs-parent="#version-acc">
|
||||
<div className="accordion-body">
|
||||
{Object.entries(Version6Dp).map(([title, json5]) => (
|
||||
<div>
|
||||
<h3><code>{title}</code></h3>
|
||||
<SyntaxHighlighter language="json5" style={nord}>
|
||||
{json5}
|
||||
</SyntaxHighlighter>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="accordion-item">
|
||||
<h2 className="accordion-header" id="acc-7.x">
|
||||
<button className="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-controls="collapseTwo">
|
||||
Geolosys 7.x (1.18)
|
||||
</button>
|
||||
</h2>
|
||||
<div id="collapseTwo" className="accordion-collapse collapse" aria-labelledby="acc-7.x" data-bs-parent="#version-acc">
|
||||
<div className="accordion-body">
|
||||
{Object.entries(Version7Dp).map(([title, json5]) => (
|
||||
<div>
|
||||
<h3><code>{title}</code></h3>
|
||||
<SyntaxHighlighter language="json5" style={nord}>
|
||||
{json5}
|
||||
</SyntaxHighlighter>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
0
src/components/mods/GeolosysComponents/Docs/Plutons.jsx
Normal file
0
src/components/mods/GeolosysComponents/Docs/Plutons.jsx
Normal file
|
|
@ -0,0 +1,154 @@
|
|||
/* eslint-disable camelcase */
|
||||
const deposit_dense = `
|
||||
{ /* Notes / Comments ↓ */
|
||||
"type": "geolosys:deposit_dense", /* This tells Geolosys how to generate this pluton */
|
||||
"config": {
|
||||
"yMin": 5, /* The Minimum Y-level the deposit can gen */
|
||||
"yMax": 30, /* The Maximum Y-level the deposit can gen */
|
||||
"size": 40, /* The Maximum dx/dy/dz from the center of the pluton */
|
||||
"dimensions": { /* A method to filter which dimension to gen in */
|
||||
"isBlacklist": false, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "overworld" ] /* The dimensions you wish to filter */
|
||||
},
|
||||
"biomes": { /* OPTIONAL: A method to filter which biomes to gen in */
|
||||
"isBlacklist": true, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "minecraft:the_void" ] /* The biomes you wish to filter */
|
||||
}
|
||||
"blockStateMatchers": [ "minecraft:stone" ] /* The blocks you want this deposit to be able to replace */
|
||||
"blocks": [{ /* List of blocks to use within this pluton. null = skip */
|
||||
"block": "geolosys:gold_ore",
|
||||
"chance": 1.0
|
||||
}],
|
||||
"samples": [{ /* List of samples to use within this pluton. null = skip */
|
||||
"block": "geolosys:ancient_debris_ore_sample",
|
||||
"chance": 1.0
|
||||
}],
|
||||
"generationWeight": 1 /* The weight for this specific pluton to generate */
|
||||
}
|
||||
}`;
|
||||
|
||||
const deposit_dike = `
|
||||
{ /* Notes / Comments ↓ */
|
||||
"type": "geolosys:deposit_dike", /* This tells Geolosys how to generate this pluton */
|
||||
"config": {
|
||||
"yMin": 8, /* The Minimum Y-level the deposit can gen */
|
||||
"yMax": 22, /* The Maximum Y-level the deposit can gen */
|
||||
"baseRadius": 3, /* The Base radius of the deposit when the dike is formed */
|
||||
"dimensions": { /* A method to filter which dimension to gen in */
|
||||
"isBlacklist": false, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "the_nether" ] /* The dimensions you wish to filter */
|
||||
},
|
||||
"biomes": { /* OPTIONAL: A method to filter which biomes to gen in */
|
||||
"isBlacklist": false, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "minecraft:nether_wastes" ] /* The biomes you wish to filter */
|
||||
}
|
||||
"blockStateMatchers": [ "minecraft:netherrack" ] /* The blocks you want this deposit to be able to replace */
|
||||
"blocks": [{ /* List of blocks to use within this pluton. null = skip */
|
||||
"block": "geolosys:ancient_debris_ore",
|
||||
"chance": 0.6
|
||||
}, {
|
||||
"block": null,
|
||||
"chance": 0.4
|
||||
}],
|
||||
"samples": [{ /* List of samples to use within this pluton. null = skip */
|
||||
"block": "geolosys:ancient_debris_ore_sample",
|
||||
"chance": 1.0
|
||||
}],
|
||||
"generationWeight": 1 /* The weight for this specific pluton to generate */
|
||||
}
|
||||
}`;
|
||||
|
||||
const deposit_sparse = `
|
||||
{ /* Notes / Comments ↓ */
|
||||
"type": "geolosys:deposit_sparse", /* This tells Geolosys how to generate this pluton */
|
||||
"config": {
|
||||
"yMin": 16, /* The Minimum Y-level the deposit can gen */
|
||||
"yMax": 50, /* The Maximum Y-level the deposit can gen */
|
||||
"size": 32, /* Tweaks size similar to a Dense deposit */
|
||||
"spread": 32, /* Gens a dense deposit then adds rnad(spread) to each block*/
|
||||
"dimensions": { /* A method to filter which dimension to gen in */
|
||||
"isBlacklist": false, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "overworld" ] /* The dimensions you wish to filter */
|
||||
},
|
||||
"biomes": { /* OPTIONAL: A method to filter which biomes to gen in */
|
||||
"isBlacklist": true, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "minecraft:the_void" ] /* The biomes you wish to filter */
|
||||
}
|
||||
"blockStateMatchers": [ "minecraft:stone" ] /* The blocks you want this deposit to be able to replace */
|
||||
"blocks": [{ /* List of blocks to use within this pluton. null = skip */
|
||||
"block": "geolosys:galena_ore",
|
||||
"chance": 1.0
|
||||
}],
|
||||
"samples": [{ /* List of samples to use within this pluton. null = skip */
|
||||
"block": "geolosys:galena_ore_sample",
|
||||
"chance": 1.0
|
||||
}],
|
||||
"generationWeight": 1 /* The weight for this specific pluton to generate */
|
||||
}
|
||||
}`;
|
||||
|
||||
const deposit_layer = `
|
||||
{ /* Notes / Comments ↓ */
|
||||
"type": "geolosys:deposit_layer", /* This tells Geolosys how to generate this pluton */
|
||||
"config": {
|
||||
"yMin": 40, /* The Minimum Y-level the deposit can gen */
|
||||
"yMax": 70, /* The Maximum Y-level the deposit can gen */
|
||||
"radius": 3, /* The radius of the layer (noise is added) */
|
||||
"depth": 4, /* The height of the layer deposit */
|
||||
"dimensions": { /* A method to filter which dimension to gen in */
|
||||
"isBlacklist": false, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "overworld" ] /* The dimensions you wish to filter */
|
||||
},
|
||||
"biomes": { /* OPTIONAL: A method to filter which biomes to gen in */
|
||||
"isBlacklist": true, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "minecraft:the_void" ] /* The biomes you wish to filter */
|
||||
}
|
||||
"blockStateMatchers": [ "minecraft:stone" ] /* The blocks you want this deposit to be able to replace */
|
||||
"blocks": [{ /* List of blocks to use within this pluton. null = skip */
|
||||
"block": "geolosys:lignite_coal_ore",
|
||||
"chance": 1.0
|
||||
}],
|
||||
"samples": [{ /* List of samples to use within this pluton. null = skip */
|
||||
"block": "geolosys:lignite_coal_ore_sample",
|
||||
"chance": 1.0
|
||||
}],
|
||||
"generationWeight": 1 /* The weight for this specific pluton to generate */
|
||||
}
|
||||
}`;
|
||||
|
||||
const deposit_top_layer = `
|
||||
{ /* Notes / Comments ↓ */
|
||||
"type": "geolosys:top_deposit_layer", /* This tells Geolosys how to generate this pluton */
|
||||
"config": { /* YMIN/MAX IS NOT PERMITTED BC. USE LAYER IF YOU NEED IT */
|
||||
"radius": 4, /* The radius of the layer (noise is added) */
|
||||
"depth": 4, /* The height of the layer deposit */
|
||||
"chanceForSample": 0.25, /* The chance for a sample block to be generated */
|
||||
"dimensions": { /* A method to filter which dimension to gen in */
|
||||
"isBlacklist": false, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "overworld" ] /* The dimensions you wish to filter */
|
||||
},
|
||||
"biomes": { /* OPTIONAL: A method to filter which biomes to gen in */
|
||||
"isBlacklist": true, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "minecraft:the_void" ] /* The biomes you wish to filter */
|
||||
}
|
||||
"blockStateMatchers": [ "minecraft:dirt" ] /* The blocks you want this deposit to be able to replace */
|
||||
"blocks": [{ /* List of blocks to use within this pluton. null = skip */
|
||||
"block": "geolosys:peat",
|
||||
"chance": 1.0
|
||||
}],
|
||||
"samples": [{ /* List of samples to use within this pluton. null = skip */
|
||||
"block": "geolosys:rhododendron",
|
||||
"chance": 1.0
|
||||
}],
|
||||
"generationWeight": 1 /* The weight for this specific pluton to generate */
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export default {
|
||||
deposit_dense,
|
||||
deposit_dike,
|
||||
deposit_sparse,
|
||||
deposit_layer,
|
||||
deposit_top_layer,
|
||||
};
|
||||
|
|
@ -0,0 +1,184 @@
|
|||
/* eslint-disable camelcase */
|
||||
const deposit_dense = `
|
||||
{ /* Notes / Comments ↓ */
|
||||
"type": "geolosys:deposit_dense", /* This tells Geolosys how to generate this pluton */
|
||||
"config": {
|
||||
"yMin": 5, /* The Minimum Y-level the deposit can gen */
|
||||
"yMax": 30, /* The Maximum Y-level the deposit can gen */
|
||||
"size": 40, /* The Maximum dx/dy/dz from the center of the pluton */
|
||||
"dimensions": { /* A method to filter which dimension to gen in */
|
||||
"isBlacklist": false, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "overworld" ] /* The dimensions you wish to filter */
|
||||
},
|
||||
"biomes": { /* OPTIONAL: A method to filter which biomes to gen in */
|
||||
"isBlacklist": true, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "minecraft:the_void" ] /* The biomes you wish to filter */
|
||||
}
|
||||
"blockStateMatchers": [ "minecraft:stone" ] /* The blocks you want this deposit to be able to replace */
|
||||
"blocks": { /* List of blocks to use within this pluton. null = skip */
|
||||
"default": [{ /* Blocks now MUST have a "default" */
|
||||
"block": "geolosys:gold_ore",
|
||||
"chance": 1.0
|
||||
}],
|
||||
"minecraft:deepslate": [{ /* This says "if you replace deepslate use this ore instead */
|
||||
"block": "geolosys:deepslate_gold_ore",
|
||||
"chance": 1.0
|
||||
}]
|
||||
}
|
||||
"samples": [{ /* List of samples to use within this pluton. null = skip */
|
||||
"block": "geolosys:ancient_debris_ore_sample", /* Samples format are unchanged from Geolosys 6 */
|
||||
"chance": 1.0
|
||||
}],
|
||||
"generationWeight": 1 /* The weight for this specific pluton to generate */
|
||||
}
|
||||
}`;
|
||||
|
||||
const deposit_dike = `
|
||||
{ /* Notes / Comments ↓ */
|
||||
"type": "geolosys:deposit_dike", /* This tells Geolosys how to generate this pluton */
|
||||
"config": {
|
||||
"yMin": 8, /* The Minimum Y-level the deposit can gen */
|
||||
"yMax": 22, /* The Maximum Y-level the deposit can gen */
|
||||
"baseRadius": 3, /* The Base radius of the deposit when the dike is formed */
|
||||
"dimensions": { /* A method to filter which dimension to gen in */
|
||||
"isBlacklist": false, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "the_nether" ] /* The dimensions you wish to filter */
|
||||
},
|
||||
"biomes": { /* OPTIONAL: A method to filter which biomes to gen in */
|
||||
"isBlacklist": false, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "minecraft:nether_wastes" ] /* The biomes you wish to filter */
|
||||
}
|
||||
"blockStateMatchers": [ "minecraft:netherrack" ] /* The blocks you want this deposit to be able to replace */
|
||||
"blocks": { /* List of blocks to use within this pluton. null = skip */
|
||||
"default": [{ /* Blocks now MUST have a "default" */
|
||||
"block": "geolosys:gold_ore",
|
||||
"chance": 0.9
|
||||
}, {
|
||||
"block": null,
|
||||
"chance": 0.1
|
||||
}],
|
||||
"minecraft:netherrack": [{ /* This says "if you replace lava use this ore instead */
|
||||
"block": "geolosys:nether_gold_ore",
|
||||
"chance": 1.0
|
||||
}]
|
||||
},
|
||||
"samples": [{ /* List of samples to use within this pluton. null = skip */
|
||||
"block": "geolosys:gold_ore_sample", /* Samples format are unchanged from Geolosys 6 */
|
||||
"chance": 1.0
|
||||
}],
|
||||
"generationWeight": 1 /* The weight for this specific pluton to generate */
|
||||
}
|
||||
}`;
|
||||
|
||||
const deposit_sparse = `
|
||||
{ /* Notes / Comments ↓ */
|
||||
"type": "geolosys:deposit_sparse", /* This tells Geolosys how to generate this pluton */
|
||||
"config": {
|
||||
"yMin": 16, /* The Minimum Y-level the deposit can gen */
|
||||
"yMax": 50, /* The Maximum Y-level the deposit can gen */
|
||||
"size": 32, /* Tweaks size similar to a Dense deposit */
|
||||
"spread": 32, /* Gens a dense deposit then adds rnad(spread) to each block*/
|
||||
"dimensions": { /* A method to filter which dimension to gen in */
|
||||
"isBlacklist": false, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "overworld" ] /* The dimensions you wish to filter */
|
||||
},
|
||||
"biomes": { /* OPTIONAL: A method to filter which biomes to gen in */
|
||||
"isBlacklist": true, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "minecraft:the_void" ] /* The biomes you wish to filter */
|
||||
}
|
||||
"blockStateMatchers": [ "minecraft:stone" ] /* The blocks you want this deposit to be able to replace */
|
||||
"blocks": { /* List of blocks to use within this pluton. null = skip */
|
||||
"default": [{ /* Blocks now MUST have a "default" */
|
||||
"block": "geolosys:galena_ore",
|
||||
"chance": 1.0
|
||||
}],
|
||||
"minecraft:deepslate": [{ /* This says "if you replace deepslate use this ore instead */
|
||||
"block": "geolosys:deepslate_galena_ore",
|
||||
"chance": 1.0
|
||||
}]
|
||||
},
|
||||
"samples": [{ /* List of samples to use within this pluton. null = skip */
|
||||
"block": "geolosys:galena_ore_sample", /* Samples format are unchanged from Geolosys 6 */
|
||||
"chance": 1.0
|
||||
}],
|
||||
"generationWeight": 1 /* The weight for this specific pluton to generate */
|
||||
}
|
||||
}`;
|
||||
|
||||
const deposit_layer = `
|
||||
{ /* Notes / Comments ↓ */
|
||||
"type": "geolosys:deposit_layer", /* This tells Geolosys how to generate this pluton */
|
||||
"config": {
|
||||
"yMin": 40, /* The Minimum Y-level the deposit can gen */
|
||||
"yMax": 70, /* The Maximum Y-level the deposit can gen */
|
||||
"radius": 3, /* The radius of the layer (noise is added) */
|
||||
"depth": 4, /* The height of the layer deposit */
|
||||
"dimensions": { /* A method to filter which dimension to gen in */
|
||||
"isBlacklist": false, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "overworld" ] /* The dimensions you wish to filter */
|
||||
},
|
||||
"biomes": { /* OPTIONAL: A method to filter which biomes to gen in */
|
||||
"isBlacklist": true, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "minecraft:the_void" ] /* The biomes you wish to filter */
|
||||
}
|
||||
"blockStateMatchers": [ "minecraft:stone" ] /* The blocks you want this deposit to be able to replace */
|
||||
"blocks": { /* List of blocks to use within this pluton. null = skip */
|
||||
"default": [{ /* Blocks now MUST have a "default" */
|
||||
"block": "geolosys:lignite_coal_ore",
|
||||
"chance": 1.0
|
||||
}],
|
||||
"minecraft:deepslate": [{ /* This says "if you replace deepslate use this ore instead */
|
||||
"block": "geolosys:deepslate_lignite_coal_ore",
|
||||
"chance": 1.0
|
||||
}]
|
||||
},
|
||||
"samples": [{ /* List of samples to use within this pluton. null = skip */
|
||||
"block": "geolosys:lignite_coal_ore_sample", /* Samples format are unchanged from Geolosys 6 */
|
||||
"chance": 1.0
|
||||
}],
|
||||
"generationWeight": 1 /* The weight for this specific pluton to generate */
|
||||
}
|
||||
}`;
|
||||
|
||||
const deposit_top_layer = `
|
||||
{ /* Notes / Comments ↓ */
|
||||
"type": "geolosys:top_deposit_layer", /* This tells Geolosys how to generate this pluton */
|
||||
"config": { /* YMIN/MAX IS NOT PERMITTED BC. USE LAYER IF YOU NEED IT */
|
||||
"radius": 4, /* The radius of the layer (noise is added) */
|
||||
"depth": 4, /* The height of the layer deposit */
|
||||
"chanceForSample": 0.25, /* The chance for a sample block to be generated */
|
||||
"dimensions": { /* A method to filter which dimension to gen in */
|
||||
"isBlacklist": false, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "overworld" ] /* The dimensions you wish to filter */
|
||||
},
|
||||
"biomes": { /* OPTIONAL: A method to filter which biomes to gen in */
|
||||
"isBlacklist": true, /* Is the filter a blacklist or whitelist? */
|
||||
"filter": [ "minecraft:the_void" ] /* The biomes you wish to filter */
|
||||
}
|
||||
"blockStateMatchers": [ "minecraft:dirt" ] /* The blocks you want this deposit to be able to replace */
|
||||
"blocks": { /* List of blocks to use within this pluton. null = skip */
|
||||
"default": [{ /* Blocks now MUST have a "default" */
|
||||
"block": "geolosys:peat",
|
||||
"chance": 1.0
|
||||
}],
|
||||
"minecraft:dirt": [{ /* This says "if you replace dirt use this ore instead */
|
||||
"block": "geolosys:peat",
|
||||
"chance": 1.0
|
||||
}]
|
||||
},
|
||||
"samples": [{ /* List of samples to use within this pluton. null = skip */
|
||||
"block": "geolosys:rhododendron", /* Samples format are unchanged from Geolosys 6 */
|
||||
"chance": 1.0
|
||||
}],
|
||||
"generationWeight": 1 /* The weight for this specific pluton to generate */
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export default {
|
||||
deposit_dense,
|
||||
deposit_dike,
|
||||
deposit_sparse,
|
||||
deposit_layer,
|
||||
deposit_top_layer,
|
||||
};
|
||||
Loading…
Reference in a new issue