File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
src/main/resources/panels Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -132,17 +132,10 @@ detail_panel:
132
132
8 : material_button
133
133
3 :
134
134
1 :
135
- # In this case, the icon is defined as a TIPPED_ARROW with and enchantment applied. The format for the enchantment is
136
- # define in {@link world.bentobox.bentobox.util.ItemParser} and available for POTIONS or TIPPED_ARROWs.
137
- # Format TIPPED_ARROW:NAME:<LEVEL>:<EXTENDED>:<SPLASH/LINGER>:QTY
138
- # LEVEL, EXTENDED, SPLASH, LINGER are optional.
139
- # LEVEL is a number, 1 or 2
140
- # LINGER is for V1.9 servers and later
141
- # Examples:
142
- # TIPPED_ARROW:STRENGTH:1:EXTENDED:SPLASH:1
143
- # TIPPED_ARROW:INSTANT_DAMAGE:2::LINGER:2
144
- # TIPPED_ARROW:JUMP:2:NOTEXTENDED:NOSPLASH:1
145
- # TIPPED_ARROW:WEAKNESS::::1 - any weakness enchantment
135
+ # In this case, the icon is defined as a TIPPED_ARROW with a color.
136
+ # CustomPotionColor uses the Decimal description of a Color, just as leather armor does.
137
+ # All you need to do is take a hex code of a color (like #ff00aa) which represents red,
138
+ # green, blue as 2 hex digits each and convert that number into a decimal, using a hex to decimal calculator.
146
139
icon : tipped_arrow{CustomPotionColor:11546150}
147
140
title : level.gui.buttons.previous.name
148
141
description : level.gui.buttons.previous.description
You can’t perform that action at this time.
0 commit comments