MCTOOLBOX
MC ToolboxMC TOOLBOX

Datapack Studio - สร้าง Datapack ออนไลน์

พื้นที่ทำงาน Data Pack Java เต็มรูปแบบ: functions, loot tables, recipes, advancements, predicates, item modifiers และ tags - พร้อมรูปแบบแพ็คเวอร์ชันต่างๆ และไฟล์ .zip ที่ดาวน์โหลดได้ (เส้นทางไฟล์เป็นไปตาม Minecraft Wiki)

My Datapack v1.0
pack.mcmeta preview
{
  "pack": {
    "description": "§2My Datapack §8v1.0",
    "pack_format": 107,
    "min_format": [
      107,
      1
    ],
    "max_format": [
      107,
      1
    ]
  }
}
Function iddata/mypack/function/setup.mcfunction

Commands without leading /. Use #minecraft:load or #minecraft:tick to run automatically.

8 files in mypack, format 107.1
Function: 1Function tag: 1Loot table: 1Recipe: 1Advancement: 1Predicate: 1Item modifier: 1Item tag: 1

วางลงใน datapacks, จากนั้น /reload. ยืนยันด้วย /datapack list.

พื้นที่ทำงาน Data Pack เต็มรูปแบบในเบราว์เซอร์

Data Pack Java คือไฟล์ .zip (หรือโฟลเดอร์) ที่มี pack.mcmeta และ data/ tree (minecraft.wiki Data pack). สตูดิโอนี้เป็นตัวแก้ไขหลายไฟล์: functions, loot tables, recipes, advancements, predicates, item modifiers, block/item/entity tags และ #minecraft:load / #minecraft:tick hooks ที่สำคัญภายใต้ data/minecraft/tags/function/ (หรือโฟลเดอร์พหูพจน์ในรูปแบบก่อน 1.21)

แพ็คเริ่มต้นประกอบด้วยฟังก์ชันตั้งค่า, load tag, ตัวอย่าง loot table, recipe, advancement, predicate, item modifier และ item tag เพื่อให้ไฟล์ .zip ที่ดาวน์โหลดมาเป็นโปรเจกต์ที่สมบูรณ์และสามารถโหลดซ้ำได้ ไม่ใช่แค่โครงเปล่า

ประเภทไฟล์และเส้นทาง Wiki

ประเภทเส้นทาง (1.21+ เอกพจน์)
ฟังก์ชันdata/<ns>/function/<id>.mcfunction
แท็กฟังก์ชัน (load)data/minecraft/tags/function/load.json
ตาราง Lootdata/<ns>/loot_table/<id>.json
สูตรdata/<ns>/recipe/<id>.json
ความก้าวหน้าdata/<ns>/advancement/<id>.json
เพรดิเคตdata/<ns>/predicate/<id>.json
ตัวปรับแต่งไอเทมdata/<ns>/item_modifier/<id>.json
แท็กบล็อก / ไอเทม / เอนทิตีdata/<ns>/tags/block|item|entity_type/…

ค่าที่ตั้งไว้ล่วงหน้าก่อน 1.21 ใช้ชื่อโฟลเดอร์พหูพจน์ (functions, loot_tables, recipes, …) การแก้ไขที่เน้น Schema ยังคงสามารถใช้ Recipe, Loot, Advancement generators, จากนั้นนำเข้าสู่แพ็คนี้ สูตร · ของลูต · ความก้าวหน้า

pack_format ตามเวอร์ชัน

ค่าที่ตั้งไว้FormatFolders
Java 26.3 Snapshot 6 (Experimental)113singular · min/max_format
Java 26.2107.1singular · min/max_format
Java 26.1.x101singular · min/max_format
Java 1.21.1194singular · min/max_format
Java 1.21.9-1.21.1088singular · min/max_format
Java 1.21.7-1.21.881singular
Java 1.21.680singular
Java 1.21.571singular
Java 1.21.461singular
Java 1.21.2-1.21.357singular
Java 1.21-1.21.148singular
Java 1.20.5-1.20.641plural

FAQ

Is this only a starter skeleton?

No. You get a multi-file pack: functions, tags, loot, recipe, advancement, predicate, item modifier, plus pack.mcmeta and zip download. Expand any JSON for production.

Why is load under data/minecraft/?

Wiki Function tags: #minecraft:load only exists if the tag file is in the minecraft namespace. A tag under your pack namespace creates #mypack:load, which does not auto-run on /reload.

Can I add every registry type?

Common pack types are in Add file. Worldgen and experimental registries are better authored with dedicated schema tools (e.g. Misode) then imported as JSON.

Binary structures?

Structure files are .nbt binaries from structure blocks. The studio adds a path placeholder note; drop the real .nbt into the unzipped pack.

Are files uploaded?

No. Editing and zip generation run in your browser. Snapshots use localStorage only.