Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Reloading a Datapack breaks position #159

Open
nco2k opened this issue Apr 21, 2024 · 2 comments
Open

[Bug] Reloading a Datapack breaks position #159

nco2k opened this issue Apr 21, 2024 · 2 comments

Comments

@nco2k
Copy link

nco2k commented Apr 21, 2024

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
@way2muchnoise
Copy link
Owner

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

@nco2k
Copy link
Author

nco2k commented Apr 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants