net.minecraft.server.command

public class TeleportCommand

net.minecraft.server.commands.TeleportCommand
net.minecraft.class_3143
net.minecraft.server.command.TeleportCommand

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
INVALID_POSITION
field_22255
INVALID_POSITION_EXCEPTION
private static final ElementAggregator$Reporter1<Entity, Entity>
RESPONSE_TELEPORT_TO_ENTITY
field_1_7432
field_1_7432
private static final ElementAggregator$Reporter1<Entity, Vec3d>
RESPONSE_TELEPORT_TO_POS
field_1_7433
field_1_7433

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
method_13760(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int
teleportToEntity(CommandSourceStack source, Collection<? extends Entity> entities, Entity destination)
method_13771(class_2168 arg0, Collection<? extends class_1297> arg1, class_1297 arg2)
execute(ServerCommandSource source, Collection<? extends Entity> targets, Entity destination)
private static int
teleportToPos(CommandSourceStack source, Collection<? extends Entity> entities, ServerLevel level, Coordinates destination, Coordinates rotation, LookAt lookAt)
method_13765(class_2168 arg0, Collection<? extends class_1297> arg1, class_3218 arg2, class_2267 arg3, class_2267 arg4, class_3144 arg5)
execute(ServerCommandSource source, Collection<? extends Entity> targets, ServerWorld world, PosArgument location, PosArgument rotation, LookTarget facingLocation)
private static Set<PositionFlag>
getRelatives(Coordinates destination, Coordinates rotation, boolean sameDimension)
method_64266(class_2267 arg0, class_2267 arg1, boolean arg2)
getFlags(PosArgument pos, PosArgument rotation, boolean sameDimension)
private static String
formatDouble(double value)
method_36970(double arg0)
formatFloat(double d)
private static void
performTeleport(CommandSourceStack source, Entity victim, ServerLevel level, double x, double y, double z, Set<Relative> relatives, float yRot, float xRot, LookAt lookAt)
method_13766(class_2168 arg0, class_1297 arg1, class_3218 arg2, double arg3, double arg4, double arg5, Set<class_2709> arg6, float arg7, float arg8, class_3144 arg9)
teleport(ServerCommandSource source, Entity target, ServerWorld world, double x, double y, double z, Set<PositionFlag> movementFlags, float yaw, float pitch, LookTarget facingLocation)
private static int
lambda$register$7(com.mojang.brigadier.context.CommandContext arg0)
method_13769(com.mojang.brigadier.context.CommandContext arg0)
method_13769(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$6(com.mojang.brigadier.context.CommandContext arg0)
method_13758(com.mojang.brigadier.context.CommandContext arg0)
method_13758(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$5(com.mojang.brigadier.context.CommandContext arg0)
method_13762(com.mojang.brigadier.context.CommandContext arg0)
method_13762(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$4(com.mojang.brigadier.context.CommandContext arg0)
method_13767(com.mojang.brigadier.context.CommandContext arg0)
method_13767(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$3(com.mojang.brigadier.context.CommandContext arg0)
method_13761(com.mojang.brigadier.context.CommandContext arg0)
method_13761(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$2(com.mojang.brigadier.context.CommandContext arg0)
method_13759(com.mojang.brigadier.context.CommandContext arg0)
method_13759(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$1(com.mojang.brigadier.context.CommandContext arg0)
method_13770(com.mojang.brigadier.context.CommandContext arg0)
method_13770(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$0(com.mojang.brigadier.context.CommandContext arg0)
method_13768(com.mojang.brigadier.context.CommandContext arg0)
method_13768(com.mojang.brigadier.context.CommandContext context)
private static Text
lambda$static$3(int arg0, int arg1, Vec3 arg2)
method_1_6677(int arg0, int arg1, class_243 arg2)
method_1_6677(int arg0, int arg1, Vec3d arg2)
private static Text
lambda$static$2(Entity arg0, int arg1, Vec3 arg2)
method_1_6676(class_1297 arg0, int arg1, class_243 arg2)
method_1_6676(Entity arg0, int arg1, Vec3d arg2)
private static Text
lambda$static$1(int arg0, int arg1, Entity arg2)
method_1_6675(int arg0, int arg1, class_1297 arg2)
method_1_6675(int arg0, int arg1, Entity arg2)
private static Text
lambda$static$0(Entity arg0, int arg1, Entity arg2)
method_1_6674(class_1297 arg0, int arg1, class_1297 arg2)
method_1_6674(Entity arg0, int arg1, Entity arg2)