这是该模组的 Forge 版本,如果你在找 Fabric 版本,请 点击此处。
是否曾觉得物品的tooltip(工具提示)有些平淡无奇?传奇工具提示(Legendary Tooltips) 来改变这一状况。
这个模组能让你将所选物品的tooltip改造成华丽的艺术作品。它还添加了许多其他tooltip选项,包括居中的物品名称、tooltip阴影、与物品颜色匹配的tooltip边框、物品名称下方的分隔线、3D物品预览、紧凑的tooltip等等!
这个模组需要Iceberg,你可以 在此处下载。
1.3+版本需要Prism,你可以 在此处下载。
客户端 / 服务器
这个模组完全是客户端的。
配置
详细的配置说明可以在 此处 找到。请先阅读这个!
玩家
配置文件包含了如何设置tooltip的说明,你可以根据自己的喜好进行设置,请先阅读配置说明!支持多达十六种自定义边框,每种边框都可以设置为按物品名称、模组、标签、原版稀有度、物品名称颜色、显示名称、tooltip文本或NBT标签应用于物品。默认情况下,该模组包含上述的自定义边框,并且通过资源包可以轻松添加更多。想要查看添加了十个自定义框架的示例资源包,可以看看 “折衷宝库(Eclectic Trove)”!
模组作者
以下内容仅适用于1.2及更高版本!
如果你有兴趣在自己正在编写的模组中为物品添加自定义边框,通过将 “传奇工具提示(Legendary Tooltips)” 作为依赖项即可实现。(可使用cursemaven.com来完成此操作。)
使用 LegendaryTooltipsConfig.addFrameDefinition() 方法为给定的资源位置 / 框架索引指定选择器列表(如果你不明白这是什么意思,请参阅配置文件文档)。此方法支持度不高,所以如果它不起作用,请尝试使用下面推荐的数据驱动方法。
资源包作者
边框可以通过资源包进行自定义。资源包能够用多达16种自定义边框替换模组中包含的默认边框,供模组使用。有关示例,请参阅 “折衷宝库(Eclectic Trove)”——我建议在设计自己的边框时以此为起点。还有一个模板图像可供使用,以便于绘制,可在 此处找到(这是一个Photoshop项目,所以你需要Photoshop或像Gimp这样能读取Photoshop文件的图像编辑器)。
以下内容仅适用于1.2及更高版本!
从1.2版本起,资源包和模组也可以使用包含在资源包 / 模组本身中的.json文件资源来定义自定义边框。这个文件的加载方式与普通资源不同,因为它们不会相互替换——在所有活动的自定义边框资源文件中找到的所有边框定义都将被加载并应用。这些文件允许你使用 任何 格式正确的图像资源,并可以指定所有要匹配的颜色。描述文件格式的示例文件可以在 此处找到。请先阅读此文件,因为它包含了很多信息。你还可以在 “折衷宝库(Eclectic Trove)” 的 noconfig 变体中找到一个示例,该示例包含许多原版物品的定义,在此处。
兼容性
兼容性极高,这个模组不会改变底层的tooltip行为,只是进行了扩展。它还与 “装备比较(Equipment Compare)” 集成,以提供更华丽的比较tooltip!(示例请见图片)
如果你发现了某种兼容性问题,请告诉我!
你可以自由在整合包中使用这个模组。
有问题、功能请求或其他事情?加入我们的Discord吧!
This is the Forge version of the mod, if you're looking for Fabric click here.
Ever feel like item tooltips are a little lackluster? Legendary Tooltips is here to change that.
This mod will allow you to change the tooltips of a selection of items of your choice to embellished works of art. It also adds a host of other tooltip options including centered item names, tooltip shadows, matching tooltip borders to item colors, separators under item names, 3d item previews, compact tooltips and more!
This mod requires Iceberg, you can download it here.
Versions 1.3+ require Prism, you can download it here.
Client / Server
This mod is fully client-side.
Configuration
Extensive configuration instructions can be found here. Please read this first!
Players
The configuration file includes instructions for setting up tooltips however you feel fit, please read the configuration instructions first! Supports up to sixteen custom borders, each of which can be set to apply to items by name, mod, tag, vanilla rarity, item name color, display name, tooltip text, or NBT tag. By default, the mod includes the custom border seen above, and more can easily be added with a resource pack. For an example resource pack that adds ten custom frames, check out Eclectic Trove!
Mod authors
The following only applies to version 1.2 and later!
If you are interested in adding custom borders to items in a mod you are coding, it is possible by adding Legendary Tooltips as a dependency. (Use cursemaven.com for this.)
Use the LegendaryTooltipsConfig.addFrameDefinition() method to specify a list of selectors for a given ResourceLocation / frame index (see configuration file documentation if you don't understand what this means). This method is not widely supported, so if it isn't working, please try the preferred data-driven method below instead.
Resource pack authors
Borders can be customized via resource packs. The resource pack is capable of replacing the default border included in the mod with up to 16 custom borders that can be used by the mod. Please see Eclectic Trove for an example--I recommend using this as a starting point when designing your own borders. There is also a template image available to make drawing easier, which can be found here (this is a Photoshop project, so you will need Photoshop or an image editor that can read Photoshop files like Gimp).
The following only applies to version 1.2 and later!
As of version 1.2, it is also possible for resource packs and mods to define custom borders using a .json file resource included in the pack/mod itself. This file is loaded differently than normal resources, as they do not replace each other--all border definitions found in all active custom border resource files will be loaded and applied. These files allow you to use any properly-formatted image resource and can specify all colors to match. An example file that describes the file format can be found here. Please read this file first, as it contains a lot of information. You can also find an example in the noconfig variant of Eclectic Trove, which contains definitions for many vanilla items, here.
Compatibility
Highly compatible, this mod doesn't change the underlying tooltip behavior, only adds on. Also integrates with Equipment Compare to provide even fancier comparison tooltips! (See images for an example)
If you find some sort of compatibility issue, please let me know!
You are free to use this mod in modpacks.
Problems, feature request, something else? Join us on Discord!
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
天煞孤星·魔女的末路
181次下载 | 10 小时前更新
农场物语 - FarmingTales Forge
86次下载 | 10 小时前更新
神秘启旅 ~ Thaum Journey
24次下载 | 4 天前更新
虚饰作品-Fictional
114次下载 | 4 天前更新
剑与王国
523次下载 | 4 天前更新
阿卡迪亚的天启
82次下载 | 4 天前更新
脆骨症 2 - No Flesh Within Chest 2
69次下载 | 1 周前更新
新雾中人恐怖生存---In the Fog(Horror)
49次下载 | 2 周前更新
诡厄:使徒
20次下载 | 2 周前更新
新:模拟大都市
534次下载 | 2 周前更新
香草纪元:食旅纪行
2863次下载 | 2 周前更新
云游四海
55次下载 | 2 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!