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_1541
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_6349 Lnet/minecraft/class_1541;field_6349:Lnet/minecraft/class_99;
      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_6350 Lnet/minecraft/class_1541;field_6350:Lnet/minecraft/class_1372;
      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_6351 Lnet/minecraft/class_1541;field_6351:[Lnet/minecraft/class_1444;
      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_1541;<init>(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;[Lnet/minecraft/class_1444;)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_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<ClientPlayPacketListener>
      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​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lhw;a(Lfj;)V
      intermediary method_5641 Lnet/minecraft/class_1541;method_5641(Lnet/minecraft/class_1462;)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_5640 Lnet/minecraft/class_1541;method_5640()Lnet/minecraft/class_1372;
      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_5642 Lnet/minecraft/class_1541;method_5642()[Lnet/minecraft/class_1444;
      named getSignText Lnet/minecraft/network/packet/s2c/play/UpdateSignS2CPacket;getSignText()[Lnet/minecraft/text/Text;