SNC Official Developer API (SODA)
“BAA 1.2 should be out within the next 2 or 3 decades” — Bombface68
The SNC Official Developer API (SODA) makes it easier to create add-ons for Shingeki no Craft. It was made by Bombface68.
How it works
Section titled “How it works”SODA replaces SNC’s direct function calls with function tag calls. To run your own functions alongside SNC’s, add them to the appropriate function tags.
Installing (players)
Section titled “Installing (players)”Put SODA in your datapack folder with the other packs.
- When creating a world, it should be below the main pack in the load order.
- In an existing world it is sorted below SNC automatically.
Using it (developers)
Section titled “Using it (developers)”Create a function tag in your pack that matches the tag of the SNC function you want to run alongside, then add your function to that tag. Questions? DM @bombface68 on Discord.
Command surface
Section titled “Command surface”Verified against the 2.4.1 datapack (data/snc/function/api/):
| Group | Purpose |
|---|---|
api/config |
In-game configuration menu (the old Notion wiki’s path snc:auxiliar/config is the legacy pre-2.1 command) |
api/all_items |
Broadcast / list every item |
api/give/{drink,military,misc,shifters,villagers,zpecial} |
Grant item groups |
api/item_replace/{drink,military,misc,shifters,villagers,zpecial} |
Replace items in a group |
api/get/{shifter,survey_corps,titan_progress,energy,royal_blood} |
Read player state |
api/infect/{08,16,32,64,all} |
Infect villagers at different severities |
api/summon/{titan,items} |
Summon Titans / items |
api/trade/{guide,mask,music,survey,toy} |
Trade menus |
api/respawn_shifters |
Respawn all Shifters |
The surface has grown sharply: 2.4.1 ships 259 api/* functions, against 17 in 2.1.
Related
Section titled “Related”- Commands — the full
/function snc:api/...reference. - Installation & Setup — installing the pack.
- The current in-game config command is
/function snc:api/config.
Source: old Notion wiki “SNC Official Developer API”; datapack 2.1 / 2.4.1 (data/snc/function/api/).