Skip to content

Text Placeholder API Mod do Minecraft 1.20.1, 1.21.1

Biblioteka do manipulacji placeholderami i tekstem dla twoich modów do Minecrafta.

Na serwerze
pobrań
12 tys. pobrań
wyświetleń
25 tys. wyświetleń
Zaktualizowano
Zaktualizowano 26.09.2026

O Placeholder API

To małe API typu JIJ, które umożliwia tworzenie i przetwarzanie placeholderów w ciągach znaków oraz komponentach tekstowych Minecrafta. Placeholder API używa prostego formatu %modid:type% lub %modid:type data% (%modid:type/data% przed wersją 1.19). Zawiera również prosty, ogólny format tekstu przeznaczony do upraszczania danych wprowadzanych przez użytkownika w konfiguracjach/czatach itp.

Dla użytkowników

Pozwala użytkownikom konfigurować wiele modów w podobny sposób bez utraty kompatybilności między modami. Placeholdery umożliwiają zmianę tego, jakie informacje i gdzie są obecne w kompatybilnych modach.

Dodatkowo Simplified Text Format pozwala stylizować je w czytelny sposób bez konieczności ręcznego pisania JSON-a lub korzystania z generatorów.

  • Korzystanie z placeholderów
  • Domyślna lista placeholderów
  • Lista placeholderów modów
  • QuickText
  • Simplified Text Format

Mody ogólnie korzystające z tego api powinny po prostu dołączać je bezpośrednio, ale w razie potrzeby możesz pobrać zaktualizowaną wersję stąd!

Dla deweloperów

Korzystanie z Placeholder API to prosty sposób na osiągnięcie dobrej kompatybilności modów bez konieczności implementowania wielu api specyficznych dla poszczególnych modów. Dodatkowo system przetwarzania placeholderów może być używany do zastępowania własnych statycznych (lub dynamicznych placeholderów) w tekście utworzonym przez gracza lub odczytanym z konfiguracji. W połączeniu z Simplified Text Format pozwala to stworzyć świetne doświadczenie dla użytkownika/administratora.

  • Pierwsze kroki
  • Dodawanie placeholderów
  • Przetwarzanie placeholderów
  • TextNodes i NodeParsers
  • Korzystanie z Simplified Text Format (TextParserV1)

[JIJ]: Jar-in-Jar

Jak zainstalować Text Placeholder API

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.17–26.3 on Fabric or Quilt automatically.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install Fabric or Quilt

    The loader must match the game version of the mod file, for example Minecraft 26.3. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file placeholder-api-3.2.0+26.3.jar (249 KB) for your game version and loader.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.

  4. Launch the loader profile

    Open “Mods” in the main menu: Text Placeholder API should be in the list.

On a server

  1. A server on Fabric or Quilt

    The mod only works on a server with the same loader and game version, for example 26.3.

  2. File goes into the server’s mods folder

    Stop the server, put the mod file into the mods folder and start the server again.

  3. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

Wersje

Z zależnościami

MinecraftLoaderPlikDataAkcje
26.3Fabric26.3249 KB 2978
26.2Fabric26.2249 KB 1363—
26.1Fabric26.1248 KB 490—
1.21.11Fabric, Quilt1.21.11262 KB 5129—
1.21.1Fabric, Quilt1.21.1227 KB 1071—
1.21Fabric, Quilt1.21227 KB—
1.20.4Fabric, Quilt1.20.4225 KB 76—
1.20.1Fabric, Quilt1.20.1143 KB 608—

Materiały, które tego wymagają

Opinie

Oceń Text Placeholder API jako pierwszy

Komentarze 0

Zaloguj się, aby komentowaćZaloguj się

Podobne mody

Wszystkie mody

Więcej o tym

Autor: PatboxLicencja: LGPL-3.0-onlyKod źródłowy

Jesteś autorem? Napisz do nas — usuniemy w ciągu 48 godzin.