Package net.minecraft.server.command
Class TeleportCommand
java.lang.Object
net.minecraft.server.command.TeleportCommand
- Mappings:
- Namespace - Name - named - net/minecraft/server/command/TeleportCommand- intermediary - net/minecraft/class_3143- official - apb
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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 LookTarget facingLocation) private static StringformatFloat(double d) private static Set<PositionFlag> getFlags(PosArgument pos, @Nullable PosArgument rotation, boolean sameDimension) 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 LookTarget facingLocation) 
- 
Field Details- 
INVALID_POSITION_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_POSITION_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - INVALID_POSITION_EXCEPTION- Lnet/minecraft/server/command/TeleportCommand;INVALID_POSITION_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_22255- Lnet/minecraft/class_3143;field_22255:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - a- Lapb;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
 
- 
- 
Constructor Details- 
TeleportCommandpublic TeleportCommand()
 
- 
- 
Method Details- 
register- Mappings:
- Namespace - Name - Mixin selector - named - register- Lnet/minecraft/server/command/TeleportCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V- intermediary - method_13760- Lnet/minecraft/class_3143;method_13760(Lcom/mojang/brigadier/CommandDispatcher;)V- official - a- Lapb;a(Lcom/mojang/brigadier/CommandDispatcher;)V
 
- 
executeprivate 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 - execute- Lnet/minecraft/server/command/TeleportCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/entity/Entity;)I- intermediary - method_13771- Lnet/minecraft/class_3143;method_13771(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_1297;)I- official - a- Lapb;a(Lex;Ljava/util/Collection;Lbum;)I
 
- 
executeprivate static int execute(ServerCommandSource source, Collection<? extends Entity> targets, ServerWorld world, PosArgument location, @Nullable @Nullable PosArgument rotation, @Nullable @Nullable LookTarget facingLocation) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - execute- Lnet/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/LookTarget;)I- intermediary - method_13765- Lnet/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_3144;)I- official - a- Lapb;a(Lex;Ljava/util/Collection;Lard;Lgv;Lgv;Lano;)I
 
- 
getFlagsprivate static Set<PositionFlag> getFlags(PosArgument pos, @Nullable @Nullable PosArgument rotation, boolean sameDimension) - Mappings:
- Namespace - Name - Mixin selector - named - getFlags- Lnet/minecraft/server/command/TeleportCommand;getFlags(Lnet/minecraft/command/argument/PosArgument;Lnet/minecraft/command/argument/PosArgument;Z)Ljava/util/Set;- intermediary - method_64266- Lnet/minecraft/class_3143;method_64266(Lnet/minecraft/class_2267;Lnet/minecraft/class_2267;Z)Ljava/util/Set;- official - a- Lapb;a(Lgv;Lgv;Z)Ljava/util/Set;
 
- 
formatFloat- Mappings:
- Namespace - Name - Mixin selector - named - formatFloat- Lnet/minecraft/server/command/TeleportCommand;formatFloat(D)Ljava/lang/String;- intermediary - method_36970- Lnet/minecraft/class_3143;method_36970(D)Ljava/lang/String;- official - a- Lapb;a(D)Ljava/lang/String;
 
- 
teleportprivate static void teleport(ServerCommandSource source, Entity target, ServerWorld world, double x, double y, double z, Set<PositionFlag> movementFlags, float yaw, float pitch, @Nullable @Nullable LookTarget facingLocation) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - teleport- Lnet/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/LookTarget;)V- intermediary - method_13766- Lnet/minecraft/class_3143;method_13766(Lnet/minecraft/class_2168;Lnet/minecraft/class_1297;Lnet/minecraft/class_3218;DDDLjava/util/Set;FFLnet/minecraft/class_3144;)V- official - a- Lapb;a(Lex;Lbum;Lard;DDDLjava/util/Set;FFLano;)V
 
 
-