public class ServerOpenWindowPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerOpenWindowPacket(int windowId,
WindowType type,
String name,
int slots) |
ServerOpenWindowPacket(int windowId,
WindowType type,
String name,
int slots,
int ownerEntityId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
int |
getOwnerEntityId() |
int |
getSlots() |
WindowType |
getType() |
int |
getWindowId() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerOpenWindowPacket(int windowId,
WindowType type,
String name,
int slots)
public ServerOpenWindowPacket(int windowId,
WindowType type,
String name,
int slots,
int ownerEntityId)
public int getWindowId()
public WindowType getType()
public String getName()
public int getSlots()
public int getOwnerEntityId()
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.