Crates and drums don't stack when mined
SylviBlossom opened this issue ยท 1 comments
Checked for existing issues
- I have checked for existing issues, and have found none.
Tested latest version
- I have checked that this occurs on the latest version.
GregTech CEu Version
v1.4.6
Minecraft Version
1.20.1
Recipe Viewer Installed
EMI
Environment
Singleplayer
Cross-Mod Interaction
No
Other Installed Mods
EMI
Expected Behavior
Empty crates and drums stack with eachother
Actual Behavior
When mined, both crates and drums drop with useless NBT which prevents their stacking.
Steps to Reproduce
- Get a stack of empty drums/crates from any source other than mining one (e.g. crafting, item giver, machine GUI interaction)
- Place one in the world
- Break it and pick up the item, no longer stacking
Additional Information
In the case of drums, the tag is a minecraft:empty
fluid of size 0, visually displayed with a "Fluid Stored: Air, 0 mB" tooltip vs no "Fluid Stored" tooltip by default. This useless NBT is removed when the drum is emptied any other way (machine GUI interaction / emptying by crafting).
In crates, this is just an empty tag, and is as far as I can tell only resolvable by dropping a stackable and non-stackable crate on the ground and weird minecraft behaviour ignores the empty tag when combining dropped item stacks.