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 |
readCapabilitiesFromNBT(NBTTagCompound p_75095_1_) |
void |
setFlySpeed(float p_75092_1_) |
void |
setPlayerWalkSpeed(float p_82877_1_) |
void |
writeCapabilitiesToNBT(NBTTagCompound p_75091_1_) |
public boolean disableDamage
public boolean isFlying
public boolean allowFlying
public boolean isCreativeMode
public boolean allowEdit
public void writeCapabilitiesToNBT(NBTTagCompound p_75091_1_)
public void readCapabilitiesFromNBT(NBTTagCompound p_75095_1_)
public float getFlySpeed()
public void setFlySpeed(float p_75092_1_)
public float getWalkSpeed()
public void setPlayerWalkSpeed(float p_82877_1_)