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 qy
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 Lqy;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 Lqy;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 Lqy;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 Lqy;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 Lqy;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> Lqy;<init>(Lbkn;)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> Lqy;<init>(Lpn;)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 Lqr;a(Lpn;)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 Lqy;a(Lqu;)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 Lqy;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 Lqy;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 Lqy;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 Lqy;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 Lqy;f()Lbkm;
      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;