
FIREWORK!
A fireworks/particle effects datapack for Minecraft (1.21.11 environment). It provides a large number of function-based effects, glyphs, and firework summoning logic.
8
0

Introduction
- A firework/particle effect datapack for Minecraft 1.21.11.
- Author: Mxpea (Aurelith / Mxpea).
- Automatically initializes scoreboards and storage, providing effects such as random fireworks, ✨s, rings, rays, line segments, and pixel letters.
Feature Overview
-
Automatic Load and Tick
- Load function:
firework:load - Tick function:
firework:tick - Registration files:
load.json/tick.json
- Load function:
-
Random Fireworks
- Main entry:
firework:fireworks/ran_firework - Parameter sub-processes:
effects/fireworks_ran/
- Main entry:
-
Particles and ✨s
- ✨ value update:
firework:effects/✨/✨_color_gen - ✨ particle entry:
firework:run/✨ - Random flash x10:
firework:run/ran_flash_10 - Random Dust:
firework:run/ran_dust
- ✨ value update:
-
Rings, Rays, Line Segments
- Rings:
firework:run/ring_normal,firework:run/ring_✨ - Rays:
firework:run/ray_summon - Line segments:
firework:run/line_summon
- Rings:
-
Other Effects and Utilities
- Colored falling block explosion:
firework:run/colord_block_exp - UUID tools:
firework:gu/generate,firework:gu/convert,firework:tools/uuid_get - Pixel letters:
letters/
- Colored falling block explosion:
Quick Start
- Place the
firework/folder into your world'sdatapacks/directory. - Run any entry function to test the effects (see example commands below).
Note:
firework:loadinitializes numerous scoreboards (e.g.,rings,ray_settings,line, etc.) and storage keys.
Example Commands
/function firework:fireworks/ran_firework: Generates a firework with random parameters (random color/trail/twinkle/type)./function firework:run/ran_flash_10: Triggers 10 consecutive random flash particles, ideal for creating rapid strobe effects./function firework:run/ran_dust: Generates dust particles with random colors./function firework:run/✨: Generates ✨ particles based on current ✨ parameters./function firework:run/ring_normal: Creates a ring using fixed particles (end rod)./function firework:run/ring_✨: Creates a ring using ✨ particles./function firework:run/ray_summon: Generates a ray effect (requires setting speed/lifetime parameters first)./function firework:run/line_summon: Draws a line of particles based on start/end points and step count./function firework:run/colord_block_exp: Generates a colorful falling block explosion effect (depends on Motion API)./function firework:letters/a: Draws the pixel pattern for the letter A./function firework:gu/generate: Generates UUID data and writes it to relevant storage./function firework:tools/uuid_get: Reads and displays UUID information for the current entity/context.
Parameter Setup Tips (Commonly Used)
- Ring effects depend on:
steps rings,distance rings. - Ray effects depend on:
speed ray_settings,lifetime ray_settings,offset_x ray_settings,offset_y ray_settings. - Line effects depend on:
steps line, and you can usetag @s add set_pozto record the end point coordinates.
Directory Index
- Entry functions directory:
run/ - Firework parameters directory:
effects/fireworks_ran/ - Ring calculation directory:
effects/ring/ - Ray directory:
ray/ - Line directory:
line/ - Letters directory:
letters/
Dependency Notice
- This pack does not include
Mxpea.s.Motion.API. Some colored falling block effects (such asfirework:run/colord_block_exp) depend on that API.
Common Issues
/functiondoes nothing: Verify that the datapack path is correct and run/reload. Check thatload.jsonandtick.jsonexist.- Rays/lines do not execute: Ensure the required scoreboard parameters are set first (see "Parameter Setup Tips" above).
License
- This project is licensed under the MIT License. See LICENSE for details.
Acknowledgements
- This project includes UUID-related code from gu, originally released under The Unlicense; it is redistributed here in accordance with its terms.
Совместимость
Minecraft: Java Edition
1.21.x
Платформы
Поддерживаемые окружения
Клиент и сервер
Создатели
Детали
Лицензия:MIT
Опубликован:1 неделю назад
Обновлён:3 дня назад
