public class ClientEnchantItemPacket extends MinecraftPacket
| Constructor and Description |
|---|
ClientEnchantItemPacket(int windowId,
int enchantment) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEnchantment() |
int |
getWindowId() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ClientEnchantItemPacket(int windowId,
int enchantment)
public int getWindowId()
public int getEnchantment()
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.