类 TeleportCommand
- java.lang.Object
-
- net.minecraft.server.command.TeleportCommand
-
public class TeleportCommand extends Object
- Mappings:
Namespace Name official zuintermediary net/minecraft/class_3143named net/minecraft/server/command/TeleportCommand
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 (专用程序包) static classTeleportCommand.LookTarget
-
字段概要
字段 修饰符和类型 字段 说明 private static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeINVALID_POSITION_EXCEPTION
-
构造器概要
构造器 构造器 说明 TeleportCommand()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 private 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)static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)private static voidteleport(ServerCommandSource source, Entity target, ServerWorld world, double x, double y, double z, Set<PlayerPositionLookS2CPacket.Flag> movementFlags, float yaw, float pitch, @Nullable TeleportCommand.LookTarget facingLocation)
-
-
-
字段详细资料
-
INVALID_POSITION_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_POSITION_EXCEPTION
- Mappings:
Namespace Name Mixin selector official aLzu;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_22255Lnet/minecraft/class_3143;field_22255:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named INVALID_POSITION_EXCEPTIONLnet/minecraft/server/command/TeleportCommand;INVALID_POSITION_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
方法详细资料
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
- Mappings:
Namespace Name Mixin selector official aLzu;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13760Lnet/minecraft/class_3143;method_13760(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/command/TeleportCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
execute
private static int execute(ServerCommandSource source, Collection<? extends Entity> targets, Entity destination) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLzu;a(Ldg;Ljava/util/Collection;Lasl;)Iintermediary method_13771Lnet/minecraft/class_3143;method_13771(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_1297;)Inamed executeLnet/minecraft/server/command/TeleportCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/entity/Entity;)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
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLzu;a(Ldg;Ljava/util/Collection;Labj;Ler;Ler;Lzu$a;)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;)Inamed 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;)I
-
teleport
private static void teleport(ServerCommandSource source, Entity target, ServerWorld world, double x, double y, double z, Set<PlayerPositionLookS2CPacket.Flag> movementFlags, float yaw, float pitch, @Nullable @Nullable TeleportCommand.LookTarget facingLocation) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLzu;a(Ldg;Lasl;Labj;DDDLjava/util/Set;FFLzu$a;)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;)Vnamed 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;)V
-
-