Class TeleportCommand.LookTarget

java.lang.Object
net.minecraft.server.command.TeleportCommand.LookTarget
Enclosing class:
TeleportCommand

static class TeleportCommand.LookTarget
extends Object
Mappings:
Namespace Name
official zg$a
intermediary net/minecraft/class_3143$class_3144
named net/minecraft/server/command/TeleportCommand$LookTarget
  • Field Details

    • targetPos

      private final Vec3d targetPos
      Mappings:
      Namespace Name Mixin selector
      official a Lzg$a;a:Ldiu;
      intermediary field_13760 Lnet/minecraft/class_3143$class_3144;field_13760:Lnet/minecraft/class_243;
      named targetPos Lnet/minecraft/server/command/TeleportCommand$LookTarget;targetPos:Lnet/minecraft/util/math/Vec3d;
    • target

      private final Entity target
      Mappings:
      Namespace Name Mixin selector
      official b Lzg$a;b:Laqv;
      intermediary field_13758 Lnet/minecraft/class_3143$class_3144;field_13758:Lnet/minecraft/class_1297;
      named target Lnet/minecraft/server/command/TeleportCommand$LookTarget;target:Lnet/minecraft/entity/Entity;
    • targetAnchor

      private final EntityAnchorArgumentType.EntityAnchor targetAnchor
      Mappings:
      Namespace Name Mixin selector
      official c Lzg$a;c:Ldj$a;
      intermediary field_13759 Lnet/minecraft/class_3143$class_3144;field_13759:Lnet/minecraft/class_2183$class_2184;
      named targetAnchor Lnet/minecraft/server/command/TeleportCommand$LookTarget;targetAnchor:Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;
  • Constructor Details

    • LookTarget

      public LookTarget​(Entity target, EntityAnchorArgumentType.EntityAnchor targetAnchor)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzg$a;<init>(Laqv;Ldj$a;)V
      intermediary <init> Lnet/minecraft/class_3143$class_3144;<init>(Lnet/minecraft/class_1297;Lnet/minecraft/class_2183$class_2184;)V
      named <init> Lnet/minecraft/server/command/TeleportCommand$LookTarget;<init>(Lnet/minecraft/entity/Entity;Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;)V
    • LookTarget

      public LookTarget​(Vec3d targetPos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzg$a;<init>(Ldiu;)V
      intermediary <init> Lnet/minecraft/class_3143$class_3144;<init>(Lnet/minecraft/class_243;)V
      named <init> Lnet/minecraft/server/command/TeleportCommand$LookTarget;<init>(Lnet/minecraft/util/math/Vec3d;)V
  • Method Details

    • look

      public void look​(ServerCommandSource source, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lzg$a;a(Ldb;Laqv;)V
      intermediary method_13772 Lnet/minecraft/class_3143$class_3144;method_13772(Lnet/minecraft/class_2168;Lnet/minecraft/class_1297;)V
      named look Lnet/minecraft/server/command/TeleportCommand$LookTarget;look(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/Entity;)V