public class ClientWindowActionPacket extends MinecraftPacket
| Constructor and Description |
|---|
ClientWindowActionPacket(int windowId,
int actionId,
int slot,
ItemStack clicked,
WindowAction action,
WindowActionParam param) |
| Modifier and Type | Method and Description |
|---|---|
WindowAction |
getAction() |
int |
getActionId() |
ItemStack |
getClickedItem() |
WindowActionParam |
getParam() |
int |
getSlot() |
int |
getWindowId() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ClientWindowActionPacket(int windowId,
int actionId,
int slot,
ItemStack clicked,
WindowAction action,
WindowActionParam param)
public int getWindowId()
public int getActionId()
public int getSlot()
public ItemStack getClickedItem()
public WindowAction getAction()
public WindowActionParam getParam()
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.