Started by
TopHattedTRex049
on
Topic category: Help with Minecraft modding (Java Edition)
Hello, I've been trying to make a custom chest like item that when opened had a different texture to show its open, I'm currently using another model for this and a procedure to replace it and put the original back when closed, thing is it erases the contents when I do this, probably because I've just replaced it with a blank version.
So any help on figuring out how to copy all the NBT stuff into this new one is appreciated, I'm not too good at the blockstate stuff yet! :)
Also if it requires me to do a little coding I'm up to give it a go.
Edited by TopHattedTRex049 on Sun, 10/16/2022 - 12:07
make sure to check "keep NBT/Inventory" i would show you but imgur isnt working right now for me
i have tried that unfortunately it still wipes, ill keep experimenting till something happens, im keeping the animation out right now, maybe theres a way to copy the inventory then paste it into the replacement