Class Abilities
java.lang.Object
net.minecraft.world.entity.player.Abilities
-
Field Summary
Modifier and TypeFieldDescriptionboolean
private float
boolean
boolean
boolean
boolean
Deprecated.private float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSaveData
(CompoundTag p_35946_) float
float
void
loadSaveData
(CompoundTag p_35951_) void
setFlyingSpeed
(float p_35944_) void
setWalkingSpeed
(float p_35949_)
-
Field Details
-
invulnerable
public boolean invulnerable -
flying
public boolean flying -
mayfly
Deprecated.Neoforge: useIPlayerExtension.mayFly()
to read andNeoForgeMod.CREATIVE_FLIGHT
Attribute to modify -
instabuild
public boolean instabuild -
mayBuild
public boolean mayBuild -
flyingSpeed
private float flyingSpeed -
walkingSpeed
private float walkingSpeed
-
-
Constructor Details
-
Abilities
public Abilities()
-
-
Method Details
-
addSaveData
-
loadSaveData
-
getFlyingSpeed
public float getFlyingSpeed() -
setFlyingSpeed
public void setFlyingSpeed(float p_35944_) -
getWalkingSpeed
public float getWalkingSpeed() -
setWalkingSpeed
public void setWalkingSpeed(float p_35949_)
-
IPlayerExtension.mayFly()
to read andNeoForgeMod.CREATIVE_FLIGHT
Attribute to modify