Links
Tags
Creators
Details
Licensed GPL-3.0-only
Published 4 months ago
Updated 4 days ago
All versions
2.10
Release
Math Function 2.104 days ago 16
Compatibility
Minecraft: Java Edition
1.21.1
Platform
NeoForge
Supported environments
Client and server
Changes
【中文更新日志】
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!
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:PCGFmGm4:pSpyN3Zm"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:PCGFmGm4:pSpyN3Zm"
}

