Class CPlayerDiggingPacket
java.lang.Object
net.minecraft.network.play.client.CPlayerDiggingPacket
- All Implemented Interfaces:
IPacket<IServerPlayNetHandler>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCPlayerDiggingPacket(CPlayerDiggingPacket.Action p_i46871_1_, BlockPos p_i46871_2_, Direction p_i46871_3_) -
Method Summary
Modifier and TypeMethodDescriptiongetPos()voidhandle(IServerPlayNetHandler p_148833_1_) voidread(PacketBuffer p_148837_1_) voidwrite(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
pos
-
direction
-
action
-
-
Constructor Details
-
CPlayerDiggingPacket
public CPlayerDiggingPacket() -
CPlayerDiggingPacket
public CPlayerDiggingPacket(CPlayerDiggingPacket.Action p_i46871_1_, BlockPos p_i46871_2_, Direction p_i46871_3_)
-
-
Method Details
-
read
- Specified by:
readin interfaceIPacket<IServerPlayNetHandler>- Throws:
IOException
-
write
- Specified by:
writein interfaceIPacket<IServerPlayNetHandler>- Throws:
IOException
-
handle
- Specified by:
handlein interfaceIPacket<IServerPlayNetHandler>
-
getPos
-
getDirection
-
getAction
-