Jump to content

[1.16.1] Rendering a line


DavidQF555

Recommended Posts

I have a Screen, and I am trying to render a line using hLine(), which I assume is just horizontal line. I'm trying to reach a stopping point on 1.16.1 before switching, so I have outdated mappings. I don't really know what the parameters for it are, but I believe it's (matrixStack, x, y, length, color). However, when I use it, it does not render anything. I swapped around all the parameters and even set them all to 20, which means that I should see the line no matter what. What am I doing wrong?

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

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