Главная › Моды › Библиотеки › Text Placeholder API

Text Placeholder API

Text Placeholder API

Placeholder and Text manipulation library for your Minecraft mods.

Text Placeholder API — мод для Minecraft 1.17–26.3 из категории «Библиотеки» для загрузчиков Fabric, Quilt. Автор: Patbox. В Lorix можно добавить мод в сборку — нужные зависимости подтянутся автоматически — и скачать её одним ZIP с папкой mods/ или запустить в Lorix Launcher одной кнопкой.

Категория
Библиотеки
Загрузчики
Fabric, Quilt
Версии Minecraft
26.3, 26.2, 26.1.2, 26.1.1, 26.1, 1.21.11, 1.21.10, 1.21.9, 1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.17
Скачиваний на Modrinth
77 875 977

Описание

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.

Using placeholders

Default placeholder list

Mod placeholder list

QuickText

Simplified Text Format

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.

Getting Started

Adding placeholders

Parsing placeholders

TextNodes and NodeParsers

Using Simplified Text Format (TextParserV1)

[JIJ]: Jar-in-Jar

Как установить Text Placeholder API

  1. Скачайте Lorix Launcher и создайте сборку с нужной версией и загрузчиком.
  2. Найдите Text Placeholder API в окне модов — зависимости добавятся сами.
  3. Нажмите «Играть».

Или соберите модпак в конструкторе и скачайте ZIP: папку mods/ из архива положите в .minecraft.