#Item Enchant on GUI
1 messages · Page 1 of 1 (latest)
what have you tried so far
set slot 0 of player's current inventory to netherite sword named "&btest"
how to add enchant on it
i mean enchant slot 0 of player's current inventory with mending should work xD not ideal way to do it but it should work
No, it doesn't work, I want it to be like this
like what
this is full skript:
command /opengui:
trigger:
open virtual chest inventory with size 3 named "&6My GUI" to player
set slot 0 of player's current inventory to totem of undying named "&eTotem"
set slot 4 of player's current inventory to paper named "&aGo to Spawn" with lore "&7Click to run /spawn"
on inventory click:
if name of event-inventory is "&6My GUI":
if clicked slot is 0:
wait 1 tick
set slot 0 of event-inventory to totem of undying named "&eTotem"
if clicked slot is 4:
cancel event
execute console command "spawn %player%"
if clicked slot is 2:
wait 1 tick
set slot 2 of event-inventory to netherite sword
i want to enchant netherite sword
@final egret you can help me?
so just enchant it i really dont see a problem
Enchant or disenchant an existing item. Enchanting at a specific level will act as if an enchanting table was used, and will apply the enchantments randomly chosen at that level. Treasure enchantments, like mending, can optionally be allowed. Note that enchanting a book at a specific level will turn it into an enchanted book, rather than a book ...
thanks
it would be like netherite sword of sharpness 67 named "&btest"
Thanks ❤️
how to set multi enchant?