Jump to content

[1.15.2] AbstractListEntry Render


TurtlesAreHot

Recommended Posts

  

So I have been trying to make a scrollable area where I can put text then a button for each entry that is in my AbstractList. I figured out how to render the AbstractList that I wanted, however, I do not understand how I can render anything from the AbstractListEntry. When I look into the class to see the render method I found the following:

 

@Override
	public abstract void render(int p_render_1_, int p_render_2_, int p_render_3_, int p_render_4_, int p_render_5_,
			int p_render_6_, int p_render_7_, boolean p_render_8_, float p_render_9_);

How am I suppose to render something to the screen with this? I just don't quite understand how I am suppose to render my entries to the screen. If anyone could help explain that and what each of the variables in this render method are, that'd be very nice :)

Edited by TurtlesAreHot
Adding version to title.
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.