Mechanic
SetCustomMenuButton
Opens a custom menu
Configuration Fields (2)
| Name | Type | Default | Description |
|---|---|---|---|
| slot s | PlaceholderInt | 0 | The menu slot index to update |
| icon i | PlaceholderString | default | The icon key to place in the target slot |
Examples & Notes
Examples
MyCustomMenu:
Display: "My Custom Menu"
Size: 27
Schema:
- '0 0 0 0 0 0 0 0 0'
- '0 0 0 0 B 0 0 0 0'
- '0 0 0 0 0 0 0 0 0'
Icons:
TEST_BUTTON:
Mapping: B
Material: GOLD_INGOT
Model: 4
Display: 'Test'
Skills:
- setcustommenubutton{slot=11;icon=DYNAMIC_BUTTON}
DYNAMIC_BUTTON:
Material: IRON_SWORD
Model: 100
