Class EntityStatusS2CPacket

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

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

    • CODEC

      public static final PacketCodec<PacketByteBuf,EntityStatusS2CPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/EntityStatusS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47924 Lnet/minecraft/class_2663;field_47924:Lnet/minecraft/class_9139;
      official a Ladm;a:Lzn;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/network/packet/s2c/play/EntityStatusS2CPacket;id:I
      intermediary field_12175 Lnet/minecraft/class_2663;field_12175:I
      official b Ladm;b:I
    • status

      private final byte status
      Mappings:
      Namespace Name Mixin selector
      named status Lnet/minecraft/network/packet/s2c/play/EntityStatusS2CPacket;status:B
      intermediary field_12174 Lnet/minecraft/class_2663;field_12174:B
      official c Ladm;c:B
  • Constructor Details

    • EntityStatusS2CPacket

      public EntityStatusS2CPacket(Entity entity, byte status)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityStatusS2CPacket;<init>(Lnet/minecraft/entity/Entity;B)V
      intermediary <init> Lnet/minecraft/class_2663;<init>(Lnet/minecraft/class_1297;B)V
      official <init> Ladm;<init>(Lbsv;B)V
    • EntityStatusS2CPacket

      private EntityStatusS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityStatusS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2663;<init>(Lnet/minecraft/class_2540;)V
      official <init> Ladm;<init>(Lwm;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/EntityStatusS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55876 Lnet/minecraft/class_2663;method_55876(Lnet/minecraft/class_2540;)V
      official a Ladm;a(Lwm;)V
    • getPacketId

      public PacketType<EntityStatusS2CPacket> 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 Lzw;a()Lzy;
    • 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/EntityStatusS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11471 Lnet/minecraft/class_2663;method_11471(Lnet/minecraft/class_2602;)V
      official a Ladm;a(Laci;)V
    • getEntity

      @Nullable public @Nullable Entity getEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      named getEntity Lnet/minecraft/network/packet/s2c/play/EntityStatusS2CPacket;getEntity(Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
      intermediary method_11469 Lnet/minecraft/class_2663;method_11469(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1297;
      official a Ladm;a(Ldbz;)Lbsv;
    • getStatus

      public byte getStatus()
      Mappings:
      Namespace Name Mixin selector
      named getStatus Lnet/minecraft/network/packet/s2c/play/EntityStatusS2CPacket;getStatus()B
      intermediary method_11470 Lnet/minecraft/class_2663;method_11470()B
      official b Ladm;b()B