Class PaintingSpawnS2CPacket

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

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

    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official a Lqs;a:I
      intermediary field_12012 Lnet/minecraft/class_2612;field_12012:I
      named id Lnet/minecraft/network/packet/s2c/play/PaintingSpawnS2CPacket;id:I
    • uuid

      private final UUID uuid
      Mappings:
      Namespace Name Mixin selector
      official b Lqs;b:Ljava/util/UUID;
      intermediary field_12009 Lnet/minecraft/class_2612;field_12009:Ljava/util/UUID;
      named uuid Lnet/minecraft/network/packet/s2c/play/PaintingSpawnS2CPacket;uuid:Ljava/util/UUID;
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official c Lqs;c:Lgh;
      intermediary field_12008 Lnet/minecraft/class_2612;field_12008:Lnet/minecraft/class_2338;
      named pos Lnet/minecraft/network/packet/s2c/play/PaintingSpawnS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;
    • facing

      private final Direction facing
      Mappings:
      Namespace Name Mixin selector
      official d Lqs;d:Lgm;
      intermediary field_12011 Lnet/minecraft/class_2612;field_12011:Lnet/minecraft/class_2350;
      named facing Lnet/minecraft/network/packet/s2c/play/PaintingSpawnS2CPacket;facing:Lnet/minecraft/util/math/Direction;
    • motiveId

      private final int motiveId
      Mappings:
      Namespace Name Mixin selector
      official e Lqs;e:I
      intermediary field_12010 Lnet/minecraft/class_2612;field_12010:I
      named motiveId Lnet/minecraft/network/packet/s2c/play/PaintingSpawnS2CPacket;motiveId:I
  • Constructor Details

    • PaintingSpawnS2CPacket

      public PaintingSpawnS2CPacket(PaintingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqs;<init>(Lbkg;)V
      intermediary <init> Lnet/minecraft/class_2612;<init>(Lnet/minecraft/class_1534;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/PaintingSpawnS2CPacket;<init>(Lnet/minecraft/entity/decoration/painting/PaintingEntity;)V
    • PaintingSpawnS2CPacket

      public PaintingSpawnS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqs;<init>(Lph;)V
      intermediary <init> Lnet/minecraft/class_2612;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/PaintingSpawnS2CPacket;<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 Lql;a(Lph;)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 Lqs;a(Lqo;)V
      intermediary method_11224 Lnet/minecraft/class_2612;method_11224(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/PaintingSpawnS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official b Lqs;b()I
      intermediary method_11225 Lnet/minecraft/class_2612;method_11225()I
      named getId Lnet/minecraft/network/packet/s2c/play/PaintingSpawnS2CPacket;getId()I
    • getPaintingUuid

      public UUID getPaintingUuid()
      Mappings:
      Namespace Name Mixin selector
      official c Lqs;c()Ljava/util/UUID;
      intermediary method_11222 Lnet/minecraft/class_2612;method_11222()Ljava/util/UUID;
      named getPaintingUuid Lnet/minecraft/network/packet/s2c/play/PaintingSpawnS2CPacket;getPaintingUuid()Ljava/util/UUID;
    • getPos

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official d Lqs;d()Lgh;
      intermediary method_11226 Lnet/minecraft/class_2612;method_11226()Lnet/minecraft/class_2338;
      named getPos Lnet/minecraft/network/packet/s2c/play/PaintingSpawnS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
    • getFacing

      public Direction getFacing()
      Mappings:
      Namespace Name Mixin selector
      official e Lqs;e()Lgm;
      intermediary method_11223 Lnet/minecraft/class_2612;method_11223()Lnet/minecraft/class_2350;
      named getFacing Lnet/minecraft/network/packet/s2c/play/PaintingSpawnS2CPacket;getFacing()Lnet/minecraft/util/math/Direction;
    • getMotive

      public PaintingMotive getMotive()
      Mappings:
      Namespace Name Mixin selector
      official f Lqs;f()Lbkf;
      intermediary method_11221 Lnet/minecraft/class_2612;method_11221()Lnet/minecraft/class_1535;
      named getMotive Lnet/minecraft/network/packet/s2c/play/PaintingSpawnS2CPacket;getMotive()Lnet/minecraft/entity/decoration/painting/PaintingMotive;