Skip to content

Commit

Permalink
🐛 Text display uses stringified text
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Jul 10, 2024
1 parent cc9ecbe commit 839ca29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/server/world/entity/display/text.mcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use super::DisplayBase
dispatch minecraft:entity[text_display] to struct TextDisplay {
...DisplayBase,
/// Text to display. Components are resolved with the executor set to the display entity and the position set to `0 0 0`.
text?: Text,
text?: #[text_component] string,
/// Line width in pixels used to split lines (note: new line can be also added with \n characters). Defaults to 200.
line_width?: int @ 0..,
/// Opacity (alpha component) of rendered text. Defaults to 255. Interpolated.
Expand Down

0 comments on commit 839ca29

Please sign in to comment.