
U.P.E.(Unreal Portal Engine)是一款资源引擎,旨在从视觉上提升 Minecraft Java 版中传送门的效果。
你还记得 20w14infinite 快照以及 jeb_ 羊中的彩色传送门吗?我使用 CIT(自定义物品纹理)技术创建了资源包,在其中实现了通过重命名的皮革盔甲和染料来为传送门上色的功能,并可以为它们应用任意图像。
为什么不是直接使用资源包呢?在开发过程中,由于最终资源包的体积、Minecraft 模型的限制,以及在旧版本和操作系统本身存在的名称长度限制,我遇到了困难。因此,我不得不将资源包拆分为多个独立的组件。
核心引擎(适用于所有游戏版本)
附加组件(适用于 Optifine 1.9 至 1.21.4 版本,以及 1.21.5 及之后的所有版本,包括快照)
连接器(适用于 1.21.5 及之后所有版本(包括快照)的附加组件)
核心引擎本身并不执行任何操作。它仅仅是一组模型的集合。因此,在游戏中启用它不会带来任何变化。
附加组件与引擎配合工作。借助它们,你可以为传送门上色,或使用任意 PNG 图像(或经过适当转换后的 GIF)。你也可以使用任意图像并用染料进行着色。这一切都取决于你的想象力。
连接器是为了解决资源包列表优先级问题而创建的。它用于允许附加组件在 1.21.5+ 版本中协同工作。
资源包在哪些场景下有用?单人游戏和服务端均可使用。
由于这些是涉及物品重命名的资源包,所有安装了它们的玩家都能看到视觉效果的变化。
你可以通过颜色编码来标记传送门,以记住哪个传送门通向何处,或者哪个传送门与哪个相连。
你还可以创建一个传送门画廊。
这一切都取决于你的想象力。
常见问题解答
问题 1:该引擎的作用是什么?
回答:添加一组 .json 模型,在对物品进行重命名后,可以实现以下效果:
但如果仅启用资源包,游戏中不会发生任何变化,因为它仅仅是一组模型。
问题 2:运行该引擎需要什么条件?
回答:你需要使用 CIT(自定义物品纹理)技术为其创建附加组件。CIT 技术在 Optifine 中可用,也可在三方模组如 CIT Resewn 中使用;从 1.21.5 版本开始,原生 Minecraft 游戏也支持该技术。
问题 3:附加组件在服务端也能生效吗?
回答:可以,因为 CIT(自定义物品纹理)仅在客户端运行,而不涉及服务端。
问题 4:如何创建自己的附加组件?
回答:你需要掌握资源包的相关知识,具备用于批量文件重命名的脚本知识,以及使用 Notepad++ 进行批量字符替换的能力。
问题 5:你说的“批量重命名”是什么意思?
回答:指的是传送门的尺寸。该引擎支持所有尺寸的传送门,从理论上不可行的 1x1 到最大尺寸 21x21 均涵盖在内。

U.P.E. aka Unreal Portal Engine - is a resource engine designed to visually improve the portal(s) in Minecraft Java Edition.
Do you remember the colored portals from the 20w14infinite snapshot and jeb_ the sheep? I created resource packs using CIT (Custom Item Textures), in which I implemented the ability to paint portals using renamed leather armor and dye, and to apply absolutely any image to them.
Resource packs? Why not a resource pack? During development, I encountered difficulties due to the final resource pack size, model limitations in Minecraft, and name length limitations in older versions and in the OS itself. Therefore, I had to split the resource packs into separate components.
Core Engine (for all game versions)
Add-ons (for Optifine versions from 1.9 to 1.21.4 and for versions starting from 1.21.5 and all future versions, including snapshots)
Connector (for add-ons for game versions 1.21.5 and all future versions, including snapshots)
The core engine doesn't do anything on its own. It's just a collection of models. So, enabling it in-game won't change anything.
Addons work alongside the engine. With them, you can paint portals or use any PNG image (or GIF after proper conversion). Or you can use any image and color it with a dye. It's all up to your imagination.
Connector was created due to the priority of resource packs in the list. It's needed to allow addons to work together on versions 1.21.5+.
Where is a resource pack useful? In singleplayer and on servers.
Since these are resource packs with item renaming, all visual changes will be visible to everyone who has them installed.
You can color-code portals to help you remember which one leads where or which one is connected to which.
You can create a portal gallery.
It's all up to your imagination.
FAQ
Question 1: what does the engine do?
Answer: adds a set of .json models that, after renaming an item, can do the following:
But if you just enable the resource pack, nothing will change in the game, since it is just a set of models.
Question 2: what is needed for the engine to work?
Answer: you need to create an addon for it using CIT (Custom Item Textures) technology, which is available in Optifine, in third-party mods like CIT Resewn, and starting with 1.21.5+, in the vanilla game.
Question 3: will addons work on the server too?
Answer: yes, because CIT (Custom Item Textures) is used exclusively on the game client and not on the server.
Question 4: how to create your own addon?
Answer: you need knowledge of resource packs, scripts for mass file renaming, and Notepad++ for mass character changes.
Question 5: what do you mean by mass renaming?
Answer: portal sizes. This engine supports all portal sizes, from the impossible 1x1 to the maximum 21x21.
评论 0
登录后参与评分
还没有评论,来抢沙发吧