Class SpectatorTeleportC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.SpectatorTeleportC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class SpectatorTeleportC2SPacket extends Object implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/c2s/play/SpectatorTeleportC2SPacket
intermediary net/minecraft/class_2884
official aic
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/c2s/play/SpectatorTeleportC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48224 Lnet/minecraft/class_2884;field_48224:Lnet/minecraft/class_9139;
      official a Laic;a:Lyw;
    • targetUuid

      private final UUID targetUuid
      Mappings:
      Namespace Name Mixin selector
      named targetUuid Lnet/minecraft/network/packet/c2s/play/SpectatorTeleportC2SPacket;targetUuid:Ljava/util/UUID;
      intermediary field_13129 Lnet/minecraft/class_2884;field_13129:Ljava/util/UUID;
      official b Laic;b:Ljava/util/UUID;
  • Constructor Details

    • SpectatorTeleportC2SPacket

      public SpectatorTeleportC2SPacket(UUID targetUuid)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/SpectatorTeleportC2SPacket;<init>(Ljava/util/UUID;)V
      intermediary <init> Lnet/minecraft/class_2884;<init>(Ljava/util/UUID;)V
      official <init> Laic;<init>(Ljava/util/UUID;)V
    • SpectatorTeleportC2SPacket

      private SpectatorTeleportC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/SpectatorTeleportC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2884;<init>(Lnet/minecraft/class_2540;)V
      official <init> Laic;<init>(Lvv;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/c2s/play/SpectatorTeleportC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_56004 Lnet/minecraft/class_2884;method_56004(Lnet/minecraft/class_2540;)V
      official a Laic;a(Lvv;)V
    • getPacketId

      public PacketType<SpectatorTeleportC2SPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzf;a()Lzh;
    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/c2s/play/SpectatorTeleportC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
      intermediary method_12542 Lnet/minecraft/class_2884;method_12542(Lnet/minecraft/class_2792;)V
      official a Laic;a(Lagh;)V
    • getTarget

      @Nullable public @Nullable Entity getTarget(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      named getTarget Lnet/minecraft/network/packet/c2s/play/SpectatorTeleportC2SPacket;getTarget(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/entity/Entity;
      intermediary method_12541 Lnet/minecraft/class_2884;method_12541(Lnet/minecraft/class_3218;)Lnet/minecraft/class_1297;
      official a Laic;a(Laqt;)Lbsq;