#(yriokiri) modify a specific lore line of an item

14 messages · Page 1 of 1 (latest)

pure dagger
#

i need to replace a specific line of the lore of an item. how can i do that?

i know how to get the lore value and how to find the lore line number. but my issue is how to replace it

rough tuskBOT
#

(yriokiri) modify a specific lore line of an item

rough tuskBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

bronze crest
#

!t item.lore

rigid harborBOT
bronze crest
#

Get the current items lore at set the specific line

rigid harborBOT
# bronze crest !t list.set.at

Returns a new ListTag with the items specified inserted to the specified location, replacing the object already at that location.
Note the index input options described at !objecttype listtag

Returns

ListTag

Examples
# Narrates a list of "one|potato|three"
- narrate <list[one|two|three].set[potato].at[2]>
# Narrates a list of "one|potato|taco|hotdog|three"
- narrate <list[one|two|three].set[potato|taco|hotdog].at[2]>
pure dagger
#

ahh thx, and to apply it i just need to do an adjust on the item correct?

somber python
#

Yes

#

Feel free to ask if you need any more help, otherwise -

oblique jettyBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@pure dagger