AeroPortals
驾驶你的 Create: Aeronautics 飞艇穿过 Minecraft 或模组添加的传送门,整艘船都会随之移动。玩家、乘客、装饰物等都将一同前往。AeroPortals 是 Create 的飞艇(基于 Sable 物理系统)与 Minecraft 传送门系统之间的桥梁。
警告
Sable 是一个侵入性极强的物理模组,稳定性无法保证。在使用此模组前,请务必备份你的世界存档。如果出现问题,请在我们的 问题追踪器 上提交包含日志和复现步骤的报告。我们将尽力在修复错误的更新中兼顾新功能请求。
功能介绍
下界传送门 将飞艇驶入下界传送门,你和飞船将抵达另一侧。飞艇较宽?那就建造一个宽大的传送门。AeroPortals 会在目的地匹配源传送门的尺寸,如果需要则自动生成,并清理出一块安全的着陆区,以免你被困在玄武岩墙里。
末地传送门 驾驶飞艇进入末地传送门,飞船将降落在末地的黑曜石平台上。如果平台已被破坏(或者你在自定义末地),AeroPortals 会在你到达前重建它。从末地返回时,你会被传送到世界重生点附近。
天境传送门(安装 The Aether 后)。原理与下界传送门相同,但框架由发光岩石构成,目的地为天境维度。
Ars Nouveau 传送门(安装 Ars Nouveau 后)。使用传送卷轴配置传送门的目的地,然后将飞船飞入其中。飞船将停在配置的传送位置上方。
Draconic Evolution 传送门(安装 Draconic Evolution 后)。使用已配置的传送者构建定位器接收台传送门,并将飞船飞入其中。飞船将降落在接收台存储的目标位置上。
Pina colada 传送(安装 Tropicraft 后)。在驾驶飞艇时饮用 Pina colada,你和飞船将前往热带地区。在热带地区再喝一杯即可返回家园。
同行人员
当飞船传送时,以下实体将一同前往:
- 玩家:站在飞船上的玩家
- 装饰物和储物设施:画作、物品展示框(及其内部物品)、盔甲架、所有矿车变体、方块/物品/文本显示
- 功能性部件:Create 座椅和机械装置、Create: Aeronautics 螺旋桨和帆、Botania 魔力/科波拉爆发、雪傀儡、拴绳结
以下内容不会一同前往:
- 生物(牛、僵尸、村民等)
- 掉落物
- 投射物、下落中的方块
这与正常驾驶飞船时的行为一致:这些实体会掉落下来。传送门传送的行为与此相同。
想让牛也乘坐飞艇吗?
在 data/sable/tags/entity_type/retain_in_sub_level.json 处放入一个单文件数据包:
{
"replace": false,
"values": [
"minecraft:cow",
"minecraft:villager",
"minecraft:wolf"
]
}
多个数据包可以干净地合并,因此多个模组可以同时向该标签添加内容而互不冲突。
命令
/aeroportals teleport <dimension>(仅限 OP)
OP 级命令(权限等级 2)。将你和你骑乘的飞艇传送到指定的维度。自动补全服务器可用的维度:
overworld、nether、end始终可用- 安装 Aether 时可使用
aether - 安装 Tropicraft 时可使用
tropicraft - 你也可以直接输入任何自定义维度的名称,格式为
namespace:path
飞船将在目的地的合适位置降落:末地为黑曜石平台,其他情况则为地面上方的安全区域。
服务器管理员须知
配置文件
config/aeroportals-server.toml 在首次启动服务器时生成。
| 键名 | 默认值 | 作用 |
|---|---|---|
detection.scan_interval_ticks |
5 |
模组检查你的飞艇是否接触传送门的频率(以服务器刻为单位;20 = 1 秒)。 |
detection.verbose_logging |
true |
以 INFO 级别记录每次传送。关闭以获得更安静的日志。 |
detection.max_sublevel_aabb_volume |
200000.0 |
跳过体积超过此阈值的飞船传送。作为安全限制,防止配置不当的巨大飞船触发传送。 |
teleport.portal_cooldown_ticks |
200 |
传送后,飞船将在指定时间内(以刻为单位)无法再次通过传送门传送。防止飞船立即通过目的地传送门返回。 |
teleport.dest_portal_search_radius |
128 |
在决定建造新传送门之前,AeroPortals 会在目标位置搜索现有匹配传送门的距离。 |
teleport.generate_matching_portal |
true |
如果设置为 false,当未找到目标传送门时,传送将中止,而不是自动建造一个。 |
崩溃安全性
AeroPortals 在移动飞船前会先将飞船快照写入磁盘。如果服务器在传送过程中崩溃,飞船将在下次启动时恢复,而不会丢失。
已知限制
- 绳索和关节无法在传送中保留。 通过 Sable 绳索/对接链接连接的飞船会一起旅行并保持队形,但物理连接本身会断裂。请在目的地重新系绳或重新对接。
- 其他模组类型的传送门不受自动支持。 Twilight Forest、Mystcraft 等不会被识别。目前支持的传送门包括原版下界/末地传送门,以及 Aether、Ars Nouveau、Tropicraft 和 Draconic Evolution。
- 每次传送后速度会略微下降。 每次传送消耗约 10% 的速度(对应 Sable 的重载设置)。如果你希望完全保留速度,可以在 Sable 的配置文件中调整
sub_level_velocity_retained_on_load。
想要支持其他传送门或维度?
请在 GitHub Issue 追踪器 上提交问题。我们愿意为额外的传送门模组和自定义维度添加支持:只需告知我们希望看到哪个模组,我们会进行处理。
面向模组开发者
AeroPortals 会在每次传送后向 NeoForge 事件总线触发 SubLevelTransferEvent,包含新的 SubLevel、源/目标维度以及平移向量。如果你的模组需要跟踪跨 SubLevel 的位置(例如对接对、伙伴引用),并在移动后更新这些信息,这将非常有用。
许可证
MIT,详见 LICENSE.md。
AeroPortals
Sail your Create: Aeronautics airship through a Minecraft or Modded portal and the whole ship goes with you. Players, passengers, decorations, and more travel together. AeroPortals is the bridge between Create's airships (Sable physics) and Minecraft's portal system.
Warning
Sable is a deeply intrusive physics mod and stability is never guaranteed. Always back up your worlds before using this mod. If something goes wrong, please report it on our issue tracker with logs and a reproduction case. We will do our best to accommodate new feature requests alongside bug fix updates.
What it does
Nether portals Fly your airship into a nether portal and you and the ship arrive on the other side. Wide ship? Build a wide portal. AeroPortals matches the source portal's dimensions at the destination, generates one if needed, and clears a safe landing area so you don't end up entombed in a wall of basalt.
End portals Sail onto an end portal and the ship lands on the obsidian platform in the End. If the platform was destroyed (or you're in a custom End) AeroPortals rebuilds it before you arrive. Travelling back from the End drops you near world spawn.
Aether portals (when The Aether is installed). Same idea as nether portals but with glowstone frames and the Aether dimension.
Ars Nouveau warp portals (when Ars Nouveau is installed). Use a Warp Scroll to configure the portal's destination, then fly your ship into it. The ship lands on top of the configured warp position.
Draconic Evolution portals (when Draconic Evolution is installed). Build a Dislocator Receptacle portal with a configured Dislocator and fly your ship through. The ship lands on the receptacle's stored target.
Pina colada teleport (when Tropicraft is installed). Drink a pina colada while sailing your airship and you and the ship travel to the Tropics. Drink another in the Tropics to come home.
Who comes with you
When the ship teleports, these passengers come along:
- Players standing on the ship
- Decorations and storage: paintings, item frames (and what's inside them), armor stands, all minecart variants, block/item/text displays
- Functional bits: Create seats and contraptions, Create: Aeronautics propellers and sails, Botania mana/corporea bursts, snow golems, leash knots
These do NOT come along:
- Mobs (cows, zombies, villagers, ...)
- Dropped items
- Projectiles, falling blocks
This matches what already happens when you fly your ship around normally: those entities fall off. The portal teleport behaves the same way.
Want cows on your airship?
Drop in a one-file datapack at data/sable/tags/entity_type/retain_in_sub_level.json:
{
"replace": false,
"values": [
"minecraft:cow",
"minecraft:villager",
"minecraft:wolf"
]
}
Multiple datapacks merge cleanly, so several mods can add to this tag without stepping on each other.
Commands
/aeroportals teleport <dimension> (op only)
OP-level command (permission level 2). Teleports you and the airship you're riding to the named dimension. Autocompletes the dimensions available to your server:
overworld,nether,endalwaysaetherwhen Aether is installedtropicraftwhen Tropicraft is installed- You can also type any custom dimension as
namespace:pathdirectly
The ship lands at a sensible spot in the destination: the obsidian platform for the End, somewhere safe above the surface for everything else.
For server admins
Config
config/aeroportals-server.toml is generated on first server launch.
| Key | Default | What it does |
|---|---|---|
detection.scan_interval_ticks |
5 |
How often the mod checks if your airship is touching a portal (in server ticks; 20 = 1 second). |
detection.verbose_logging |
true |
Log each teleport at INFO level. Turn off for quieter logs. |
detection.max_sublevel_aabb_volume |
200000.0 |
Skip teleporting any ship larger than this volume. Sanity guard so a wildly-misconfigured ship doesn't trigger a teleport. |
teleport.portal_cooldown_ticks |
200 |
After teleporting, the ship is locked out of portals for this long (in ticks). Prevents a ship from immediately re-teleporting back through the destination portal. |
teleport.dest_portal_search_radius |
128 |
How far AeroPortals looks for an existing matching portal at the destination before deciding to build a new one. |
teleport.generate_matching_portal |
true |
If false, the teleport aborts when no destination portal is found instead of building one. |
Crash safety
AeroPortals writes the ship snapshot to disk before moving it. If the server crashes mid-teleport, the ship is recovered on next startup instead of being lost.
Known limitations
- Ropes and joints don't survive teleport. Ships connected by Sable rope/docking links travel together and stay in formation, but the physical connection itself breaks. Re-tie the rope or re-dock at the destination.
- Other modded portal types aren't auto-supported. Twilight Forest, Mystcraft, etc. aren't recognized. Vanilla nether/end, plus Aether, Ars Nouveau, Tropicraft, and Draconic Evolution are the supported portals today.
- Speed slightly drops per teleport. Each portal trip costs about 10% of your velocity (Sable's reload setting). Tune
sub_level_velocity_retained_on_loadin Sable's config if you want full preservation.
Want support for another portal or dimension?
Open an issue on the GitHub issue tracker. We're open to adding support for additional portal mods and custom dimensions: just let us know which mod you'd like to see and we'll take a look.
For mod developers
AeroPortals fires SubLevelTransferEvent on the NeoForge event bus after each teleport, with the new SubLevel, source/destination dimensions, and translation vector. Useful if your mod tracks cross-SubLevel positions (for example, docking pairs, partner references) that need updating after a move.
License
MIT, see LICENSE.md.
下载 Create: AeroPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create: AeroPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create: AeroPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create: AeroPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create: AeroPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create: AeroPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create: AeroPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create: AeroPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create: AeroPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create: AeroPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
AeroPortals 1.3.6
新增
- 飞艇现在可以穿过 Irregular Implements 的人造末地传送门(FTBTeam/FTB-Modpack-Issues#13439)。
修复
- 搭载 AE2 量子桥的飞艇在跨维度旅行时不再崩溃(FTBTeam/FTB-Modpack-Issues#13439)。
- 当区块实体在传输过程中卸载失败时,飞艇会保留其方块和货物。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