eszesbalint / bdstudio

Minecraft Block Display Studio - 3D editor and command generator for block display entities
95 stars 12 forks source link

Text Displays not working properly #84

Open RazihelYT opened 4 months ago

RazihelYT commented 4 months ago

Hello, Ive tried making a stop sign block display and the text display linked to it will not generate. Ive pasted the exact command output from the editor below:

https://dev.bukkit.org/paste/1c304c83

Ive also listed the error I receive in the console regarding the issue: https://dev.bukkit.org/paste/bd955c0e

piw-piw commented 4 months ago

Your console says that true and false values should be boolean, not string.

Failed to parse display entity text {"text":"STOP","color":"#FFFFFF","bold":"true","italic":"false","underlined":"false","strikethrough":"false","font":"minecraft:uniform"}
Not a boolean: "false"; Not a boolean: "false"; Not a boolean: "false"; Not a boolean: "true"

So you can try replace this

text:"{\"text\":\"STOP\",\"color\":\"#FFFFFF\",\"bold\":\"true\",\"italic\":\"false\",\"underlined\":\"false\",\"strikethrough\":\"false\",\"font\":\"minecraft:uniform\"}"

with this

text:"{\"text\":\"STOP\",\"color\":\"#FFFFFF\",\"bold\":true,\"italic\":false,\"underlined\":false,\"strikethrough\":false,\"font\":\"minecraft:uniform\"}"

But I tried your command in Vanilla 1.20.1 and it worked, so maybe it's restriction in Paper 1.20.4.

RazihelYT commented 4 months ago

Looks like in 1.20.4, the booleans no longer require quotations and will throw an error.