RenderTypeCache
Modby _nArUTo_
Cache the chunk buffer layers to avoid unnecessary memory leak.
Type
Mod
CurseForge Downloads
102,916
CurseForge ID
905817
Last Updated
Apr 13, 2026
Description
Embeddium / Rubidium includes this patch now. Unless you are not using them, there is no need to download this mod!
This mod may not be compatible with OptiFine!
This is a very simple client-side only mod, with only one mixin class.
It caches the immutable list returned by the chunkBufferLayers method in the RenderType class.
This should also fix a memory leak caused by Rubidium (Not Sodium, this problem only occurs on Rubidium), see Rubidium#178
In version 1.16.5, an investigation revealed that many well-known mods like Create, Cracker's Wither Storm Mod, AE2, and many others also have similar calls in their rendering code. Initially, this mod was created to address the memory leak issue with Rubidium, but now it seems its potential has expanded.
This mod is unnecessary in Minecraft versions 1.19.2 or above because Mojang has already implemented the same caching there.
Join Our discord: https://discord.gg/g8q3UHTpCP!
Similar Mods
SpoiledZ
Fabric seasons mod addon which adds spoilage to food items
ExtendedDrawersAddon
Addon for extended drawers mod to enhance visuals and mechanic
Perfect Homestead Plushies
Perfect Plushies for the Homstead Modpack
Pigeon's Poke Pack [1.7.0] - Fang and Claw
Models for Pokémon that may or may not have them. Newly added: Zangoose and Seviper
Extract Poison
🐍 Extract poison from cave spiders, pufferfish and bees with an empty glass bottle.
Block Variants
Expand your building block selection
