public class ClientPlayerAbilitiesPacket extends MinecraftPacket
| Constructor and Description |
|---|
ClientPlayerAbilitiesPacket(boolean invincible,
boolean canFly,
boolean flying,
boolean creative,
float flySpeed,
float walkSpeed) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCanFly() |
boolean |
getCreative() |
boolean |
getFlying() |
float |
getFlySpeed() |
boolean |
getInvincible() |
float |
getWalkSpeed() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ClientPlayerAbilitiesPacket(boolean invincible,
boolean canFly,
boolean flying,
boolean creative,
float flySpeed,
float walkSpeed)
public boolean getInvincible()
public boolean getCanFly()
public boolean getFlying()
public boolean getCreative()
public float getFlySpeed()
public float getWalkSpeed()
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.