Class PModulePlayerInAir
- Namespace
- Vintagestory.API.Common.Entities
- Assembly
- VintagestoryAPI.dll
public class PModulePlayerInAir : PModuleInAir
- Inheritance
-
PModulePlayerInAir
- Inherited Members
- Extension Methods
Methods
ApplyFlying(float, Entity, EntityPos, EntityControls)
Creative flight movement, possibly glider too?
public override void ApplyFlying(float dt, Entity entity, EntityPos pos, EntityControls controls)
Parameters
dt
floatentity
Entitypos
EntityPoscontrols
EntityControls
ApplyFreeFall(float, Entity, EntityPos, EntityControls)
public override void ApplyFreeFall(float dt, Entity entity, EntityPos pos, EntityControls controls)
Parameters
dt
floatentity
Entitypos
EntityPoscontrols
EntityControls
Initialize(JsonObject, Entity)
Config passed in from the behavior in the entity class.
public override void Initialize(JsonObject config, Entity entity)
Parameters
config
JsonObjectentity
Entity