import React from 'react'; import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter'; import { nord } from 'react-syntax-highlighter/dist/esm/styles/prism'; export default () => (
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!
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:
/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/data/geolosys/deposits/stone/andesite.json/data/geolosys/deposits/stone/diorite.json/data/geolosys/deposits/stone/granite.json/data/geolosys/deposits/other/peat.json
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!
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 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_depositThis would be used for an ore-deposit-like pluton (with a sample block, matchers, etc.).
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.
geolosys:stone_depositThis would be used for an stone-like pluton. No sample block, no choice in matchers, just another stone type.