R2API_Prefab

⭐ — (13 endorsements) 📥 956,035 downloads 📌 v1.1.1 📅 12/18/2022
🟠 Updated over a year ago

By RiskofThunder · Libraries

⬇ Download Mod Source: Thunderstore ↗ 📅 Updated: 8/19/2025 📅 Created: 12/18/2022
⚠️ Install Order · 1 step
1📦 R2API.Core Find it →

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 0.0% endorsement rate
  • 🏆 #17 of 62 Libraries mods in this game by downloads

📋 About This Mod

API for Prefab creation, networking and duplication

🤖 AI-enhanced — based on mod data

R2API_Prefab is a library submodule for Risk of Rain 2 modding that lets creators clone or create new prefabs and register them for networking. It's essential for modders adding custom items or enemies, with over 956k downloads and recent updates for the SOTS DLC.

✨ Key Features

InstantiateClone method clones existing prefabs and stores them disabled in memory.
CreateEmptyPrefab method creates new prefabs from scratch.
RegisterNetworkPrefab method registers prefabs to the network client catalog for proper networking.
Handles NetworkIdentity components by default, with an option to disable for non-networked prefabs.
Split from the main R2API.dll into its own submodule for modular use.

📊 Pros & Cons

✅ Pros

  • Massive download count (956k) shows it's a staple in the modding community.
  • Actively maintained with updates for SOTS DLC2 and recent fixes.
  • Provides essential tools for both cloning and creating prefabs, plus networking support.

⚠️ Cons

  • Low endorsement count (13) relative to downloads, possibly due to being a behind-the-scenes library.
  • Requires understanding of Unity prefab and networking concepts, not for casual users.
  • Version 1.1.1 removed a parameter from CreateEmptyPrefab, which could break older mods.
🎯 Is This For You?
This is for Risk of Rain 2 mod developers who need to add custom prefabs like items, enemies, or interactables. If you're a modder using R2API, this submodule is a must-have for handling prefab creation and networking. It's not for players looking for gameplay mods.
📦 Install:Easy· Under 1 minute

💡 Beginner Tips

  • When using InstantiateClone, set the bool argument to false if your prefab doesn't have a NetworkIdentity component to avoid networking issues.
  • Use CreateEmptyPrefab for completely new prefabs, but be sure to add necessary components manually.
  • Always check the changelog for breaking changes like the parameter removal in 1.1.1 when updating.

📊 Mod Details

Game
Thunderstore Mods
Author
RiskofThunder
Version
1.1.1
Downloads
956,035
Endorsements
13
Category
Libraries
Created
12/18/2022
Updated
8/19/2025
Tags
Libraries

🔧 How to Install Thunderstore Mods

Use r2modman/Thunderstore Mod Manager. Or manual: install BepInEx, drop mods into plugins folder.

📖 Full step-by-step install guide for Thunderstore →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Thunderstore commands, item IDs, and more.

Keep browsing — more Thunderstore mods await

📋 All Thunderstore Mods 🏆 Top 25 📂 More Libraries 👤 More by RiskofThunder 🔎 Similar Mods 🌐 Best Libraries (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods