← Назад к ресурсам

forgematica Patch Mod

Forgematica Patch for NeoForge 21.1.235 Fixes IllegalAccessError caused by private access to BufferBuilder.building.

Modrinth game-mechanics utility

Описание

# Forgematica Patch This mod restores compatibility between Forgematica 0.4.2 and NeoForge 21.1.235. Without this patch, loading a schematic causes Forgematica to crash with an `IllegalAccessError` caused by access to the private `BufferBuilder.building` field. The patch uses a small Mixin compatibility layer without modifying Forgematica itself. ## Requirements - Minecraft 1.21.1 - NeoForge 21.1.235 - [Forgematica 0.4.2](https://modrinth.com/mod/forgematica) - [MaFgLib 0.4.3](https://modrinth.com/mod/mafglib) ## Problem Without this patch, loading a schematic causes Forgematica to crash with: ``` java.lang.IllegalAccessError: class fi.dy.masa.litematica.render.schematic.BufferBuilderCache tried to access private field com.mojang.blaze3d.vertex.BufferBuilder.building ``` This patch resolves the compatibility issue on NeoForge 21.1.235. ## Solution This patch restores compatibility between Forgematica 0.4.2 and NeoForge 21.1.235. ## Notes This is a compatibility patch only. It does **not** add new features or change Forgematica's functionality. It does **not** modify any Forgematica files. It can be removed at any time without affecting your worlds or schematics.