mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-26 23:13:07 +00:00
Keep the Scala trait helper so reference-compiled implementations remain linkable.
16 lines
401 B
Java
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;
|
|
}
|
|
}
|