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

    • position

      public final Vec3d position
      Mappings:
      Namespace Name Mixin selector
      official a Lebj;a:Lehn;
      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 Lebj;b:Lehn;
      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 Lebj;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 Lebj;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> Lebj;<init>(Lehn;Lehn;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