我曾担任该模组的作者,并长期维护其完整的 Forge/Neo 移植版本,直到完成 1.21.11 版本的开发。然而,尽管我决定停止对完整模组本身的开发,我仍然喜爱该模组的核心概念之一,因此决定制作此 [精简版](Lite Edition),并将继续对其进行维护。
有什么不同?
此版本移除了将多种物品的方块变体直接放置在地面上的整个概念,转而专注于在物品展示架或展示枕上显示音乐唱片、陶器碎片和图案模板。这些受支持的物品仍保留原版模组中的相应 3D 模型,但不再作为独立的方块物品存在。相反,本模组直接使用原始物品,并将其对应的 3D 模型直接展示出来,而非通过中间件实现。由于放弃了以方块形式展示物品的理念,此版本也移除了一些杂项的支持,例如锭、宝石、煤炭等。这使得本精简版更易于整合到整合包中,因为许多其他模组已经提供了放置这些常见物品的方法,而本模组仅专注于展示少数独特的宝藏物品,将其放置在棍棒或枕头上。
模组支持?
我在 Forge/Neo 移植版中做的一项重要工作是支持来自其他模组的物品,但这带来了一个问题:我需要为每个想要支持的物品注册一个新的方块和方块物品。这也包括所有必要的资源包资产设置与运行工作。然而,此版本摒弃了所有这些内容,转而采用了一套新的系统来配置一切,尽管这套系统在 1.21.1 和 1.21.11 之间略有不同。
对于 1.21.1:该系统是完全自动化的,会注册整合包中每种音乐唱片、陶器碎片和模板的所有模型图层位置。它使用文件夹系统,位置位于 "items_displayed:block/(类型)/(命名空间)/(物品 ID)" 下。例如,原版的音乐唱片 "Creator" 将位于 "items_displayed:block/disc/minecraft/music_disc_creator"。通过此系统,要支持额外的模组物品,只需通过资源包创建一个方块模型并将其放入正确的位置,然后使用数据包在模组内对物品进行相应的标记即可。
对于 1.21.11+:由于 1.21.2 引入了物品渲染的新更改,上述系统不再有效,但实际上模型无需注册其位置也能正常工作。相反,利用新的“Items”系统,你可以直接替换目标物品文件,通过使用 "context_entity_type" 属性使其指向新的方块模型,这仍在资源包中完成。物品仍需在数据包中进行正确的标记。
注意:本模组目前开箱即用支持一系列模组,我愿意根据情况或意愿自行添加支持。
致谢
- FREEDINNER:原版模组的作者,以及原版 3D 模型/纹理集的原画师。
I was the mod author, and maintainer for the full Forge/Neo port version of this mod for a while until I've finished on that with 1.21.11. However, while I've came to the decision to stop working on the full mod itself, I still enjoy one of the core concepts of the mod, and decided to make this [Lite Edition], which I will be maintaining.
What's Different?
This version removes the entire concept of placing block variations of many items directly onto the ground, and instead focuses heavily on displaying Music Discs, Pottery Sherds, & Templates upon Item Displays or Display Pillows. These supported items all still have their respective 3D models from the original mod, but aren't separate block items anymore. Instead, the mod simply uses the original item and display their respective 3D model directly rather than making a middle-man. This version also removes support for a lot of the misc things, such as ingots, gemstones, coal, etc due to moving away from the block idea of displaying items. This makes this version more open for modpacks, since many other mods already has methods of placing many of those common items while this mod focuses only on select unique treasure items to be displayed on sticks or pillows.
Mod Support?
A big thing I did in the Forge/Neo port of this mod was supporting items from other mods, however this came with a problem of me having to do it heavily by registering a new block and block item for everything I want to support. This also includes all ResourcePack assets required to get this to setup, and work. However, this version scraps all of that and instead uses a new system to setup everything, though this system is a tad different between 1.21.1 & 1.21.11.
For 1.21.1: The system is fully automatic, registering the layer location of all models for each music disc, pottery sherd, and template that is in the modpack. This uses a folder system where the location is found under "items_displayed:block/(type)/(namespace)/(item id)". For example, the vanilla music disc "Creator" will be under "items_displayed:block/disc/minecraft/music_disc_creator". With this system, all that is needed to be done to support additional modded items is to make a block model via a ResourcePack and put it in the correct location, then use a Datapack to tag the item respectably within the mod.
For 1.21.11+: Due to new rendering changes to items back in 1.21.2, the above system doesn't work anymore, however the models don't actually needs to have their location registered to work anyways. Instead, using the new "Items" system, you can directly replace the desired item file to direct it to use a new block model by using the "context_entity_type" property, which is still done in the ResourcePack. Items are still required to be tagged properly within a Datapack.
Note: This mod currently have support for a list of mods right out of the gate, as I am willing to add support myself as I see fit, or desire to.
Credits
- FREEDINNER: The original mod author, and original artist for the original set of 3D models/textures.
评论 0
登录后参与评分
还没有评论,来抢沙发吧