Skip to content

Commit 2d0382a

Browse files
committed
Updated comments on tipped arrow
1 parent 4a5f967 commit 2d0382a

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

src/main/resources/panels/detail_panel.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -132,17 +132,10 @@ detail_panel:
132132
8: material_button
133133
3:
134134
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.
146139
icon: tipped_arrow{CustomPotionColor:11546150}
147140
title: level.gui.buttons.previous.name
148141
description: level.gui.buttons.previous.description

0 commit comments

Comments
 (0)