Class SetCameraEntityS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.SetCameraEntityS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class SetCameraEntityS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/SetCameraEntityS2CPacket
intermediary net/minecraft/class_2734
official aes
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/SetCameraEntityS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47973 Lnet/minecraft/class_2734;field_47973:Lnet/minecraft/class_9139;
      official a Laes;a:Lyw;
    • entityId

      private final int entityId
      Mappings:
      Namespace Name Mixin selector
      named entityId Lnet/minecraft/network/packet/s2c/play/SetCameraEntityS2CPacket;entityId:I
      intermediary field_12462 Lnet/minecraft/class_2734;field_12462:I
      official b Laes;b:I
  • Constructor Details

    • SetCameraEntityS2CPacket

      public SetCameraEntityS2CPacket(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/SetCameraEntityS2CPacket;<init>(Lnet/minecraft/entity/Entity;)V
      intermediary <init> Lnet/minecraft/class_2734;<init>(Lnet/minecraft/class_1297;)V
      official <init> Laes;<init>(Lbsq;)V
    • SetCameraEntityS2CPacket

      private SetCameraEntityS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/SetCameraEntityS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2734;<init>(Lnet/minecraft/class_2540;)V
      official <init> Laes;<init>(Lvv;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/SetCameraEntityS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55920 Lnet/minecraft/class_2734;method_55920(Lnet/minecraft/class_2540;)V
      official a Laes;a(Lvv;)V
    • getPacketId

      public PacketType<SetCameraEntityS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      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(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/SetCameraEntityS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11801 Lnet/minecraft/class_2734;method_11801(Lnet/minecraft/class_2602;)V
      official a Laes;a(Labt;)V
    • getEntity

      @Nullable public @Nullable Entity getEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      named getEntity Lnet/minecraft/network/packet/s2c/play/SetCameraEntityS2CPacket;getEntity(Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
      intermediary method_11800 Lnet/minecraft/class_2734;method_11800(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1297;
      official a Laes;a(Ldcu;)Lbsq;