public class Packet7UseEntity extends Packet
Modifier and Type | Field and Description |
---|---|
int |
isLeftClick
Seems to be true when the player is pointing at an entity and left-clicking and false when right-clicking.
|
int |
playerEntityId
The entity of the player (ignored by the server)
|
int |
targetEntity
The entity the player is interacting with
|
creationTimeMillis, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize
Constructor and Description |
---|
Packet7UseEntity() |
Packet7UseEntity(int par1,
int par2,
int par3) |
Modifier and Type | Method and Description |
---|---|
int |
getPacketSize()
Abstract.
|
void |
processPacket(NetHandler par1NetHandler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(DataInputStream par1DataInputStream)
Abstract.
|
void |
writePacketData(DataOutputStream par1DataOutputStream)
Abstract.
|
addIdClassMapping, canProcessAsync, containsSameEntityIDAs, getNewPacket, getPacketId, isRealPacket, readBytesFromStream, readItemStack, readNBTTagCompound, readPacket, readString, toString, writeByteArray, writeItemStack, writePacket, writeString
public int playerEntityId
public int targetEntity
public int isLeftClick
public Packet7UseEntity()
public Packet7UseEntity(int par1, int par2, int par3)
public void readPacketData(DataInputStream par1DataInputStream) throws IOException
readPacketData
in class Packet
IOException
public void writePacketData(DataOutputStream par1DataOutputStream) throws IOException
writePacketData
in class Packet
IOException
public void processPacket(NetHandler par1NetHandler)
processPacket
in class Packet
public int getPacketSize()
getPacketSize
in class Packet