Modscraper Modscraper Minecraft
Framework logo

Framework

Mod

by MrCrayfish

A common library powering all of MrCrayfish's Mods

Type

Mod

CurseForge Downloads

136,286,471

CurseForge ID

549225

Last Updated

Sep 10, 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).

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,402)

Show fewer
JJK Reborn JJK Reborn Stargate: ReLeveled Stargate: ReLeveled Changed Goo Outbreak Changed Goo Outbreak Inferno - Better Hardcore Inferno - Better Hardcore Pepu's Shrimp Game Project Pepu's Shrimp Game Project Dawn of the Flood Dawn of the Flood ISEKAICRAFT RPG ISEKAICRAFT RPG MagicalMoonbeam's CuteCraft MagicalMoonbeam's CuteCraft Create: Gearworks Create: Gearworks C&K's Organized Crime C&K's Organized Crime Creatopia Unbound Creatopia Unbound Randoms Packs Randoms Packs Horrors From Shadows Horrors From Shadows Blockalypse - A Modern Zombie Apocalypse Blockalypse - A Modern Zombie Apocalypse Easy Bunker Easy Bunker Oritech+ | Oritech & Create Addons and Create Aeronautics Oritech+ | Oritech & Create Addons and Create Aeronautics Into the fog - scary mobs Into the fog - scary mobs Create Eternal Journey Create Eternal Journey Beyond Zombie Beyond Zombie The Journey SMP Season Of True Survival The Journey SMP Season Of True Survival Dinosaurs Reborn Plus Dinosaurs Reborn Plus PS Homegrown - Sunlit Valley PS Homegrown - Sunlit Valley Au Naturel Au Naturel Aetherion - The Aether II Expanded Aetherion - The Aether II Expanded MagicCraft 2: Choose your magic path MagicCraft 2: Choose your magic path Refined Pack 2 Refined Pack 2 parasites the new era - 100 days with parasites parasites the new era - 100 days with parasites The Alex's Collection The Alex's Collection Asheerah's Equestrian Center Asheerah's Equestrian Center Your not alone (Horror) Your not alone (Horror) Heroes United Heroes United The Suspect's Journey The Suspect's Journey Singularity Create Singularity Create FreakCraft - CrazyCraft Inspired FreakCraft - CrazyCraft Inspired A Journey's End - RPG A Journey's End - RPG  The end human civilization(100days) The end human civilization(100days) PokeSMP PokeSMP Vampires  Guns Dragons an Magic . Vampires Guns Dragons an Magic . Transformer Smp Transformer Smp Girlypop Craft Girlypop Craft Dark Fantasy [MMC] Dark Fantasy [MMC] Jujutsu x One Piece Jujutsu x One Piece Kawaii Overload Forge Kawaii Overload Forge Create It Up - A Create Experience Create It Up - A Create Experience TerraFirmaCraft:Leap The Top TerraFirmaCraft:Leap The Top Medieval Dark Fantasy Craft [Rpg] Medieval Dark Fantasy Craft [Rpg] Colony:Exodus to the stars Colony:Exodus to the stars Jujutsu Aurolith Jujutsu Aurolith Trackwork Advanced Trackwork Advanced Arkanis Terceira Temporada - FANMADE Arkanis Terceira Temporada - FANMADE Tensura Roguelike Tensura Roguelike TTIGRN : Hardcore Heroes TTIGRN : Hardcore Heroes Tac-Ops Tac-Ops Digimod Updated Digimod Updated Sulidae TFC Sulidae TFC E_son's zombie apocalypse E_son's zombie apocalypse Liminal Industries - Oil Expansion Liminal Industries - Oil Expansion Scary christmas Scary christmas (LAST UPDATE DISCONTINUED)BETTER HORROR CRAFT (LAST UPDATE DISCONTINUED)BETTER HORROR CRAFT Danny's Aot with FTB quests (Fan made) Danny's Aot with FTB quests (Fan made) From the wonderland.jar From the wonderland.jar BuildCraft X Create BuildCraft X Create CobbleKanto - A Cobblemon Adventure CobbleKanto - A Cobblemon Adventure Thermal Bees&Drinks Thermal Bees&Drinks Society: Mystical Ocean Society: Mystical Ocean Redcap's Medieval Adventures Redcap's Medieval Adventures Guns, Planes, Tech and more Guns, Planes, Tech and more Xerlios's Sorcery Fight Xerlios's Sorcery Fight My Biome Is So Beautiful My Biome Is So Beautiful narutoto Ultimate narutoto Ultimate BeetleKnight's Beyond BeetleKnight's Beyond Skyrim: Legacy Reborn –  Adventure Skyrim: Legacy Reborn – Adventure Huge Horror Pack [Horror] [Dweller] [Scary] Huge Horror Pack [Horror] [Dweller] [Scary] CheneTulipe Apocalipse Zombie Invasion CheneTulipe Apocalipse Zombie Invasion Fun++ (With Guns and Security Craft) Fun++ (With Guns and Security Craft) PixelGO - Isekai (Pixelmon) PixelGO - Isekai (Pixelmon) Palworld: Pokemon with Guns Palworld: Pokemon with Guns Create: Friends & Trains and Factories Create: Friends & Trains and Factories The Last Dawn I - Remastered The Last Dawn I - Remastered RockTown Tech World Sky Block RockTown Tech World Sky Block Last DayZ of Craft Last DayZ of Craft Adventure of Tech V Adventure of Tech V The Five Nights The Five Nights Create: Industrialized Tech Create: Industrialized Tech Over the Sky | Floating Islands, Mobs and Many Secrets! Over the Sky | Floating Islands, Mobs and Many Secrets! Fungal Outbreak Fungal Outbreak Lightweight Adventure RPG Survival Lightweight Adventure RPG Survival HORROR - The Lost Cities - Zombie Apocalypse HORROR - The Lost Cities - Zombie Apocalypse Everwild Everwild Cozy Witchcraft Cozy Witchcraft FTB Unstable 6 FTB Unstable 6 Xomaps 2 Xomaps 2 Epicfight Lyf3 Epicfight Lyf3 Undead Survival 100 Days Undead Survival 100 Days The Server26 Clientside Bundle The Server26 Clientside Bundle Crescent: Wings of Berk Crescent: Wings of Berk FNAF - Fazcraft Reimagined | Based on FNAF! FNAF - Fazcraft Reimagined | Based on FNAF! Create Outbound Create Outbound Mutant Virus Craft Mutant Virus Craft Cloudy Kaisen Cloudy Kaisen

External Resources