Project MMO

Project MMO

10M Downloads

Potion NBT XP Values do not load

SanteriLoitomaa opened this issue ยท 0 comments

commented

Describe the bug
Crated a genData with defaults and override. Enabled the created datapack. Observed that my potions no longer had Brew XP data. The created potion.json has the proper defaults under nbt_xp_values but they fail to load and the only thing that is loaded, according to the debug.log of forge, is crafting=10 which is an autovalue.

Expected behavior
I expected the Brew XP of the potions to stay unchanged, as I used the default values in the creation of the genData.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new world in creative with cheats
  2. Run /pmmo genData begin, withOverride, withDefaults, and create
  3. Observe that the potions in your creative menu have Brew XP values
  4. Observe that the potion.json in the genData has the proper nbt_xp_values
  5. Run /datapack enable "file/generated_pack"
  6. Observe that the potions in your creative menu no longer have Brew XP values

Screenshots
Has Brew XP (datapack disabled)
image

Has no Brew XP (datapack enabled)
image

Versions:

  • Minecraft: 1.20.1
  • Loader: Forge-47.1.3
  • PMMO: 1.20.1-1.2.5

Additional context
My Forge debug.log with "data" also printed as debug:
debug.log

My created potion.json as a txt:
potion.txt