Contents
Interface BlockPhysicsUtil.SupportReader
- Enclosing class:
BlockPhysicsUtil
public static interface BlockPhysicsUtil.SupportReader
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandoesMissingNeighbourSatisfySupport(org.joml.Vector3ic neighbourDirection) getBlock(int x, int y, int z) default intgetMissingNeighbourSupportValue(int x, int y, int z) default intgetProtrudingFillerRotation(int x, int y, int z, int fallbackRotation) intgetSupportValue(int x, int y, int z) booleanisPositionAvailable(int x, int y, int z)
-
Method Details
-
isPositionAvailable
boolean isPositionAvailable(int x, int y, int z) -
getBlock
-
getSupportValue
int getSupportValue(int x, int y, int z) -
getMissingNeighbourSupportValue
default int getMissingNeighbourSupportValue(int x, int y, int z) -
doesMissingNeighbourSatisfySupport
default boolean doesMissingNeighbourSatisfySupport(@Nonnull org.joml.Vector3ic neighbourDirection) -
getProtrudingFillerRotation
default int getProtrudingFillerRotation(int x, int y, int z, int fallbackRotation)
-