Back to mods
RenderChunk rebuildChunk Hooks project artwork

CurseForge · Minecraft mod

RenderChunk rebuildChunk Hooks

Core Mod for 1.12.2 to add hooks into RenderChunk#rebuildChunk

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which RenderChunk rebuildChunk Hooks release should I use?

Updated 7 years ago
beta file 1.12.2-0.3.1
Game version 1.12.2
Loader Not required

RenderChunk rebuildChunk Hooks 1.12.2-0.3.1 targets 1.12.2. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is RenderChunk rebuildChunk Hooks required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release No loader listed
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does RenderChunk rebuildChunk Hooks 1.12.2-0.3.1 need?

1.12.2-0.3.1. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add RenderChunk rebuildChunk Hooks without breaking your instance.

Built for RenderChunk rebuildChunk Hooks 1.12.2-0.3.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.12.2-0.3.1. It targets 1.12.2; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.12.2-0.3.1. It opens that exact file at the source.

About this project

What does RenderChunk rebuildChunk Hooks add?

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!

Project description from CurseForge.

Pick your setup

RenderChunk rebuildChunk Hooks by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

RenderChunk rebuildChunk Hooks versions and loaders

6 of 6 releases match

Looking for an older file? The official CurseForge project page is in Resources.