GUI Config
This page was last updated for version v1.2.0
Last updated
This page was last updated for version v1.2.0
Last updated
animation: # GUI animations
enabled: true
interval: 2 # in ticks
color-cycle-speed: 0.85 # in decimal
event:
"<sound> <volume> <pitch>"
Leave the sound value blank if you don't want it to play sound.
select-effect:
"minecraft:block.note_block.pling 0.1 1.5"
random-effect:
""
next-page
previous-page
reset
filter
select-effect
random-effect
select-color
random-color
select-effect
confirm
select-handler
unselect-handler
current-style: <ID>
styles:
style-id:
effects:
layout:
..
elements:
..
colors:
layout:
..
elements:
..
mixer:
layout:
..
elements:
..
handlers:
elements:
..
You can create multiple GUI styles, and use one of them by setting the current-style
value to that style's id.
Layout determines how elements are placed in the GUI. It's a list of character arrays. Every character array must have exactly 9 characters.
If you use a character that doesn't match any element's key, that slot will be set to air.
# B for borders
# E for effect icon
# r for random effect
# R for reset effect
# C for close button
# P for previous page
# N for next page
layout:
- "BBBBBBBBB"
- "BEEEEEEEB"
- "BEEEEEEEB"
- "BEEEEEEEB"
- "BEEEEEEEB"
- "PBBrCRBBN"
key
Every character in layout that matches with that element's character will be replaced with that element's item.
item
See Item Properties below.
Every element must have its own unique key
character.
key
characters are case-sensitive.
elements:
borders:
key: 'B'
item:
material: BLACK_STAINED_GLASS_PANE
The GUI that opens when /trparticles
command is executed.
borders
default-icon
next-page
previous-page
random-effect
reset
close
filter
mixer
The color selection GUI.
borders
color-icon
next-page
previous-page
random-color
back
The effect mixer GUI
borders
default-icon
next-page
previous-page
reset
close
filter
confirm