Package codechicken.microblock.util
Class MicroOcclusionHelper
java.lang.Object
codechicken.microblock.util.MicroOcclusionHelper
Created by covers1624 on 10/7/22.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intrecalcBounds(IMicroShrinkRender p, codechicken.lib.vec.Cuboid6 renderBounds) static intshapePriority(int slot) static voidshrink(codechicken.lib.vec.Cuboid6 renderBounds, codechicken.lib.vec.Cuboid6 b, int side) static intshrink(IMicroShrinkRender p, codechicken.lib.vec.Cuboid6 renderBounds, int m) static intshrinkFrom(IMicroShrinkRender p, IMicroShrinkRender other, codechicken.lib.vec.Cuboid6 renderBounds) static intshrinkSide(int s1, int s2) static boolean
-
Constructor Details
-
MicroOcclusionHelper
public MicroOcclusionHelper()
-
-
Method Details
-
shrink
public static void shrink(codechicken.lib.vec.Cuboid6 renderBounds, codechicken.lib.vec.Cuboid6 b, int side) -
shrinkFrom
public static int shrinkFrom(IMicroShrinkRender p, IMicroShrinkRender other, codechicken.lib.vec.Cuboid6 renderBounds) -
shrink
-
shrinkSide
public static int shrinkSide(int s1, int s2) -
recalcBounds
-
shapePriority
public static int shapePriority(int slot) -
shrinkTest
-