Advanced Mining Dimension

Advanced Mining Dimension

7M Downloads

Datapack example for 1.19.2

PaulSumner-Sage opened this issue ยท 2 comments

commented

Hey,

Trying to apply the example Datapack to a 1.19.2 instance fails on trying to add the data pack: says "data pack validation failed"
I've tried tweaking the dta pack v number past 6 as one comment on CurseForge implied: but no change in behaviour.

I've tried googling what the data structure should be but not having much luck with it.

I was wondering if you could make one example data pack for the newer format, so we can extrapolate the current examples out?
Or if you know anywhere that points to the correct structure required, I'd be happy to make a datapack using a current example as a baseline.
I presume you might know the format: as you may have had to make one for the default mod behaviour. Maybe not but worth asking :)

(Side bonus quesation if this all works: do you know if it's possible to tweak/change the config once a world already exists: or is the config we use on world creation final?)

Make sure your question hasn't been answered in the FAQ!

commented

Was stuck on this for a couple days on and off. As soon as I ask the question i work out the answer!

Used the base file in the mod here:
https://github.com/henkelmax/advanced-mining-dimension/tree/master/src/main/resources/data/mining_dimension/worldgen
and made the edits to match the desired effect

commented

For anyone else searching:
A new "no_mobs" duplicate that allowed slimes, glowsquid and endermen only, mining.json:

{
  "temperature": 0.6,
  "downfall": 0,
  "precipitation": "none",
  "effects": {
    "sky_color": 0,
    "fog_color": 0,
    "water_color": 4159204,
    "water_fog_color": 329011,
    "mood_sound": {
      "sound": "minecraft:ambient.cave",
      "tick_delay": 6000,
      "block_search_extent": 8,
      "offset": 2
    }
  },
  "spawners": {
    "monster": [
      {
        "type": "minecraft:slime",
        "weight": 100,
        "minCount": 4,
        "maxCount": 4
      },
      {
        "type": "minecraft:enderman",
        "weight": 10,
        "minCount": 1,
        "maxCount": 4
      },
    ],
    "creature": [],
    "ambient": [
      {
        "type": "minecraft:bat",
        "weight": 10,
        "minCount": 8,
        "maxCount": 8
      }
    ],
    "axolotls": [],
    "underground_water_creature": [
      {
        "type": "minecraft:glow_squid",
        "weight": 10,
        "minCount": 4,
        "maxCount": 6
      }
    ],
    "water_creature": [],
    "water_ambient": [],
    "misc": []
  },
  "spawn_costs": {},
  "carvers": {
    "air": [
      "minecraft:cave",
      "minecraft:cave_extra_underground",
      "minecraft:canyon"
    ]
  },
  "features": [
    [
      "minecraft:lake_lava_underground",
      "minecraft:amethyst_geode",
      "minecraft:monster_room",
      "minecraft:monster_room_deep",
      "minecraft:ore_dirt",
      "minecraft:ore_gravel",
      "minecraft:ore_granite_upper",
      "minecraft:ore_granite_lower",
      "minecraft:ore_diorite_upper",
      "minecraft:ore_diorite_lower",
      "minecraft:ore_andesite_upper",
      "minecraft:ore_andesite_lower",
      "minecraft:ore_tuff",
      "minecraft:ore_coal_upper",
      "minecraft:ore_coal_lower",
      "minecraft:ore_iron_upper",
      "minecraft:ore_iron_middle",
      "minecraft:ore_iron_small",
      "minecraft:ore_gold",
      "minecraft:ore_gold_lower",
      "minecraft:ore_redstone",
      "minecraft:ore_redstone_lower",
      "minecraft:ore_diamond",
      "minecraft:ore_diamond_large",
      "minecraft:ore_diamond_buried",
      "minecraft:ore_lapis",
      "minecraft:ore_lapis_buried",
      "minecraft:ore_copper",
      "minecraft:underwater_magma",
      "minecraft:disk_sand",
      "minecraft:disk_clay",
      "minecraft:disk_gravel",
      "minecraft:glow_lichen",
      "minecraft:ore_emerald"
    ]
  ]
}