Jump to content

Text formatting in Minecraft


Alan Watts

Recommended Posts

Hi!

I want to draw a string with a black outline like minecraft does when drawing your current level.

 

Like this:

1002058872_.png.c469cafd117d966548f0c449021c7db1.png

 

I tried net.minecraft.util.text.TextFormatting but that didnt provide the features to do this.

Does minecraft/forge provide any tools that provide a greater amount of text formatting than text.TextFormatting or is there another way to do this?

Thank you for trying to help me :)

Link to comment
Share on other sites

8 minutes ago, Alan Watts said:

I want to draw a string with a black outline like minecraft does when drawing your current level.

The level is rendered in GuiIngameForge starting at line 593 to line 606.

  • Thanks 1

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.