Class TeleportTarget

java.lang.Object
net.minecraft.world.TeleportTarget

public class TeleportTarget extends Object
Represents the position that an entity takes after being moved between worlds.
Mappings:
Namespace Name
official dqt
intermediary net/minecraft/class_5454
named net/minecraft/world/TeleportTarget
  • Field Details

    • position

      public final Vec3d position
      Mappings:
      Namespace Name Mixin selector
      official a Ldqt;a:Ldwq;
      intermediary field_25879 Lnet/minecraft/class_5454;field_25879:Lnet/minecraft/class_243;
      named position Lnet/minecraft/world/TeleportTarget;position:Lnet/minecraft/util/math/Vec3d;
    • velocity

      public final Vec3d velocity
      Mappings:
      Namespace Name Mixin selector
      official b Ldqt;b:Ldwq;
      intermediary field_25880 Lnet/minecraft/class_5454;field_25880:Lnet/minecraft/class_243;
      named velocity Lnet/minecraft/world/TeleportTarget;velocity:Lnet/minecraft/util/math/Vec3d;
    • yaw

      public final float yaw
      Mappings:
      Namespace Name Mixin selector
      official c Ldqt;c:F
      intermediary field_25881 Lnet/minecraft/class_5454;field_25881:F
      named yaw Lnet/minecraft/world/TeleportTarget;yaw:F
    • pitch

      public final float pitch
      Mappings:
      Namespace Name Mixin selector
      official d Ldqt;d:F
      intermediary field_25882 Lnet/minecraft/class_5454;field_25882:F
      named pitch Lnet/minecraft/world/TeleportTarget;pitch:F
  • Constructor Details

    • TeleportTarget

      public TeleportTarget(Vec3d position, Vec3d velocity, float yaw, float pitch)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldqt;<init>(Ldwq;Ldwq;FF)V
      intermediary <init> Lnet/minecraft/class_5454;<init>(Lnet/minecraft/class_243;Lnet/minecraft/class_243;FF)V
      named <init> Lnet/minecraft/world/TeleportTarget;<init>(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;FF)V