Class ResourcePackStatusC2SPacket

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

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

    • status

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

    • ResourcePackStatusC2SPacket

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

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

    • write

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

      public void apply(ServerCommonPacketListener serverCommonPacketListener)
      Specified by:
      apply in interface Packet<ServerCommonPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lvs;a(Lvn;)V
      intermediary method_12409 Lnet/minecraft/class_2856;method_12409(Lnet/minecraft/class_8706;)V
      named apply Lnet/minecraft/network/packet/c2s/common/ResourcePackStatusC2SPacket;apply(Lnet/minecraft/network/listener/ServerCommonPacketListener;)V
    • getStatus

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