1

Failed to validate datapack

I_eat_Frogs 3/1/22 12:54 pm history
2k
3/1/2022 1:02 pm
I tried to install a datapack to a world that i made to check if it works, but it failed to validate.

I am playing version 1.18.2 on OpenSuse Linux with an Intel i3 Core with physically 2 cores, but specs say 4 cores and a Radeon RX 570 gpu.

Minecraft game output report:

18:29:56.386ehoRender thread Failed to validate datapack
java.util.concurrent.CompletionException: com.google.gson.JsonParseException: Error loading registry data: Not a tag id
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:332)
at java.base/java.util.concurrent.CompletableFuture.uniAcceptNow(CompletableFuture.java:747)
at java.base/java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:735)
at java.base/java.util.concurrent.CompletableFuture.thenAcceptAsync(CompletableFuture.java:2191)
at eho.a(SourceFile:490)
at egr.c(SourceFile:49)
at egs.ai_(SourceFile:80)
at egs.b(SourceFile:97)
at eae.c(SourceFile:40)
at dzy.a(SourceFile:16)
at eac.a(SourceFile:121)
at ebc.a(SourceFile:27)
at dys.b(SourceFile:94)
at edw.a(SourceFile:492)
at dys.a(SourceFile:94)
at dys.c(SourceFile:165)
at auz.execute(SourceFile:103)
at dys.b(SourceFile:165)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:197)
at dsr.e(SourceFile:310)
at dyr.f(SourceFile:1147)
at dyr.e(SourceFile:737)
at net.minecraft.client.main.Main.main(SourceFile:236)
Caused by: com.google.gson.JsonParseException: Error loading registry data: Not a tag id
at hc.a(SourceFile:296)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at hc.a(SourceFile:296)
at hc.a(SourceFile:290)
at yq.a(SourceFile:32)
at yq.a(SourceFile:25)
at eho.a(SourceFile:482)
at zk.a(SourceFile:40)
at eho.a(SourceFile:474)
... 21 more


My pack.mcmeta file:


{
  "pack": {
    "pack_format": 9,
    "description": "This is a what dimension."
  }
}




My folders in the pack:


> data
  > shadows
    > dimension
      > the_shadows.json
    >dimension_type
      > the_shadows.json
> pack.mcmeta
> pack.png


my dimension file:


{
  "type": "shadows:the_shadows",
  "generator": {
    "type": "minecraft:noise",
    "seed": -984371521,
    "settings": "minecraft:overworld",
    "biome_source": {
      "type": "minecraft:multi_noise",
      "biomes": [
        {
          "biome": "minecraft:basalt_deltas",
          "parameters": {
            "temperature": 0.9,
            "humidity": 0,
            "continentalness": 1,
            "erosion": 0.2,
            "weirdness": 0,
            "depth": 0,
            "offset": 0.1
          }
        },
        {
          "biome": "minecraft:stony_peaks",
          "parameters": {
            "temperature": 0.8,
            "humidity": 0.1,
            "continentalness": 1,
            "erosion": 0.2,
            "weirdness": 0,
            "depth": 0,
            "offset": 0
          }
        },
        {
          "biome": "minecraft:stony_shore",
          "parameters": {
            "temperature": 0,
            "humidity": 0.4,
            "continentalness": 0.5,
            "erosion": 0.5,
            "weirdness": 0,
            "depth": 0,
            "offset": 0
          }
        },
        {
          "biome": "minecraft:river",
          "parameters": {
            "temperature": 0.2,
            "humidity": 1,
            "continentalness": 0,
            "erosion": 0.9,
            "weirdness": 0,
            "depth": 0,
            "offset": 0.1
          }
        }
      ]
    }
  }
}





my dimension_type file:


{
  "logical_height": 384,
  "fixed_time": 18000,
  "infiniburn": "minecraft:infiniburn_overworld",
  "effects": "minecraft:overworld",
  "ambient_light": 0.0,
  "respawn_anchor_works": false,
  "has_raids": true,
  "min_y": -64,
  "height": 384,
  "natural": false,
  "coordinate_scale": 0.2,
  "piglin_safe": true,
  "bed_works": false,
  "has_skylight": true,
  "has_ceiling": false,
  "ultrawarm": false
}



The name of the pack is "TryAgain.zip" (And please don't ask why I chose that name, i just tried it so many times I eventually started naming packs randomly)

Does anyone have an idea why it dooesn't work? If so, i'd be glad if you tell me in the replies or send a link to a website or youtube video that explains it.

Also, other datapacks like terralith 2.0 work perfectly fine.
Posted by
I_eat_Frogs
Level 1 : New Miner
0

  Have something to say?

JoinSign in

1

I_eat_Frogs
03/01/2022 1:02 pm
Level 1 : New Miner
history
Edit: nvm works perfectly fine if i play on 1.18.1 and put pack format to 8
1

Welcome