Skip to content

Text Placeholder API مود لماينكرافت 1.20.1, 1.21.1

مكتبة عناصر نائبة ومعالجة نصوص لمودات ماينكرافت الخاصة بك.

ابتداءً من Patbox · Modrinth
على خادم
تنزيلات
5,988 تنزيلات
مشاهدة
13 ألف مشاهدة
محدّث
محدّث 26.09.2026

حول Placeholder API

إنها API صغيرة قابلة للتضمين بـ JIJ تتيح إنشاء وتحليل العناصر النائبة داخل النصوص ومكونات نص Minecraft. تستخدم Placeholder API تنسيقًا بسيطًا هو %modid:type% أو %modid:type data% (%modid:type/data% قبل 1.19). كما تتضمن تنسيق نص بسيطًا وعام الاستخدام مخصصًا لتبسيط إدخال المستخدم في ملفات الإعدادات والمحادثات وغيرها.

للمستخدمين

يتيح للمستخدمين إعداد عدة مودات بطريقة مشابهة دون فقدان التوافق بين المودات. تتيح العناصر النائبة تغيير ما وأين تظهر أي معلومات ضمن المودات المتوافقة.

بالإضافة إلى ذلك، يتيح Simplified Text Format تنسيقها بطريقة قابلة للقراءة دون الحاجة إلى كتابة JSON يدويًا أو استخدام المولدات.

  • استخدام العناصر النائبة
  • قائمة العناصر النائبة الافتراضية
  • قائمة العناصر النائبة للمود
  • QuickText
  • Simplified Text Format

المودات التي تستخدم هذه الـ api عمومًا يجب أن تتضمنها مباشرة، لكن يمكنك تنزيل نسخة محدثة من هنا إذا لزم الأمر!

للمطورين

استخدام Placeholder API طريقة بسيطة لتحقيق توافق جيد بين المودات دون الحاجة إلى تطبيق عدة apis خاصة بكل مود. بالإضافة إلى ذلك، يمكن استخدام نظام تحليل العناصر النائبة لاستبدال العناصر النائبة الثابتة (أو الديناميكية) الخاصة بك في النص الذي ينشئه اللاعب أو يُقرأ من الإعدادات. هذا مع دمج Simplified Text Format يتيح إنشاء تجربة رائعة للمستخدم والمسؤول.

  • البدء
  • إضافة العناصر النائبة
  • تحليل العناصر النائبة
  • TextNodes و NodeParsers
  • استخدام Simplified Text Format (TextParserV1)

[JIJ]: Jar-in-Jar

كيفية تثبيت 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.

الإصدارات

مع المتطلبات

Minecraftالمشغّلالملفالتاريخالإجراءات
26.3Fabric26.3249 KB 1,417
26.2Fabric26.2249 KB 787—
26.1Fabric26.1248 KB 246—
1.21.11Fabric, Quilt1.21.11262 KB 2,735—
1.21.1Fabric, Quilt1.21.1227 KB 363—
1.21Fabric, Quilt1.21227 KB—
1.20.4Fabric, Quilt1.20.4225 KB 50—
1.20.1Fabric, Quilt1.20.1143 KB 343—

محتوى يتطلبه

التقييمات

كن أول من يقيّم Text Placeholder API

التعليقات 0

سجّل الدخول للتعليقتسجيل الدخول

مودات مشابهة

كل المودات

المزيد حول هذا

المؤلف: Patboxالترخيص: LGPL-3.0-onlyالشيفرة المصدرية

هل أنت المؤلف؟ تواصل معنا — وسنزيله خلال 48 ساعة.