public class SPacketSpawnPainting extends java.lang.Object implements Packet<INetHandlerPlayClient>
Modifier and Type | Field and Description |
---|---|
private int |
entityID |
private EnumFacing |
facing |
private BlockPos |
position |
private java.lang.String |
title |
private java.util.UUID |
uniqueId |
Constructor and Description |
---|
SPacketSpawnPainting() |
SPacketSpawnPainting(EntityPainting painting) |
Modifier and Type | Method and Description |
---|---|
int |
getEntityID() |
EnumFacing |
getFacing() |
BlockPos |
getPosition() |
java.lang.String |
getTitle() |
java.util.UUID |
getUniqueId() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
private int entityID
private java.util.UUID uniqueId
private BlockPos position
private EnumFacing facing
private java.lang.String title
public SPacketSpawnPainting()
public SPacketSpawnPainting(EntityPainting painting)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>
public int getEntityID()
public java.util.UUID getUniqueId()
public BlockPos getPosition()
public EnumFacing getFacing()
public java.lang.String getTitle()