public class PlayerCapabilities
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
allowEdit |
boolean |
allowFlying |
boolean |
disableDamage |
boolean |
isCreativeMode |
boolean |
isFlying |
Constructor and Description |
---|
PlayerCapabilities() |
Modifier and Type | Method and Description |
---|---|
float |
getFlySpeed() |
float |
getWalkSpeed() |
void |
read(NBTTagCompound tagCompound) |
void |
setFlySpeed(double p_195931_1_) |
void |
setWalkSpeed(float speed) |
void |
write(NBTTagCompound tagCompound) |
public boolean disableDamage
public boolean isFlying
public boolean allowFlying
public boolean isCreativeMode
public boolean allowEdit
public void write(NBTTagCompound tagCompound)
public void read(NBTTagCompound tagCompound)
public float getFlySpeed()
public void setFlySpeed(double p_195931_1_)
public float getWalkSpeed()
public void setWalkSpeed(float speed)