While Loop | MCreator
Today we will be taking a look at repeater loop blocks. This block works similarly to repeater loops but using conditions. Unlike both repeaters and while loops will run in a single tick and offer the ability to compact many procedures that need to do similar things. However, it's not advised to use them with triggers that repeat automatically such as tick updates as this can put a strain on the client or game.
With this being said there is not a huge amount of difference when it comes to code difference you can do pretty much the same thing with either of these blocks with not much difference when it comes to how the code looks in the code editor. However, the one major difference is That loops are conditions so they are better for conditional-based scripts compared to looping a set number of times.
However, while loops do need to be tolled to end or they will crash the game, it's always good to have some way to ensure the test will fail after a period of time.
You can find my repeater loop tutorial here.
https://youtu.be/p_SWAwdZJgM
► OFFICIAL SITES
● NorthWestTrees Gaming
https://www.northwesttreesgaming.com
● Discord Server Page
https://www.northwesttreesgaming.com/discord
► TAGS
#northwesttreesmcreator
#mcreatortutorial
#mcreator
#modding
#mods
#tutorial
Other Videos By NorthWestTrees MCreator
Other Statistics
Minecraft Statistics For NorthWestTrees MCreator
There are 2,644,673 views in 567 videos for Minecraft. This game accounts for over 5 days of watchable video on his channel, or 89.53% of the total watchable video for Minecraft on NorthWestTrees MCreator's YouTube channel.