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 rj
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 Lrj;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 Lrj;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 Lrj;c:Lgj;
      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 Lrj;d:Lgo;
      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 Lrj;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> Lrj;<init>(Lblf;)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> Lrj;<init>(Lpy;)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 Lrc;a(Lpy;)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 Lrj;a(Lrf;)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 Lrj;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 Lrj;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 Lrj;d()Lgj;
      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 Lrj;e()Lgo;
      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 Lrj;f()Lble;
      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;