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

In version 1.7.10 exists RenderWorldEvent: https://github.com/MinecraftForge/MinecraftForge/blob/1.7.10/src/main/java/net/minecraftforge/client/event/RenderWorldEvent.java

Event handling of this can be used for bake some world chunks render

Any ways for analogue in new versions?

 

Something about my task:

I have RenderWorldLastEvent handler with some world rendering which do not change until next chunk rebuild(like until blocks change). And I think that may be good idea that bake it render in chunk like block render

 

Thx for answers in advance)

7 hours ago, hohserg said:

Up

There doesn't seem to be an appropriate event for what you are wanting to do on 1.15.2. I'm not sure what you want to do, but there is RenderWorldLastEvent in 1.14.4

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

  • Author
2 minutes ago, Animefan8888 said:

RenderWorldLastEvent

Yes, but it are not provide way to bake custom render to chunk

1 minute ago, hohserg said:

Yes, but it are not provide way to bake custom render to chunk

There is no way for me to know what you want to do if you don't explain it. Please explain what exactly you want to do.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

  • Author

Ok, step by step. Abstractly, ok?

I have some render code in RenderWorldLastEvent handler.

It render dependent on some my state(mutable variable, as example).

It state can change only with changing blocks in chunk.

So render can change only with changing blocks in chunk too.

 

Therefore I want to bake it render in chunk like baked blocks models.

In version 1.7.10 it may be implement by using RenderWorldEvent, because it event fire before and after chunks render and baked with him

 

Plz, tell me moment with which it is not clear

Edited by hohserg

24 minutes ago, hohserg said:

Therefore I want to bake it render in chunk like baked blocks models.

This part is where I lose you. You want to bake your rendering data into the chunks rendering data?

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

  • Author
Just now, Animefan8888 said:

You want to bake your rendering data into the chunks rendering data?

Yes, I want it!

4 minutes ago, hohserg said:

Yes, I want it!

There is no event for that. You will need to bake your data somewhere else.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

  • Author
2 minutes ago, Animefan8888 said:

somewhere else

What are any ways to add custom vertex data into chunks rendering data?

Edited by hohserg

2 minutes ago, hohserg said:

What are some ways to add custom vertex data into chunks rendering data?

You could look at ChunkRenderDispatcher, RegionRenderCacheBuilder, and WorldRenderer to figure out where and how.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

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.