Apex Mobility
终极移动整合包,包含 3 种核心物品:
? 抓钩 — 利用真实的动量在空中摆荡,松开时会被甩出去。
? 滑索 — 瞄准视野内的任何目标发射,并以直线被拉向它。
?️ 粘靴 — 像蜘蛛一样攀爬任何墙壁。由任意靴子合成,附魔效果保留。
原版数据包,适用于 Minecraft 26.2。无需模组。
安装
将文件夹放入 <world>/datapacks/ 中。仅此而已 — 该整合包会在原版的 tick 和 load 标签上自行注册。
然后启用 resourcepack/:它包含了物品纹理,如果没有它,六个抓钩和滑索将显示为缺失模型。它还添加了法语支持;英语已内置于数据包中。
控制键
| 按键 |
抓钩 |
滑索 |
| 前进 |
收回(疾跑 = 更用力) |
加速 |
| 后退 |
放出缆绳 |
减速 |
| 左 / 右 |
侧向摆动 |
— |
| 右键 |
空中重新挂钩 |
空中重新挂钩 |
| 空格 |
沿动量发射 |
沿动量发射 |
| Shift |
切断绳索 |
切断绳索 |
发射会沿着你的动量将你抛出 — 你移动得越快,飞得越远。它在你的脚下发射压缩空气爆发,就像《进击的巨人》中的 ODM 立体机动装置那样。潜行则会切断绳索:你会从当前位置掉落,并伴随一秒的缓慢下落效果,以便在你只想离开时使用。
粘靴:走进墙壁即可攀爬,潜行则向下爬回。
合成表
|
铁 — 48 格耐久,480 次使用 |
钻石 — 64 格耐久,1056 次使用 |
下界合金 — 80 格耐久,2112 次使用 |
| 抓钩 |
 |
 |
 |
| 滑索 |
 |
 |
 |
|
任意靴子,保留附魔和伤害值 |
| 粘靴 |
 |
参数调整
所有常量均位于 grapple/load.mcfunction 中,单位为每刻毫秒方块 (1000 = 1 方块/刻):#drag、#gravity、#vmax、#zip_speed、#reel_in…
#aim 设置发射角度 — 即风弹汇聚的高度,这决定了抛物线轨迹。在释放速度为 0.8 方块/刻时测量:
#aim |
角度 |
| 0 |
~61° |
| 1000 |
~45° |
| 1400 (默认) |
~29° |
负值会从下方发射,几乎垂直向上发射。发射力度取决于风弹的数量,它们可以叠加:1 个对应低于 1.0 方块/刻,2 个对应最高 2.0,3 个对应更高。
在地图中使用
物品来自战利品表,因此无需重复生成:
apex_mobility:grapple/item[_tier2|_tier3]
apex_mobility:zipline/item[_tier2|_tier3]
使用命令 loot give @s loot apex_mobility:grapple/item_tier2,或在箱子、交易或奖励中引用该表。物品通过自定义数据标识,因此在砧台上重命名不会导致其失效。
工作原理
在缆绳上时,你乘坐的是一个隐形盔甲架,其位置由整合包每刻自行积分计算,碰撞检测基于玩家的宽度而非载具的宽度 — 这正是你在奇怪角度能避开墙壁的原因。
松开后会销毁载具并将控制权交还给你自己的客户端,这比任何服务器驱动的载具都要流畅。风弹携带你的动量穿过空间,因为直接给玩家写入 Motion 无效:服务器仅在真实击退时才发送速度数据包。
属于一个更大项目的一部分,敬请期待。采用 MIT 许可证。
Apex Mobility
The Ultimate Mobility Pack, featuring 3 core items:
? Grappling Hook — Swing through the air with real momentum, and get thrown by it when you let go.
? Zipline — Fire at anything in sight and get pulled to it in a dead straight line.
?️ Sticky Boots — Climb any wall like a spider. Craft from any boots, enchantments intact.
Vanilla datapack, Minecraft 26.2. No mod needed.
Install
Drop the folder into <world>/datapacks/. That is all — the pack registers itself
on the vanilla tick and load tags.
Then enable resourcepack/: it holds the item textures, so without it the six
grappling hooks and ziplines render as a missing model. It also adds French;
English is built into the datapack.
Controls
| Key |
Grappling Hook |
Zipline |
| Forward |
Reel in (sprint = harder) |
Speed up |
| Back |
Pay out cable |
Slow down |
| Left / right |
Swing sideways |
— |
| Right click |
Re-hook mid-air |
Re-hook mid-air |
| Space |
Launch with your momentum |
Launch with your momentum |
| Shift |
Cut the rope |
Cut the rope |
Launching throws you along your momentum — the faster you move, the further you
fly. It fires compressed-air bursts beneath you, the way ODM gear works in
Attack on Titan. Sneak instead cuts the rope: you drop from where you are,
with a second of slow falling, for when you just want off.
Sticky Boots: walk into a wall to climb, sneak to go back down.
Recipes
|
Iron — 48 blocks, 480 uses |
Diamond — 64 blocks, 1056 uses |
Netherite — 80 blocks, 2112 uses |
| Grappling Hook |
 |
 |
 |
| Zipline |
 |
 |
 |
|
Any boots, enchantments and damage preserved |
| Sticky Boots |
 |
Tuning
All constants are in grapple/load.mcfunction, in milliblocks per tick
(1000 = 1 block/tick): #drag, #gravity, #vmax, #zip_speed, #reel_in…
#aim sets the launch angle — the height the wind charge converges on, which is
what decides the arc. Measured at 0.8 blocks/tick release:
#aim |
Angle |
| 0 |
~61° |
| 1000 |
~45° |
| 1400 (default) |
~29° |
Negative fires from under you, launching nearly straight up. Launch power comes
from the number of wind charges, which stack: 1 below 1.0 block/tick, 2 up to
2.0, 3 beyond.
Using it in a map
Items come from loot tables, so nothing has to be duplicated:
apex_mobility:grapple/item[_tier2|_tier3]
apex_mobility:zipline/item[_tier2|_tier3]
loot give @s loot apex_mobility:grapple/item_tier2, or reference the table from
a chest, trade or reward. Items are identified by custom data, so renaming one in
an anvil does not break it.
How it works
On a cable you ride an invisible armor stand whose position the pack integrates
itself each tick, colliding against the player's width rather than the carrier's —
that is what keeps you out of walls at awkward angles.
Letting go destroys the carrier and hands you back to your own client, which is
smoother than any server-driven vehicle. A wind charge carries your momentum
across, because writing Motion onto a player does nothing: the server only
sends a velocity packet on a real knockback.
Part of a larger project, still to come. MIT licensed.
评论 0
登录后参与评分
还没有评论,来抢沙发吧