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
Dinosaurs-Age Of Adventure Dinosaurs-Age Of Adventure The Stalker's Story The Stalker's Story AstralSpace [AS] AstralSpace [AS] Attack of the new B-Team Attack of the new B-Team The Genesis - Origins The Genesis - Origins SimplyFellas SimplyFellas The Goons Lagoon The Goons Lagoon Evocraft  cobblemon X create V2 Evocraft cobblemon X create V2 My Alien Evo Thing My Alien Evo Thing GroundZero's Zombie Apocalypse GroundZero's Zombie Apocalypse RatProject RatProject  guns money and more2 guns money and more2 The Adventure of 1000 - Hunters of Evil The Adventure of 1000 - Hunters of Evil Firearms N' Dungeons Firearms N' Dungeons Vanilla+ (w Cobblemon) Vanilla+ (w Cobblemon) Etar Experience Etar Experience Gray's Tensura Season 1 Gray's Tensura Season 1 TacApoth TacApoth R.E.A.P  Ultimate edition R.E.A.P Ultimate edition Through the Seasons Through the Seasons All About Alchemy - Magic & Potions All About Alchemy - Magic & Potions AVP Tech AVP Tech Kâbus Âlemi Kâbus Âlemi Alex's Pack 1.21.1 Alex's Pack 1.21.1 Dark Chocolate Edition Dark Chocolate Edition CAC Cobblemon Ars Create CAC Cobblemon Ars Create Create Continents Create Continents [VET] Vanilla Extra Touch [VET] Vanilla Extra Touch VALE - Folklore Flavor VALE - Folklore Flavor Rustic Craft 2 Rustic Craft 2 Freaky Pack - Cute vs Horror Freaky Pack - Cute vs Horror InfinityCraftfinal InfinityCraftfinal Project Powerborne Project Powerborne many structures and more stuff for all to enjoy many structures and more stuff for all to enjoy Eden Factory Eden Factory Bosses & Spells Bosses & Spells The Last Dawn III - Remastered The Last Dawn III - Remastered Dao of Endless Regression Dao of Endless Regression Majestic Majestic Lumin Origins Lumin Origins Nefastoland 2 Nefastoland 2 One Hundred Days Horse Editon One Hundred Days Horse Editon Goon Crew Collection Goon Crew Collection Cobblemon Champions Cobblemon Champions DoomsDay Jurassic Survival DoomsDay Jurassic Survival StealthCraft Season 2 StealthCraft Season 2 Create Mod-Attack Create Mod-Attack Triforce's Cobblemon Academy Triforce's Cobblemon Academy Tensura Abyss Tensura Abyss Aiko's Dimensions Aiko's Dimensions Ashen - A Medieval Life Project Ashen - A Medieval Life Project Aot+Create Aot+Create Pingwin Pack (Tech/Survival) Pingwin Pack (Tech/Survival) ATLab's ZombieSekai ATLab's ZombieSekai MayraLand MayraLand MENAGERIE - Paradoxical Wilds (Jurassic World based on Marvelous Menagerie) MENAGERIE - Paradoxical Wilds (Jurassic World based on Marvelous Menagerie) All About Factory - Industrial Tech & Automation All About Factory - Industrial Tech & Automation Stellar Warfare Stellar Warfare StormCore StormCore Guns, Dragons, and Death! Guns, Dragons, and Death! Hope SMP Chapter 2: Age of Heroes Hope SMP Chapter 2: Age of Heroes Nostalgia Squared Remake Nostalgia Squared Remake VtubersPlayCobblemon VtubersPlayCobblemon Comfycraft Comfycraft Arise SMP Arise SMP Zoo and Adventures Forge Edition Zoo and Adventures Forge Edition Fall of Days – Zombie Survival Fall of Days – Zombie Survival Fearcraft dwellers [rpg and horror] Fearcraft dwellers [rpg and horror] Soldier On Soldier On (SCA)The True Nightmare (SCA)The True Nightmare Donna's Odyssey Fantasy RPG Donna's Odyssey Fantasy RPG TerraFirmaCivilization Season 2 TerraFirmaCivilization Season 2 CrazyPimp Saison 1 CrazyPimp Saison 1 City Life 4.0 City Life 4.0 Create: Up and Away Create: Up and Away Zenith+ Zenith+ tank warfare big cannonns tank warfare big cannonns Create Aeronautics Survival Create Aeronautics Survival Nueral RPG Nueral RPG More Magika! More Magika! Viriatus Viriatus Voloron 4 Voloron 4 Technopolis Technopolis To the Stars - Etoile To the Stars - Etoile Lovebirds Lovebirds Paleo Project Paleo Project Christmas Fantasy Christmas Fantasy CleanCraft by ACUL [Neoforged] CleanCraft by ACUL [Neoforged] Don't go crazy (psychological and other types of terror) Don't go crazy (psychological and other types of terror) BecksCraft BecksCraft Spells Gears n' Bells RP Spells Gears n' Bells RP Imperialist - Medieval Ages Imperialist - Medieval Ages ROLO Edition ROLO Edition Arkobia 3 Arkobia 3 Herotime (Palladium Superpack) Herotime (Palladium Superpack) WolfiesCozyPlace WolfiesCozyPlace GeoThronesSMP GeoThronesSMP Triberean's Ultimate Furniturecraft Triberean's Ultimate Furniturecraft Impostor Syndrome - Reimagined Impostor Syndrome - Reimagined ImprovedExperience - A better game experience ImprovedExperience - A better game experience

External Resources