Skript Version: 2.2-dev25
Skript Author: Bensku
Minecraft Version: 1.8.8
Im creating a gui menu filled with items. I have the following code to add a diamond axe with glowing option and amount, but I need a way to remove the attributes from the item when displaying it.
Full Code:
Addons using (including versions):
Tuske - 1.8.2
SkQuery - 3.5.9-Lime
Skellet - 1.8.5
Umbaska - 2.0
skRayFall - 1.9.10
skUtilities - 0.9.0
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? None
EDIT: Found it:
set {item.%{_player}%::itemname} to {item.%{_player}%::itemname} without any NBT
Skript Author: Bensku
Minecraft Version: 1.8.8
Im creating a gui menu filled with items. I have the following code to add a diamond axe with glowing option and amount, but I need a way to remove the attributes from the item when displaying it.
Full Code:
code_language.skript:
Item settings:
set {item.%{_player}%::itemname} to "%{item.%{_player}%::level}% diamond axes" parsed as itemtype
set {item.%{_player}%::itemname} to glowing {item.%{_player}%::itemname}
Item creation in the gui:
create gui slot loop-value - 1 of {_player} with {item.%{_player}%::itemname} named "%{items::%loop-value%}%" with lore "%{item.%{_player}%::lore}%" to run console command "/cmd %{_player}% %{items.%loop-value%}%"
Addons using (including versions):
Tuske - 1.8.2
SkQuery - 3.5.9-Lime
Skellet - 1.8.5
Umbaska - 2.0
skRayFall - 1.9.10
skUtilities - 0.9.0
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? None
EDIT: Found it:
set {item.%{_player}%::itemname} to {item.%{_player}%::itemname} without any NBT
Last edited: