While loops not working and causing minecraft commands and entities to not work

Started by 10ionic on

Topic category: Troubleshooting, bugs, and solutions

Active 5 years ago
Joined Jan 2020
Points:
663

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
While loops not working and causing minecraft commands and entities to not work

As said in the title I've narrowed the freezing of mobs and non-functioning commands to the 2 procedures with while loops. Here is screen shots of the 2 procedures.

picture 1

picture 2

Help would be greatly appreciated.

While while is running,…
Sat, 02/15/2020 - 19:00

While while is running, Minecraft will be blocked as Minecraft logic is single-threaded.

Active 10 months ago
Joined Jun 2019
Points:
2602

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3319
while while is running? XD…
Tue, 02/18/2020 - 11:31

while while is running? XD
how do we fix this

You can't fix what is made…
Tue, 02/18/2020 - 17:28

You can't fix what is made to work that way. Each procedure blocks thread for a minimal time, so procedures need to finish fast.

oof This is how all gaming…
Wed, 02/19/2020 - 08:56

oof

This is how all gaming logic works, with tick systems with short actions on ticks...

Active 10 months ago
Joined Jun 2019
Points:
2602

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3319
You quoted oof? lol I learnt…
Wed, 02/19/2020 - 10:28

You quoted oof?

lol I learnt something new today