Class OverlayMessageS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.OverlayMessageS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class OverlayMessageS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
official rz
intermediary net/minecraft/class_5894
named net/minecraft/network/packet/s2c/play/OverlayMessageS2CPacket
  • Field Details

    • message

      private final Text message
      Mappings:
      Namespace Name Mixin selector
      official a Lrz;a:Los;
      intermediary field_29142 Lnet/minecraft/class_5894;field_29142:Lnet/minecraft/class_2561;
      named message Lnet/minecraft/network/packet/s2c/play/OverlayMessageS2CPacket;message:Lnet/minecraft/text/Text;
  • Constructor Details

    • OverlayMessageS2CPacket

      public OverlayMessageS2CPacket(Text message)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lrz;<init>(Los;)V
      intermediary <init> Lnet/minecraft/class_5894;<init>(Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/OverlayMessageS2CPacket;<init>(Lnet/minecraft/text/Text;)V
    • OverlayMessageS2CPacket

      public OverlayMessageS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lrz;<init>(Log;)V
      intermediary <init> Lnet/minecraft/class_5894;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/OverlayMessageS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Log;)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(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lrz;a(Lpn;)V
      intermediary method_34154 Lnet/minecraft/class_5894;method_34154(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/OverlayMessageS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getMessage

      public Text getMessage()
      Mappings:
      Namespace Name Mixin selector
      official b Lrz;b()Los;
      intermediary method_34155 Lnet/minecraft/class_5894;method_34155()Lnet/minecraft/class_2561;
      named getMessage Lnet/minecraft/network/packet/s2c/play/OverlayMessageS2CPacket;getMessage()Lnet/minecraft/text/Text;