Modscraper Modscraper Minecraft
Framework logo

Framework

Mod

by MrCrayfish

A common library powering all of MrCrayfish's Mods

Type

Mod

CurseForge Downloads

146,064,179

CurseForge ID

549225

Last Updated

Nov 7, 2026

Description

framework_banner.png

Discord Server MrCrayfish's Website MrCrayfish's YouTube MrCrayfish's Discord

📙 About:

Framework is a library designed to aid in the development of multi-platform mods, containing systems for registration, network messages, and more. In addition, Framework contains additional features to further unlock the potential of modding, which can be read below.

🚀 Open Model Format

Open Model Format is an extension to Vanilla's JSON Block Model format. It removes the arbitrary restrictions placed on designing block models, this means you can now rotate an element to any angle instead of  22.5 increments. It also allows elements to be positioned and sized larger than the maximum bounds [-16,-16, -16] to [32, 32, 32]. Below is an example of a helicopter model used in a vehicle mod.

helicopter.png

🔑 Synced Data Keys

Synced Data Keys are an improvement of Minecraft's entity data accessor system. It allows you to attach additonal data to any entity without the need of writing a complex capability. The benefit of using Framework's Synced Data Keys is the powerful features it provides. As mentioned by in the name, the data can be automatically synced to clients; this means you don't have to deal with packets. The data can be saved to the entity so it's remembered across world reloads or server restarts. Unlike Minecraft's system, Framework adds an option to allow your data to persist across deaths instead of being reset back to it's default value. Not convinced yet? Check out the example below to see how simple but powerful this system is.

An example of keeping track of how many times a chicken has been hit by players.

// Creating a synced data key
private static final SyncedDataKey<Chicken, Boolean> HIT_COUNT = SyncedDataKey.builder(SyncedClassKey.CHICKEN, Serializers.INTEGER)
    .id(new ResourceLocation("your_mod_id", "hit_count"))
    .defaultValueSupplier(() -> 0)
    .saveToFile()
    .syncMode(SyncMode.TRACKING_ONLY)
    .build();

// Call this in your common setup
FrameworkAPI.registerSyncedDataKey(HIT_COUNT);

// Forge event for when a player attacks an entity
void onHitEntity(AttackEntityEvent event) {
    if(event.getTarget() instanceof Chicken chicken) {
        int newCount = HIT_COUNT.getValue(chicken) + 1;
        HIT_COUNT.setValue(chicken, newCount);
    }
}

📦 Easy Login Packets

Forge has the ability to allow developers to create login packets, however implementing it requires a significant amount of code. Framework condenses the required code into a simple registration method and will handle sending your data to clients.

📔 Developers:

Discover how Framework can be beneficial to your development by reading about it's features here.

🙋‍♀️ Need Support? Join the Official Discord Server:

The comment section isn't great for support, join the official discord server. You can get help installing and configuring mods, resolving crashes and more! Plus you'll also get access to news about mod updates and development (before anywhere else).

Compatibility

Mod Loaders

Client Neoforge Server

Game Versions

26.3

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Screenshots

Similar Mods

Included in Modpacks (2,531)

