Package net.minecraft.util
Class TeleportationRepositioner
- java.lang.Object
-
- net.minecraft.util.TeleportationRepositioner
-
public class TeleportationRepositioner extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TeleportationRepositioner.IntBounds
static class
TeleportationRepositioner.Result
-
Constructor Summary
Constructors Constructor Description TeleportationRepositioner()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TeleportationRepositioner.Result
getLargestRectangleAround(BlockPos p_243676_0_, Direction.Axis p_243676_1_, int p_243676_2_, Direction.Axis p_243676_3_, int p_243676_4_, java.util.function.Predicate<BlockPos> p_243676_5_)
private static int
getLimit(java.util.function.Predicate<BlockPos> p_243677_0_, BlockPos.Mutable p_243677_1_, Direction p_243677_2_, int p_243677_3_)
(package private) static com.mojang.datafixers.util.Pair<TeleportationRepositioner.IntBounds,java.lang.Integer>
getMaxRectangleLocation(int[] p_243678_0_)
-
-
-
Method Detail
-
getLargestRectangleAround
public static TeleportationRepositioner.Result getLargestRectangleAround(BlockPos p_243676_0_, Direction.Axis p_243676_1_, int p_243676_2_, Direction.Axis p_243676_3_, int p_243676_4_, java.util.function.Predicate<BlockPos> p_243676_5_)
-
getLimit
private static int getLimit(java.util.function.Predicate<BlockPos> p_243677_0_, BlockPos.Mutable p_243677_1_, Direction p_243677_2_, int p_243677_3_)
-
getMaxRectangleLocation
static com.mojang.datafixers.util.Pair<TeleportationRepositioner.IntBounds,java.lang.Integer> getMaxRectangleLocation(int[] p_243678_0_)
-
-