[MAP MAKING] Font Pixel Spacers! Align text perfectly anywhere!

  • check_circle Font
  • 12
  • 7
  • 5
avatar Bertiecrafter
Level 54 : Grandmaster Cyborg
155

This resource pack contains a custom font containing of pixel spacers!


The Minecraft JSON text format is everywhere. You can use it in /tellraw, books, signs, on-screen titles, entity names, container names, team prefix/suffix and more. The problem is that each character has a different width and therefore, multi-line text tends to misalign quite often.

Simply enforce the resource pack in a server or world save and use the following format to align your text pixel by pixel:
{"text":"1","font":"space"}The text indicates the space in pixels, between 1 and 4. Note that a normal space is 4 pixels wide.

Examples
Single space:
tellraw @p {"text":"1 space\ni","extra":[{"text":" "},{"text":"|\nl"},{"text":" "},{"text":"|\nI"},{"text":" "},{"text":"|\nf"},{"text":" "},{"text":"|\nA"},{"text":" "},{"text":"|"}]}

Attempted aligning using extra spaces:tellraw @p {"text":"Aligning Attempt\ni","extra":[{"text":" "},{"text":"|\nl"},{"text":" "},{"text":"|\nI"},{"text":" "},{"text":"|\nf"},{"text":" "},{"text":"|\nA"},{"text":" "},{"text":"|"}]}


Perfect alignment using resource pack:tellraw @p {"text":"Perfect Alignment\ni","extra":[{"text":" "},{"text":"|\nl"},{"text":" 3","font":"space"},{"text":"|\nI"},{"text":" 2","font":"space"},{"text":"|\nf"},{"text":" 1","font":"space"},{"text":"|\nA"},{"text":" "},{"text":"|"}]}

Now for a small bit of text like this it seems like a lot of extra work, but normally the chance is quite high that you already have the "extra" array and it's just a matter of adding the {"text":" 1","font":"space"} (or whatever spacing) in between.
Progress100% complete
Game VersionMinecraft 1.16
Resolution8x
Tags

1
08/15/2020 2:23 pm
Level 2 : Apprentice Miner
MrSlimeOfSlime
neat
but would be included in map most likely
1
08/05/2020 4:48 amhistory
Level 54 : Grandmaster Cyborg
Bertiecrafter
Thank you pettyGamingHD, Nitrox Nova, Dman48091, CorporalKeith, Luracasmus, iiFOXXER, Skivo, Yolo4321, FireNH and Francielly for the diamonds!
2
08/04/2020 6:49 pm
Level 18 : Journeyman Archer
iiFOXXER
I actually needed this...
1
08/05/2020 4:47 am
Level 54 : Grandmaster Cyborg
Bertiecrafter
Haha and here was me thinking I would be the only one nerding out about this. I just gave myself another thing to spend hours on perfecting XD
2
08/04/2020 7:51 pm
Level 1 : New Miner
Pyroprysm
Then get it...
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome