[1.18.2 Bug] NBT Tags
LunafeyLazuli opened this issue ยท 11 comments
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
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?
Well same here, I thought it was big stack mod's problem, but seems like it's not
Edit:1.19.2 too
Ok, this is happening still wanted to just update this.
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.
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
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.