Thuần vanilla · 1.20 – 26.x

TRÌNH TẠO DATAPACK

Mô tả một datapack Minecraft bằng ngôn ngữ thường ngày. Codexe viết các tệp .mcfunction, thành tựu, bảng chiến lợi phẩm và công thức. Thuần vanilla, không cần mod loader.

Vì sao nên tạo datapack bằng AI

Vanilla, không phụ thuộc

Drop the folder in <world>/datapacks/, run /reload, done. No mod loader, no plugin, no Java required to run.

Cú pháp lệnh hiện đại

Execute store, predicate selectors, function tags, item components, the generator uses current syntax for the version you specified.

Cây thành tựu làm đúng cách

Hidden advancements, parent chains, custom frames, display titles, multiple triggers per advancement. Reward functions wired automatically.

Bảng chiến lợi phẩm & công thức

Drop chances with proper functions, conditions, rolls. Shaped, shapeless, smelting, smithing transform recipes. Item modifiers for the new component system.

Chỉnh sửa qua trò chuyện

"Add a 5% chance to also drop a diamond". "Make the function repeating, every 5 ticks". The AI edits the pack in place.

Bạn sở hữu tất cả

Source folder is yours. Share on Planet Minecraft, sell on PMC market, use on your realm. No royalties.

Prompt datapack mẫu

Từ ghi đè một công thức đến cả gói chỉnh lối chơi nhiều tính năng. Một số prompt thật bạn có thể dán:

Totem 'Heart of the Sea' tùy chỉnh

“On craft of a Heart of the Sea, give the player a Totem of Undying with custom_name 'Sea Totem' and custom_data {sea_totem:true}. When triggered, also fill nearby 5-block radius with conduit power for 30s.”

Cây thành tựu: 'Speedrunner'

“A 5-step advancement tree titled 'Speedrunner': enter Nether, locate Stronghold, kill Ender Dragon, do all in under 30 minutes, do all without dying. Last two are hidden until Dragon kill.”

Công thức tùy chỉnh: gậy từ gỗ khúc

“A shapeless recipe converting 1 log of any type into 16 sticks. Override the default if possible, otherwise add it as a separate recipe.”

Nông trại chống AFK

“A repeating function that detects players standing still for over 30 seconds in spawn chunks and teleports them to spawn with a chat message.”

Câu hỏi thường gặp về trình tạo datapack

Một datapack được tạo ra gồm những gì?

+

Whatever you ask for: mcfunctions, advancements, loot tables, recipes, item modifiers, predicates, tags. The pack.mcmeta is set to the right pack_format for your Minecraft version, and the folder structure follows the standard data// layout.

Phiên bản Minecraft nào?

+

From 1.20.1 to 26.x, with the matching pack_format. Codexe test-loads the pack on a real server of the version you pick before calling it Ready.

Tôi có cần mod hoặc plugin nào không?

+

No. Datapacks are pure vanilla Minecraft. Drop the folder in /datapacks/, run /reload, done. Server, single-player, realm, all work.

Có dùng được cú pháp lệnh hiện đại (execute store, predicate, item component) không?

+

Yes. The generator targets modern command syntax: execute as/at/store, predicate-based selectors, 1.21 item components for custom items via /give. No legacy hacks unless you ask for backwards compatibility.

Tôi có thể làm thành tựu tặng phần thưởng không?

+

Yes. Tree-based advancements with display, criteria (any of the trigger types) and rewards (functions, loot, recipes). Hidden advancements, parents and frames all configurable.

Vật phẩm tùy chỉnh trong datapack?

+

1.20.5+ component-based items are first-class, minecraft:custom_data, minecraft:custom_model_data, lore, attribute modifiers. The generator emits the right /give string and the loot tables reference it correctly.

Có miễn phí không?

+

Yes, 50K daily tokens. Datapacks tend to be small so most fit comfortably on free.

Need behaviour that vanilla datapacks cannot reach? Codexe also generates:

Cách Codexe xây dựng và kiểm tra các dự án này, nên ghi gì trong yêu cầu và các vấn đề thường gặp: hướng dẫn Datapacks.

SẴN SÀNG CHO DATAPACK MỚI?

Gói Free nạp lại 50K token mỗi ngày, hầu hết datapack đều vừa dễ dàng.

BẮT ĐẦU RÈN
Trình tạo datapack Minecraft – datapack vanilla do AI tạo | Codexe