{"id":70349,"date":"2026-06-04T03:03:53","date_gmt":"2026-06-04T00:03:53","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/firework\/"},"modified":"2026-06-04T03:03:53","modified_gmt":"2026-06-04T00:03:53","slug":"firework","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/firework\/","title":{"rendered":"FIREWORK!"},"content":{"rendered":"<p>![FIREWORK!](https:\/\/cdn.modrinth.com\/data\/cached_images\/b1ae5aadb22cab16ed69e9c9bf52ef5dfb1d2290.png)<\/p>\n<p>## Introduction<\/p>\n<p>&#8211; A firework \/ particle effects datapack for Minecraft 1.21.11.<br \/>\n&#8211; Author: Mxpea (Aurelith \/ Mxpea).<br \/>\n&#8211; Automatically initializes scoreboards and storage, providing random fireworks, rainbow, ring, ray, line, letter pixel effects, and more.<\/p>\n<p>## Feature Overview<\/p>\n<p>&#8211; Auto-load and Tick<br \/>\n  &#8211; Load function: [`firework:load`](firework\/data\/firework\/function\/load.mcfunction)<br \/>\n  &#8211; Tick function: [`firework:tick`](firework\/data\/firework\/function\/tick.mcfunction)<br \/>\n  &#8211; Registration files: [load.json](firework\/data\/minecraft\/tags\/function\/load.json) \/ [tick.json](firework\/data\/minecraft\/tags\/function\/tick.json)<\/p>\n<p>&#8211; Random Firework<br \/>\n  &#8211; Main entry: [`firework:fireworks\/ran_firework`](firework\/data\/firework\/function\/fireworks\/ran_firework.mcfunction)<br \/>\n  &#8211; Parameter subroutines: [`effects\/fireworks_ran\/`](firework\/data\/firework\/function\/effects\/fireworks_ran)<\/p>\n<p>&#8211; Particles &#038; Rainbow<br \/>\n  &#8211; Rainbow value generation: [`firework:effects\/rainbow\/rainbow_color_gen`](firework\/data\/firework\/function\/effects\/rainbow\/rainbow_color_gen.mcfunction)<br \/>\n  &#8211; Rainbow particle entry: [`firework:run\/rainbow`](firework\/data\/firework\/function\/run\/rainbow.mcfunction)<br \/>\n  &#8211; Random flash x10: [`firework:run\/ran_flash_10`](firework\/data\/firework\/function\/run\/ran_flash_10.mcfunction)<br \/>\n  &#8211; Random Dust: [`firework:run\/ran_dust`](firework\/data\/firework\/function\/run\/ran_dust.mcfunction)<\/p>\n<p>&#8211; Rings, Rays, Lines<br \/>\n  &#8211; Rings: [`firework:run\/ring_normal`](firework\/data\/firework\/function\/run\/ring_normal.mcfunction), [`firework:run\/ring_rainbow`](firework\/data\/firework\/function\/run\/ring_rainbow.mcfunction)<br \/>\n  &#8211; Rays: [`firework:run\/ray_summon`](firework\/data\/firework\/function\/run\/ray_summon.mcfunction)<br \/>\n  &#8211; Lines: [`firework:run\/line_summon`](firework\/data\/firework\/function\/run\/line_summon.mcfunction)<\/p>\n<p>&#8211; Lightning Effect<br \/>\n  &#8211; Lightning entry: [`firework:run\/lightning_summon`](firework\/data\/firework\/function\/run\/lightning_summon.mcfunction)<br \/>\n  &#8211; Calculation routines: [`lightning\/`](firework\/data\/firework\/function\/lightning)<\/p>\n<p>&#8211; Spherical Particles<br \/>\n  &#8211; Sphere entry: [`firework:run\/ball_summon`](firework\/data\/firework\/function\/run\/ball_summon.mcfunction)<br \/>\n  &#8211; Calculation routines: [`ball\/`](firework\/data\/firework\/function\/ball)<\/p>\n<p>&#8211; Other Effects &#038; Utilities<br \/>\n  &#8211; Colored falling block explosion: [`firework:run\/colord_block_exp`](firework\/data\/firework\/function\/run\/colord_block_exp.mcfunction)<br \/>\n  &#8211; UUID utilities: [`firework:gu\/generate`](firework\/data\/firework\/function\/gu\/generate.mcfunction), [`firework:gu\/convert`](firework\/data\/firework\/function\/gu\/convert.mcfunction), [`firework:tools\/uuid_get`](firework\/data\/firework\/function\/tools\/uuid_get.mcfunction)<br \/>\n  &#8211; Letter pixels: [`letters\/`](firework\/data\/firework\/function\/letters)<\/p>\n<p>## Quick Start<\/p>\n<p>1. Place the `firework\/` folder into the world&#8217;s `datapacks\/` directory.<br \/>\n2. Run any entry function to test effects (see example commands below).<\/p>\n<p>> Note: [`firework:load`](firework\/data\/firework\/function\/load.mcfunction) initializes many scoreboards (e.g., `rings`, `ray_settings`, `line`) and storage keys.<\/p>\n<p>## Example Commands<\/p>\n<p>&#8211; `\/function firework:fireworks\/ran_firework`: Generates a random firework (colors, trail, twinkle, type random).<br \/>\n&#8211; `\/function firework:run\/ran_flash_10`: Triggers 10 random flash particles in quick succession, good for strobe effects.<br \/>\n&#8211; `\/function firework:run\/ran_dust`: Spawns a random colored dust particle.<br \/>\n&#8211; `\/function firework:run\/rainbow`: Spawns rainbow particles using current rainbow parameters.<br \/>\n&#8211; `\/function firework:run\/ring_normal`: Renders a ring with fixed particles (end_rod).<br \/>\n&#8211; `\/function firework:run\/ring_rainbow`: Renders a ring with rainbow particles.<br \/>\n&#8211; `\/function firework:run\/ray_summon`: Spawns a ray effect (requires velocity\/lifetime parameters set first).<br \/>\n&#8211; `\/function firework:run\/line_summon`: Draws line particles between start and end points with step count.<br \/>\n&#8211; `\/function firework:run\/lightning_summon`: Spawns a lightning effect (requires attraction strength\/step length etc. set first).<br \/>\n&#8211; `\/function firework:run\/ball_summon`: Spawns spherical particles based on radius and layer count.<br \/>\n&#8211; `\/function firework:run\/colord_block_exp`: Spawns a colored falling block explosion (depends on Motion API).<br \/>\n&#8211; `\/function firework:letters\/a`: Draws the pixel pattern of letter A.<br \/>\n&#8211; `\/function firework:gu\/generate`: Generates UUID data and writes to storage.<br \/>\n&#8211; `\/function firework:tools\/uuid_get`: Reads and displays UUID info of current entity\/context.<\/p>\n<p>## Parameter Setup Hints (Common)<\/p>\n<p>&#8211; Ring effect depends on: `steps rings`, `distance rings`.<br \/>\n&#8211; Sphere effect depends on: `steps ball`, `distance ball` (distance ball is radius; implementation uses scaled storage for finer control).<br \/>\n&#8211; Ray effect depends on: `speed ray_settings`, `lifetime ray_settings`, `offset_x ray_settings`, `offset_y ray_settings`.<br \/>\n&#8211; Line effect depends on: `steps line`, and requires `tag @s add set_poz` to record endpoint coordinates.<br \/>\n&#8211; Lightning effect depends on: `attrack lightning`, `stepl lightning`, `delta lightning`, `maxstep lightning`, and requires `tag @s add set_poz` to record endpoint coordinates.<\/p>\n<p>## Directory Index<\/p>\n<p>&#8211; Entry functions: [run\/](firework\/data\/firework\/function\/run)<br \/>\n&#8211; Firework parameter routines: [effects\/fireworks_ran\/](firework\/data\/firework\/function\/effects\/fireworks_ran)<br \/>\n&#8211; Ring calculation: [effects\/ring\/](firework\/data\/firework\/function\/effects\/ring)<br \/>\n&#8211; Sphere: [ball\/](firework\/data\/firework\/function\/ball)<br \/>\n&#8211; Ray: [ray\/](firework\/data\/firework\/function\/ray)<br \/>\n&#8211; Line: [line\/](firework\/data\/firework\/function\/line)<br \/>\n&#8211; Lightning: [lightning\/](firework\/data\/firework\/function\/lightning)<br \/>\n&#8211; Letters: [letters\/](firework\/data\/firework\/function\/letters)<\/p>\n<p>## Dependencies<\/p>\n<p>&#8211; This pack does not include `Mxpea.s.Motion.API`. Some colored falling block effects (e.g., [`firework:run\/colord_block_exp`](firework\/data\/firework\/function\/run\/colord_block_exp.mcfunction)) depend on that API.<\/p>\n<p>## Common Issues<\/p>\n<p>&#8211; `\/function` no response: Verify datapack path and run `\/reload`, check that [load.json](firework\/data\/minecraft\/tags\/function\/load.json) and [tick.json](firework\/data\/minecraft\/tags\/function\/tick.json) exist.<br \/>\n&#8211; Ray\/line not executing: Set required scoreboard parameters first (see &#8220;Parameter Setup Hints&#8221; above).<br \/>\n&#8211; Sphere effect not showing: Check that `steps ball` > 0 and `distance ball` is within a reasonable range.<\/p>\n<p>## License<\/p>\n<p>&#8211; This project is licensed under the MIT License, see [LICENSE](LICENSE).<\/p>\n<p>## Acknowledgements<\/p>\n<p>&#8211; Includes UUID-related code from gu, originally under The Unlicense; redistributed according to its terms.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n","protected":false},"featured_media":70350,"template":"","meta":{"_minecraft_slug":"firework!","_minecraft_project_id":"sRXMN8LC","_minecraft_author":"Aurelith_MX","_minecraft_license":"MIT","_minecraft_downloads":46,"_minecraft_follows":0,"_minecraft_client_side":"optional","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"firework!.zip","_minecraft_size_bytes":5442886,"_minecraft_version_count":8,"_minecraft_updated_at":"2026-05-15T23:27:15.269209Z","_minecraft_date_created":"2026-02-21T08:24:49.702533Z","_minecraft_date_modified":"2026-05-13T12:50:17.799610Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/firework!","_minecraft_icon_attachment_id":70350,"_minecraft_imported_at":"2026-06-04T00:03:54+00:00","_minecraft_import_hash":"886c502465665a1eba673da46454caf7","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[84,156,89,873],"mod_loader":[86],"minecraft_version":[41],"class_list":["post-70349","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-datapack","mod_category-decoration","mod_category-game-mechanics","mod_category-library","mod_loader-datapack","minecraft_version-1-21-11"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>FIREWORK! - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/firework\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"FIREWORK! - Minecraft\" \/>\n<meta property=\"og:description\" content=\"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.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/firework\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/firework\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/firework\\\/\",\"name\":\"FIREWORK! - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/firework\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/firework\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/firework-icon-e1db9fce82d0ec69f76e203351266ed0dd3c1464_96.webp\",\"datePublished\":\"2026-06-04T00:03:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/firework\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/firework\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/firework\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/firework-icon-e1db9fce82d0ec69f76e203351266ed0dd3c1464_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/firework-icon-e1db9fce82d0ec69f76e203351266ed0dd3c1464_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/firework\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"FIREWORK!\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"FIREWORK! - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/firework\/","og_locale":"en_US","og_type":"article","og_title":"FIREWORK! - Minecraft","og_description":"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.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/firework\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/firework\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/firework\/","name":"FIREWORK! - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/firework\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/firework\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/firework-icon-e1db9fce82d0ec69f76e203351266ed0dd3c1464_96.webp","datePublished":"2026-06-04T00:03:53+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/firework\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/firework\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/firework\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/firework-icon-e1db9fce82d0ec69f76e203351266ed0dd3c1464_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/firework-icon-e1db9fce82d0ec69f76e203351266ed0dd3c1464_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/firework\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"FIREWORK!"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/70349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/70350"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=70349"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=70349"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=70349"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=70349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}