In-game GUI

If you would rather not touch YAML, the whole style workflow is clickable: preview, adjust chances, delete, and import the firework you are holding.

Opening the GUI

/cc gui      # alias: /cc menu

Requires creeperconfetti.command.effect and a player sender. The title comes from gui.title in the language file (default "Firework styles").

Style list page

A 54-slot inventory: the top 45 slots are the styles in order, the bottom row is the control bar.

Firework styles
54 slots — 45 styles per page, the bottom row is the control bar
SlotContentOn click
0 – 44One firework icon per style: name, effect count, current chanceLeft-click opens the edit page; right-click previews it here
45Previous page (arrow)Shown when page > 1
46Page indicator (paper)Display only, e.g. "Page 1/2"
47, 50–52Gray glass pane fillernothing
48Even out chances (hopper)Resets every chance to the average and saves
49Add style (nether star)Reads the rocket in your hand and creates a style
53Next page (arrow)Shown when more styles exist
i

If your main hand does not hold a rocket with an effect, clicking "Add" prints "Please hold a firework rocket with effects in your main hand". A newly created style appears in the list immediately with the average chance.

Style edit page

A 27-slot inventory titled with the style name, with the chance display in the middle and a ring of +/- buttons around it.

Firework styles
27 slots — chance buttons around the centre, actions on the last row
SlotButtonOn click
4Firework iconPreview the current style
10 / 11 / 12Red panes −10% / −5% / −1%Lower this style's chance; the others are compensated
13Paper (current chance)Shows "Current chance: xx% (total always stays at 100%)"
14 / 15 / 16Lime panes +1% / +5% / +10%Raise this style's chance; the others are compensated
18Fire chargeCopy the held rocket's effects into this style
22BarrierDelete this style
26ArrowBack to the list
v

Every adjustment applies immediately: the screen refreshes, the chance is written to config.yml, and the set is rebalanced. Clicking +10% five times is exactly /cc effect chance <name> 50.

!

Delete has no confirmation step — the style is gone the moment you click. Preview it with /cc effect preview first, or back up config.yml.

Edge cases

  • More than 45 styles: paging arrows appear automatically;
  • down to a single style: it takes the full 100%;
  • deleting the last style leaves an empty list — use "Add style" to start again;
  • a chance will not go higher because the total is already 100% and the others sit at 0 — click "Even out chances" to recover.

图形界面

不想改 YAML 的话,整个样式管理都可以在箱子里点完:预览、调概率、删除、把手里这支烟花存进去。

打开界面

/cc gui      # 别名 /cc menu

需要 creeperconfetti.command.effect 权限,且只能由玩家执行。界面标题取自语言文件的 gui.title(默认「烟花样式管理」)。

样式列表页

54 格界面,上方 45 格按顺序平铺所有样式,下方一行是操作区。

烟花样式管理
54 格 —— 每页 45 个样式,最下一行是操作区
槽位内容点击效果
0 – 44每个样式一个烟花图标,名称 + 效果数量 + 当前概率左键进入编辑页;右键当场预览
45上一页(箭头)页码 > 1 时出现
46页码(纸)仅显示,例如「第 1/2 页」
47、50–52灰色玻璃板填充无
48平均分配概率(漏斗)所有样式概率重置为平均值并保存
49添加烟花样式(下界之星)读取主手烟花并新增样式,自动命名
53下一页(箭头)还有更多样式时出现
i

点「添加烟花样式」时,如果你主手拿的不是带效果的烟花火箭,会在聊天栏提示「请在主手中拿着带有烟花效果的烟花火箭」。新建的样式会立刻出现在列表里,并自动获得平均概率。

样式编辑页

27 格界面,标题显示样式名,围绕中央的概率显示排开一组加减按钮。

烟花样式管理
27 格 —— 中间是概率,最下一行是操作
槽位按钮点击效果
4烟花图标预览当前样式
10 / 11 / 12红色玻璃板 −10% / −5% / −1%降低该样式概率,其余样式自动补偿
13纸(当前概率)显示「当前概率: xx%(总和自动保持 100%)」
14 / 15 / 16绿色玻璃板 +1% / +5% / +10%提高该样式概率,其余样式自动补偿
18火焰弹把主手烟花的效果写入该样式
22屏障立即删除该样式
26箭头返回列表
v

每一次加减都是即时生效的:界面刷新、概率写回 config.yml、并再平衡一次。所以连续点 +10% 五次就等于 /cc effect chance <名称> 50。

!

删除操作没有二次确认弹窗,点下去样式就没了。删除前先 /cc effect preview 看一眼,或者提前备份 config.yml。

界面里的边界情况

  • 样式多到超过 45 个时自动分页,翻页按钮才会出现;
  • 删到只剩一个样式时,它会自动占满 100%;
  • 删除最后一个样式后界面为空,用「添加烟花样式」重新建立;
  • 概率加不上去是因为已经 100%,其它样式已被压到 0,此时可以点「平均分配」复位。