public class PlayerAbilities
extends java.lang.Object
修飾子とタイプ | フィールドと説明 |
---|---|
boolean |
allowEdit |
boolean |
allowFlying |
boolean |
disableDamage |
boolean |
isCreativeMode |
boolean |
isFlying |
コンストラクタと説明 |
---|
PlayerAbilities() |
修飾子とタイプ | メソッドと説明 |
---|---|
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
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)