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
Gaia Decay - Gaia Decay - Milk and Stuff: Remilked Milk and Stuff: Remilked Christmas Modpack (yeah) Christmas Modpack (yeah) MafiaCraft MafiaCraft Creating Sandwiches Creating Sandwiches DLI Moderately Modded Minecraft, Meals, Magic & Machinery DLI Moderately Modded Minecraft, Meals, Magic & Machinery Cosmotech Cosmotech WorldsEnd WorldsEnd Draconic Machinations Draconic Machinations Barely Modded But Still Fancy Barely Modded But Still Fancy Pixel Valley Pixel Valley Kinlife IMP Pack Kinlife IMP Pack Lo-RPG Maygk Adventure Lo-RPG Maygk Adventure Crafting and Many More Crafting and Many More FTC - Indie Games FTC - Indie Games GoatCraft BMC++ 4 [Forge] GoatCraft BMC++ 4 [Forge] Blue Angel Blue Angel WrightCraft WrightCraft Create: Tesseracted Create: Tesseracted AeroCobble AeroCobble Tropical Paradise Tropical Paradise Changed Survival Priority Changed Survival Priority Aphelyon Aphelyon DFN - SMP DFN - SMP Pherocraft Pherocraft Shipwrecked SMP Shipwrecked SMP Human a Realistic Survival Experience Human a Realistic Survival Experience CreateZone CreateZone Fungalitus Fungalitus TUIA (The Ultimate Indefinite Adventure) TUIA (The Ultimate Indefinite Adventure) Modpack for Modern Building Modpack for Modern Building Retriever's Epic Fight Retriever's Epic Fight Yggdrasil 2 New Age Yggdrasil 2 New Age Society Sunlit Valley Enhanced Society Sunlit Valley Enhanced Jhotonheim Cobblemon Jhotonheim Cobblemon Create Reiterated - S2 Create Reiterated - S2 Shattered Earth - AFTER THE FALL Shattered Earth - AFTER THE FALL RossAndrewsVT's Medieval Project [Discontinued] RossAndrewsVT's Medieval Project [Discontinued] FableTale FableTale A Place to Call Home A Place to Call Home Braincells Magical Creation Braincells Magical Creation Reino de Celeste Reino de Celeste Zombies Disasters Zombies Disasters A MAFIA SMP A MAFIA SMP Fryed's Adventure Pack Fryed's Adventure Pack YogLabs 2 YogLabs 2 The Meat Must Grow The Meat Must Grow Nationcraft by Emmet Nationcraft by Emmet Terrifier Project Terrifier Project OLDY SMP OLDY SMP Best Survival Modpack For Latest Version Best Survival Modpack For Latest Version Freesia's Christmas Pack! Freesia's Christmas Pack! Willow's Random RPG Willow's Random RPG Rebirth RPG Rebirth RPG ZenCobblemon ZenCobblemon NewPath - Echoes of the Wild NewPath - Echoes of the Wild Dwarfz Fantasy Dwarfz Fantasy Berzerkish Horror RPG Berzerkish Horror RPG Jiromon Reborn Jiromon Reborn RunNGun -  100 Days Zombie Apocalypse RunNGun - 100 Days Zombie Apocalypse CivCraft 2 CivCraft 2 Aero Tank Pack (ATP) Aero Tank Pack (ATP) PixelSprings PixelSprings Cauchemar Cauchemar A creative decorating dream. Create structures according to your imagination. A creative decorating dream. Create structures according to your imagination. Progress - Selects Progress - Selects Adventure & Horror Adventure & Horror Goon Wars Goon Wars ProhlisCraft 4: Return of the Prohlisgang! ProhlisCraft 4: Return of the Prohlisgang! Tech and Guns: Zombie warfare Tech and Guns: Zombie warfare Mire 2077 Mire 2077 ED-Projekt ED-Projekt Scoobyland - Create and Friends Scoobyland - Create and Friends Above SMP Above SMP Reclaiming The Lost World Reclaiming The Lost World HeiteriaSMP HeiteriaSMP Siren Shadows Siren Shadows Exlandia 5 Exlandia 5 Everglave Everglave Realmshifter Realmshifter Create: Eras in Motion Create: Eras in Motion Create World (Aeronautics) Create World (Aeronautics) ChaosCraftZ Apocalypse ChaosCraftZ Apocalypse AstralisProject! AstralisProject! KA&AL Magic KA&AL Magic The Sigmas Pack The Sigmas Pack All Those Tech All Those Tech OuiOuiCreate 2 OuiOuiCreate 2  Technology Evolution  TE Technology Evolution TE Project OMEGA - Chaos Protocol Project OMEGA - Chaos Protocol The Last Ring Bearer The Last Ring Bearer CobbleLegends CobbleLegends BSMP - BRUTALSMP BSMP - BRUTALSMP DreamShift - Liminal Adventure DreamShift - Liminal Adventure Advanced Space and Beyond 2 Advanced Space and Beyond 2 Sable Wood - Japan Sable Wood - Japan MC Resonance Horizons MC Resonance Horizons STEFTOPIA SEASON 2 STEFTOPIA SEASON 2 Aduspack Reloaded Aduspack Reloaded DragonCraft Adventures DragonCraft Adventures

External Resources