your current location:首页 > news>Text Placeholder API (Text Placeholder API) Minecraft

Text Placeholder API (Text Placeholder API) Minecraft

2024-12-15 01:30:02|Myriagame |source:minecraft skins

Overview

This is a small API that supports JIJ (jar-in-jar), allowing creation and analytical placement in the string and Minecraft text components.

The simple format of the placeholder API using % Modid: Type % or % MODID: Type Data % (the version before 1.19 is % Modid: Type/Data %).

It also includes a simple and general indentation text format to simplify user input in configuration and chat.

For users

It allows users to configure multiple modules in a similar way without losing compatibility between modules.The occupation symbol allows the content and location of any information compatible with the compatible module.

In addition, the simplified text format allows to set their styles in a readable manner without manually writing JSON or using a generator.

Use the place occupies;

List of default place occupies;

List of module placement symbols;

Quick text;

Simplified text format.

The module that usually uses this API should be directly included, but if necessary, you can download the updated version from here!

For developer

The use of placeholder API is a simple way to realize good module compatibility, without having to implement multiple module specific APIs.In addition, the resolution system can be used to replace the static (or dynamic) place occupies in the text created or read from the configuration.Combined with the simplified text format, you can create excellent users and administrators.

getting Started;

Add a place occupying symbol;

Analysis of the placement symbol;

Text nodes and node parsers;

Use simplified text format (text parser V1).