Documentation ¶
Index ¶
Constants ¶
View Source
const ( Gravity = 0.08 SlowFallGravity = 0.01 AirDrag = 0.98 YawSpeed = 3.0 PitchSpeed = 3.0 PlayerSpeed = 0.1 SprintSpeed = 0.3 SneakSpeed = 0.3 StepHeight = 0.6 NegligibleVelocity = 0.003 SoulSandMultiplier = 0.4 HoneyBlockMultiplier = 0.4 LadderMaxSpeed = 0.15 LadderAcceleration = 0.2 WaterDrag = 0.8 WaterSprintDrag = 0.9 WaterDolphinDrag = 0.96 LavaDrag = 0.5 WaterGravity = 0.02 LavaGravity = 0.02 LiquidAcceleration = 0.02 AirBornInertia = 0.91 AirBornAcceleration = 0.02 DefaultSlipperiness = 0.6 OutOfLiquidImpulse = 0.3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DamageSource ¶
type DamageSource int
const ( None DamageSource = iota - 1 Anvil Cactus Cramming DragonBreath Drowning Fall FallingBlock Fireworks FlyIntoWall Generic HotFloor InFire InWall Lava LightningBolt Magic OnFire OutOfWorld Starve Wither )
type PlayerAction ¶
type PlayerAction int
const ( PressShiftKey PlayerAction = iota ReleaseShiftKey StopSleeping StartSprinting StopSprinting StartJumpWithHorse StopJumpWithHorse OpenHorseInventory StartFlyingWithElytra )
Click to show internal directories.
Click to hide internal directories.