BetterAdvancements icon indicating copy to clipboard operation
BetterAdvancements copied to clipboard

[Bug] Reloading a Datapack breaks position

Open nco2k opened this issue 1 year ago • 2 comments

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

nco2k avatar Apr 21 '24 00:04 nco2k

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

way2muchnoise avatar Apr 24 '24 16:04 way2muchnoise

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
  }
}

nco2k avatar Apr 24 '24 18:04 nco2k