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

Does not work #4

Open
Domthewiz opened this issue Aug 6, 2023 · 15 comments · May be fixed by #5
Open

Does not work #4

Domthewiz opened this issue Aug 6, 2023 · 15 comments · May be fixed by #5

Comments

@Domthewiz
Copy link

No description provided.

@MatrixSystemPVP
Copy link

I've also tried it.
It does just show the tooltip box over the whole screen.

Is there a fix @lolgeny ?

@vippyer
Copy link

vippyer commented Aug 17, 2023

1.20 broke it. Although there's no mention of shaders or tooltips in logs. @lolgeny please fix, currently this is the only way to create clean, interactable guis

@Domthewiz
Copy link
Author

FIX: it makes the tooltrip have wayy to many lines to render
However i accudentaly made al the lines in to one to it didnt have this format
Line 1 :
Line 2 :
:
Line 200:

@vippyer
Copy link

vippyer commented Aug 17, 2023

@Domthewiz what? If you got lore, that somehow works on 1.20, use code brackets "`". But no matter how much lines I add the resourcepack doesn't recognize my tooltip

@Domthewiz
Copy link
Author

commment the command you used to get the item

@vippyer
Copy link

vippyer commented Aug 17, 2023

commment the command you used to get the item

/give @s minecraft:stone{display:{Lore:['""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','" "']}} 1

@Domthewiz
Copy link
Author

/give @p stone{display:{Lore:['{"text":"['""','""','""','"" ... ... ,'""']"}']}} 1
Incorrect format

/give @p stone{display:{Lore:['""','""','""','"" ... ... ,'""']}} 1
Correct format

@Domthewiz
Copy link
Author

@vippyer Thats weird, do you have optifine on and if so, do you have shaders

@Domthewiz
Copy link
Author

Did you type it in a commmand block?

@vippyer
Copy link

vippyer commented Aug 17, 2023

Did you type it in a commmand block?
yes

@vippyer Thats weird, do you have optifine on and if so, do you have shaders
nothing

does it work for you? On the 1.20.x version?

@Domthewiz
Copy link
Author

It worked for me, on 1.20.x do you have windows or mac

@vippyer
Copy link

vippyer commented Aug 17, 2023

It worked for me, on 1.20.x do you have windows or mac

windows

On optifine turn on Internal Shaders, i think that might help

I don't use optifine and I want it to work without mods
Just checked vanilla instance (without fabric) and it still doesn't work

@Domthewiz
Copy link
Author

What hardware do you have

@Domthewiz
Copy link
Author

Domthewiz commented Aug 17, 2023

/give @p clock{display:{Lore:['""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','""','" "']}} 1

@MatrixSystemPVP
Copy link

I've found a Fix and cleaned the Code a little bit.
I will create a Pull request.

They changed the Name of the Files, that's why it doesn't work anymore in 1.20.

@MatrixSystemPVP MatrixSystemPVP linked a pull request Aug 17, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants