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
New Simple Mods [FABRIC] - Without Complex Mods! | NEW VERSION! New Simple Mods [FABRIC] - Without Complex Mods! | NEW VERSION! Ampz (Voltz for 1.21) (Official Server) Ampz (Voltz for 1.21) (Official Server) SharedLife - New Multiplayer Experience! SharedLife - New Multiplayer Experience! MineColonies - Cobblemon Conquest MineColonies - Cobblemon Conquest All The Dungeons | New Combat and Dungeons All The Dungeons | New Combat and Dungeons FreshCraft SteamPunk Industry DLC FreshCraft SteamPunk Industry DLC NeepMeat - Trifecta NeepMeat - Trifecta The Slugterracraft - Legends of Slugterra The Slugterracraft - Legends of Slugterra M-Freunde  3 M-Freunde 3 Better Experience (BTV) - Last Update! | The Copper Age! Better Experience (BTV) - Last Update! | The Copper Age! city's Chainsaw Man pack city's Chainsaw Man pack Create Live 7 Create Live 7 Create Planetary Create Planetary Management wanted UNOFFICIAL PACK Management wanted UNOFFICIAL PACK KBA's Zombie Apocalypse KBA's Zombie Apocalypse Truly Essentials - First Step (Vanilla+) Truly Essentials - First Step (Vanilla+) Medival, Magic & Tech NeoForge Medival, Magic & Tech NeoForge Our Story - Earth 2 (soon) Our Story - Earth 2 (soon) Pinehaven's 100 Days Zombie Apocalypse (Horse Edition) Pinehaven's 100 Days Zombie Apocalypse (Horse Edition) Fantasy RPG - RPG Quests, Bosses & Magic | Fantasy & RPG Fantasy RPG - RPG Quests, Bosses & Magic | Fantasy & RPG Better Create Aeronautics | Create Aeronautics with Create Addons & Improvements Better Create Aeronautics | Create Aeronautics with Create Addons & Improvements LOVERNITE ADVENTURE 1 LOVERNITE ADVENTURE 1 Cozy Time | Cozy Survival with Quests (MC Cozy 1.21.1) Cozy Time | Cozy Survival with Quests (MC Cozy 1.21.1) Creepy Horse Reimagined Creepy Horse Reimagined HORROR - The official no_moon.jar pack (psychological) HORROR - The official no_moon.jar pack (psychological) Cozy Cooking: Mechanical Muffins Cozy Cooking: Mechanical Muffins Beyond Minecraft [Forge] Beyond Minecraft [Forge] Verity Endless Horror Experience Verity Endless Horror Experience Whispers From Below [From The Caves] Whispers From Below [From The Caves] Flawless Horror, Winter Survival (Proximity chat) Flawless Horror, Winter Survival (Proximity chat) Solo Leveling - OVERLOAD Solo Leveling - OVERLOAD TechRPG - RPG with Tech, Magic, Create, Space Exploration TechRPG - RPG with Tech, Magic, Create, Space Exploration Cobblemon - RPG Edition | Cobblemon & RPG [Cobblemon 1.7.3] Cobblemon - RPG Edition | Cobblemon & RPG [Cobblemon 1.7.3] Better than Better Than Wolves ( BTBTW ) Better than Better Than Wolves ( BTBTW ) Schleimy's Stranger Things Schleimy's Stranger Things Cobblemon: Beyond the Pixelverse Cobblemon: Beyond the Pixelverse Slime Throne | Tensura Slime Throne | Tensura Cobblemon Explorers! Cobblemon Explorers! Kingdoms Of The Valley Kingdoms Of The Valley Mystic's Monstrosity - Greedy Edition Mystic's Monstrosity - Greedy Edition Guns, Nukes and Espionage Guns, Nukes and Espionage Mysticlouds - Cuteness and Chaos Mysticlouds - Cuteness and Chaos Sci-Fi Multiverse Sci-Fi Multiverse Sixty Six Million Years In The Making Sixty Six Million Years In The Making HORROR - Arachnophobia (spider) HORROR - Arachnophobia (spider) Dragonworld Dragonworld Origins Revolution | With Origins & Origins Addons Origins Revolution | With Origins & Origins Addons Celestia SMP - The ModPack Celestia SMP - The ModPack Secret Mission: Christmas Secret Mission: Christmas Surviving 100 Days With The Wither Storm Again Surviving 100 Days With The Wither Storm Again World war with Godzilla World war with Godzilla crazy craft even more updated crazy craft even more updated The Stalker Recreation The Stalker Recreation Zombotani's Five Nights at Freddy's Pack Zombotani's Five Nights at Freddy's Pack The Cobblemon Colonies The Cobblemon Colonies Fungal Infection  Spore Survival Fungal Infection Spore Survival FNAF AT FREDDY'S FNAF AT FREDDY'S Monumental Experience - Creatures Across the World Monumental Experience - Creatures Across the World THE DISTURBED THE DISTURBED NeoTech Reborn NeoTech Reborn DiosesMC - Enhanced (Unofficial) - ExoTeam DiosesMC - Enhanced (Unofficial) - ExoTeam TransformersCraft: Rebirth TransformersCraft: Rebirth Odyssey 3 Odyssey 3 Stargate20 Stargate20 CRAZY CAVE WORLD CRAZY CAVE WORLD SKYMON - Cobblemon SKYMON - Cobblemon Plants vs. Zombies+ | With Plants vs Zombies & More! Plants vs. Zombies+ | With Plants vs Zombies & More! Cave horror optimized (cave horror project 1) Cave horror optimized (cave horror project 1) The Corrupted Aftermath The Corrupted Aftermath Impostor Syndrome Impostor Syndrome Zombies, Cars and Tech - Beta Zombies, Cars and Tech - Beta Create: Skies Above Create: Skies Above Just Hide - A Ransomware Horror Experience (Inspired by Twixxel & Thatmob) Scary Stalker Gameplay Recreation Modpack Just Hide - A Ransomware Horror Experience (Inspired by Twixxel & Thatmob) Scary Stalker Gameplay Recreation Modpack SMP | Somake Server SMP | Somake Server Farming Overloaded Farming Overloaded Liminal Industries Acension Liminal Industries Acension Horrorcraft Reimagined Horrorcraft Reimagined Factory in the Sky 4 Factory in the Sky 4 Thormen 1.21.1 - Mekanism -  Spaceships -  ICBMs -  Force Fields -  Nuclear Science  -  Voltz successor - Modpack server running Thormen 1.21.1 - Mekanism - Spaceships - ICBMs - Force Fields - Nuclear Science - Voltz successor - Modpack server running The Last Dawn II - Remastered The Last Dawn II - Remastered Immersive Cobblemon | With Distant Horizons, CobbleBrain, Cobblemon Addons & Quests (Cobblemon v1.7.3) Immersive Cobblemon | With Distant Horizons, CobbleBrain, Cobblemon Addons & Quests (Cobblemon v1.7.3) Steller: The Rise of the Kingdom Steller: The Rise of the Kingdom Apocalypse Begins [Zombie Apocalypse] Apocalypse Begins [Zombie Apocalypse] RTX ON [FABRIC] RTX ON [FABRIC] Plants vs Zombies Overgrowth Plants vs Zombies Overgrowth TJP - Endless Sky TJP - Endless Sky knight epic fight knight epic fight Beyond Crazycraft Beyond Crazycraft Factorio: Nuclear (OxMODPACK) Factorio: Nuclear (OxMODPACK) Ice and Fire - New comfort Ice and Fire - New comfort everything is random everything is random no_moon.jar with 000.jar no_moon.jar with 000.jar Cobblemon - Master Mon Cobblemon - Master Mon Moonstruck's Rebirth - A Better Cozy Experience Moonstruck's Rebirth - A Better Cozy Experience Farming Crossing 6 Dinner Party Farming Crossing 6 Dinner Party The Crafting Dead (The Walking Dead Inspired) The Crafting Dead (The Walking Dead Inspired) World Destroying - Apocalipse Zombie World Destroying - Apocalipse Zombie MIKEL's Controllable MIKEL's Controllable Desert Apocalypse - A Multiverse Adventure Desert Apocalypse - A Multiverse Adventure Create: Clockwork+ [Forge] Create: Clockwork+ [Forge]

External Resources