public class ServerSpawnPaintingPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerSpawnPaintingPacket(int entityId,
UUID uuid,
PaintingType paintingType,
Position position,
HangingDirection direction) |
| Modifier and Type | Method and Description |
|---|---|
HangingDirection |
getDirection() |
int |
getEntityId() |
PaintingType |
getPaintingType() |
Position |
getPosition() |
UUID |
getUUID() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerSpawnPaintingPacket(int entityId,
UUID uuid,
PaintingType paintingType,
Position position,
HangingDirection direction)
public int getEntityId()
public UUID getUUID()
public PaintingType getPaintingType()
public Position getPosition()
public HangingDirection getDirection()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.