public class ServerEntityEquipmentPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerEntityEquipmentPacket(int entityId,
EquipmentSlot slot,
ItemStack item) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEntityId() |
ItemStack |
getItem() |
EquipmentSlot |
getSlot() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerEntityEquipmentPacket(int entityId,
EquipmentSlot slot,
ItemStack item)
public int getEntityId()
public EquipmentSlot getSlot()
public ItemStack getItem()
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.