public class PacketPlayOutOpenWindow extends WrappedPacket
| Modifier and Type | Field and Description |
|---|---|
int |
entityId |
int |
slots |
ChatTag |
title |
java.lang.String |
type |
int |
windowId |
| Constructor and Description |
|---|
PacketPlayOutOpenWindow() |
PacketPlayOutOpenWindow(int windowId,
java.lang.String type,
ChatTag title,
int slots) |
PacketPlayOutOpenWindow(int windowId,
java.lang.String type,
ChatTag title,
int slots,
int entityId) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getVanillaPacket()
Converts this wrapped packet to a Vanilla/NMS packet
|
void |
loadVanillaPacket(java.lang.Object packet)
Loads a Vanilla/NMS packet to this wrapper
|
toNMSpublic int entityId
public int slots
public ChatTag title
public java.lang.String type
public int windowId
public PacketPlayOutOpenWindow()
public PacketPlayOutOpenWindow(int windowId,
java.lang.String type,
ChatTag title,
int slots)
public PacketPlayOutOpenWindow(int windowId,
java.lang.String type,
ChatTag title,
int slots,
int entityId)
public java.lang.Object getVanillaPacket()
WrappedPacketgetVanillaPacket in class WrappedPacketpublic void loadVanillaPacket(java.lang.Object packet)
WrappedPacketloadVanillaPacket in class WrappedPacketpacket - - The loadable packet