程序包 net.minecraft
类 BlockUtil
java.lang.Object
net.minecraft.BlockUtil
-
嵌套类概要
嵌套类 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static BlockUtil.FoundRectangle
getLargestRectangleAround
(BlockPos pCenterPos, Direction.Axis pAxis1, int pMax1, Direction.Axis pAxis2, int pMax2, Predicate<BlockPos> pPosPredicate) private static int
getLimit
(Predicate<BlockPos> pPosPredicate, BlockPos.MutableBlockPos pCenterPos, Direction pDirection, int pMax) (专用程序包) static com.mojang.datafixers.util.Pair<BlockUtil.IntBounds,
Integer> getMaxRectangleLocation
(int[] pHeights) getTopConnectedBlock
(BlockGetter pGetter, BlockPos pPos, Block pBaseBlock, Direction pDirection, Block pEndBlock)
-
构造器详细资料
-
BlockUtil
public BlockUtil()
-
-
方法详细资料
-
getLargestRectangleAround
public static BlockUtil.FoundRectangle getLargestRectangleAround(BlockPos pCenterPos, Direction.Axis pAxis1, int pMax1, Direction.Axis pAxis2, int pMax2, Predicate<BlockPos> pPosPredicate) -
getLimit
private static int getLimit(Predicate<BlockPos> pPosPredicate, BlockPos.MutableBlockPos pCenterPos, Direction pDirection, int pMax) -
getMaxRectangleLocation
static com.mojang.datafixers.util.Pair<BlockUtil.IntBounds,Integer> getMaxRectangleLocation(int[] pHeights) -
getTopConnectedBlock
-