GUI Config
This page was last updated for version v1.2.0
animation: # GUI animations
enabled: true
interval: 2 # in ticks
color-cycle-speed: 0.85 # in decimal
Sound Format
event:
"<sound> <volume> <pitch>"
Leave the sound value blank if you don't want it to play sound.
Examples
select-effect:
"minecraft:block.note_block.pling 0.1 1.5"
random-effect:
""
Available Events
Common
next-page
previous-page
reset
filter
Effects GUI
select-effect
random-effect
Colors GUI
select-color
random-color
Mixer GUI
select-effect
confirm
Handlers GUI
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.
Example Layout
# 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"
Properties
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.
Example
elements:
borders:
key: 'B'
item:
material: BLACK_STAINED_GLASS_PANE
Available Elements
Effects GUI
The GUI that opens when /trparticles
command is executed.
borders
default-icon
next-page
previous-page
random-effect
reset
close
filter
mixer
Colors GUI
The color selection GUI.
borders
color-icon
next-page
previous-page
random-color
back
Mixer GUI
The effect mixer GUI
borders
default-icon
next-page
previous-page
reset
close
filter
confirm
Handlers GUI

Last updated