Class ResourcePackStatusC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.ResourcePackStatusC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class ResourcePackStatusC2SPacket extends Object implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
official yd
intermediary net/minecraft/class_2856
named net/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket
  • Field Details

    • status

      private final ResourcePackStatusC2SPacket.Status status
      Mappings:
      Namespace Name Mixin selector
      official a Lyd;a:Lyd$a;
      intermediary field_13014 Lnet/minecraft/class_2856;field_13014:Lnet/minecraft/class_2856$class_2857;
      named status Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket;status:Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;
  • Constructor Details

    • ResourcePackStatusC2SPacket

      public ResourcePackStatusC2SPacket(ResourcePackStatusC2SPacket.Status status)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lyd;<init>(Lyd$a;)V
      intermediary <init> Lnet/minecraft/class_2856;<init>(Lnet/minecraft/class_2856$class_2857;)V
      named <init> Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket;<init>(Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;)V
    • ResourcePackStatusC2SPacket

      public ResourcePackStatusC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lyd;<init>(Lqx;)V
      intermediary <init> Lnet/minecraft/class_2856;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lso;a(Lqx;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lyd;a(Lwv;)V
      intermediary method_12409 Lnet/minecraft/class_2856;method_12409(Lnet/minecraft/class_2792;)V
      named apply Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • getStatus

      Mappings:
      Namespace Name Mixin selector
      official b Lyd;b()Lyd$a;
      intermediary method_32308 Lnet/minecraft/class_2856;method_32308()Lnet/minecraft/class_2856$class_2857;
      named getStatus Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket;getStatus()Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;