-
Notifications
You must be signed in to change notification settings - Fork 1
Using Animations in GUI
JyckoS edited this page Sep 8, 2019
·
5 revisions
Currently there are:
- "CURTAIN"
- "WAVE"
- "UNSOLVE"
- "DISSOLVE"
Animations uses colors. By default there are 8 pre-made colors:
- RED # Red, Orange, Yellow
- GREEN # Green, Lime, Lime
- BLUE # Blue, Light blue, Cyan
- BLACK # Black, Gray, White
- PURPLE # Purple, Magenta, Pink
- DARK # Gray, light gray, white
- VIOLET # Blue, Purple, Magenta
- SKY # Light Blue, Cyan, White
If those colors doesn't fit your interest. You can add you own colors on the file colors.yml:
colors:
gold: # New color, "gold" you can use this color now on your animation which consists of 3 items:
- "ORANGE_STAINED_GLASS_PANE" # First
- "YELLOW_STAINED_GLASS_PANE" # Second
- "YELLOW_STAINED_GLASS_PANE" # Third, you HAVE TO USE 3 MATERIALS. Otherwise it won't work
rock:
- "STONE"
- "GRANITE"
- "BEDROCK"
In your animations.yml file or a file you would normally do this:
animations: #Important
youranimation_wave_blue: #ID
type: WAVE
color: RED # Color of your animation
start: 0 #Special data tag for Wave animation. Starts wave at specific slot of GUI. remove to set 0
gui:
your_gui:
title: "Azazel Shop"
size: 36
animation: youranimation_wave_blue #Set animation as your animation
items:
0: SOMEITEM