Text Placeholder API (Neoforge edition)
作者:rebot | 分类:模组
Minecraft 版本: 26.1 26.1.1 26.1.2
平台: neoforge
标签: library
This is a port of the Text Placeholder API for Neoforge, which is a library that allows you to manipulate text and values easier when using Minecraft's Component and translation system: for example, replacing text with text that is changed and switched up depending on the scenario.
For anyone not aware, this is a library mod and doesn't do anything on its own - it provides tools for other modders to use.
Original mod here
For Developers **Setting up your project** Add Modrinth to your repositories block. ```groovy maven { name = "Modrinth" url = "https://api.modrinth.com/maven" } ``` Now do implementation ```groovy dependencies { implementation "maven.modrinth:tpan:3.0.0+26.1" } ``` Add this as a requirement in your `neoforge.mods.toml`. Because Neoforge does not support underscores the mod id is **placeholderapi**. ```toml [[dependencies.${mod_id}]] modId = "placeholderapi" type = "required" versionRange = "[3.0.0+26.1,]" ordering = "NONE" side = "BOTH" ```As with the original project feel free to JIJ this one
请登录后举报
暂无评论,抢个沙发吧~