Package net.minecraft.entity.player
Class PlayerAbilities
java.lang.Object
net.minecraft.entity.player.PlayerAbilities
-
Field Summary
Modifier and TypeFieldDescriptionboolean
private float
boolean
boolean
boolean
boolean
private float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSaveData
(CompoundNBT p_75091_1_) float
float
void
loadSaveData
(CompoundNBT p_75095_1_) void
setFlyingSpeed
(float p_195931_1_) void
setWalkingSpeed
(float p_82877_1_)
-
Field Details
-
invulnerable
public boolean invulnerable -
flying
public boolean flying -
mayfly
public boolean mayfly -
instabuild
public boolean instabuild -
mayBuild
public boolean mayBuild -
flyingSpeed
private float flyingSpeed -
walkingSpeed
private float walkingSpeed
-
-
Constructor Details
-
PlayerAbilities
public PlayerAbilities()
-
-
Method Details
-
addSaveData
-
loadSaveData
-
getFlyingSpeed
public float getFlyingSpeed() -
setFlyingSpeed
public void setFlyingSpeed(float p_195931_1_) -
getWalkingSpeed
public float getWalkingSpeed() -
setWalkingSpeed
public void setWalkingSpeed(float p_82877_1_)
-