FIREWORK! 图标

FIREWORK!

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.2.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/firework!
资源信息

Minecraft 版本: 1.21.11

平台: datapack

标签: decoration game-mechanics library

资源介绍

FIREWORK!

Introduction

  • A firework / particle effects datapack for Minecraft 1.21.11.
  • Author: Mxpea (Aurelith / Mxpea).
  • Automatically initializes scoreboards and storage, providing random fireworks, rainbow, ring, ray, line, letter pixel effects, and more.

Feature Overview

Quick Start

  1. Place the firework/ folder into the world's datapacks/ directory.
  2. Run any entry function to test effects (see example commands below).

Note: firework:load initializes many scoreboards (e.g., rings, ray_settings, line) and storage keys.

Example Commands

  • /function firework:fireworks/ran_firework: Generates a random firework (colors, trail, twinkle, type random).
  • /function firework:run/ran_flash_10: Triggers 10 random flash particles in quick succession, good for strobe effects.
  • /function firework:run/ran_dust: Spawns a random colored dust particle.
  • /function firework:run/rainbow: Spawns rainbow particles using current rainbow parameters.
  • /function firework:run/ring_normal: Renders a ring with fixed particles (end_rod).
  • /function firework:run/ring_rainbow: Renders a ring with rainbow particles.
  • /function firework:run/ray_summon: Spawns a ray effect (requires velocity/lifetime parameters set first).
  • /function firework:run/line_summon: Draws line particles between start and end points with step count.
  • /function firework:run/lightning_summon: Spawns a lightning effect (requires attraction strength/step length etc. set first).
  • /function firework:run/ball_summon: Spawns spherical particles based on radius and layer count.
  • /function firework:run/colord_block_exp: Spawns a colored falling block explosion (depends on Motion API).
  • /function firework:letters/a: Draws the pixel pattern of letter A.
  • /function firework:gu/generate: Generates UUID data and writes to storage.
  • /function firework:tools/uuid_get: Reads and displays UUID info of current entity/context.

Parameter Setup Hints (Common)

  • Ring effect depends on: steps rings, distance rings.
  • Sphere effect depends on: steps ball, distance ball (distance ball is radius; implementation uses scaled storage for finer control).
  • Ray effect depends on: speed ray_settings, lifetime ray_settings, offset_x ray_settings, offset_y ray_settings.
  • Line effect depends on: steps line, and requires tag @s add set_poz to record endpoint coordinates.
  • Lightning effect depends on: attrack lightning, stepl lightning, delta lightning, maxstep lightning, and requires tag @s add set_poz to record endpoint coordinates.

Directory Index

Dependencies

Common Issues

  • /function no response: Verify datapack path and run /reload, check that load.json and tick.json exist.
  • Ray/line not executing: Set required scoreboard parameters first (see "Parameter Setup Hints" above).
  • Sphere effect not showing: Check that steps ball > 0 and distance ball is within a reasonable range.

License

  • This project is licensed under the MIT License, see LICENSE.

Acknowledgements

  • Includes UUID-related code from gu, originally under The Unlicense; redistributed according to its terms.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
No Creative In Survival

价格:0 墨喵币
下载量:0

查看详情
JCRAFT PVP

价格:0 墨喵币
下载量:0

查看详情
RotP:NextAlbum

价格:0 墨喵币
下载量:0

查看详情
[CRTP]CustomRandomTP

价格:0 墨喵币
下载量:0

查看详情