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 iu
intermediary net/minecraft/class_1574
named net/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket
  • Field Details

    • shasum

      private String shasum
      Mappings:
      Namespace Name Mixin selector
      official a Liu;a:Ljava/lang/String;
      intermediary field_6452 Lnet/minecraft/class_1574;field_6452:Ljava/lang/String;
      named shasum Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket;shasum:Ljava/lang/String;
    • status

      Mappings:
      Namespace Name Mixin selector
      official b Liu;b:Liu$a;
      intermediary field_6453 Lnet/minecraft/class_1574;field_6453:Lnet/minecraft/class_1574$class_1575;
      named status Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket;status:Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;
  • Constructor Details

    • ResourcePackStatusC2SPacket

      public ResourcePackStatusC2SPacket()
    • ResourcePackStatusC2SPacket

      @Environment(CLIENT) public ResourcePackStatusC2SPacket​(String shasum, ResourcePackStatusC2SPacket.Status status)
      Mappings:
      Namespace Name Mixin selector
      official <init> Liu;<init>(Ljava/lang/String;Liu$a;)V
      intermediary <init> Lnet/minecraft/class_1574;<init>(Ljava/lang/String;Lnet/minecraft/class_1574$class_1575;)V
      named <init> Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket;<init>(Ljava/lang/String;Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket$Status;)V
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lff;a(Lem;)V
      intermediary method_5238 Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)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<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lff;b(Lem;)V
      intermediary method_5240 Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • apply

      public void apply​(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Liu;a(Lic;)V
      intermediary method_5803 Lnet/minecraft/class_1574;method_5803(Lnet/minecraft/class_1550;)V
      named apply Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V