Skip to content
Download

API coverage by game area

Each row is one area of the game. Open it to see what a mod can do there, and which API items do it. The API reference documents each item, and /api-coverage.json holds the same data.

Items4 / 5 covered
CapabilityStateStabilityAPI
ReadCoveredStablecontent::vanilla::item, item_data (Unstable), Blob
ChangeCoveredStablecontent::changes, Field::MaxStackSize (Unstable); item fields and stack size
CreateCoveredStablecontent::items, content::icons
EventsCoveredStableHandleEquipmentSlotChangedEvent, LootInteractionEvent
InterfaceResearching
Recipes5 / 5 covered
CapabilityStateStabilityAPI
ReadCoveredStablecontent::vanilla::recipe
ChangeCoveredStablecontent::recipes::change, recipes::rules
CreateCoveredUnstableLoad::add_recipe, derive_recipes
EventsCoveredStableCraftRecipeEvent, CraftRecipeSuccessEvent, vetoes::on_craft
InterfaceCoveredStablecontent::menu
Crafting stations5 / 5 covered
CapabilityStateStabilityAPI
ReadCoveredStablecontent::vanilla::station, workshop
ChangeCoveredStablecontent::menu; which recipes a workshop lists
CreateCoveredStablecontent::workshops
EventsCoveredStableCraftRecipeEvent
InterfaceCoveredStablecontent::menu
Loot4 / 4 covered
CapabilityStateStabilityAPI
ReadCoveredStablecontent::loot_tables, loot::Containers
ChangeCoveredUnstableloot_tables, rates
CreateCoveredStableloot::drops; mod items at an exact chance
EventsCoveredStableLootInteractionEvent, loot::on_loot_pass
InterfaceDoes not apply
Survivors and NPCs4 / 5 covered
CapabilityStateStabilityAPI
ReadCoveredStablesurvivors, survivors::workshop
ChangeCoveredStableon_survivor_lookup, on_survivor_bed_check, effects::npc_command
CreateCoveredStableeffects::spawn, survivors::add_summon_item
EventsCoveredStableon_summon, on_summoned, on_survivor_status
InterfaceIn work
Flame Altars4 / 5 covered
CapabilityStateStabilityAPI
ReadCoveredStablealtars::Altars; the list, levels and bases
ChangeCoveredStablebase_limit, raise_base_limit, on_altar_limit
CreateCoveredStableFlame Altar kinds of a mod
EventsCoveredStableAltarsChanged, FlameAltarEvent, on_altar_zone
InterfaceIn work
Building and props5 / 5 covered
CapabilityStateStabilityAPI
ReadCoveredUnstableworld::props, prop_state, capture
ChangeCoveredUnstableplace_prop, remove_prop, place_block, transactions
CreateCoveredStableprop types and crafting props of a mod
EventsCoveredStableBuildingPlaced, BuildingRemoved, vetoes::on_build, can_build
InterfaceCoveredStablevetoes::BuildVerdict; a refusal reason under the build cursor
Terrain and voxels3 / 3 covered
CapabilityStateStabilityAPI
ReadCoveredStablevoxels, terrain::materials
ChangeCoveredStablewrite_voxels; add, dig and flatten terrain
CreateNot supportednew terrain materials
EventsCoveredStableChunkLoaded, ChunkUnloaded
InterfaceDoes not apply
Inventory and containers3 / 5 covered
CapabilityStateStabilityAPI
ReadCoveredStableinventory, world::containers (Unstable)
ChangeCoveredStableset_item, content::containers
CreateIn work
EventsCoveredStableHandleEquipmentSlotChangedEvent, LootInteractionEvent
InterfaceResearching
Players and accounts3 / 3 covered
CapabilityStateStabilityAPI
ReadCoveredUnstableworld::players, player_by_key, players_named
ChangeCoveredUnstablekick, ban, allowlist and mute
CreateDoes not apply
EventsCoveredStablePlayerJoined, PlayerLeft, events::PlayerDied (Unstable)
InterfaceNot supportedan admin interface
Character stats and buffs4 / 5 covered
CapabilityStateStabilityAPI
ReadCoveredUnstableworld::stats, stats, buffs
ChangeCoveredStableset_health, heal; add buffs and define stats
CreateCoveredStablestats::define_stat, affixes
EventsCoveredStablestats::on_stats_changed
InterfaceIn work
Skills and experience3 / 5 covered
CapabilityStateStabilityAPI
ReadCoveredUnstableworld::stats, progress
ChangeCoveredUnstablerates, progress::on_skill, on_experience
CreateIn work
EventsCoveredStableLevelUpEvent, XpGainedEvent
InterfaceIn work
Combat and enemies4 / 4 covered
CapabilityStateStabilityAPI
ReadCoveredStableHitEvent, Load::on_damage (Unstable)
ChangeCoveredStableenemy values, spawn entries and spawner counts
CreateCoveredStableenemies and arsenals of a mod, entity templates
EventsCoveredStableHitEvent, EntityDiedEvent
InterfaceDoes not apply
Knowledge3 / 5 covered
CapabilityStateStabilityAPI
ReadCoveredStableknowledge::get
ChangeCoveredUnstableKnowledge::revoke; grant and revoke, per world or account
CreateIn work
EventsCoveredStableKnowledgeChanged, Load::on_knowledge_input (Unstable)
InterfaceIn work
Quests2 / 5 covered
CapabilityStateStabilityAPI
ReadCoveredStableknowledge::quests, completed
ChangeIn work
CreateIn work
EventsCoveredStableQuestCompleted
InterfaceIn work
Map and fog5 / 5 covered
CapabilityStateStabilityAPI
ReadCoveredUnstablemap markers, the map frame and the fog
ChangeCoveredUnstableui::map; set markers and the waypoint
CreateCoveredUnstablemap_marker_types
EventsCoveredUnstableLoad::on_waypoint, on_ping
InterfaceCoveredUnstableui::map; markers
Weather, time and shroud4 / 4 covered
CapabilityStateStabilityAPI
ReadCoveredStableweather::state, daytime::now, shroud_time
ChangeCoveredStableweather::set, clock_speed, change_shroud_time; set the hour of the day
CreateCoveredStableadd and change weather phenomena
EventsCoveredStableDayStarted, NightStarted
InterfaceDoes not apply
Chat and notices4 / 4 covered
CapabilityStateStabilityAPI
ReadCoveredUnstablechat lines on the server
ChangeDoes not apply
CreateCoveredUnstabletell, broadcast and notify
EventsCoveredStableChatSaid; a chat filter that may rewrite a line
InterfaceCoveredUnstablenotices
Interface4 / 4 covered
CapabilityStateStabilityAPI
ReadDoes not apply
ChangeCoveredStableLoad::extend_screen; panels on the game's screens
CreateCoveredStableui; windows, dialogs, HUD and widgets
EventsCoveredStableui::on_frame; dialog answers
InterfaceCoveredStableui
Input and interactions4 / 5 covered
CapabilityStateStabilityAPI
ReadCoveredUnstableinput, Frame::open_screen, Load::on_screen_changed
ChangeIn work
CreateCoveredUnstablecontrols a mod declares
EventsCoveredStableinteractions::on_interaction, AcceptOfferedInteractionEvent
InterfaceCoveredUnstableplayers set their own keys
Sound1 / 4 covered
CapabilityStateStabilityAPI
ReadDoes not apply
ChangeIn work
CreateIn work
EventsIn work
InterfaceCoveredStableinterface sounds
Saves and worlds3 / 3 covered
CapabilityStateStabilityAPI
ReadCoveredStablestate::Store, WorldLoaded, WorldSaved
ChangeCoveredStableWorldSaving, hold_saves, Spawn::do_not_save; the save's identity
CreateDoes not apply
EventsCoveredStableWorldLoaded, WorldSaved, ShutdownStarted
InterfaceDoes not apply
Networking and joining5 / 5 covered
CapabilityStateStabilityAPI
ReadCoveredStablejoin_missing; the mods list
ChangeCoveredStablesides server and both, requires, after and breaks
CreateCoveredStablemessages between a mod's parts
EventsCoveredStableJoinRefused; a received message
InterfaceCoveredStablethe mismatch screen, refusals by mod id and version
Game settings and rates4 / 4 covered
CapabilityStateStabilityAPI
ReadCoveredStablegame_settings
ChangeCoveredUnstablerates, game_settings
CreateDoes not apply
EventsCoveredStableSettingsChanged, SettingsReplaced
InterfaceCoveredStablesettings per world behind each mod's gear
CapabilityWhat a mod can do
Readsee the current state
Changechange values and rules of the game
Createadd something of its own, such as an item or recipe
Eventshear what happened
Interfaceshow it to a player and let the player act on it
StateMeaning
Coveredthe API has calls for it
In workthe API for it is being built
Researchingthe needed facts about the game are being found
Not supportedthe API does not offer it
Does not applythe game has nothing of this kind in that area

A covered row is Stable or Unstable, as Stability lists its items. A stable row marks each unstable item it names. An unstable item needs the unstable feature and may change in any release.

What comes next lists what Enshwick aims to add.