mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-27 15:33:05 +00:00
refactor: port micro occlusion client to Java
This commit is contained in:
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()));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user