Pegasus Lib
🟡 Updated this yearPreview
🔍 Analysis
- 👍 0.0% endorsement rate
📋 About This Mod
A collection of code I found myself repeating and recommending to other modders Includes: A system to easily apply shaders to things drawn in multiple parts, and/or apply multiple shaders to one thing (ShaderLayerTargetHandler) A strikethrough font which matches the character spacing of the MouseText font A faster alternative to accessing fields through reflection (FastFieldInfo and FastStaticFieldInfo) Automatic asset loading (AutoLoadingAsset) Custom drawing while using or holding an item (ICustomDrawItem) Various collision methods (CollisionExt) To use (as a player): Install and enable alongside a mod which uses it. To use (as a modder): Perform the normal setup to use a library mod. During loading, call PegasusLib. PegasusLib. Require() with any PegasusLib. LibFeatures your mod needs, to ensure that features relying on them do not fail silently. Alternatively, you can use PegasusLib. PegasusLib. IsFeatureErrored or PegasusLib. PegasusLib. OnFeatureError to handle any issues that may arise in whatever way suits your mod best. These methods exist to ensure that tModLoader updates or mod incompatibilities only interfere with mods that actually use the features they cause errors with, so that players can continue using your mod without having to wait for features it doesn't use to be fixed. Developed By Moonlight Glint
📊 Mod Details
- Game
- Tmodloader Mods
- Author
- 76561198315357022
- Version
- N/A
- Downloads
- 69,255
- Endorsements
- 0
- Category
- library, English, NoSync, 1.4.4
- Created
- 10/20/2024
- Updated
- 4/4/2026
🔧 How to Install tModLoader Mods
Subscribe on Steam Workshop. Mods auto-download and install. Launch the game to activate.
📖 Full step-by-step install guide for tModLoader →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for tModLoader commands, item IDs, and more.
Keep browsing — more tModLoader mods await