功能说明
通常测试 Create: Aeronautics(航空)模组中的机械装置意味着要冒失去你的飞船、周围建筑或辛苦维护的景观的风险。本模组添加了一个专用的测试维度,默认游戏模式为创造模式,并且完全兼容 Sable。进入和离开时,物品栏会保存、清空并恢复。同时完整支持 Curios API(再也不用每次重新登录都重新装备 Create 护目镜了, rejoice!)。
每位玩家拥有自己的私有测试区域,通过自行建造的传送门进入。空间处理采用了反向下界旅行逻辑:主世界中的 1 个方块在创造维度中相当于 8 个方块,这意味着即使建造得很近的传送门,也能为不同玩家的建造和测试空间提供足够的缓冲余地。
此外,本模组还添加了一个新的饰品槽位物品——“创造工具箱”。在创造维度中佩戴此物品可获得 9 个调色板,每个调色板包含 9 个槽位,可以预先加载不同的物品/工具/方块组。默认情况下有两个未绑定的专用按键。按下配置键将打开与当前快捷栏选中槽位相对应的工具箱调色板,用于设置物品的加载和卸载;这是你配置调色板的地方。按下热键切换后,物品会显示在屏幕上,直到你点击所需的方块,此时手中的物品会返回其对应的调色板,并将你选择的方块瞬间放入手中。这一机制直接灵感来源于 Create 模组的工具箱,但扩展了限制数量,并充分考虑了创造模式的自由度。
工作原理
如何建造传送门? 在主世界的任意位置用紫水晶块制作一个空心矩形(最小宽度 × 高度为 2 × 3,规则同下界传送门),然后用打火石点燃。这会自动在创造维度内为你构建一个匹配的传送门。
跨步穿过。 走进传送门的效果类似于真实的下界传送门:站在里面几秒钟即可(如果你已经在创造模式下则立即生效),期间会有彩虹屏幕特效作为充能动画。然后你会被传送到创造维度。你的生存模式物品栏以及其中的饰品会被安全存储。
一旦进入呢? 在里面建造的任何东西都会留在里面。设计上,走出去时会清空你的物品栏,因此没有任何东西会带回生存模式。自动延续到下一次创造会话的是你的调色板:上次设置的工具、方块和 Curios 饰品会在你回来时重新出现,这样你每次访问都不需要重新收集搭建材料。
走回去。 使用同一个传送门,你将回到离开的确切位置,原始的物品栏、游戏模式和位置完全恢复。如果通过另一个传送门进入,你将在主世界中对应的位置出现。
命令
/creativedim leave -- 离开并恢复生存状态(可从任何位置、任何时间执行,只要你身处该维度内)
/creativedim enter -- 仅限操作员的快捷方式,通往固定的测试锚点,无需建造传送门即可快速进行管理员访问
/creativedim restore <player> -- 操作员的安全网功能,强制恢复某人的物品栏以防其在访问过程中卡住或断开连接
/creativedim debug -- 仅限操作员,转储传送门链接注册表以进行故障排除
/creativedim resetlinks -- 仅限操作员,清除看起来陈旧或损坏的传送门链接数据
需求
需同时安装 Create、Sable、Create Aeronautics 和 Curios API(均为必需项,均在此页面链接为依赖项)。基于以下确切版本构建和测试:
- Create 6.0.10
- Sable 2.0.3
- Create Aeronautics (Simulated Project) 1.3.0
- Curios API 9.5.1+1.21.1
Minecraft 1.21.1, NeoForge。这些模组的其他版本未经过测试,可能无法正常工作。
备注及已知限制
- 创造维度内禁止使用末影箱。由于它们的内容是与玩家绑定而非位置绑定的,如果允许访问它们,就会违背物品栏分离设计的初衷。
- 传送门框架检测采用泛洪填充方法,而非原版算法的精确移植。对于正常的矩形框架运行可靠,但理论上,靠近真实框架的不规则紫水晶簇可能会造成混淆。
- 无论原始框架有多大,每个主世界传送门都会在创造侧构建一个固定的 2×3 对应副本。
关于开发过程的说明
本模组是使用 Claude 开发的,经历了实施、测试以及在实时服务器上的真实错误修复等多轮往返过程。我分享这一点是为了透明化,而不是将其伪装成手写代码。代码经过了深入且实际的调试,包括两个通过实际使用发现并被修复的真实漏洞(Curios 饰品槽位和末影箱绕过物品栏分离机制),而不仅仅是理论推测。如果你对完整的开发历史感兴趣,请参阅仓库中的 CHANGELOG。
支持
源代码完全开源——请参阅 GitHub 仓库。我在自己的服务器上使用该模组,因此当我遇到真实错误或收到足够详细的重现报告时,我会修复它们。我不接受超出此处功能范围的新功能请求。如果你想自行扩展它,欢迎提交拉取请求(请参阅 CONTRIBUTING.md)。
What this does
Testing a Create: Aeronautics contraption normally means risking your ship, the builds around it or just the scenic views you've worked so hard to preserve. This mod adds a dedicated testing dimension where creative is the default gamemode, fully compatible with Sable. Inventories are saved, wiped and restored upon entering and leaving. Including full Curio support (no re-equipping your create goggles every rejoin, rejoice!)
Every player gets their own private testing area, reached through a portal they build themselves. Space is handled with an inverted nether travel logic, 1 block in the overworld is 8 blocks in the creative dimension meaning even portals built close together allow for breathing room between players building and testing space.
This also adds a new curio, the 'Creative Toolbox'. Wearing this while in the creative dimension gives you 9 palettes, each with 9 slots, that can be preloaded with different groups of items/tools/blocks. There are 2 dedicated keybinds that ship unbound by default. Press the config key and it will open the toolbox palette corresponding to the hotbar slot you have selected for item loading and unloading, this is where you setup your palettes. Press the Hot Swap key and your items appear on screen until you click the desired block, at which point it returns your item in hand to its palette and instantly puts your chosen block in hand. This mechanic was directly inspired from Create mod's toolbox just with expanded limits and the freedom of creative taken into account.
How it works
How do we build a portal? Make a hollow rectangle of Amethyst Block (minimum 2 wide × 3 tall, same size rules as a Nether portal) anywhere in the overworld, then light it with Flint and Steel. This automatically builds a matching portal for you inside the creative dimension.
Step through. Walking into the portal works like a real Nether portal, a few seconds standing inside it (instant if you're already in creative mode), with a rainbow screen effect while it charges. Then you teleport to the creative dimension. Your survival inventory is safely stored and your curios along with it.
And once you're in? Anything you build while inside stays inside. Walking back out wipes your inventory by design, so nothing crosses back into survival. What does carry over automatically to the next creative session is your palette: whatever tools, blocks, and Curios accessories you had set up last time reappear when you come back, so you're not re-gathering a setup every visit.
Walk back out. Same portal, and you're returned to the exact spot you left, with your original inventory, gamemode, and position fully restored. Enter through a different portal and you will pop up at the analogous position in the overworld.
Commands
/creativedim leave -- leave and restore your survival state (works from anywhere, anytime you're inside)
/creativedim enter -- operator-only shortcut to a fixed testing anchor, for quick admin access without needing a portal
/creativedim restore <player> -- operator safety net to force-restore someone's inventory if they get stuck or disconnect mid-visit
/creativedim debug -- operator-only, dumps the portal link registry for troubleshooting
/creativedim resetlinks -- operator-only, clears portal link data if it ever looks stale/corrupted
Requirements
Needs Create, Sable, Create Aeronautics, and Curios API installed alongside it (all required, all linked as dependencies on this page). Built and tested against these exact versions:
- Create 6.0.10
- Sable 2.0.3
- Create Aeronautics (Simulated Project) 1.3.0
- Curios API 9.5.1+1.21.1
Minecraft 1.21.1, NeoForge. Other versions of these mods haven't been tested and may not work.
Notes and known limitations
- Ender Chests are blocked inside the creative dimension. Their contents are tied to the player rather than the location, so leaving them accessible would defeat the whole point of the inventory separation.
- Portal frame detection uses a flood-fill approach rather than an exact port of vanilla's algorithm. Works reliably for a normal rectangular frame though unusual amethyst clusters sitting near a real frame could theoretically confuse it.
- Every overworld portal builds a fixed 2×3 analogous copy on the creative side, regardless of how large the original frame is.
A note on how this was built
This mod was built with Claude, through an extended back-and-forth of implementation, testing, and real bug fixes on a live server. I'm sharing that rather than passing it off as hand-written. The code has been through genuine, involved debugging, including two confirmed real exploits (Curios accessory slots and Ender Chests bypassing the inventory separation) that were found through actual use and fixed, not just theorized about. Full development history is in the repo's CHANGELOG if you're curious.
Support
Source is fully open -- see the GitHub repo. I use this on my own server, so I'll fix real bugs when I run into them or when they're reported with enough detail to reproduce. I'm not taking requests for new features beyond what's here. If you want to extend it yourself, pull requests are welcome (see CONTRIBUTING.md).
评论 0
登录后参与评分
还没有评论,来抢沙发吧