Class SCollectItemPacket
java.lang.Object
net.minecraft.network.play.server.SCollectItemPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
void
handle
(IClientPlayNetHandler 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
-
itemId
private int itemId -
playerId
private int playerId -
amount
private int amount
-
-
Constructor Details
-
SCollectItemPacket
public SCollectItemPacket() -
SCollectItemPacket
public SCollectItemPacket(int p_i47316_1_, int p_i47316_2_, int p_i47316_3_)
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getItemId
public int getItemId() -
getPlayerId
public int getPlayerId() -
getAmount
public int getAmount()
-