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 acy
  • 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 Lacy;a:Lyx;
    • 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 Lacy;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 Lacy;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> Lacy;<init>(Lbsr;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> Lacy;<init>(Lvw;)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 Lacy;a(Lvw;)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 Lzg;a()Lzi;
    • 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 Lacy;a(Labu;)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 Lacy;a(Ldcw;)Lbsr;
    • 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 Lacy;b()B