public class ClientPlayerInteractEntityPacket extends MinecraftPacket
| Constructor and Description |
|---|
ClientPlayerInteractEntityPacket(int entityId,
InteractAction action) |
ClientPlayerInteractEntityPacket(int entityId,
InteractAction action,
float targetX,
float targetY,
float targetZ,
Hand hand) |
ClientPlayerInteractEntityPacket(int entityId,
InteractAction action,
Hand hand) |
| Modifier and Type | Method and Description |
|---|---|
InteractAction |
getAction() |
int |
getEntityId() |
Hand |
getHand() |
float |
getTargetX() |
float |
getTargetY() |
float |
getTargetZ() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ClientPlayerInteractEntityPacket(int entityId,
InteractAction action)
public ClientPlayerInteractEntityPacket(int entityId,
InteractAction action,
Hand hand)
public ClientPlayerInteractEntityPacket(int entityId,
InteractAction action,
float targetX,
float targetY,
float targetZ,
Hand hand)
public int getEntityId()
public InteractAction getAction()
public float getTargetX()
public float getTargetY()
public float getTargetZ()
public Hand getHand()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.