Modscraper Modscraper Minecraft
Framework logo

Framework

Mod

by MrCrayfish

A common library powering all of MrCrayfish's Mods

Type

Mod

CurseForge Downloads

136,434,801

CurseForge ID

549225

Last Updated

Sep 11, 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,403)

Show fewer
Shifting: Cobblemon Catcher Shifting: Cobblemon Catcher Cobblemon Cosmos Cobblemon Cosmos Extra [Modified] Cobblemon Plus Extra [Modified] Cobblemon Plus ELEV8 ELEV8 SharkSquad - True Survivors SharkSquad - True Survivors Souls of Gods Souls of Gods WMI Experience WMI Experience Ooc Cobblemon Plus Expanded Ooc Cobblemon Plus Expanded Basically Bare Bones Basically Bare Bones Arcane Acres RPG 2 Arcane Acres RPG 2 Better Fireteam Better Fireteam Bubbles' Breath Of Life Bubbles' Breath Of Life Arney Palmy Frozen Winter Experience Arney Palmy Frozen Winter Experience Dimmas91: Legacy of Creation Dimmas91: Legacy of Creation Old Reliables 3.5 Old Reliables 3.5 Jujutsu's Fate Ended Jujutsu's Fate Ended Time To Work Time To Work YUAL - Create w' Colony YUAL - Create w' Colony Digital Dreamers Digital Dreamers Honkerton Honkerton Better Cobblemon Adventure with friends Better Cobblemon Adventure with friends Schnoozleville Schnoozleville Trambiquecraft Trambiquecraft AndyTech AndyTech Barons Big Barony Barons Big Barony Main Survivor Zombie (DEAD) Main Survivor Zombie (DEAD) Dimmas91 Pixelmon 2 Dimmas91 Pixelmon 2 It's Party Time It's Party Time Sarcasticraft Resurrection Sarcasticraft Resurrection Cobbled RPG Cobbled RPG lots of gun lots of gun Konexxit Konexxit Shroomcraft 2 Cobblemon Edition Shroomcraft 2 Cobblemon Edition Breio Breio Femboy Foundry Femboy Foundry CobblemonEvolution CobblemonEvolution Cobblemon with Buddies Cobblemon with Buddies Aeternam IV Aeternam IV Relic Realms [FORGE] RR1 Relic Realms [FORGE] RR1 The Outcasted SMP Modpack The Outcasted SMP Modpack Sorcerer's Blade Sorcerer's Blade HeliosGamesCZSK HeliosGamesCZSK GDSMP - Farm Fish Relax GDSMP - Farm Fish Relax Rural Factory Rural Factory Earth Craft Nation Earth Craft Nation Multicolonies Multicolonies Just Enough Mods (Brass and Cinders Edition) Just Enough Mods (Brass and Cinders Edition) Bitz  Spoon Create Season 1 Bitz Spoon Create Season 1 Solo Leveling: Crafted Solo Leveling: Crafted Cobblemon Pick Your Poison Cobblemon Pick Your Poison Drake's Paradise - Discover a Living World! Drake's Paradise - Discover a Living World! Star Wars The Last Jedi Lightning Holder Star Wars The Last Jedi Lightning Holder Exalted Adventures Exalted Adventures Bluu's  Mystical Adventure Bluu's Mystical Adventure CornoPack Apocalipses CornoPack Apocalipses Runeforge Chronicles Runeforge Chronicles Godzillawarz's Kitchen Sink Godzillawarz's Kitchen Sink HypeCraft - Saison 3 HypeCraft - Saison 3 Xinex's simple adventure pack Xinex's simple adventure pack bliblu bliblu Recraft S7 Deceased Craft Recraft S7 Deceased Craft Cobblemon Union Cobblemon Union Bizarre Craft (A Homage To Crazy Craft) Bizarre Craft (A Homage To Crazy Craft) Cobblemon Down The Kitchen Sink Cobblemon Down The Kitchen Sink DOME DOME Airship's Conquer The Skies Geopolitical Airship's Conquer The Skies Geopolitical BoraLances Craft BoraLances Craft OceanCastle-Modded Adventure OceanCastle-Modded Adventure Mantecraft Mantecraft Quebecs Goated Pack Quebecs Goated Pack Better Survival (BSurvival2) Better Survival (BSurvival2) Cobblemon - Vapeur & Constellation Cobblemon - Vapeur & Constellation Duckemon Duckemon Create-Acsended Create-Acsended Forgin' Forgin' Abyssal Nightmare Abyssal Nightmare Vox Terrae (O Recomeco) Vox Terrae (O Recomeco) Primorus Primorus Exodream Exodream Schematifactory Schematifactory Christian's Horror Adventure Christian's Horror Adventure Echoes of the Horizon Echoes of the Horizon Jujutsu New Path Jujutsu New Path Ducky's Fantasy Ducky's Fantasy vris vris Kingdom's Unbound Official Pack Kingdom's Unbound Official Pack Wasteland Reborn Wasteland Reborn Dank Division Dank Division Steampunk Wizard City Steampunk Wizard City MonsterSMP  Dragon Rebirth MonsterSMP Dragon Rebirth Vani's Project Vani's Project Verlac Verlac Just Create Pluss Just Create Pluss Eclipse Studio's Cobblemon Eclipse Studio's Cobblemon CozyCraft Adventures CozyCraft Adventures Breto Zombie Apocalypse Breto Zombie Apocalypse Create: Conqueror's Frontier Create: Conqueror's Frontier Final Factory Final Factory Zesukki Zesukki No Signal Kingdoms No Signal Kingdoms

External Resources