public class SSpawnPaintingPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private int |
entityID |
private Direction |
facing |
private BlockPos |
position |
private int |
title |
private java.util.UUID |
uniqueId |
Constructor and Description |
---|
SSpawnPaintingPacket() |
SSpawnPaintingPacket(PaintingEntity painting) |
Modifier and Type | Method and Description |
---|---|
int |
getEntityID() |
Direction |
getFacing() |
BlockPos |
getPosition() |
PaintingType |
getType() |
java.util.UUID |
getUniqueId() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private int entityID
private java.util.UUID uniqueId
private BlockPos position
private Direction facing
private int title
public SSpawnPaintingPacket()
public SSpawnPaintingPacket(PaintingEntity painting)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>
public int getEntityID()
public java.util.UUID getUniqueId()
public BlockPos getPosition()
public Direction getFacing()
public PaintingType getType()