Started by
Happy_AlexRO
on
Topic category: Help with Minecraft modding (Java Edition)
So, I want to recreate minecraft ERR422 into a mod. In ERR422, random wierd things happen after some time when the player joins the game. How can I do that in MCreator? For example, when the player joins, I want to choose a random amount of ticks to wait, then it will choose random between spawning a glitched entity or giving the player a random potion effect.
create a procedure that triggers on player tick update, which uses a variable that increases every tick, then checks if the variable is greater or equal to x amount, and if so, reset the variable to 0, and then randomly spawns your entity or potion effect.