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

xokz's Particle Effects

A collection of novel visual effects.

Загрузки
59
Подписчики
2
Обновлён
12 марта 2026 г.
Лицензия
MIT

Опубликован 12 марта 2026 г.

A collection of novel visual effects for datapack creation.

Lightning Effect

To make a bolt of lightning, execute the function xze:effects/lightning/spawn at the location the bolt should start, and as the entity the bolt should target. For example, the command block in the gif is running:

execute positioned ~ ~ ~ as @p run function xze:effects/lightning/spawn

  • To change the lightning segment length and angles, you can change the ranges in the generate_pitch_yaw_len.mcfunction function.
  • To change the chance of a branch being made, change the value in the lightning_branch_chance.json predicate.

This effect uses no entities and only @s selectors, resulting in great performance.

Block Outline Effect

To do the block outline, simply run function xze:effects/block_outline/spawn at the block you want. It will automatically snap to the block grid, so don't worry about positioning it perfectly!

Ченджлог

1.0.0Релиз1.21.9, 1.21.10, 1.21.11 · 12 марта 2026 г.
  • Initial Release

Комментарии

Загружаем…