public class DimensionHelper
extends java.lang.Object
| Constructor and Description | 
|---|
DimensionHelper()  | 
| Modifier and Type | Method and Description | 
|---|---|
static net.minecraft.util.math.BlockPos | 
findLocation(net.minecraft.world.server.ServerWorld world,
            net.minecraft.entity.player.ServerPlayerEntity player,
            double x,
            double y,
            double z)  | 
static net.minecraft.util.math.BlockPos | 
findPosition(net.minecraft.world.server.ServerWorld level,
            net.minecraft.util.math.BlockPos pos,
            net.minecraft.util.Direction.Axis axis)  | 
static int[] | 
findSafeTeleportLocation(net.minecraft.world.server.ServerWorld world,
                        double x,
                        double y,
                        double z)  | 
static net.minecraft.util.RegistryKey<net.minecraft.world.World> | 
getDimension(net.minecraft.util.ResourceLocation key)  | 
static net.minecraft.util.RegistryKey<net.minecraft.world.World> | 
getDimension(java.lang.String dimension)  | 
static java.util.Optional<net.minecraft.world.server.ServerWorld> | 
getWorld(net.minecraft.util.RegistryKey<net.minecraft.world.World> key)  | 
static java.util.Optional<net.minecraft.world.server.ServerWorld> | 
getWorld(java.lang.String key)  | 
static void | 
teleport(net.minecraft.entity.player.ServerPlayerEntity entity,
        java.lang.String dimension,
        double x,
        double y,
        double z)  | 
static void | 
teleport(net.minecraft.entity.player.ServerPlayerEntity entity,
        java.lang.String dimension,
        double x,
        double y,
        double z,
        float yaw,
        float pitch)  | 
public static void teleport(net.minecraft.entity.player.ServerPlayerEntity entity,
                            java.lang.String dimension,
                            double x,
                            double y,
                            double z)
public static void teleport(net.minecraft.entity.player.ServerPlayerEntity entity,
                            java.lang.String dimension,
                            double x,
                            double y,
                            double z,
                            float yaw,
                            float pitch)
public static net.minecraft.util.math.BlockPos findPosition(net.minecraft.world.server.ServerWorld level,
                                                            net.minecraft.util.math.BlockPos pos,
                                                            net.minecraft.util.Direction.Axis axis)
public static net.minecraft.util.math.BlockPos findLocation(net.minecraft.world.server.ServerWorld world,
                                                            net.minecraft.entity.player.ServerPlayerEntity player,
                                                            double x,
                                                            double y,
                                                            double z)
public static int[] findSafeTeleportLocation(net.minecraft.world.server.ServerWorld world,
                                             double x,
                                             double y,
                                             double z)
public static net.minecraft.util.RegistryKey<net.minecraft.world.World> getDimension(java.lang.String dimension)
public static net.minecraft.util.RegistryKey<net.minecraft.world.World> getDimension(net.minecraft.util.ResourceLocation key)
public static java.util.Optional<net.minecraft.world.server.ServerWorld> getWorld(net.minecraft.util.RegistryKey<net.minecraft.world.World> key)
public static java.util.Optional<net.minecraft.world.server.ServerWorld> getWorld(java.lang.String key)