Started by
TheRidiculousR
on
Topic category: Advanced modding
I am making a mod for use in my server in which there are personal drawers. people cannot destroy or open someone elses drawer, but the owner can unlock it to let other people use it anyways.
However, I want the textures to change depending on if they are locked or if they aren't.
is it possible to do this with NBT data?
I know kind of how blockstates work but I have no idea what kind of block data it is reading to decide what state it is...
I think that there is a procedure block that replaces a block with another block but with the same contents of the block. So it will have the same slot contents. I think.
Yes it's possible to change a block's texture. The problem of Trolmaso solution is that you have to make 2 mods elements.
My solution requires code but I made a tutorial right here : https://mcreator.net/forum/60469/tutorial-1144-change-blocks-texture-game