Placeholder API 정보
문자열과 Minecraft Text Component 내에서 플레이스홀더를 생성하고 파싱할 수 있게 해주는 작고 JIJ 가능한 API입니다. Placeholder API는 %modid:type% 또는 %modid:type data% (1.19 이전에는 %modid:type/data%)의 간단한 형식을 사용합니다. 또한 설정/채팅 등에서 사용자 입력을 단순화하기 위한 간단하고 일반적인 용도의 텍스트 형식도 포함합니다.
사용자용
사용자가 모드 간 호환성을 잃지 않으면서 여러 모드를 비슷한 방식으로 설정할 수 있게 해줍니다. 플레이스홀더를 사용하면 호환되는 모드 내에서 어떤 정보가 어디에 표시될지 변경할 수 있습니다.
또한 Simplified Text Format을 사용하면 JSON을 직접 작성하거나 생성기를 사용할 필요 없이 읽기 쉬운 방식으로 스타일을 지정할 수 있습니다.
- 플레이스홀더 사용하기
- 기본 플레이스홀더 목록
- 모드 플레이스홀더 목록
- QuickText
- Simplified Text Format
이 API를 일반적으로 사용하는 모드는 보통 직접 포함시키지만, 필요하다면 여기에서 업데이트된 버전을 다운로드할 수 있습니다!
개발자용
Placeholder API의 사용은 여러 모드 전용 API를 구현할 필요 없이 좋은 모드 호환성을 달성하는 간단한 방법입니다. 또한 플레이스홀더 파싱 시스템은 플레이어가 생성하거나 설정에서 읽은 Text에서 자체 정적(또는 동적) 플레이스홀더를 대체하는 데 사용할 수 있습니다. 이를 Simplified Text Format과 결합하면 훌륭한 사용자/관리자 경험을 만들 수 있습니다.
- 시작하기
- 플레이스홀더 추가하기
- 플레이스홀더 파싱하기
- TextNodes와 NodeParsers
- Simplified Text Format 사용하기 (TextParserV1)
[JIJ]: Jar-in-Jar
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.
버전
의존성 포함
| Minecraft | 로더 | 파일 | 날짜 | 작업 |
|---|---|---|---|---|
| 26.3 | Fabric | 26.3249 KB 1,204 | ||
| 26.2 | Fabric | 26.2249 KB 723 | — | |
| 26.1 | Fabric | 26.1248 KB 206 | — | |
| 1.21.11 | Fabric, Quilt | 1.21.11262 KB 2,358 | — | |
| 1.21.1 | Fabric, Quilt | 1.21.1227 KB 330 | — | |
| 1.21 | Fabric, Quilt | 1.21227 KB | — | |
| 1.20.4 | Fabric, Quilt | 1.20.4225 KB 43 | — | |
| 1.20.1 | Fabric, Quilt | 1.20.1143 KB 307 | — |
이것이 필요한 콘텐츠
리뷰
Text Placeholder API의 첫 평가를 남겨 보세요


