Text Placeholder API 图标

Text Placeholder API

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 3.1.0-beta.1+26.2
本资源为搬运资源,原资源地址: https://modrinth.com/mod/placeholder-api
资源信息

Minecraft 版本: 26.2-pre-1

平台: fabric

标签: library

资源介绍

About Placeholder API

It's a small, JIJ-able API that allows creation and parsing placeholders within strings and Minecraft Text Components.
Placeholder API uses a simple format of %modid:type% or %modid:type data% (%modid:type/data% prior to 1.19).
It also includes simple, general usage text format indented for simplifying user input in configs/chats/etc.

For users

It allows users to configure multiple mods in similar way without losing compatibility between mods.
Placeholders allow changing what and where any information is present within compatible mods.

Additionally, Simplified Text Format allows to style them in readable way without the requirement of writing JSON manually or using
generators.

Mods generally using this api should just include it directly, but you can downloaded updated version from here if needed!

For developers

Usage of Placeholder API is a simple way to achieve good mod compatibility without having to implement
multiple mod specific apis. Additionally, the placeholder parsing system can be used for replacing
own static (or dynamic placeholders) in Text created by player or read from config. This with combination
of Simplified Text Format allows creating great user/admin experience.

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Presence Footsteps Lite

价格:0 墨喵币
下载量:0

查看详情
Pack Manager

价格:0 墨喵币
下载量:0

查看详情
Ronco Record Vault

价格:0 墨喵币
下载量:0

查看详情
Farmers Delight Kacchi

价格:0 墨喵币
下载量:0

查看详情