Make item unable to be put into chest

Started by Lord Makishi on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make item unable to be put into chest
Wed, 09/21/2022 - 14:24 (edited)

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
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need this so bad, please
Sat, 06/10/2023 - 17:52

I need this so bad, please

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a custom tag with all…
Mon, 08/26/2024 - 01:59
  1. 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

  2. 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