#how to add lore to an item

1 messages · Page 1 of 1 (latest)

north axle
#
item.setLore(['lore'])
#

if statements... switch statements...

#

anyway you please

edgy flint
#

can you please show an example

north axle
#

You get the itemStack, then use the method to set the lore like I showed above. If you need to have it on certain items just conditionalize it with other methods you can get from the itemStack class.
If you dont know how to do that then I recommend learning basic js first, and clicking the link to learn what properties and methods the itemStack class has.