public class PlayerAbilities extends Object implements NBTSerializable
Modifier and Type | Field and Description |
---|---|
protected byte |
canBuild |
protected byte |
canFly |
protected byte |
creative |
protected byte |
flying |
protected float |
flySpeed |
protected byte |
invulnerable |
protected float |
walkingSpeed |
Modifier | Constructor and Description |
---|---|
protected |
PlayerAbilities() |
Modifier and Type | Method and Description |
---|---|
OutPacket |
asPacket() |
boolean |
canBuild() |
boolean |
canFly() |
float |
flyingSpeed() |
boolean |
isCreative() |
boolean |
isFlying() |
boolean |
isInvulnerable() |
float |
walkingSpeed() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process
protected float walkingSpeed
protected float flySpeed
protected byte canFly
protected byte flying
protected byte invulnerable
protected byte canBuild
protected byte creative
protected PlayerAbilities()
public float walkingSpeed()
public float flyingSpeed()
public boolean canFly()
public boolean isFlying()
public boolean isInvulnerable()
public boolean canBuild()
public boolean isCreative()
Copyright © 2016. All rights reserved.