NTM Immersive Portals
....是一款 Minecraft 模组,它让 NTM 中的 TARDIS 使用 Immersive Portals 来实现“内部空间更大”的效果以及无缝过渡!
此模组可用于任何整合包。
此模组需要在 服务器端 和 客户端 都安装!
➕ 功能
- 为 TARDIS 提供无缝传送门 :D
- 支持与创建自定义外景的附加组件兼容
? 鸣谢
- 感谢 Lilith 及开发团队的其他成员制作了 New TARDIS Mod!
- 感谢 Immersive Portals 团队实现了 Forge 支持!
❔ 创作动机
如果你还没看到顶部,这个模组是为了 Athena Awards 而创建的!话不多说,让我聊聊关于这个模组创作的一些事情。
有一阵子,我为自己和朋友们制作了一个与此相同的模组,用于旧版本的 TARDIS 模组。我认为这是一个非常棒的功能,因为对我来说,能够在不同维度之间 SEAMLESSLY(无缝)切换而不必观看无聊的加载屏幕简直太酷了。因此,当 New TARDIS Mod 和 Immersive Portals 都在 1.20.1 版本发布时,我抓住机会将 Immersive Portals 集成到 NTM 中,不仅为了我自己,也为了我在模组社区中认识的那些也会喜欢使用这个模组的人!
使用 IntelliJ IDEA 等软件以及 mixins 等工具,我能够修改两个模组中的方法并实现我自己的代码,从而使两者能够无缝协作。此外,我还必须为每个 TARDIS 外景创建单独的传送门,以确保传送门完美对齐。作为额外福利,如果用户向 NTM 添加自己的自定义外景,该模组拥有一个自定义的 Forge 注册表,允许这些附加组件在我的模组中添加它们自己的传送门尺寸,从而实现完全兼容!
老实说,制作这个模组很艰难!在开发过程中遇到的主要问题之一是处理 Immersive Portals。Immersive Portals 很难让它 100% 正常工作。有时模组会崩溃,因为它无法处理 NTM 用于创建其维度的维度代码。我经常遇到数据包问题,即使在我几乎完成模组时这些问题仍然存在。那时,我知道我必须修复这个 bug,否则它会成为一个会被许多人指出的明显问题。所以……我就去修了……用最糟糕的方式 ?。我所做的是覆写了模组中导致崩溃的方法,使其能与 NTM 一起工作。当然……作为一名模组开发者,这并不是好的做法,因为模组社区并不是围绕你的模组转的!不过,目前我想不出其他修复方法,而且……正如一位程序员所说:“如果没坏,就别修!”另一方面,我意识到用户可以开发自己的外景,同时与此模组保持兼容性,所以我提前在模组中编码了实现这一功能的能力!
感谢 Athena Awards 给了我这个机会来制作酷炫的东西并获得回报 :)
NTM Immersive Portals
....is a Minecraft mod that makes the TARDIS in NTM use Immersive Portals for a bigger on the inside effect with seamless transitions!
This mod may be used in any modpack.
This mod needs to be installed on BOTH the SERVER and the CLIENT!
➕ Features
- Seamless portals for the TARDIS :D
- Allows for compatibility with addons that create custom exteriors
? Credits
- Thanks to Lilith and the rest of the dev team for making New TARDIS Mod!
- Thanks to the team at Immersive Portals for making Forge support a thing!
❔ Motivation
If you didn't see already at the top, this mod was created for the Athena Awards! Without a further do, lemme yap about some things relating to this mod's creation.
So a while back, I created a mod identical to this for an older version of the TARDIS mod for me and my friends to play with personally. I thought it was an absolutely amazing feature because to me, it is just so awesome to be able to go between dimensions SEAMLESSLY without having to watch a boring loading screen. Hence, when New TARDIS Mod and Immersive Portals both released for 1.20.1, I took the opportunity to implement Immersive Portals into NTM for not only myself, but for people I know in the mod community who would love to use this mod as well!
Using software such as Intellij IDEA, and tools like mixins, I was able to modify the methods within both mods and implement my own code in order to get the two to work together seamlessly. With that said, I also had to create individual portals for each TARDIS exterior to make sure the portals lined up perfectly. As a bonus, in the event that users were to add their own custom exteriors into NTM, the mod has a custom forge registry that allows for these addons to add their own portal sizes into my mod, allowing for complete compatibility!
- How did I struggle and what did I learn?
I'll have to be honest, making this mod was tough! One of the major issues I had while developing the mod was dealing with Immersive Portals. Immersive Portals was a pain in the ass to get working 100%. Sometimes the mod would crash because it could not handle the dimension code that NTM used to create their dimensions. I often ran into packet issues which would persist even when I was almost complete with the mod. By then, I knew I had to get the bug fixed, otherwise it'd be a glaring issue that many would bring up to me. So.. I went ahead and fixed it.. by patching it in the worst way possible ?. What I did is I ended up overwriting methods that were crashing in the mod to get them to work with NTM. This of course.. is not good practice as a modder because it's not like the modding community revolves around your mod! Though, at the moment, I cannot think of any other way to fix it, and.. well.. as a programmer once said.. "if it ain't broke, don't fix it!" On the flip side, I realized it was possible for users to develop their own exteriors while simultaneously adding compatibility with this mod, so I went ahead and coded the ability for that to happen into the mod!
Thank you Athena Awards for presenting me with this opportunity to make cool shit and get cool shit out of it :)
评论 0
登录后参与评分
还没有评论,来抢沙发吧