GENERATOR DATAPACKÓW
Opisz datapack Minecraft zwykłymi słowami. Codexe napisze pliki .mcfunction, osiągnięcia, tabele łupów i receptury. Czyste vanilla, bez modloadera.
Dlaczego warto generować datapacki z AI
Vanilla, zero zależności
Drop the folder in <world>/datapacks/, run /reload, done. No mod loader, no plugin, no Java required to run.
Nowoczesna składnia komend
Execute store, predicate selectors, function tags, item components, the generator uses current syntax for the version you specified.
Drzewka osiągnięć zrobione dobrze
Hidden advancements, parent chains, custom frames, display titles, multiple triggers per advancement. Reward functions wired automatically.
Tabele łupów i receptury
Drop chances with proper functions, conditions, rolls. Shaped, shapeless, smelting, smithing transform recipes. Item modifiers for the new component system.
Iteruj na czacie
"Add a 5% chance to also drop a diamond". "Make the function repeating, every 5 ticks". The AI edits the pack in place.
Wszystko należy do ciebie
Source folder is yours. Share on Planet Minecraft, sell on PMC market, use on your realm. No royalties.
Przykładowe prompty do datapacków
Od pojedynczej zmiany receptury po paczkę z wieloma poprawkami rozgrywki. Kilka prawdziwych promptów do wklejenia:
Własny totem „Heart of the Sea”
„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.”
Drzewko osiągnięć: „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.”
Własna receptura: patyki z kłód
„A shapeless recipe converting 1 log of any type into 16 sticks. Override the default if possible, otherwise add it as a separate recipe.”
Farmy anty-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.”
FAQ o generatorze datapacków
Co zawiera wygenerowany datapack?
+
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/
Która wersja Minecraft?
+
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.
Czy potrzebuję moda albo pluginu?
+
No. Datapacks are pure vanilla Minecraft. Drop the folder in
Czy potrafi używać nowoczesnej składni komend (execute store, predykaty, komponenty przedmiotów)?
+
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.
Czy mogę mieć osiągnięcia, które dają nagrody?
+
Yes. Tree-based advancements with display, criteria (any of the trigger types) and rewards (functions, loot, recipes). Hidden advancements, parents and frames all configurable.
Własne przedmioty w datapackach?
+
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.
Za darmo?
+
Yes, 50K daily tokens. Datapacks tend to be small so most fit comfortably on free.
Inne generatory Codexe
Need behaviour that vanilla datapacks cannot reach? Codexe also generates:
Jak Codexe buduje i sprawdza te projekty, co wpisać w prośbie i jakie są częste problemy: poradnik: Datapacks.
GOTOWY NA NOWY DATAPACK?
Plan Free co dzień odnawia 50K tokenów, większość datapacków mieści się bez problemu.
ZACZNIJ TWORZYĆ