The script freezes the game

Started by alal on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 days ago
Joined Apr 2025
Points:
7

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
The script freezes the game

I was making a block that will grow another block in any of the 6 random directions when bone meal'd.

But when i use bone meal on the block it jst freezes the whole game, by that i mean that every mob/action except placing and breaking blocks dont happen anymore. Like mobs dont walk or get damage, and when i throw out items they dont appear. Also i cant change gameModes or use any commands, nothing just happens.

Active 4 days ago
Joined Apr 2025
Points:
7

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
I cant upload the screenshot…
Fri, 04/18/2025 - 22:07

I cant upload the screenshot of the code for some reason..?

Active 4 days ago
Joined Apr 2025
Points:
7

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
I dont know how to do that,…
Fri, 04/18/2025 - 22:10

I dont know how to do that, so theres the link by itself

https://ibb.co/Gf1vyxdf

While true means something…
Sun, 04/20/2025 - 14:33

While true means something will run infinitely and thus block the game

This is normal to break the game because your procedure is written in a way to do it

I suggest you check our…
Sun, 04/20/2025 - 14:33

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei