Files
小坤 1d963e8307
Some checks failed
Deploy VitePress to AliYun OSS / build-and-deploy (push) Has been cancelled
补充3.7版本文档:物理系统API/事件/枚举值、游戏设置事件、物品ID变更、物理使用指南
2026-03-02 00:17:03 +08:00

486 B
Raw Permalink Blame History

PxForceMode

class in mod.common.minecraftEnum

  • 描述

    添加力的模式

class PxForceMode(object):
	eFORCE = 0              # 力,单位为质量 × 距离 / 时间²
	eIMPULSE = 1            # 冲量,单位为质量 × 距离 / 时间
	eVELOCITY_CHANGE = 2    # 速度变化,单位为距离 / 时间,直接改变速度,与质量无关
	eACCELERATION = 3       # 加速度,单位为距离 / 时间²,直接施加加速度,与质量无关