Acerca de Placeholder API
Es una pequeña API compatible con JIJ que permite crear y analizar marcadores de posición dentro de cadenas y componentes de texto de Minecraft. Placeholder API usa un formato simple de %modid:type% o %modid:type data% (%modid:type/data% antes de 1.19). También incluye un formato de texto simple de uso general pensado para simplificar la entrada del usuario en configuraciones/chats, etc.
Para usuarios
Permite a los usuarios configurar varios mods de forma similar sin perder compatibilidad entre mods. Los marcadores de posición permiten cambiar qué información y dónde aparece dentro de los mods compatibles.
Además, el Formato de Texto Simplificado permite darles estilo de forma legible sin necesidad de escribir JSON manualmente o usar generadores.
- Uso de marcadores de posición
- Lista de marcadores de posición predeterminados
- Lista de marcadores de posición de mods
- QuickText
- Formato de Texto Simplificado
Los mods que generalmente usan esta api deberían incluirla directamente, pero puedes descargar la versión actualizada desde aquí si es necesario.
Para desarrolladores
El uso de Placeholder API es una forma sencilla de lograr una buena compatibilidad entre mods sin tener que implementar múltiples apis específicas de cada mod. Además, el sistema de análisis de marcadores de posición se puede usar para reemplazar marcadores de posición propios estáticos (o dinámicos) en el Texto creado por el jugador o leído desde la configuración. Esto, en combinación con el Formato de Texto Simplificado, permite crear una gran experiencia para el usuario/administrador.
- Primeros pasos
- Añadir marcadores de posición
- Analizar marcadores de posición
- TextNodes y NodeParsers
- Uso del Formato de Texto Simplificado (TextParserV1)
[JIJ]: Jar-in-Jar
Cómo instalar Text Placeholder API
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.17–26.3 on Fabric or Quilt automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
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.
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.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: Text Placeholder API should be in the list.
On a server
A server on Fabric or Quilt
The mod only works on a server with the same loader and game version, for example 26.3.
File goes into the server’s mods folder
Stop the server, put the mod file into the mods folder and start the server again.
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.
Versiones
Con dependencias
| Minecraft | Cargador | Archivo | Fecha | Acciones |
|---|---|---|---|---|
| 26.3 | Fabric | 26.3249 KB 2978 | ||
| 26.2 | Fabric | 26.2249 KB 1362 | — | |
| 26.1 | Fabric | 26.1248 KB 490 | — | |
| 1.21.11 | Fabric, Quilt | 1.21.11262 KB 5128 | — | |
| 1.21.1 | Fabric, Quilt | 1.21.1227 KB 1069 | — | |
| 1.21 | Fabric, Quilt | 1.21227 KB | — | |
| 1.20.4 | Fabric, Quilt | 1.20.4225 KB 76 | — | |
| 1.20.1 | Fabric, Quilt | 1.20.1143 KB 608 | — |
Contenido que lo necesita
FAQ
Which Minecraft versions does Text Placeholder API work on?
There are files for 1.17–26.3, 19 versions in total. The newest is 26.3.
Is Text Placeholder API for Forge or Fabric?
There are files for Fabric: 1.17–26.3 and for Quilt: 1.17–1.21.11. There are no files for Forge or NeoForge: a mod for another loader will not start.
Does Text Placeholder API need other mods?
The author lists no required dependencies: the Fabric or Quilt loader is enough.
Does Text Placeholder API work on a server?
Yes. Text Placeholder API works both in singleplayer and on a server.
Where can I download Text Placeholder API safely?
On this page: the file placeholder-api-3.2.0+26.3.jar (249 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 4c455faa6333dbaef72cedbb91fe4a2a03176741.
Reseñas
Sé el primero en valorar Text Placeholder API



