Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlaceHolders in Lore #8

Open
MrHermis opened this issue Apr 1, 2024 · 6 comments
Open

PlaceHolders in Lore #8

MrHermis opened this issue Apr 1, 2024 · 6 comments

Comments

@MrHermis
Copy link

MrHermis commented Apr 1, 2024

Hi

For some reason whenever I place a placeholder inside of a lore, the whole lor disappears from the material/item.
Is there another way to place them or is it just missing?

@MrHermis
Copy link
Author

MrHermis commented Apr 1, 2024

Found a way so it worked.. Apparently I needed to add this implicit-update="false"

@ToberoCat
Copy link
Owner

Yeah, this is pretty weird. I'll have a look at it, as this isn't an intended behavior.

Thanks for reporting

@TubseyInnit
Copy link

TubseyInnit commented Jan 13, 2025

Hiya, I'm having the same issue and I'm wondering where 'implicit-update="false"' is placed?

<component type="item" y="3" x="3" name="§3COPPER MINE!" material="BARRIER" hidden="{@guiengine.coppermine}">
    	<lore>§7LOCKED</lore>
        <lore>§7{%player_name%}</lore>
</component>

The above gives the below:

image

<component type="item" y="3" x="3" name="§3COPPER MINE!" material="BARRIER" hidden="{@guiengine.coppermine}">
    	<lore>§7LOCKED</lore>
        <lore implicit-update="false">§7{%player_name%}</lore>
</component>

The above gives the below:

image

I know {%player_name%} works as I placed in in the name of the component name and successfully displayed the playername. Just wondering how you guys resolved it and if there is something I can do to fix it?

@ToberoCat
Copy link
Owner

The implicit update has to be played at the Tag.

Like

@TubseyInnit
Copy link

Like inside the Lore Tag?

@ToberoCat
Copy link
Owner

Yeah, like you did it in the lore Tag - but just this time in the GUI tag at the top of the file.
The lore Tag itself doesn't have the implicit update property

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants