Class CEnchantItemPacket
java.lang.Object
net.minecraft.network.play.client.CEnchantItemPacket
- All Implemented Interfaces:
IPacket<IServerPlayNetHandler>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
handle
(IServerPlayNetHandler p_148833_1_) void
read
(PacketBuffer p_148837_1_) void
write
(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
containerId
private int containerId -
buttonId
private int buttonId
-
-
Constructor Details
-
CEnchantItemPacket
public CEnchantItemPacket() -
CEnchantItemPacket
public CEnchantItemPacket(int p_i46883_1_, int p_i46883_2_)
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceIPacket<IServerPlayNetHandler>
-
read
- Specified by:
read
in interfaceIPacket<IServerPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IServerPlayNetHandler>
- Throws:
IOException
-
getContainerId
public int getContainerId() -
getButtonId
public int getButtonId()
-