public class ServerCombatPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerCombatPacket() |
ServerCombatPacket(int entityId,
int duration) |
ServerCombatPacket(int entityId,
int playerId,
String message,
boolean escape) |
| Modifier and Type | Method and Description |
|---|---|
CombatState |
getCombatState() |
int |
getDuration() |
int |
getEntityId() |
String |
getMessage() |
int |
getPlayerId() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerCombatPacket()
public ServerCombatPacket(int entityId,
int duration)
public ServerCombatPacket(int entityId,
int playerId,
String message,
boolean escape)
public CombatState getCombatState()
public int getEntityId()
public int getDuration()
public int getPlayerId()
public String getMessage()
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.