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.
| Slot | Content | On click |
|---|---|---|
| 0 – 44 | One firework icon per style: name, effect count, current chance | Left-click opens the edit page; right-click previews it here |
| 45 | Previous page (arrow) | Shown when page > 1 |
| 46 | Page indicator (paper) | Display only, e.g. "Page 1/2" |
| 47, 50–52 | Gray glass pane filler | nothing |
| 48 | Even out chances (hopper) | Resets every chance to the average and saves |
| 49 | Add style (nether star) | Reads the rocket in your hand and creates a style |
| 53 | Next page (arrow) | Shown when more styles exist |
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.
| Slot | Button | On click |
|---|---|---|
| 4 | Firework icon | Preview the current style |
| 10 / 11 / 12 | Red panes −10% / −5% / −1% | Lower this style's chance; the others are compensated |
| 13 | Paper (current chance) | Shows "Current chance: xx% (total always stays at 100%)" |
| 14 / 15 / 16 | Lime panes +1% / +5% / +10% | Raise this style's chance; the others are compensated |
| 18 | Fire charge | Copy the held rocket's effects into this style |
| 22 | Barrier | Delete this style |
| 26 | Arrow | Back to the list |
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.