Class TeleportCommand.LookTarget

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

private static class TeleportCommand.LookTarget extends Object
Mappings:
Namespace Name
official afw$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 Lafw$a;a:Leae;
      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 Lafw$a;b:Lbdr;
      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 Lafw$a;c:Ldx$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> Lafw$a;<init>(Lbdr;Ldx$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> Lafw$a;<init>(Leae;)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 Lafw$a;a(Ldn;Lbdr;)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