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
named net/minecraft/world/TeleportTarget
intermediary net/minecraft/class_5454
official eov
  • Field Details

    • position

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

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

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

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

    • TeleportTarget

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