Posted March 30, 20205 yr 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)
March 31, 20205 yr 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.
March 31, 20205 yr Author 2 minutes ago, Animefan8888 said: RenderWorldLastEvent Yes, but it are not provide way to bake custom render to chunk
March 31, 20205 yr 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.
March 31, 20205 yr 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 March 31, 20205 yr by hohserg
March 31, 20205 yr 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.
March 31, 20205 yr Author Just now, Animefan8888 said: You want to bake your rendering data into the chunks rendering data? Yes, I want it!
March 31, 20205 yr 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.
March 31, 20205 yr Author 2 minutes ago, Animefan8888 said: somewhere else What are any ways to add custom vertex data into chunks rendering data? Edited March 31, 20205 yr by hohserg
March 31, 20205 yr 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.