public class PlayerAbilities
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
allowEdit |
boolean |
allowFlying |
boolean |
disableDamage |
private float |
flySpeed |
boolean |
isCreativeMode |
boolean |
isFlying |
private float |
walkSpeed |
Constructor and Description |
---|
PlayerAbilities() |
Modifier and Type | Method and Description |
---|---|
float |
getFlySpeed() |
float |
getWalkSpeed() |
void |
read(CompoundNBT tagCompound) |
void |
setFlySpeed(float speed) |
void |
setWalkSpeed(float speed) |
void |
write(CompoundNBT tagCompound) |
public boolean disableDamage
public boolean isFlying
public boolean allowFlying
public boolean isCreativeMode
public boolean allowEdit
private float flySpeed
private float walkSpeed
public void write(CompoundNBT tagCompound)
public void read(CompoundNBT tagCompound)
public float getFlySpeed()
public void setFlySpeed(float speed)
public float getWalkSpeed()
public void setWalkSpeed(float speed)