Alexandria
Alexandria is a broad utility library for Enter the Gungeon modding, built to make the mod creation process easier through a shared dependency packed with helpful code, APIs, and development tools. Rather than serving as a content mod on its own, it acts as a foundation that other mods can rely on for faster, more flexible development.
It combines older and newer systems into one convenient package, giving mod creators access to a large set of features for custom characters, enemies, items, rooms, shops, breakables, lighting, translations, dodge rolls, and more.
Included APIs And Tools
SoundAPI
Handles custom sound implementation in the game, including support for custom switch states.
cAPI
Provides tools for creating hats and related cosmetic additions.
CharacterAPI
Supports fully customizable custom characters with many of the same features available to base-game characters. These include alternate skins, alternate weapons, custom Past support, emissive shader support, custom icons on the character select screen, custom animations, prebaked sprite collection support, Hegemony Credit cost settings, custom ghost interactions, and more.
DungeonAPI
Used for loading and generating custom rooms made with the Room Architect Tool. It also includes tools for overriding alternate-floor Master Rounds, loading room data from embedded files or mod folders, and accessing a large static list of room-related game objects through SetupExoticObjects
EnemyAPI
Offers tools for creating custom enemies and handling enemy-related systems. This includes EnemyBuilder, BossBuilder, EnemyBuildingTools, AIActorUtility, and AttackBehaviourUtility, all aimed at simplifying enemy design and behavior setup.
ShopAPI
Designed for creating shop-type NPCs with a wide range of customization options, including custom prices, dialogue, minimap icons, price multipliers, Rainbow Mode immunity, adjusted loot table selection, appearance chances in the main shop, custom item positioning, and more.
PrefabAPI
Enables the creation of true custom prefabs for modding projects.
ItemAPI
Provides functionality for creating custom items and guns.
TranslationAPI
Allows mod authors to add custom translations for modded text.
BreakableAPI
Includes methods for creating breakable decorative objects such as debris, pots, and similar environment pieces.
ChestAPI
Listed as a work in progress.
LightAPI
Makes it easier to add customizable lighting effects to game objects, with special helpers available for guns and projectiles.
CustomDodgeRollAPI
Lets mod creators implement highly customizable dodge rolls that remain compatible with other mods and integrate with the base game’s dodge roll system.
Additional Utility Features
Alexandria also includes a number of miscellaneous tools that improve the overall modding workflow. These include assetbundle tools for creating custom content with prebaked sprite collections and animations, a static list of all enemy GUIDs for convenience, various debug commands, a custom stat API, and many other helper classes useful during development.
by