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
official iz
intermediary net/minecraft/class_2017
named net/minecraft/network/packet/s2c/play/EntityStatusS2CPacket
  • Field Details

    • id

      private int id
      Mappings:
      Namespace Name Mixin selector
      official a Liz;a:I
      intermediary field_8621 Lnet/minecraft/class_2017;field_8621:I
      named id Lnet/minecraft/network/packet/s2c/play/EntityStatusS2CPacket;id:I
    • status

      private byte status
      Mappings:
      Namespace Name Mixin selector
      official b Liz;b:B
      intermediary field_8622 Lnet/minecraft/class_2017;field_8622:B
      named status Lnet/minecraft/network/packet/s2c/play/EntityStatusS2CPacket;status:B
  • Constructor Details

    • EntityStatusS2CPacket

      public EntityStatusS2CPacket()
    • EntityStatusS2CPacket

      public EntityStatusS2CPacket(Entity entity, byte status)
      Mappings:
      Namespace Name Mixin selector
      official <init> Liz;<init>(Lvg;B)V
      intermediary <init> Lnet/minecraft/class_2017;<init>(Lnet/minecraft/class_864;B)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityStatusS2CPacket;<init>(Lnet/minecraft/entity/Entity;B)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 Liz;a(Lhw;)V
      intermediary method_7738 Lnet/minecraft/class_2017;method_7738(Lnet/minecraft/class_1993;)V
      named apply Lnet/minecraft/network/packet/s2c/play/EntityStatusS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getEntity

      @Environment(CLIENT) public Entity getEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official a Liz;a(Lamu;)Lvg;
      intermediary method_7737 Lnet/minecraft/class_2017;method_7737(Lnet/minecraft/class_1150;)Lnet/minecraft/class_864;
      named getEntity Lnet/minecraft/network/packet/s2c/play/EntityStatusS2CPacket;getEntity(Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
    • getStatus

      @Environment(CLIENT) public byte getStatus()
      Mappings:
      Namespace Name Mixin selector
      official a Liz;a()B
      intermediary method_7739 Lnet/minecraft/class_2017;method_7739()B
      named getStatus Lnet/minecraft/network/packet/s2c/play/EntityStatusS2CPacket;getStatus()B