Class UpdateSignS2CPacket

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

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

    • world

      private World world
      Mappings:
      Namespace Name Mixin selector
      official a Lhw;a:Ladm;
      intermediary field_11689 Lnet/minecraft/class_2046;field_11689:Lnet/minecraft/class_1150;
      named world Lnet/minecraft/network/packet/s2c/play/UpdateSignS2CPacket;world:Lnet/minecraft/world/World;
    • blockPos

      private BlockPos blockPos
      Mappings:
      Namespace Name Mixin selector
      official b Lhw;b:Lcj;
      intermediary field_11690 Lnet/minecraft/class_2046;field_11690:Lnet/minecraft/class_2552;
      named blockPos Lnet/minecraft/network/packet/s2c/play/UpdateSignS2CPacket;blockPos:Lnet/minecraft/util/math/BlockPos;
    • signText

      private Text[] signText
      Mappings:
      Namespace Name Mixin selector
      official c Lhw;c:[Leu;
      intermediary field_11691 Lnet/minecraft/class_2046;field_11691:[Lnet/minecraft/class_1982;
      named signText Lnet/minecraft/network/packet/s2c/play/UpdateSignS2CPacket;signText:[Lnet/minecraft/text/Text;
  • Constructor Details

    • UpdateSignS2CPacket

      public UpdateSignS2CPacket()
    • UpdateSignS2CPacket

      public UpdateSignS2CPacket(World world, BlockPos blockPos, Text[] signText)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhw;<init>(Ladm;Lcj;[Leu;)V
      intermediary <init> Lnet/minecraft/class_2046;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;[Lnet/minecraft/class_1982;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/UpdateSignS2CPacket;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;[Lnet/minecraft/text/Text;)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 Lff;a(Lem;)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 Lff;b(Lem;)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 Lhw;a(Lfj;)V
      intermediary method_7905 Lnet/minecraft/class_2046;method_7905(Lnet/minecraft/class_1993;)V
      named apply Lnet/minecraft/network/packet/s2c/play/UpdateSignS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getBlockPos

      @Environment(CLIENT) public BlockPos getBlockPos()
      Mappings:
      Namespace Name Mixin selector
      official a Lhw;a()Lcj;
      intermediary method_10693 Lnet/minecraft/class_2046;method_10693()Lnet/minecraft/class_2552;
      named getBlockPos Lnet/minecraft/network/packet/s2c/play/UpdateSignS2CPacket;getBlockPos()Lnet/minecraft/util/math/BlockPos;
    • getSignText

      @Environment(CLIENT) public Text[] getSignText()
      Mappings:
      Namespace Name Mixin selector
      official b Lhw;b()[Leu;
      intermediary method_10694 Lnet/minecraft/class_2046;method_10694()[Lnet/minecraft/class_1982;
      named getSignText Lnet/minecraft/network/packet/s2c/play/UpdateSignS2CPacket;getSignText()[Lnet/minecraft/text/Text;