Skip to content

Set Editor

Belongs to: Editor GUI · Related: Set

The set editor lets you create sets, bind members, and arrange the bonuses for each piece count, all from a GUI. Enter the set hub (SetHubGui) via [Set] in the item editor.


1. Set Hub (SetHub)

On entry, different options are shown depending on whether the current item already belongs to a set:

  • Item not in any set:
    • Create set (SetCreateFlow): chat-input Set ID + Display name.
    • Bind to existing set (SetBindGui): pick an existing set from a paginated list.
  • Item already in a set: shows the current set info; you can Edit set / Unbind / Rebind.

2. Edit Set (SetEditGui)

SlotFieldInteraction
4Set icon / name (preview)Read-only
19Display nameChat input
21Icon materialChat-input material name
23Member pieces (SetPieceGui)Paginated add/remove of member item IDs
25Bonuses (SetBonusListGui)Paginated editing of each piece-count bonus
30Add Lore lineChat input
32Clear LoreInstant
48Delete setShift + right-click to confirm

Writes displayName / icon / belongingPieces / lore / bonuses into the SetDefinition.

🖼️ [Image placeholder] Set editing interface (member pieces, bonus-tier list) · suggested assets/editor-set.png


3. Edit a Bonus Tier (SetBonusEditGui)

After entering a tier (such as "4 pieces"):

SlotFieldInteraction
10Activation piece countChat input
12Bonus nameChat input
14Add LoreChat input
16Clear LoreInstant
29Potion effects (SetBonusEffectGui)Add: effect name → amplifier level
31Attributes (SetBonusAttributeGui)Add: key → value
33Abilities (SetBonusAbilityGui)Add: trigger → payload

Writes pieces / name / lore / effects / attributes / abilities into the SetBonus.

For the meaning of these fields, see Set.


4. Persistence

  • Sets are stored in sets/<SetID>.yml.
  • An item's membership is written into the set's belonging_pieces (bidirectional reference: the item points to the set ID, the set points to the item).
  • Sets are global: binding / editing automatically updates the set YAML, with no need to save the item separately.

5. Typical Flow

Item editor → [Set]
→ Create set → input warrior_set / Warrior Set
→ Edit set
   → [Member pieces] add warrior_helmet, warrior_chestplate, ...
   → [Bonuses] create "2 pieces" → attribute physical_damage=5
   →           create "4 pieces" → attribute physical_damage=10, effect SPEED=1, ability right_click→Burst
→ Done (auto-saved to sets/warrior_set.yml)

Next Steps