跳到正文

LibTooltips

作者:wdiscute

A simple library for adding tooltips to items

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

LibTooltips is a simple API allowing for translation-key driven tooltips with no code needed.

  "tooltip.minecraft.diamond.0" : "Such a fancy <ltrgb>rgb rainbow</ltrgb> tooltip!",
  "tooltip.minecraft.diamond.1" : "And look, it even supports several lines, wow",

image

image

It supports basic tag processing to allow for some control over specific parts of the tooltip, such as changing the text dynamically, or adding color.

You can also add permanent tooltips to items

"tooltip.always.minecraft.diamond.0" : "This tooltip will always show!"

image

Using LibTooltips

This library is made to be Jar-in-Jar’d unto your mod, meaning users won’t have to download it separately. If you’re developing a modpack, you can may include this mod to allow for tooltip support!

Visit the Wiki Page for more information.

Can you port to X?

  • Sure! Let me know through the discord!

🌸 Join the discord! 🌸 https://discord.gg/tCs89QTuzn

  • made by wd with lots of love

常见问题

LibTooltips 支持哪些 Minecraft 版本?

LibTooltips 支持 Minecraft Java 版 1.20.1–26.3,共 12 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

LibTooltips 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

wdiscute 的其他作品

查看全部 →