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
Red Dawn SMP Red Dawn SMP FNAF RP TURNO NOCTURNO FNAF RP TURNO NOCTURNO MineColonies Advance MineColonies Advance Evil larry's playground Evil larry's playground Goonercraft: Industrial Goonercraft: Industrial Kat's Craft 2 Kat's Craft 2 Homesteaders (Cozy Vibes) Homesteaders (Cozy Vibes) Firearms N' Dungeons: Fired Up Firearms N' Dungeons: Fired Up GAS MONKEY car detailers GAS MONKEY car detailers Xianxia and Magic++ Xianxia and Magic++ Aldara Geopol Aldara Geopol Worlds Unbound Worlds Unbound LightCraft Season 3 LightCraft Season 3 All The Heros All The Heros Verity Enhanced Verity Enhanced Gears and Legends Gears and Legends AGBz AGBz Horror Mod (VR Compatible) Horror Mod (VR Compatible) Cobblemon Party Cobblemon Party All in One (SCP universe+) All in One (SCP universe+) BossCraft Milu's Edition BossCraft Milu's Edition Revelations Revelations Riders Race to Berk Riders Race to Berk Calvin's Survival Experience Calvin's Survival Experience Nightmarecraft and Complements Nightmarecraft and Complements CobbleQuests CobbleQuests Ride & Reign Ride & Reign InfinityMidCraft InfinityMidCraft Dark Hours Dark Hours salmon's retro soup (minecraft, but it was made half a decade earlier) salmon's retro soup (minecraft, but it was made half a decade earlier) HMI Pack HMI Pack BMCITY - ONE MORE TIME BMCITY - ONE MORE TIME The Hunter Project The Hunter Project Terraclysm Terraclysm The Joaozin's Gayzown's Reforged - Guelcraft The Joaozin's Gayzown's Reforged - Guelcraft The Oblivion verse The Oblivion verse Project zer0 Project zer0 OptiDeck (Fabric) OptiDeck (Fabric) Origins: RPG Adventure Origins: RPG Adventure The Silly Shenanigoons - Barebones REDUX The Silly Shenanigoons - Barebones REDUX La Colonie La Colonie Tulacraft IV Tulacraft IV AluCraft SMP AluCraft SMP KC's Fantasy Kingdom KC's Fantasy Kingdom Cobblemon Exploration Wonder Cobblemon Exploration Wonder Fat dragon adventures Fat dragon adventures Scholars and Librarians Scholars and Librarians Decorator Pack Decorator Pack survival redefined survival redefined EmberHorizon's Custom Pack EmberHorizon's Custom Pack Revitrix Revitrix Prion Infection Perfected[FORGE] Prion Infection Perfected[FORGE] Cobble Life Cobble Life SPELLCRAFT-SMP SPELLCRAFT-SMP The most accurate Wither Storm The most accurate Wither Storm Jester Jumps Jester Jumps Create Unending Create Unending cobblemon & create cobblemon & create Fancy's Last Stand Fancy's Last Stand Create Trains Fabric Create Trains Fabric Headstone Craft Headstone Craft Steel Block Run 1890 (Jojo, JJBA) Steel Block Run 1890 (Jojo, JJBA) the horror of the dwellers and more the horror of the dwellers and more Empires of Steam & Sky Empires of Steam & Sky Tita The Wizard And The Nuclear Apocalypse Tita The Wizard And The Nuclear Apocalypse Cobblemon Cursed Lake Cobblemon Cursed Lake Age of the Flood Age of the Flood Pink Castle Pink Castle  A Parallel Universe A Parallel Universe Aetas Aetas Faes & Frogs - Fabric Faes & Frogs - Fabric RISAKU project RISAKU project Cobblemon x Jacarezinhos Cobblemon x Jacarezinhos Machines and Mythology Machines and Mythology HTTYD x Epic Fight HTTYD x Epic Fight Our Antarchy Craft Our Antarchy Craft Gregtech: Palladium Edition Gregtech: Palladium Edition NovaCraft - Rap Geek NovaCraft - Rap Geek Coziestcraft Coziestcraft So This Is Life As A Freak. So This Is Life As A Freak. OvermoddedCraft OvermoddedCraft Mint Flavored Mint Flavored SWEM Realism SWEM Realism Cozymon Adventure Cozymon Adventure WorkLoad WorkLoad Horrorr Project v1.19.2 Horrorr Project v1.19.2 Origin: AP Gang Origin: AP Gang Nymeria RP Nymeria RP Gregtech Reverberating Nexus Gregtech Reverberating Nexus Zone Craft Zone Craft All The Horrors (ATH) All The Horrors (ATH) My Hero Legacy My Hero Legacy minna no saba minna no saba Goon Crew Collection VR Goon Crew Collection VR Tiganj - Dark Fantasy RPG Tiganj - Dark Fantasy RPG BloodFall SMP Pack BloodFall SMP Pack Sunlight & Sprites Sunlight & Sprites Delusions Craft Delusions Craft Realms Collide Eternal Realms Collide Eternal Daldon's Immersive Survival Daldon's Immersive Survival

External Resources