public class PacketPlayOutEntityEquipment extends WrappedPacket
| Modifier and Type | Field and Description |
|---|---|
int |
entityId |
ItemStackWrapper |
item |
int |
slot
Slot number: 0 - held 1 - boots 2 - leggings 3 - chestplate 4 - helmet
|
| Constructor and Description |
|---|
PacketPlayOutEntityEquipment(int entityId,
int slot,
ItemStackWrapper item) |
| 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 ItemStackWrapper item
public int slot
public PacketPlayOutEntityEquipment(int entityId,
int slot,
ItemStackWrapper item)
public java.lang.Object getVanillaPacket()
WrappedPacketgetVanillaPacket in class WrappedPacketpublic void loadVanillaPacket(java.lang.Object packet)
WrappedPacketloadVanillaPacket in class WrappedPacketpacket - - The loadable packet