Enigmatica 6 - E6 - 1.16.5

Enigmatica 6 - E6 - 1.16.5

1M Downloads

Issue crafting Ironjetpacks Hardened Jetpack due to NBT issue with water bucket

Jyrath opened this issue ยท 5 comments

commented

Modpack Version

1.0.0 expert

Describe your issue.

#MLG-YOLO infinity buckets looted from Loot Chests have only 2 NBT tags, and don't seem to work for the Hardened Jetpack recipe
Item.of('minecraft:water_bucket', "{display:{Name:'{\"text\":\"#MLG-YOLO\"}'}}").enchant('minecraft:infinity', 1)
image

#MLG-YOLO infinity buckets manually crafted by the player have 3 NBT tags, and work correctly:
Item.of('minecraft:water_bucket', "{RepairCost:0,display:{Name:'{\"text\":\"#MLG-YOLO\"}'}}").enchant('minecraft:infinity', 1)
image

The RepairCost NBT tag is added when the user renames the bucket in the anvil.

Crash Report

No response

Latest Log

No response

Have you modified the modpack?

No

User Modifications

No response

Did the issue happen in singleplayer or on a server?

Singleplayer

commented

Thanks for the report.

The recipe only looks for the specified name and the infinity enchant, so I'm surprised only one of those is accepted.

commented

I was able to craft the jetpack using this bucket: Item.of('minecraft:water_bucket', "{display:{Name:'{\"text\":\"#MLG-YOLO\"}'}}").enchant('minecraft:infinity', 1)
Are you certain the looted bucket had that info?

commented
2022-03-27.17-28-43.mp4

image
I can 100% confirm that the non-working bucket is:
Item.of('minecraft:water_bucket', "{display:{Name:'{\"text\":\"#MLG-YOLO\"}'}}").enchant('minecraft:infinity', 1)

using the command:
/give @p minecraft:water_bucket{display:{Name:'{"text":"#MLG-YOLO"}'},Enchantments:[{id:"minecraft:infinity",lvl:1}]} 1
or
/give @p minecraft:water_bucket{RepairCost:0,display:{Name:'{"text":"#MLG-YOLO"}'},Enchantments:[{id:"minecraft:infinity",lvl:1}]} 1
both give a non-working bucket.
Changing the name of a non-working bucket to anything, then back to "#MLG-YOLO" then allows the bucket to work for the recipe.

image
The working, self-crafted bucket is:
Item.of('minecraft:water_bucket', "{RepairCost:0,display:{Name:'{\"text\":\"#MLG-YOLO\"}'}}").enchant('minecraft:infinity', 1)

All of the ingredients in the recipe are unchanged, except for the #MLG-YOLO infinity water bucket.

NBT explorer:

image

maybe my buckets are cursed

commented

I'm convinced the loot table is borked here, but I don't understand how or why. I've tried forcing this to specifically require the one from the loot table, and it won't work. And all other attempts to make it work with anything, just result in it only working with hand crafted ones, or loot table ones that get modified on an anvil...

commented

yep! NBT was cursed. The fix won't help your old buckets, but you know already you can fix those by renaming them. New buckets work as expected.