Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I made something I can call library. I was about to release it as help for other because it took me a while to make. But when I was creating example mod I run into 2 problems:

1) When custom rendered block is alone in chunk section (you know, that 16*16*16 section of chunk introduced with anvil file format) it's not rendering at all

2) When grass is rendered before it it takes green tint.

I guess that it's because of something that every single block in vanila minecraft does. Something that changes opacity, color and other properties. But I wasn't able to spot that in vanila code. (and I was reading it really carefuly since my library is derived from it) Some kind of flag or something like that. Do you know, what is it? Tessellator or opengl method?

Thank you very much for your help.

 

Github repository here: https://github.com/skore13/renderLib

Creator of easy custom renderer library without tile entity. https://github.com/skore13/renderLib

  • Author

Fixed block not showing in chunk section.

 

To fix it I had to return true in renderWorldBlock method.

That means that my library is fine. You can just go ahead and use it. If you use it in your mod please write a line about me. Also please star it on github if you are using it. And send me link to your mod. I just want to see if it's usefull.

Changelog: https://github.com/skore13/renderLib/commits/master

I'm going to add rotation and maybe other shapes so it is going to be more usefull in future.

Creator of easy custom renderer library without tile entity. https://github.com/skore13/renderLib

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.