Table of Contents

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 float
entity Entity
pos EntityPos
controls EntityControls

ApplyFreeFall(float, Entity, EntityPos, EntityControls)

public override void ApplyFreeFall(float dt, Entity entity, EntityPos pos, EntityControls controls)

Parameters

dt float
entity Entity
pos EntityPos
controls EntityControls

Initialize(JsonObject, Entity)

Config passed in from the behavior in the entity class.

public override void Initialize(JsonObject config, Entity entity)

Parameters

config JsonObject
entity Entity