@Policy(value="No instantiation; Use Inventory only to correctly handle") public class PacketPlayOutOpenWindow extends OutPacket
| Modifier and Type | Field and Description |
|---|---|
protected int |
entityId |
protected InventoryType |
inventoryType |
protected int |
slots |
protected int |
windowId |
protected String |
windowTitle |
| Constructor and Description |
|---|
PacketPlayOutOpenWindow() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(ByteBuf buf)
Serialized the data held by this packet into a buffer
|
int |
entityId() |
int |
id()
Gets the ID of this packet, according to the protocol specification
|
InventoryType |
inventoryType() |
int |
slots() |
int |
windowId() |
String |
windowTitle() |
decode, direction, handleReceived, setprotected int windowId
protected InventoryType inventoryType
protected String windowTitle
protected int slots
protected int entityId
public PacketPlayOutOpenWindow()
public int id()
Packetpublic int windowId()
public InventoryType inventoryType()
public String windowTitle()
public int slots()
public int entityId()
Copyright © 2016. All rights reserved.