Class EntityS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.EntityS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>
Direct Known Subclasses:
EntityS2CPacket.MoveRelative, EntityS2CPacket.Rotate, EntityS2CPacket.RotateAndMoveRelative

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

    • id

      protected int id
      Mappings:
      Namespace Name Mixin selector
      official a Ljj;a:I
      intermediary field_8681 Lnet/minecraft/class_2027;field_8681:I
      named id Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;id:I
    • field_13775

      protected int field_13775
      Mappings:
      Namespace Name Mixin selector
      official b Ljj;b:I
      intermediary field_13775 Lnet/minecraft/class_2027;field_13775:I
      named field_13775 Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;field_13775:I
    • field_13776

      protected int field_13776
      Mappings:
      Namespace Name Mixin selector
      official c Ljj;c:I
      intermediary field_13776 Lnet/minecraft/class_2027;field_13776:I
      named field_13776 Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;field_13776:I
    • field_13777

      protected int field_13777
      Mappings:
      Namespace Name Mixin selector
      official d Ljj;d:I
      intermediary field_13777 Lnet/minecraft/class_2027;field_13777:I
      named field_13777 Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;field_13777:I
    • yaw

      protected byte yaw
      Mappings:
      Namespace Name Mixin selector
      official e Ljj;e:B
      intermediary field_8685 Lnet/minecraft/class_2027;field_8685:B
      named yaw Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;yaw:B
    • pitch

      protected byte pitch
      Mappings:
      Namespace Name Mixin selector
      official f Ljj;f:B
      intermediary field_8686 Lnet/minecraft/class_2027;field_8686:B
      named pitch Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;pitch:B
    • onGround

      protected boolean onGround
      Mappings:
      Namespace Name Mixin selector
      official g Ljj;g:Z
      intermediary field_11623 Lnet/minecraft/class_2027;field_11623:Z
      named onGround Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;onGround:Z
    • rotate

      protected boolean rotate
      Mappings:
      Namespace Name Mixin selector
      official h Ljj;h:Z
      intermediary field_8687 Lnet/minecraft/class_2027;field_8687:Z
      named rotate Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;rotate:Z
  • Constructor Details

    • EntityS2CPacket

      public EntityS2CPacket()
    • EntityS2CPacket

      public EntityS2CPacket(int id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljj;<init>(I)V
      intermediary <init> Lnet/minecraft/class_2027;<init>(I)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;<init>(I)V
  • Method Details

    • read

      public void read(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lht;a(Lgy;)V
      intermediary method_7535 Lnet/minecraft/class_700;method_7535(Lnet/minecraft/class_1967;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
    • write

      public void write(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lht;b(Lgy;)V
      intermediary method_7539 Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Ljj;a(Lhw;)V
      intermediary method_7807 Lnet/minecraft/class_2027;method_7807(Lnet/minecraft/class_1993;)V
      named apply Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Ljj;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_2027;toString()Ljava/lang/String;
      named toString Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;toString()Ljava/lang/String;
    • getEntity

      @Environment(CLIENT) public Entity getEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official a Ljj;a(Lamu;)Lvg;
      intermediary method_7806 Lnet/minecraft/class_2027;method_7806(Lnet/minecraft/class_1150;)Lnet/minecraft/class_864;
      named getEntity Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;getEntity(Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
    • method_7808

      @Environment(CLIENT) public int method_7808()
      Mappings:
      Namespace Name Mixin selector
      official a Ljj;a()I
      intermediary method_7808 Lnet/minecraft/class_2027;method_7808()I
      named method_7808 Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;method_7808()I
    • method_7809

      @Environment(CLIENT) public int method_7809()
      Mappings:
      Namespace Name Mixin selector
      official b Ljj;b()I
      intermediary method_7809 Lnet/minecraft/class_2027;method_7809()I
      named method_7809 Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;method_7809()I
    • method_7810

      @Environment(CLIENT) public int method_7810()
      Mappings:
      Namespace Name Mixin selector
      official c Ljj;c()I
      intermediary method_7810 Lnet/minecraft/class_2027;method_7810()I
      named method_7810 Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;method_7810()I
    • getYaw

      @Environment(CLIENT) public byte getYaw()
      Mappings:
      Namespace Name Mixin selector
      official d Ljj;d()B
      intermediary method_7811 Lnet/minecraft/class_2027;method_7811()B
      named getYaw Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;getYaw()B
    • getPitch

      @Environment(CLIENT) public byte getPitch()
      Mappings:
      Namespace Name Mixin selector
      official e Ljj;e()B
      intermediary method_7812 Lnet/minecraft/class_2027;method_7812()B
      named getPitch Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;getPitch()B
    • shouldRotate

      @Environment(CLIENT) public boolean shouldRotate()
      Mappings:
      Namespace Name Mixin selector
      official f Ljj;f()Z
      intermediary method_7813 Lnet/minecraft/class_2027;method_7813()Z
      named shouldRotate Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;shouldRotate()Z
    • isOnGround

      @Environment(CLIENT) public boolean isOnGround()
      Mappings:
      Namespace Name Mixin selector
      official g Ljj;g()Z
      intermediary method_10668 Lnet/minecraft/class_2027;method_10668()Z
      named isOnGround Lnet/minecraft/network/packet/s2c/play/EntityS2CPacket;isOnGround()Z