#Enchantment level limit
1 messages · Page 1 of 1 (latest)
Unenchant it and then re enchant it easily. @thin stirrup
what if i wanna keep the othjer enchants on it?
isnt that only for books?
does it send the message?
yea
I thought you could set enchantment lvl like that
not any examples for it though https://skripthub.net/docs/?id=929
maybe cancel the inventory click?
maybe it is picking up the item before it is modified or something
it works on different events like clicking or pickup
idk its weird
wait you just want to disable prot 4?
i want prot 4 items to turn into prot 3
you could change max level of the enchantment with a datapack but I realized that wouldn't change existing items
does it work if you change something else about the item?
like change the item's name
ok i found a work around, i js made it drop the item when clicked, canceled teh event, and remove the event item lol
thanks for helpinmg
I don't think you have to drop it
maybe define a var that is event-item, modify the var, then overwrite event-slot with the var
This should work ngl
it should
i tried that before but it had some error
Do like enchant event-item with protection 3
It should replace it
If it doesnt maybe set event-item to event-item of protection 3 or smth
Also using on inventory close would benefit you more
Cuz player can just drop the item to someone and equip it using dispenser or whatever it was called and hopper
Or just right click the armor piece
Although the inventory close wont really cover the equipping with right click