Apotheosis

Apotheosis

78M Downloads

[1.18.2 Bug] NBT Tags

LunafeyLazuli opened this issue ยท 11 comments

commented

For some reason, Apotheosis is trying to apply NBT tags to things that aren't weapons or armor, preventing things from stacking correctly. For example, if you attack a zombie with bread in your hand, the bread will now have <apoth.equipment: 1b> so it can't stack with normal bread that doesn't have that NBT tag.
https://i.gyazo.com/1a0eae51c56b03d22978ff73be094403.png

Forge - 40.1.85
Apotheosis - 1.18.2-5.7.7.jar

commented

I have the same issue for 1.19.2

commented

Manual workaround โ€” put the affected items in a regular vanilla chest, stand on top of it, then run this command as OP:

/data remove block ~ ~ ~ Items[{}].tag."apoth.equipment"

Can also automate with command block and a button or repeater.

@Shadows-of-Fire Is the cause unknown for 1.19, or has the fix simply not been ported?

commented

Well same here, I thought it was big stack mod's problem, but seems like it's not
Edit:1.19.2 too

commented

This was fixed in 5.7.6 for 1.18, but it has yet to be resolved in 1 19

commented

Ok, this is happening still wanted to just update this.

https://puu.sh/Jxhm0/c33368450b.mp4

commented

I'm honestly unsure if the fix for this was published in 6.0.3 - it will be published in 6.1.0, but 6.0.3 is sort of a phantom-build, so it may be in there.

commented

This was fixed in 5.7.6 for 1.18

commented

so is this fix not comming to the 1.18.2 version? :(

commented

i am playing all the mods gravitas right now, it has version 5.7.7 and i stil get this bug :(
i think it happens to items that i have in my offhand, not sure what exactly triggers it

commented

2023-02-11_21 11 22

commented

The fixed code is here and is published in the latest 1.18 release - https://github.com/Shadows-of-Fire/Apotheosis/blob/1.18/src/main/java/shadows/apotheosis/adventure/affix/effect/FestiveAffix.java#L91-L99
This removes that tag from all drops that go through the LivingDropsEvent, which should be all entity drops. If a mod doesn't process drops through the event, they're violating the contract.