【中文更新日志】
2.10 版本更新 - 三维空间轨迹支持:
- 新增三维函数轨迹支持!现在可以使用
y=表达式;z=表达式格式为弹射物定义三维空间中的立体轨迹,让箭矢、TNT 和烟花火箭在飞行时同时沿 Y 轴(高度)和 Z 轴(水平偏移)变化,实现螺旋线、波浪线等炫酷的立体弹道! - 支持纯 Z 轴轨迹:使用
z=表达式格式可以单独定义水平偏移,Y 轴保持为 0(即贴地飞行)。 - 向后兼容:原有的
y=表达式和f(x)=表达式格式继续有效,旧存档和命名不受影响。 - 解析器新增对
y=...;z=...双表达式格式的识别,自动检测并启用三维轨迹模式。 - 三维轨迹的起始点会自动寻找有效的起始 x 值,避免因表达式在 x=0 处无效而无法发射的问题。
- 所有弹射物类型(箭矢、TNT、烟花火箭)均支持三维轨迹,激发更多创意玩法!
【English Changelog】
Version 2.10 - 3D trajectory support:
- Added 3D function trajectory support! Use the
y=expression;z=expressionformat to define立体 trajectories for projectiles, allowing arrows, TNT, and fireworks to change in both Y-axis (height) and Z-axis (horizontal offset) simultaneously – create stunning spiral patterns, wave paths, and more! - Support for Z-axis only: use
z=expressionformat to define horizontal offset independently, with Y fixed at 0 (ground-level flight). - Backward compatible: existing
y=expressionandf(x)=expressionformats continue to work – old saves and renames are unaffected. - Parser now recognizes the
y=...;z=...dual-expression format and automatically enables 3D trajectory mode. - 3D trajectories automatically find valid starting x values, preventing launch failures when expressions are invalid at x=0.
- All projectile types (arrows, TNT, fireworks) support 3D trajectories – unlock even more creative possibilities!