Package net.minecraft
Class BlockUtil
java.lang.Object
net.minecraft.BlockUtil
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BlockUtil.FoundRectangle
getLargestRectangleAround(BlockPos p_124335_, Direction.Axis p_124336_, int p_124337_, Direction.Axis p_124338_, int p_124339_, Predicate<BlockPos> p_124340_)
private static int
getLimit(Predicate<BlockPos> p_124342_, BlockPos.MutableBlockPos p_124343_, Direction p_124344_, int p_124345_)
(package private) static com.mojang.datafixers.util.Pair<BlockUtil.IntBounds,Integer>
getMaxRectangleLocation(int[] p_124347_)
getTopConnectedBlock(BlockGetter p_177846_, BlockPos p_177847_, Block p_177848_, Direction p_177849_, Block p_177850_)
-
Constructor Details
-
BlockUtil
public BlockUtil()
-
-
Method Details
-
getLargestRectangleAround
public static BlockUtil.FoundRectangle getLargestRectangleAround(BlockPos p_124335_, Direction.Axis p_124336_, int p_124337_, Direction.Axis p_124338_, int p_124339_, Predicate<BlockPos> p_124340_) -
getLimit
private static int getLimit(Predicate<BlockPos> p_124342_, BlockPos.MutableBlockPos p_124343_, Direction p_124344_, int p_124345_) -
getMaxRectangleLocation
static com.mojang.datafixers.util.Pair<BlockUtil.IntBounds,Integer> getMaxRectangleLocation(int[] p_124347_) -
getTopConnectedBlock
-