Skip to content

Outcrop data files

Outcrop reads everything that decides its signs from data: which ores get which pebbles and plants, which ordinary pebbles a biome gets, and where signs appear. A mod or a modpack changes any of it with JSON files and no code.

File or tag Section
data/<namespace>/outcrop/indications/<name>.json Indication rules
data/<namespace>/outcrop/background/<name>.json Background lists
Block tags outcrop:not_indicated and outcrop:pebble_ground, biome tag outcrop:has_indications Tags
  • A mod puts them in its own jar, under data/<namespace>/, with its own namespace. The game loads them on Fabric and Forge alike, and the mod needs no build dependency on Outcrop. When Outcrop is not installed, the files are ignored.
  • A modpack puts them in a data pack. The game alone loads a data pack per world, so a pack that wants them in every world adds them through a mod that loads data packs globally.

Files are read when the server starts and on /reload. A file with a mistake is skipped with one warning in the log, and the rest load.

A rule or list with the same ID as one Outcrop ships replaces it, so a pack changes a shipped rule by writing its own file at that path. A replacement with a mistake is skipped like any other, which leaves that rule or list off, not back at Outcrop’s version.

A block is ore when it is not in #outcrop:not_indicated and either it is in #c:ores or #forge:ores, or its ID ends in _ore or starts with ore_ and it is a full, opaque block (the detect_by_name setting, on by default). An ore no rule covers still gets a sign: mineralized pebbles in a stain picked from its block ID, the same in every world. A rule is for an ore that should look like something.

Each file is one rule; its ID is <namespace>:<name>. This is the shipped copper rule:

data/outcrop/outcrop/indications/copper.json
{
"ores": [
{ "tag": "minecraft:copper_ores", "required": true },
{ "tag": "forge:ores/copper", "required": false }
],
"min_count": 88,
"chance": 0.25,
"pebbles": {
"blocks": ["outcrop:malachite_pebble"],
"count": { "min": 2, "max": 4 }
},
"tint": null,
"plant": { "block": "outcrop:copper_flower", "chance": 0.5 }
}
Field Required Value
ores yes A list of entries, each { "tag": "<block tag>" } or { "block": "<block>" }, with "required" true or false (default false). A missing required tag or block turns the whole rule off with one warning; a missing optional one is ignored.
min_count yes 1 to 8192: how many ore blocks in one 16 by 32 by 16 window make a deposit large enough for a sign. Outcrop counts on a grid, so its count is always a multiple of 8, and a value between two multiples acts as the higher one.
chance yes 0 to 1: the chance a large enough deposit gets a sign. 0 turns the rule’s signs off.
pebbles.blocks yes One or more Outcrop pebble blocks; each indicator position picks one at random.
pebbles.count no { "min": 1 to 8, "max": 1 to 8 }, how many indicator positions, with min no more than max; default 2 to 4.
pebbles.extra no Pebble blocks placed once each, on top of count, as the diamond rule adds one garnet.
tint no 0 to 31, the stain of outcrop:mineralized_pebble for this rule; null or left out picks one from the rule’s ID.
plant no { "block": "<block>", "chance": 0 to 1 }: a plant some scatters on land get (chance default 0.5). Any block works; it is placed only where it can survive. A block that does not exist turns the rule off with one warning.
  • Settings: the min_count_multiplier and chance_multiplier settings scale every rule’s min_count and chance, so the numbers /outcrop survey shows are the scaled ones.
  • Pebbles: outcrop:<rock>_pebble, where the indicator rocks are gossan, malachite, coal_shale, auriferous_quartz, cinnabar, lazurite, kimberlite, garnet, beryl, and mineralized, and the ordinary ones stone, granite, diorite, andesite, flint, sandstone, red_sandstone, and bull_quartz. A rule may name either kind; a block that is not an Outcrop pebble turns the rule off with one warning.
  • Plants: outcrop:copper_flower, outcrop:horsetail, outcrop:calamine_violet, and outcrop:locoweed, or a plant of your own mod’s.
  • Two rules, one ore: an ore block that two rules match uses the rule whose ID sorts first, with one warning.
  • Shipped rules: a file with the same ID replaces one (see Where the files go). They are outcrop:coal, iron, copper, gold, redstone, lapis, diamond, and emerald, and the optional outcrop:zinc, lead, and uranium, which do nothing until a mod tags its ore c:<metal>_ores or forge:ores/<metal>.

The shipped diamond rule adds one garnet to its kimberlite pebbles with extra:

data/outcrop/outcrop/indications/diamond.json
{
"ores": [
{ "tag": "minecraft:diamond_ores", "required": true },
{ "tag": "forge:ores/diamond", "required": false }
],
"min_count": 32,
"chance": 0.5,
"pebbles": {
"blocks": ["outcrop:kimberlite_pebble"],
"count": { "min": 2, "max": 4 },
"extra": ["outcrop:garnet_pebble"]
},
"tint": null,
"plant": null
}

A rule for a mod’s ore, tagged by that mod, with mineralized pebbles in a fixed stain:

data/mymod/outcrop/indications/tin.json
{
"ores": [
{ "tag": "forge:ores/tin", "required": false },
{ "tag": "c:tin_ores", "required": false }
],
"min_count": 24,
"chance": 0.3,
"pebbles": { "blocks": ["outcrop:mineralized_pebble"] },
"tint": 12
}

Every chunk may get one scatter of ordinary pebbles, so pebbles are a normal part of the ground. A background list says which pebbles a set of biomes gets:

data/outcrop/outcrop/background/desert.json
{
"biomes": ["#minecraft:is_badlands", "minecraft:desert"],
"pebbles": [
{ "block": "outcrop:sandstone_pebble", "weight": 4 },
{ "block": "outcrop:red_sandstone_pebble", "weight": 3 },
{ "block": "outcrop:flint_pebble", "weight": 1 },
{ "block": "outcrop:bull_quartz_pebble", "weight": 1 }
]
}
  • biomes: one or more biomes, or biome tags written with #.
  • pebbles: one or more ordinary Outcrop pebbles, each with a weight from 1 to 1000. An indicator pebble or any other block turns the list off with one warning.
  • When several lists cover a biome, the one covering the fewest biomes wins; a tie goes to the ID that sorts first. The shipped lists are outcrop:default (#minecraft:is_overworld), outcrop:desert, and outcrop:river (#minecraft:is_river and #minecraft:is_beach). Biome mods’ biomes join vanilla’s tags, so they get pebbles with no list of their own.
  • outcrop:not_indicated (blocks): never ore, whatever their tags or name. Empty by default.
  • outcrop:pebble_ground (blocks): pebbles generate only on sturdy blocks in this tag. By default dirt, grass, podzol, mycelium, sand, red sand, gravel, #minecraft:base_stone_overworld, and #minecraft:terracotta; add a mod’s ground block here.
  • outcrop:has_indications (biomes): where signs and background pebbles generate. By default #minecraft:is_overworld.

Add to a tag with "replace": false, as any tag file does, at data/outcrop/tags/blocks/<tag>.json for the block tags and data/outcrop/tags/worldgen/biome/has_indications.json for the biome tag.

/outcrop survey, for operators, reports for the chunk you stand in each ore type Outcrop counts, its best window against the rule’s min_count, and which deposit got its sign. The player guide explains it and the settings, such as detect_by_name.