public class CPlayerDiggingPacket extends java.lang.Object implements IPacket<IServerPlayNetHandler>
修飾子とタイプ | クラスと説明 |
---|---|
static class |
CPlayerDiggingPacket.Action |
コンストラクタと説明 |
---|
CPlayerDiggingPacket() |
CPlayerDiggingPacket(CPlayerDiggingPacket.Action actionIn,
BlockPos posIn,
Direction facingIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
CPlayerDiggingPacket.Action |
getAction() |
Direction |
getFacing() |
BlockPos |
getPosition() |
void |
processPacket(IServerPlayNetHandler handler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(PacketBuffer buf)
Reads the raw packet data from the data stream.
|
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
public CPlayerDiggingPacket()
public CPlayerDiggingPacket(CPlayerDiggingPacket.Action actionIn, BlockPos posIn, Direction facingIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
インタフェース内 IPacket<IServerPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
インタフェース内 IPacket<IServerPlayNetHandler>
java.io.IOException
public void processPacket(IServerPlayNetHandler handler)
processPacket
インタフェース内 IPacket<IServerPlayNetHandler>
public BlockPos getPosition()
public Direction getFacing()
public CPlayerDiggingPacket.Action getAction()