Started by
Lord Makishi
on
Topic category: Help with Minecraft modding (Java Edition)
Hello Mcreator community,
I recently added an item that when you right-click, it transforms into an different item for a short period of time. I also managed to make it unable to be dropped so that can't be abused. My only probblem is that you can still put the transformed item into an chest, so that it doesn't revert when you take it out again. Does anyone yet have any ideas/tutorials i could look at? If so please send them to me, that would be very appreciated!
Thanks in advance!
Edited by Lord Makishi on Wed, 09/21/2022 - 14:24
I need this so bad, please
Create a custom tag with all container blocks in it, name it "container", here is the list
Chest
Trapped Chest
Barrel
Shulker Box
Ender Chest
Hopper
Dispenser
Dropper
Furnace
Blast Furnace
Smoker
Brewing Stand
Cartography Table
Use this procedure, checking if a player right clicks a block, checking if the block is in that tag and removing the item
https://imgur.com/a/mUKQApj