#anvil lore rename

1 messages · Page 1 of 1 (latest)

slate moss
#

im trying to make so when player has the same lore (haste I) and the output will be haste II

on anvil prepare:     
    if slot 0 of event-inventory is a netherite shovel:
        if lore of slot 0 of event-inventory contains "&eTreasure Hunter I":
            if slot 1 of event-inventory is an netherite shovel:
                if lore of slot 1 of event-inventory contains "&eTreasure Hunter I":
                    event-item is set
                    set lore of event-item to "&eTreasure Hunter II"
sly oar
#

And what's the error?

#

Or the problem?

slate moss
#

this is the error

sly oar
#

Well, what line do you want?

slate moss
#

its the first line and i want it to ve level 2 not level 1 when u combine it

#

you get it?

sly oar
#

Well, you have to set line 1 of the lore.

slate moss
#

so

set line 1 lore of event-item to "&eTreasure Hunter II"
```?
sly oar
slate moss
#

Funny

slate moss
#

nop not working @sly oar

sly oar
#

line 1 of lore

#

Also, please don't ping me

slate moss