RenderChunk rebuildChunk Hooks

Quick rating

Community listing page, reviews here may not be monitored by the author.

RenderChunk rebuildChunk Hooks

No reviews yet

Core Mod for 1.12.2 to add hooks into RenderChunk#rebuildChunk

Mod Loaders
Forge
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
1.12.2-0.3.1

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Depreciated

This mod is not stable on 1.13.2 and will not be maintained into 1.14. Mods that required this API have now moved the functionality that this mod provided into their own mods.

This mod still exists for legacy support for 1.12.2 mods.

A small(ish) Coremod for 1.12.2 to inject hooks into RenderChunk#rebuildChunk to allow Modders to add their own custom chunk rendering logic and other chunk rendering related modifications.

This mod provides configurable events that Modders can use for various chunk/world-related rendering logic
- The RebuildChunkPre is called before any chunk rebuilding is done or the generator's compiledchunk is set. It allows access to, and setting of, the World
- The RebuildChunkPreRenderSetupEvent is called before any chunk rebuilding is done and allows access to, and setting of, the RenderChunkCache
- The RebuildChunkPreRenderEvent is called before any chunk rendering is done and allows access to the BlockRendererDispatcher and the usedRenderLayer boolean array
- The RebuildChunkFluidRenderInLayerEvent allows Modders to modify the BlockRenderLayers that fluids can render in
- The RebuildChunkFluidEvent is called for every BlockRenderLayer for every fluid and allows Modders to add their own logic
- The RebuildChunkBlockRenderInTypeEvent allows Modders to modify the EnumBlockRenderType that blocks can render in
- The RebuildChunkBlockRenderInLayerEvent allows Modders to modify the BlockRenderLayers that blocks can render in
- The RebuildChunkBlockEvent is called for every BlockRenderLayer for every block and allows Modders to add their own logic
- The RebuildChunkPostRenderEvent is called after all chunk rebuilding logic is done but before Tile Entities are updated
- The RebuildChunkPostEvent is called right before the method returns


Note: OptiFine changes many things about rendering, so sub-events are fired when OptiFine is present. Sub events are the same as the their parents but allows access to OptiFine-related objects.


Note: These events are only enabled if mods require them, to keep overhead at a minumum. Hooks will still be injected

See the Project Website for more info.

Support

We currently support any combination of the below on the same Forge version

Name Version Forge Version Minecraft Version Mod Version
Forge 25.0.20 1.13.2 - 25.0.20 1.13.2 1.13.2-0.6.0
Forge 14.23.5.2795 1.12.2 - 14.23.5.2795 1.12.2 1.12.2-0.3.1
BetterFoliage MC1.12-2.2.0 1.12.2 - 14.23.5.2795 1.12.2 1.12.2-0.3.1
Optifine HD_U_E3 1.12.2 - 14.23.5.2795 1.12.2 1.12.2-0.3.1
Forge 14.23.5.2768 1.12.2 - 14.23.5.2768 1.12.2 1.12.2-0.3.1
BetterFoliage MC1.12-2.2.0 1.12.2 - 14.23.5.2768 1.12.2 1.12.2-0.3.1

Compatibility

If another core-mod tries to tamper with RenderChunk#rebuildChunk, it is possible that the game will crash. Report it to me and them, and I'll try and fix it myself or work with them to solve the problem!

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~38,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works