Package net.minecraft.server.command
Class TeleportCommand
java.lang.Object
net.minecraft.server.command.TeleportCommand
- Mappings:
Namespace Name named net/minecraft/server/command/TeleportCommandintermediary net/minecraft/class_3143official aou
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final recordprivate static final recordprivate static interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intexecute(ServerCommandSource source, Collection<? extends Entity> targets, Entity destination) private static intexecute(ServerCommandSource source, Collection<? extends Entity> targets, ServerWorld world, PosArgument location, @Nullable PosArgument rotation, @Nullable TeleportCommand.LookTarget facingLocation) private static StringformatFloat(double d) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) private static voidteleport(ServerCommandSource source, Entity target, ServerWorld world, double x, double y, double z, Set<PositionFlag> movementFlags, float yaw, float pitch, @Nullable TeleportCommand.LookTarget facingLocation)
-
Field Details
-
INVALID_POSITION_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_POSITION_EXCEPTION- Mappings:
Namespace Name Mixin selector named INVALID_POSITION_EXCEPTIONLnet/minecraft/server/command/TeleportCommand;INVALID_POSITION_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_22255Lnet/minecraft/class_3143;field_22255:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official aLaou;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
TeleportCommand
public TeleportCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named registerLnet/minecraft/server/command/TeleportCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13760Lnet/minecraft/class_3143;method_13760(Lcom/mojang/brigadier/CommandDispatcher;)Vofficial aLaou;a(Lcom/mojang/brigadier/CommandDispatcher;)V
-
execute
private static int execute(ServerCommandSource source, Collection<? extends Entity> targets, Entity destination) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named executeLnet/minecraft/server/command/TeleportCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/entity/Entity;)Iintermediary method_13771Lnet/minecraft/class_3143;method_13771(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_1297;)Iofficial aLaou;a(Let;Ljava/util/Collection;Lbsr;)I
-
execute
private static int execute(ServerCommandSource source, Collection<? extends Entity> targets, ServerWorld world, PosArgument location, @Nullable @Nullable PosArgument rotation, @Nullable @Nullable TeleportCommand.LookTarget facingLocation) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named executeLnet/minecraft/server/command/TeleportCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/command/argument/PosArgument;Lnet/minecraft/command/argument/PosArgument;Lnet/minecraft/server/command/TeleportCommand$LookTarget;)Iintermediary method_13765Lnet/minecraft/class_3143;method_13765(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_3218;Lnet/minecraft/class_2267;Lnet/minecraft/class_2267;Lnet/minecraft/class_3143$class_3144;)Iofficial aLaou;a(Let;Ljava/util/Collection;Laqu;Lgr;Lgr;Laou$a;)I
-
formatFloat
- Mappings:
Namespace Name Mixin selector named formatFloatLnet/minecraft/server/command/TeleportCommand;formatFloat(D)Ljava/lang/String;intermediary method_36970Lnet/minecraft/class_3143;method_36970(D)Ljava/lang/String;official aLaou;a(D)Ljava/lang/String;
-
teleport
private static void teleport(ServerCommandSource source, Entity target, ServerWorld world, double x, double y, double z, Set<PositionFlag> movementFlags, float yaw, float pitch, @Nullable @Nullable TeleportCommand.LookTarget facingLocation) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named teleportLnet/minecraft/server/command/TeleportCommand;teleport(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/Entity;Lnet/minecraft/server/world/ServerWorld;DDDLjava/util/Set;FFLnet/minecraft/server/command/TeleportCommand$LookTarget;)Vintermediary method_13766Lnet/minecraft/class_3143;method_13766(Lnet/minecraft/class_2168;Lnet/minecraft/class_1297;Lnet/minecraft/class_3218;DDDLjava/util/Set;FFLnet/minecraft/class_3143$class_3144;)Vofficial aLaou;a(Let;Lbsr;Laqu;DDDLjava/util/Set;FFLaou$a;)V
-