refactor: port micro occlusion client to Java

This commit is contained in:
Algent committed 2026-09-04 00:32:48 +02:00
1 parent d69d12be68
commit fa41ae0609
6 files changed
+62 -23

No files matched your search

@@ -0,0 +1,12 @@
package codechicken.microblock;
/** Render-state updates behind the retained Scala state accessors and lifecycle super bridges. */
final class TMicroOcclusionClientLogic {
private TMicroOcclusionClientLogic() {}
static void recalcBounds(TMicroOcclusionClient part) {
part.renderBounds_$eq(part.getBounds().copy());
part.renderMask_$eq(MicroOcclusion$.MODULE$.recalcBounds(part, part.renderBounds()));
}
}