Text coordinates overlay issues

Started by volker1 on Thu, 05/06/2021 - 19:52

Topic category: Help with MCreator software

Last seen on 15:35, 7. Jun 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Text coordinates overlay issues
Thu, 05/06/2021 - 19:52

Hello. I downloaded MCreator yesterday and I did a bunch of stuff with it.

I am making a mod that lets you see your coordinates in the bottom right corner of your screen. I added an overlay with text on the bottom right corner, but I had some problems with everything.

First of all, I was confused with the text block "replace () with () on (). I do not know what to put in the "on" slot to make it show up on my HUD. I tried a few different methods, but right now I am using something I think might not work. I have a picture of what I eventually came up with down below.

Second, the text doesn't show up in the right place on screen. 

Third, how would I set this up to actually make these changes? Do I do what I did here? or is there something different I need to do? I think the print command might not work, but I was just trying to at least get some sort of output.

My long-term goal is to make a mod that displays a bunch of information on your HUD, such as your armor, coordinates, an image that shows the quadrant you are in, Minecraft username, etc. It would not be server-side, but it would not give you an unfair advantage at all. I know I could "JuSt dOwNlOaD a MoD", but I wanted to learn how to make my own.

 

Images below

My code
This is my code.
mods list
My mods list. (MultiMC) my first fabric mod will not be loaded, btu Fabric API and the mod I am talking about is volkermod.
Picture of my overlay editor
My Overlay Editor​​
in-game screenshot
in-game screenshot

other ss

Last seen on 23:32, 17. May 2021
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I don't know if it will work…
Fri, 05/07/2021 - 03:13

I don't know if it will work for what you use, but...
there is no "on player tick update"
there you would put all the time X Y Z (Use nbt tag where you convert everything to a single text).
then in the overlay there is an option to use nbt

I'm not sure if it will work for you