Started by
CoolGamez21
on
Topic category: Help with Minecraft modding (Java Edition)
How can i make a chest that can't have items into it but in the chest, it generates a random item every second inside of it?
BTW it could be rly helpful if there was a video or image
You make a chest block, then a gui, assign the gui to the block, within the gui use an output slot, then on the block tick, set a random item into slot 0. Use a tag and add every block and item into it, then spawn a random item from tag:custom_random_item_tag. Also set the item to be air in slot 0 before resetting the item to be a new random one to avoid any issues