Package net.minecraft.entity.player
Class PlayerAbilities
- java.lang.Object
-
- net.minecraft.entity.player.PlayerAbilities
-
public class PlayerAbilities extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description boolean
flying
private float
flyingSpeed
boolean
instabuild
boolean
invulnerable
boolean
mayBuild
boolean
mayfly
private float
walkingSpeed
-
Constructor Summary
Constructors Constructor Description PlayerAbilities()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSaveData(CompoundNBT p_75091_1_)
float
getFlyingSpeed()
float
getWalkingSpeed()
void
loadSaveData(CompoundNBT p_75095_1_)
void
setFlyingSpeed(float p_195931_1_)
void
setWalkingSpeed(float p_82877_1_)
-
-
-
Method Detail
-
addSaveData
public void addSaveData(CompoundNBT p_75091_1_)
-
loadSaveData
public void loadSaveData(CompoundNBT p_75095_1_)
-
getFlyingSpeed
public float getFlyingSpeed()
-
setFlyingSpeed
public void setFlyingSpeed(float p_195931_1_)
-
getWalkingSpeed
public float getWalkingSpeed()
-
setWalkingSpeed
public void setWalkingSpeed(float p_82877_1_)
-
-