#(Stewe) thumbnail
54 messages · Page 1 of 1 (latest)
(Stewe) thumbnail
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.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
is that possible
if you're referencing the screenshot, no
- definemap my_map:
key: value
- define my_map.another_key:value if:<[something].exists>```
alternatively, this ^
can i make a feature request for this? or would it be rejected with one clap
with that same logic how would i do this? with the cleanest and easy to expand way?
because i want to have some custom lore only display when conditions are met (this is a simplified one)
missing an indent there, that won't work
everything below definemap needs an extra indent
so 4 indents?
just remove the second list line, and use this after your definemap:
- definemap item_mechanism_map.lore <[item_mechanism_map.lore].insert[<[damage]>].at[2]> if:<[damage].equals[0].not>```
i can't copy-paste your example because you used a screenshot
just copypaste the code
yea mb
this is helpful
empty line
<empty>
wont the lore mechanism ignore empty?
no
^
i made a typo
- definemap item_mechanism_map:
display: item name
lore:
- <empty>
- <empty>
- other item lore
- define item_mechanism_map.lore <[item_mechanism_map.lore].insert[<[damage]>].at[2]> if:<[damage].equals[0].not>
i put definemap but it should be define
can you show an example where u use definemap again instead of define?
?
`- definemap item_mechanism_map:
display: item name
lore:
- <empty>
- <empty>
- other item lore
- definemap ...`
cuz definemap is kinda hard
and i need it
you changed my define to definemap
that breaks
not with an if statement like you needed
- definemap item_mechanism_map:
display: item name
lore:
- <empty>
- <empty>
- other item lore
- define item_mechanism_map.lore <[item_mechanism_map.lore].insert[<[damage]>].at[2]> if:<[damage].equals[0].not>```
this is valid
to clarify, this is not valid
the second command is define
yes, but the other one is good, i will use that
thanks for helping
i will close