Package btw.network.packet
Class StartBlockHarvestPacket
java.lang.Object
net.minecraft.src.Packet
btw.network.packet.StartBlockHarvestPacket
-
Field Summary
FieldsFields inherited from class net.minecraft.src.Packet
creationTimeMillis, field_98193_m, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize -
Constructor Summary
ConstructorsConstructorDescriptionStartBlockHarvestPacket(int i, int j, int k, int iHitFace, float fMiningSpeedModifier) -
Method Summary
Modifier and TypeMethodDescriptionfloatintAbstract.voidprocessPacket(NetHandler par1NetHandler) Passes this Packet on to the NetHandler for processing.voidreadPacketData(DataInput stream) Abstract.voidwritePacketData(DataOutput stream) Abstract.Methods inherited from class net.minecraft.src.Packet
addIdClassMapping, canProcessAsync, containsSameEntityIDAs, getNewPacket, getPacketId, isRealPacket, readBytesFromStream, readItemStack, readNBTTagCompound, readPacket, readString, toString, writeByteArray, writeItemStack, writeNBTTagCompound, writePacket, writeString
-
Field Details
-
posX
public int posX -
posY
public int posY -
posZ
public int posZ -
face
public int face
-
-
Constructor Details
-
StartBlockHarvestPacket
public StartBlockHarvestPacket() -
StartBlockHarvestPacket
public StartBlockHarvestPacket(int i, int j, int k, int iHitFace, float fMiningSpeedModifier)
-
-
Method Details
-
readPacketData
Description copied from class:PacketAbstract. Reads the raw packet data from the data stream.- Specified by:
readPacketDatain classPacket- Throws:
IOException
-
writePacketData
Description copied from class:PacketAbstract. Writes the raw packet data to the data stream.- Specified by:
writePacketDatain classPacket- Throws:
IOException
-
processPacket
Description copied from class:PacketPasses this Packet on to the NetHandler for processing.- Specified by:
processPacketin classPacket
-
getPacketSize
public int getPacketSize()Description copied from class:PacketAbstract. Return the size of the packet (not counting the header).- Specified by:
getPacketSizein classPacket
-
getMiningSpeedModifier
public float getMiningSpeedModifier()
-