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 ph
intermediary net/minecraft/class_2612
named net/minecraft/network/packet/s2c/play/PaintingSpawnS2CPacket
  • Field Details

    • id

      private int id
      Mappings:
      Namespace Name Mixin selector
      official a Lph;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 UUID uuid
      Mappings:
      Namespace Name Mixin selector
      official b Lph;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 BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official c Lph;c:Lfx;
      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 Direction facing
      Mappings:
      Namespace Name Mixin selector
      official d Lph;d:Lgc;
      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 int motiveId
      Mappings:
      Namespace Name Mixin selector
      official e Lph;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()
    • PaintingSpawnS2CPacket

      public PaintingSpawnS2CPacket​(PaintingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lph;<init>(Lbeh;)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
  • 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 Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/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 Lpa;b(Lnw;)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 Lph;a(Lpd;)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

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

      @Environment(CLIENT) public UUID getPaintingUuid()
      Mappings:
      Namespace Name Mixin selector
      official c Lph;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

      @Environment(CLIENT) public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official d Lph;d()Lfx;
      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

      @Environment(CLIENT) public Direction getFacing()
      Mappings:
      Namespace Name Mixin selector
      official e Lph;e()Lgc;
      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

      @Environment(CLIENT) public PaintingMotive getMotive()
      Mappings:
      Namespace Name Mixin selector
      official f Lph;f()Lbeg;
      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;