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