Better Advancements

Better Advancements

142M Downloads

[Bug] Reloading a Datapack breaks position

nco2k opened this issue ยท 2 comments

commented

the icons are no longer centered:

pic

  • BetterAdvancements-Fabric-1.20.4-0.4.1.5.jar
  • fabric-api-0.97.0+1.20.4.jar
commented

Can you share the data pack for the specific set of advancements? Or does something similar happen with standard MC advancement tabs?

commented

steps to reproduce:

  1. place the datapack into the worlds datapack folder or use OpenLoader
  2. enter the world and type /reload in the chat

My Datapack/pack.mcmeta

{
  "pack": {
    "pack_format": 26,
    "description": "My Datapack"
  }
}

My Datapack/data/mydatapack/advancements/root.json

{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:tick"
    }
  },
  "display": {
    "title": {
      "text": "My Datapack"
    },
    "description": {
      "text": "Hello World!"
    },
    "icon": {
      "item": "minecraft:apple"
    },
    "background": "minecraft:textures/block/dirt.png",
    "frame": "task",
    "show_toast": false,
    "announce_to_chat": false,
    "hidden": false
  }
}