Перейти к содержимому
Mineforgian

Loop Lib

Adds easy looping to Minecraft datapacks

Загрузки
27
Подписчики
1
Обновлён
22 августа 2025 г.
Лицензия
MIT

Опубликован 22 августа 2025 г.

loop-lib

Adds easy looping for minecraft datapacks!

How to use it?

To create a loop run the ll:create_loop function. It requires the following arguments:

  • id: Type string, the id of the loop
  • loops: Type int, the number of loops to do
  • function: Type string, the fucntion to run every loop
  • args: Type object, any arguments for the function

NOTE The function also gets passed the id of the loop and its current loop index
IMPORTANT The loop index counts down rather than counting up

NOTE For examples check the sample folder inside the datapack, you can also run them to see how they work

Ченджлог

1.0.0Релиз1.21.6, 1.21.7, 1.21.8 · 22 августа 2025 г.

Added basic looping.

Added

  • Id based looping
  • Arguments to loops
  • Sample functions

Комментарии

Загружаем…