Files
ForgeMultipart/src/main/java/codechicken/multipart/JPartialOcclusion.java
T
Algent a0428b9994 refactor: port partial occlusion to Java
Keep the Scala trait helper so reference-compiled implementations remain linkable.
2026-08-14 18:24:59 +02:00

16 lines
401 B
Java

package codechicken.multipart;
import codechicken.lib.vec.Cuboid6;
/** Java callbacks for partial occlusion testing. */
public interface JPartialOcclusion {
/** Returns the partial occlusion boxes. */
Iterable<Cuboid6> getPartialOcclusionBoxes();
/** Returns whether this part may be completely obscured. */
default boolean allowCompleteOcclusion() {
return false;
}
}