Package net.minecraft.util
Class TeleportationRepositioner
java.lang.Object
net.minecraft.util.TeleportationRepositioner
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLargestRectangleAround
(BlockPos p_243676_0_, Direction.Axis p_243676_1_, int p_243676_2_, Direction.Axis p_243676_3_, int p_243676_4_, Predicate<BlockPos> p_243676_5_) private static int
getLimit
(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,
Integer> getMaxRectangleLocation
(int[] p_243678_0_)
-
Constructor Details
-
TeleportationRepositioner
public TeleportationRepositioner()
-
-
Method Details
-
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_, Predicate<BlockPos> p_243676_5_) -
getLimit
private static int getLimit(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,Integer> getMaxRectangleLocation(int[] p_243678_0_)
-