Started by
Dragma2005
on
Topic category: Help with Minecraft modding (Java Edition)
I am having trouble because I want to make a block that does something after x-y amount of seconds, for example, if it was 12-16 seconds, it could happen after 12,13,14,15, or 16 seconds (or maybe in-between full seconds?), and does something else after, for example, 15-22 seconds. I have not been able to find a way to do this and I would really appreciate help.
You need to enable inventory for the block and set slots to 0. Now you'll be able to create NBT tags for the block.
Go to the "On tick update' for that block and create the procedure:
You can replace the 22 or the 16 and create a random number for it too if you want. Which you can set in On Block Added. I don't know what exactly it is that you're trying to do, but if you only want the numbers to be randomly initialised:
Can someone tell me why this doesn't work? It should place the selected block below it after 5-11 seconds.
The picture doesn't load for me.
I think you just have to right click the little icon and click "open image in new tab".
Did you enable inventory on this block? Otherwise you can't use an NBT tag on the block; "If it has tile entity". Set inventory slots to 0.
Yes, I did.