Text Display Tutorial
Ойындар
A text_display tutorial for the general use and the issues I have struggled with using them in my worlds.
World Download
drive.google.com/file/d/1gCbw...
mcstacker command generator
mcstacker.net/
transformation visualizer
misode.github.io/transformation/
0:00 Intro
1:12 Basics (bold, underline, fonts, color, etc)
3:33 Background (color, opacity)
5:38 Rotation
7:10 Multiple text (how to remove, modify, and select)
11:40 Transformation (Scale and motion)
15:04 Gneiss cat
Пікірлер: 90
Thank you for the tutorial! :D EDIT: Small correction! At 3:18, at least in version 1.20.4 there needs to be two backslashes, not one! So it's \ in order to have a line breaker.
@gneissname
5 ай бұрын
Thanks, I'll pin this. I probably just messed it up, getting the text code formatted to be displayed and not interpreted as code gave me a headache for some of these.
@brunoaltoe100
5 ай бұрын
@@gneissname Ik the feeling, after the tutorial I tried doing the same thing myself lol. There's a second correction too, albeit a bit more minor: after 2:37, the last quote (') disappears from the commands. Luckily it reappears after 3:38.
Mojang: "Lets use 1 system to colour text, and a completely different system to colour the background. That won't be confusing at all, will it?".
This was a gneiss tutorial
@Snatch698
9 ай бұрын
ℑ𝔫𝔡𝔢𝔢𝔡.
@PatGunn
8 ай бұрын
Glad you're expressing your sediments
@TerryPwP
8 ай бұрын
TRUEEE
@Ge0Mancer7
8 ай бұрын
@@PatGunnLol gneiss joke
Props to minecraft devs for creating such advanced dev commands which only a small portion of players would ever use - love it
Its important, you only add FF to the front, if the left most hex digit is 8 or more, else add 00. Alternatively you can ask either google itself to convert the hex number or search for any hex to decimal converters online, and pick one you like. But make sure to use the 2s complement result!
@gneissname
9 ай бұрын
Great point
This is a fantastic guide and definitely makes this easier to learn for beginners, but even still that Gneiss Cat stuff looked like straight up magic
@gneissname
9 ай бұрын
Thanks, I will say that the cat took longer to put together than the entire rest of the displays combined
I was one of the people who asked for this, I was so happy when you responded and am so happy that you actually made it! This is so helpful, thank you. There is so little information out there for post-1.16 Minecraft commands
@gneissname
9 ай бұрын
Yeah I know what you mean. It’s had looking for info on this or just commands in general that are still up to date. And as meta_tommy already commented, they just added a teleport duration in 1.20.2 so this video is already outdated with ways to animate between positions.
theres a new field for display entities in 1.20.2 called teleport_duration which lets u animate display entities without having to use transforms. when you teleport the entity itll just take X amount of ticks to go there, with X being whats set in the teleport_duration field. it works with rotations too which is especially useful cus it feels like u need a degree in linear algebra to use the transformation rotations q.q this can be better option for translation than using transforms since the game will stop rendering the display if the entity location is too far away
@gneissname
9 ай бұрын
That is fantastic news!
@mo-s-
9 ай бұрын
This is amazing news :D
This proves Minecraft is a better markdown language than HTML.
I used to be a lot more proficient with Minecraft commands, and I think it kind of got away from me with the addition of stuff like execute. Thanks for this video!
surprisingly convoluted and incredibly customizable. bravo devs
i hope Gneiss Cat is able to return from their adventure one day
I will say, even though it can seem more complicated, /data modify is SUPER useful for transformations, (if you aren't trying to do interpolation). You can change 1 "value" at a time, but you can do it arbitrarily or from another entity! I've used it to literally copy the entirety of one display entity to another. And instead of trying to remember not to screw with 1 value while changing another, you have to do each value separately, so like /data modify entity whatever transformation.scale[0] set value 5f will just change the X scale, rather than having to define all of them all at once every time. It is a little odd using "." instead of brackets, but man is it useful to not have to worry about other things.
@gneissname
9 ай бұрын
Great tip.
Hey! At 8:04 the possibly confusing behavior is actually text nodes "inheriting" the styles of previous nodes, if they don't have a style set. This is probably so that if you want to make a red message with clickable elements and such, you don't need to specify the color over and over again. If you want to read more about this format and how it works, google "minecraft wiki raw json text format". I would have inserted a link, but youtube deleted my previous comment when I tried to do so :^(
@gneissname
9 ай бұрын
Thanks, I'll give it a look.
@tadeln
9 ай бұрын
The way I always looked at it is that the first text element in the list just sets the "default style" for every other text element. So if you set "color": "red" for the first one, it's going to be set for all other ones as the default. An easy way of avoiding this behavior is to just have an extra empty {"text":""} element at the start, that way all of the styles for the other texts will be default. I believe this works like that because of the (older?) `extra` property; instead of having text elements in an array (like this: [{"text": "a"}, {"text": "b"}] ) you can also have them as "children" of a parent text element (like this: {"text": "a", "extra": [{"text": "b"}]} ), in which case the inheriting mechanism would make a lot of sense.
i'm very lucky to have found your content, it's genuinely been some of the most useful minecraft-related content out there! please keep up the great tutorials!
I used text display entities to create a post-game scoreboard for one of my maps. It looks so good!
@jdawgtor
9 ай бұрын
That's a fantastic idea!
I actually needed this, but I never expected it to come from you! Thanks!
Thank you so much! I have made a world were it is supposed to be story mode, so that when you click at objects or fake people it looks like that explain smth or generously talk to you, love it!!
One of the best tutorials I have ever seen, thank you!
Just for those who tried to put in their text component. You actually need to put \ ... cause minecraft wont automaticly understand what a single \ is meant to do!
This was a high Quality Tutorial :D! Thank you from every map creator and all the other people, playing around for fun
Amazing tutorial, thanks for your work!
I didnt know i needed this, thanks Gneiss
Great, straightforward tutorial.
I already knew everything, but I still watched all the way through to give gneiss more watchtime
hey, for the issue you have with formatting carrying over, if you want to go back to default text, add "reset":true and then add any other modifications you want. its easier than having to unset bold, color, italics and everything else. i think this is less so a bug and more so a holdover from the past. in the past, colors and formatting codes did not use json objects, but rather used the section symbol followed by a character. this would apply the formatting to whatever follows it. I believe that in order to keep everything looking the same as in the past, they have json objects copy this old flaw
@gneissname
9 ай бұрын
Thank you! That makes a lot of sense.
Amazing tutorial. Keep it up man!
6:29 happy to see the digits of pi
Amazing video!
few things :D the font at 2:23 is the cipher that's used in the enchanting table, and it's called the standard galactic alphabet, which is a simple substitution cipher the issue at 7:54 with the text not resetting formatting properly i think comes from minecraft's formatting codes, where in some situations you can format text in different ways there's 16 different _color_ codes, going through every hex digit, so from 0 to F. the prefix is typically & in java edition and § in bedrock, but i'll use & here. so &0 is black, &6 is gold, &c is red, &f is white, stuff like that. there's also other codes: &l for bold, &o for italic, &k for obfuscated, and so on. minecraft.wiki's formatting codes page goes over this all in more detail point is! formatting codes don't exactly have a way to signify their end. like html tags use content, and json (what minecraft commands use) use {content}. except minecraft's formatting codes don't have those. so instead, they have a reset code: &r. the game will use every code used so far, with the more recent ones taking priority-new colors will override old colors. but when it reaches an &r, it'll reset back to the default, which in most cases, tends to be &f really, in json, they don't need to keep that need for resetting formatting since java already has a way to contain the entire string you're talking about, but i guess it's a thing for compatibility the character at 15:05 is █ U+2588
0:47 - As tech support, Gneiss' complete lack of adblock gives me anxiety. As a website manager, it also warms my heart. I just genuinely wish phishing ads like that weren't so prevalent.
@gneissname
9 ай бұрын
Yeah... I realized it when I was editing. I generally only use that computer for recording and editing so I'm not browsing much on it.
The gneiss cat is really impressive ! Thank you for these amazing videos ! Are you thinking about explaining your process for creating such complicated displays as the gneiss cat ?
@gneissname
4 ай бұрын
I do, just need to find the time. Probably a quick one on using the note blocks to do multiple commands then some longer ones talking about display and text entities.
thank you so muchhh
awsome video.
This needs a bedrock equivalent of a tutorial
Easy trick for solving that issue you had at 7:53 I've learned: Put "" in front. Example: ["",{"text":"1","bold":"true","color":"green"},{"text":"2"}]. Why exactly? Not sure. If I had to speculate, it resets the formatting before each new text {} when "" is in front, otherwise there's no reset or set new color/value and it just continues to the right into the next text values.
i like this video
OMG! So much work done, it must have taken a lot of time?
@gneissname
5 ай бұрын
Yes, making text displays that are text displays is confusing. Half the time was Gnyan cat though.
this is cool and all but How do you make the same note block do one command when you hit it but when you hit it again a different command happs
@gneissname
9 ай бұрын
You can do it with "execute if" and chained command blocks or a function in a datapack. lets say you have three things you want it to cycle through "1", "2", "3". the first command would be like: execute if block ~ ~ ~(the location of the notebock) minecraft:note_block[note=1] run "then your command you want to run first here" then chain a second command block and change the it to [note=2], then [note=3] for the third. I normally add one extra that would reset the notebock to [note=0] to start the loop again. If that wasn't clear, I could always do a quick video on it with an actual example.
in the description you spelled tutorial wrong great vifeo thank u
@gneissname
9 ай бұрын
Fixed, thanks. Spelling is my weakness.
The gneiss cat is looking incredible ! Did you use any tool to help you create those functions ? It sounds like a mess to do by hand...
@gneissname
5 ай бұрын
There might be a script that would do some of it but I did it semi manually. If I ever did it again I would write a script for it all. It’s only 8 frames so I placed each frame as a background in excel and pasted the appropriate hex color on top of each pixel. Most of the pixels don’t change so I made a list of the ones that between each frame and only updated those. And yes, it was a bit of a mess.
@ShupidStorts
4 ай бұрын
@@gneissname How did you calculate all the positions?
So, since you can display animated nyan cat, you can also theoretically make custom block textures using display text entities?
@gneissname
9 ай бұрын
Yes. I had one that I didn’t finish for this example. I made a dirt block all out of individual entities and then animated it to have a ripple effect then change into a sphere
Do centre makes it face the player, not camera? The cat at the end was really cool, do you need datapacks for stuff like that?
@gneissname
9 ай бұрын
No, it’s always the camera. To get to look at the character you could do some data merge every tick that would make the text entity face a specific player or the closest one or something. For the cat, you don’t “need” a data pack but it does make it 100% easier. Each frame is hundreds of commands to update each pixel that needs to change. You could do it other ways to make it more efficient but it’s just how I picked to do it.
in the beginning demonstration it seemed like you made the rainbow text animation play and pause, and the pause seemed to know what frame you paused on. Is this just achieved with how your loop is set up, or is there something more going on here
@gneissname
9 ай бұрын
I accomplished that by just having a single function for each “frame” with a /schedule “the next frame” and looping the last to the first. The stop function just cleared all /schedules because I didn’t know what frame I would be on when I hit the note block. This method would not work if you wanted it to restart on the next frame but you could do that another way. You could have a function loop adding a number to a scoreboard which could from like 1-10 or however many frames you need and then tie the frame to that scoreboard number. Then you could start and stop the scoreboard loop. If that makes sense?
@emilyyyylime-
9 ай бұрын
@@gneissname Yup, that's about what I thought. Very gneiss
Just wondering how can I add a score to this, like /execute as @e[tag=dText] run data merge entity @s {text:'[{"text":"Diamonds ","color":"red"},{"score":{"name":"#dTime","objective":"DiamondDisp"}]'} dText being a fake player holding a score from Diamond Disp
this is fine makes sense just nbt data value pairs "a 32 bit signed integer of 2s compliment" oh no im ok nvm thanks
Can you tell me about how to summon item display with nametags?
how do i give a color for each word for a text display? on mcstacker
@gneissname
4 ай бұрын
In the area where you type the actual text you want. There is a “section 1 of 1” near the top, use the + to add another section. You can then type more text and set that to another color, then just add as many sections as you need.
Are you making scripts to do some of the stuff that would be nearly impossible do it command by command?
@gneissname
8 ай бұрын
Yes, most of this is done with functions in a datapack.
help me i wrote /summon minecraft:text_display ~ ~ ~ {text:'("text":"Hello World!")'} but the text display doesn't show text at all
@gneissname
3 ай бұрын
/summon text_display ~ ~ ~ {text:'{"text":"Hello World!"}'} should work, make sure you are facing the right way to see it because it’s invisible if you are behind it.
CSS but minecraft 🗿
Broo, help me, please… How to make it clickable? I losted 3 hours(((((
@gneissname
6 ай бұрын
How do you mean? Click the text or make it change with note blocks?
@L_ibrary
6 ай бұрын
@@gneissname Yes, click the text. How and where to add clickEvent? I tried to add, but I didn't succeed :( I'm assuming what change with note blocks can be done through /data merge, isn’t it?
@gneissname
6 ай бұрын
@@L_ibrary I haven’t used them much but you can do what you are trying to do with the interact entity. I can detect right clicks and then execute any command. Cloud Wolf has a good tutorial on them.
Text doesn’t look like a real word anymore
It’s basically just css for minecraft text 💀
dosent work
Fourth