Show fewer
AP Gaming - Empowered Apocalypse AP Gaming - Empowered Apocalypse Mad-Kingdoms SMP Mad-Kingdoms SMP PixelSprings Plus PixelSprings Plus LongPlay Origins LongPlay Origins Chunk by Chunk Advanced Chunk by Chunk Advanced All About Cobblemon - Pokemon  World ( Catch, Build, Explore ) All About Cobblemon - Pokemon World ( Catch, Build, Explore ) AVP Tech AVP Tech JustCreateSMP2 (QOL)(unofficial) JustCreateSMP2 (QOL)(unofficial) MENAGERIE - Paradoxical Wilds (Jurassic World based on Marvelous Menagerie) MENAGERIE - Paradoxical Wilds (Jurassic World based on Marvelous Menagerie) Blighted Dreams Blighted Dreams Ranchers of Pixel Valley Ranchers of Pixel Valley Meteors Incoming Meteors Incoming Death Knights and Guns Death Knights and Guns definitive fnaf pack( discontinued) definitive fnaf pack( discontinued) Cobbletheseballs Cobbletheseballs FNaF RP (By Fmuzyy) FNaF RP (By Fmuzyy) Ascension of the Archmage Ascension of the Archmage EaterSMP EaterSMP Frostpunk Borealis Frostpunk Borealis Untagged & Untitled+ (UAU+) Untagged & Untitled+ (UAU+) TURKEY SANDWICH CRAFT TURKEY SANDWICH CRAFT Waifucraft RPG [Kult Craft] Waifucraft RPG [Kult Craft] Velmont Equestrian Velmont Equestrian Creative Colonies - [Build, Automate, Thrive] Creative Colonies - [Build, Automate, Thrive] FUN CITY CRAFT - Amethyst Edition FUN CITY CRAFT - Amethyst Edition VOID-BOX2 VOID-BOX2 Cozy Animal Crossing - A Cozy Farming Adventure Cozy Animal Crossing - A Cozy Farming Adventure lightcraft season 2 lightcraft season 2 Wasteland Winter Wasteland Winter CloverCraft (Season 1) CloverCraft (Season 1) Project Z - Zombie Apocalypse Project Z - Zombie Apocalypse ERASED - NEW DAWN ERASED - NEW DAWN CivCraft 2 CivCraft 2 Pixelmon Adventures   ( Server Pack ) Pixelmon Adventures ( Server Pack ) GregTech Apocalypse GT-A GregTech Apocalypse GT-A Tinkerer Kingdom Tinkerer Kingdom Craft 4 Dead Craft 4 Dead Farm and Friends Farm and Friends Tinker's Create [Fabric] Tinker's Create [Fabric] Yumema SMP Yumema SMP Messed Up Cozy Pack Messed Up Cozy Pack TerraForge TerraForge Zylla's MineColonie: Medieval Crafting & Creation Zylla's MineColonie: Medieval Crafting & Creation Fishing With The Boys Fishing With The Boys Terraclysm Terraclysm Tinkers Construct Pack TCP Tinkers Construct Pack TCP Beyond The Walls Beyond The Walls Rise of Herobrine (Demo) Rise of Herobrine (Demo) Powers And Mayhem Powers And Mayhem Vix Vix THE Walking of the parasite 2 sunrising... THE Walking of the parasite 2 sunrising... Everdawn Everdawn Return of the Slime Isekai Return of the Slime Isekai Dank-Dreams Dank-Dreams Create Skyward! Create Skyward! Zoo and Adventures Forge Edition Zoo and Adventures Forge Edition scpsecretoperation scpsecretoperation Seasons of Survival Seasons of Survival Cobblemon - The Temporia Region Cobblemon - The Temporia Region Pokeheros 2 Pokeheros 2 Mangoescraft Mangoescraft Create Industrial Frontiers Create Industrial Frontiers JUJUTSU INSANE JUJUTSU INSANE ATGC Meltdown 2 - The Sky ATGC Meltdown 2 - The Sky MOMB梦织谷服务器整合包 MOMB梦织谷服务器整合包 LINDENFELD - Via Gastronomica LINDENFELD - Via Gastronomica MC Insel 4 MC Insel 4 Parasites and Weapons Parasites and Weapons Creatia 3 Creatia 3 Camping Survive Camping Survive ZonaCero Apocalypse Enhanced ZonaCero Apocalypse Enhanced Eldion Eldion All in One (SCP universe+) All in One (SCP universe+) Dreamy Hollow - A Wonderful Cozy Experience Dreamy Hollow - A Wonderful Cozy Experience IncredibleCraft-[FORGE]-1.20.1 IncredibleCraft-[FORGE]-1.20.1 Gruelling Survival [FORGE] Gruelling Survival [FORGE] Medieval Survival X - OLD Medieval Survival X - OLD Late Long Nights Late Long Nights Viriatus Viriatus Wandering Hollows Season 2 Wandering Hollows Season 2 Create - Tamed Frontiers Create - Tamed Frontiers Tinker's Tea Time Tinker's Tea Time Dragons & Trolls & Pokemon, Oh My! Dragons & Trolls & Pokemon, Oh My! create Robots. create Robots. Harmony Ranch Harmony Ranch ZombiLlers Hardcore Apocalipse ZombiLlers Hardcore Apocalipse APEX WEAPONRY 2 [[remake]] APEX WEAPONRY 2 [[remake]] The Maze Runner - A Fully Immersive Experience The Maze Runner - A Fully Immersive Experience The Powers that Be. The Powers that Be. Create Areo Naughts Create Areo Naughts Create: Adventure Industry Create: Adventure Industry V's Fantasy Modpack V's Fantasy Modpack Winter Leveling Winter Leveling Professional Weaponry Professional Weaponry GHyst Distant Horizons GHyst Distant Horizons SharkSquad Modpacks SharkSquad Modpacks Attack of the new B-Team Attack of the new B-Team Shattered Earth - AFTER THE FALL Shattered Earth - AFTER THE FALL Luminosity Luminosity ProtoMP ProtoMP

External Resources