
Что это
Utility library
- Тип: мод
- Загрузчик: datapack, fabric, forge, neoforge, quilt
- Версии Minecraft: 1.21 – 1.21.8
- Скачиваний на Modrinth: 4 143
Подробно
- Global, Entity and Player Functions - Motion Entity in Facing Direction - Data Storage by Entity - Consts Scores - Player Score ID - Predicates - Item Modifiers - Entity Tags - Macro Functions - Custom Use Remainder
mcfunction /function utils:global/clearchat
mcfunction /function utils:global/hidesidebar
mcfunction /execute as @n[type=zombie] run function utils:entity/despawn
mcfunction /execute as @n[type=zombie] run function utils:entity/resetallattributes
mcfunction /execute as @n[type=irongolem] run function utils:entity/healfull
mcfunction /function utils:player/clearchat
mcfunction /function utils:player/xp/reset
mcfunction /function utils:player/xp/getallpoints
The function return the all xp points and they are saved in the score utils.player.xp.totalpoints
mcfunction /function utils:player/randomtp
execute store result entity @n[type=fireball] Motion[0] double -0.00025 run scoreboard players get @s utils.motion.mx execute store result entity @n[type=fireball] Motion[1] double -0.00025 run scoreboard players get @s utils.motion.my execute store result entity @n[type=fireball] Motion[2] double -0.00025 run scoreboard players get @s utils.motion.mz
or you can use the Storage and Macro method:
mcfunction function utils:motion/storage {"value":"-0.00025"}
data modify entity @n[type=fireball] Motion set from storage utils:motion motion
Exist two ways to create or add data to a path, set and append, when you use set, the absolute value of the path will be the data arg, and for append, the path will be an array, and will append the data arg.
mcfunction absolute /function utils:entity/storage/set {"path":"lives","data":3} /function utils:entity/storage/set {"path":"name","data":'"lullaby6"'}
array /function utils:entity/storage/append {"path":"deaths","data":1} /function utils:entity/storage/append {"path":"deaths","data":2} /function utils:entity/storage/append {"path":"deaths","data":3}
When you use the entity/storage/function all data/args from entity's storage will be received to the function like macro args.
mcfunction /function utils:entity/storage/function {"function":"
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
Excalibur | Trade Cycling
Excalibur-styled textures for Trade Cycling by henkelmax: a dark, weathered, medieval cycle button for the villager trading screen… 05.12.2026
The Swift Scout - Teemo
Teemo's collection, mushrooms, items, and blowguns! 05.12.2026
QuickTrigger
Adds Spawn and Home teleport buttons directly to your inventory, made for the VanillaTweaks Homes & Spawn datapacks 05.12.2026
Aevium Create
Aevium Create enhances Create Minecraft with client-side mods for performance and quality of life. 05.12.2026
Where Am I?
Displays player coordinates, the biomes they are located in, and the time of day or night. 05.12.2026
Stephen Alek's Nostalgia Pack!
A resource pack that brings back beta textures while only changing some modern textures. 05.12.2026