Modscraper Modscraper Minecraft
Framework logo

Framework

Mod

by MrCrayfish

A common library powering all of MrCrayfish's Mods

Type

Mod

CurseForge Downloads

146,045,004

CurseForge ID

549225

Last Updated

Nov 7, 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).

Compatibility

Mod Loaders

Client Neoforge Server

Game Versions

26.3

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,531)

Show fewer
MYTHCRAFT 5 MYTHCRAFT 5 Timeless and classics Guns + More Timeless and classics Guns + More BETTER FANTASY - Overture BETTER FANTASY - Overture Infinite Origins Infinite Origins Horrorland 2 - Psychological and Classic Horror Modpack (with Horror Quests) Horrorland 2 - Psychological and Classic Horror Modpack (with Horror Quests) New Revolution - An Improved Vanilla Experience | 1.21 UPDATE! New Revolution - An Improved Vanilla Experience | 1.21 UPDATE! Vanilla+ Lightweight | MC Vanilla+ 1.21.11 Vanilla+ Lightweight | MC Vanilla+ 1.21.11 All Of Farmer's Delight : Farming Agriculture & Cooking  All Of Farmer's Delight : Farming Agriculture & Cooking Cobblemon Eternal: The Minecraft Pokémon Experience Cobblemon Eternal: The Minecraft Pokémon Experience PERFECTION PERFECTION Mayview (with Cobblemon!) Mayview (with Cobblemon!) More Realistic [FORGE] - 1.21 UPDATE! More Realistic [FORGE] - 1.21 UPDATE! Reminiscence Reminiscence Farming Crossing 4 Farming Crossing 4 Farming Crossing 5: Made to Order! Farming Crossing 5: Made to Order! New Age - Welcome To The Medieval Era | MEDIEVAL QUESTS UPDATE! New Age - Welcome To The Medieval Era | MEDIEVAL QUESTS UPDATE! Christmas Holidays - Ideal For Festivities | Christmas Quests Update! Christmas Holidays - Ideal For Festivities | Christmas Quests Update! FTB Presents Architect's Exodus FTB Presents Architect's Exodus Planeta Vegetta (Unofficial) Planeta Vegetta (Unofficial) Lovernite Adventure 2 Lovernite Adventure 2 Cobblemon Realms Cobblemon Realms One Block But With Horror Entities (NGU) One Block But With Horror Entities (NGU) Vagrant Saga - RPG Survival Adventure Vagrant Saga - RPG Survival Adventure Crafted Crazy (crazy craft updated!) Crafted Crazy (crazy craft updated!) Concatenation Concatenation More Biomes [FORGE] - 1.21 UPDATE! More Biomes [FORGE] - 1.21 UPDATE! MineColonies - Create & Conquer MineColonies - Create & Conquer Dragoncraft Dragoncraft Chosen's Create: Integrated Chosen's Create: Integrated Project -  Arcane Frontier Project - Arcane Frontier Solo Leveling - Shadows Solo Leveling - Shadows Reimagined Reimagined Stoneopolis Stoneopolis Roguelike Adventures and Dungeons 3 Roguelike Adventures and Dungeons 3 Cookiemon - Pokemon Cobblemon RPG & Cookies Cookiemon - Pokemon Cobblemon RPG & Cookies Guild Adventures Guild Adventures Izakji's Zombie Apocalypse II Izakji's Zombie Apocalypse II Essentials Mods [FABRIC] - 1.21 RELEASE! Essentials Mods [FABRIC] - 1.21 RELEASE! Create: Delight Remake Create: Delight Remake Better MC [BMC6] Better MC [BMC6] Modded Together Modded Together Beyond Ocean Beyond Ocean From Magic To Tech From Magic To Tech HORROR - A Quiet Place -  Death Angels HORROR - A Quiet Place - Death Angels Harvest Moon "Halloween" Harvest Moon "Halloween" NeoTech Reborn NeoTech Reborn Axas Perfect Pack Axas Perfect Pack Prehistoric World 2 | Unusual Prehistory 2, Dinosaurs, Quests & More Prehistoric World 2 | Unusual Prehistory 2, Dinosaurs, Quests & More Zombie Apocalypse: Last Days in the Wasteland | Survive Hordes of Zombies Zombie Apocalypse: Last Days in the Wasteland | Survive Hordes of Zombies Mastering Magic | A Magic World with Quests! Mastering Magic | A Magic World with Quests! A Distant Journey A Distant Journey BMC - BetterMC BMC - BetterMC The Best of Twilight Forest The Best of Twilight Forest Fabri's Frontiers Fabri's Frontiers Peachy's Pixel Place (Equestrian, Adventure & Farming) Peachy's Pixel Place (Equestrian, Adventure & Farming) More Dungeons [FORGE] - QUALITY UPDATE! More Dungeons [FORGE] - QUALITY UPDATE! Agmundr - Zombie Apocalypse Agmundr - Zombie Apocalypse Frozen Apocalypse | Survive the Ice Age Apocalypse Frozen Apocalypse | Survive the Ice Age Apocalypse Tempest Protocol Tempest Protocol More Animals [FABRIC] - 1.21 UPDATE! More Animals [FABRIC] - 1.21 UPDATE! Resurvival Resurvival Project-Z [Zombie Apocalypse] Project-Z [Zombie Apocalypse] The Zombie Conquest - Zombie Apocalypse (New Version) The Zombie Conquest - Zombie Apocalypse (New Version) Conquest of Dragons - A New Dragons Adventure | QUESTS UPDATE! Conquest of Dragons - A New Dragons Adventure | QUESTS UPDATE! Tensura reincarnated Anime Tensura reincarnated Anime mowzies mobs with extra mods mowzies mobs with extra mods Bountiful Farming - (formerly A Farmer's Delight) Bountiful Farming - (formerly A Farmer's Delight) HazardousDaniel's Unlimited 2.0 HazardousDaniel's Unlimited 2.0 Tanks, Ammo, Planes, and Nukes Tanks, Ammo, Planes, and Nukes Zombie R.E.A.P Plague Against Your World. Zombie R.E.A.P Plague Against Your World. Calamycraft Calamycraft EQUISTAR EQUISTAR Apocalypssia     -    [TACZ] modern appocalyps zombie modpack Apocalypssia - [TACZ] modern appocalyps zombie modpack Protocol Zero - A Modern Zombie Apocalypse Protocol Zero - A Modern Zombie Apocalypse Prey: An Expansive RPG Nightmare Modpack Prey: An Expansive RPG Nightmare Modpack Lost Souls Lost Souls Echoes of Hyrule: The Ultimate Zelda Experience Echoes of Hyrule: The Ultimate Zelda Experience PandAce's World PandAce's World Immersive Pixelmon - A New Pokemon Era (with Distant Horizons, Pixelmon & Quests) Immersive Pixelmon - A New Pokemon Era (with Distant Horizons, Pixelmon & Quests) Controllable_AZFriends Controllable_AZFriends HORROR - Psychological Horror Experience (dweller) HORROR - Psychological Horror Experience (dweller) Izakji's Zombie Apocalypse Izakji's Zombie Apocalypse The Backrooms | Liminal Spaces The Backrooms | Liminal Spaces Prominence™ I Classic (Legacy) Prominence™ I Classic (Legacy) Fantasy RPG - RPG Quests, Bosses & Magic | Fantasy & RPG Fantasy RPG - RPG Quests, Bosses & Magic | Fantasy & RPG Requiem - BETTER FANTASY (The Last Act) Requiem - BETTER FANTASY (The Last Act) Whispers in the Void - A Horror Adventure & Quests | Horror Mobs! Whispers in the Void - A Horror Adventure & Quests | Horror Mobs! Kingdoms and Colonies Rebirth Kingdoms and Colonies Rebirth FNAF - Fazcraft Reimagined | Based on FNAF! FNAF - Fazcraft Reimagined | Based on FNAF! Create Evolution - With Create 6.0 and Quests! | +35 Create Addons Create Evolution - With Create 6.0 and Quests! | +35 Create Addons Compression Compression Create Comes Alive (Create + MCA) Create Comes Alive (Create + MCA) Beyond Viltrum - Invincible Inc Beyond Viltrum - Invincible Inc Fiefdom - Medieval Fantasy RPG Fiefdom - Medieval Fantasy RPG Werewolves VS Vampires SMP Werewolves VS Vampires SMP Cube Warper Cube Warper Mystic's Monstrosity Mystic's Monstrosity Create Live 6 Create Live 6 ChillCraft - CC1 ChillCraft - CC1 World Terra World Terra

External Resources