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
Project Obscura Project Obscura Integrated RPG Integrated RPG SinnoH Sanctum Old SinnoH Sanctum Old Bingus SMP Season 9 Aeronautics Bingus SMP Season 9 Aeronautics DayZ SMP DayZ SMP The War of the World The War of the World Rob's Cobblemon Academy Rob's Cobblemon Academy Isekai's Starshine [Discontinued] Isekai's Starshine [Discontinued] Path to Exile - Next Generation Path to Exile - Next Generation All You Need - AYN All You Need - AYN FEARNIGHT [FORGE JAVA] FEARNIGHT [FORGE JAVA] Explorerยดs & Marriage Explorerยดs & Marriage FOG'S Zombie Apokalypse FOG'S Zombie Apokalypse Jojo: Bedrock is Unbreakable Jojo: Bedrock is Unbreakable Cobblemon: Unbound Cobblemon: Unbound The Pond Edition [NEOFORGE] The Pond Edition [NEOFORGE] SCP Christmas SCP Christmas NeoBox NeoBox Verity souls JE Verity souls JE Create-Mekanism Perfect Balance Create-Mekanism Perfect Balance Reminiscence: Ronium Reminiscence: Ronium Frisky Business: Powercraft Edition 2 Frisky Business: Powercraft Edition 2 Pixelmon Legends Z-A Pixelmon Legends Z-A Dungeons n' Bosses 2! Dungeons n' Bosses 2! World Racing League - Speed Racer World Racing League - Speed Racer PRIMAL - Semi-Realistic Survival PRIMAL - Semi-Realistic Survival Tornadoes and Nature Tornadoes and Nature Create Colonies - Craft a Home. Create an Empire. Create Colonies - Craft a Home. Create an Empire. Kitchen Sink (Emphasis on the Kitchen) Kitchen Sink (Emphasis on the Kitchen) Dead Dawn - Realistic Zombie Apocalypse Dead Dawn - Realistic Zombie Apocalypse Cute Adventure Cute Adventure Catch, Create, Conquer Catch, Create, Conquer Swem and so much more Swem and so much more GameFool's Zombies GameFool's Zombies Magic and dungeoneering Magic and dungeoneering Lucky Ducky Lucky Ducky Better Fresh Start (BFS) Better Fresh Start (BFS) Backrooms Lost Found Footage (BLFF) Backrooms Lost Found Footage (BLFF) Alfheim | Guns & Monsters Alfheim | Guns & Monsters RPG - HORROR MODPACK RPG - HORROR MODPACK Alex Mobs Extra Alex Mobs Extra Cobblemon.RPG Cobblemon.RPG MacedCraft MacedCraft Echoes of Volkrune Echoes of Volkrune The Cordyceps Fungus The Cordyceps Fungus Too Many Things Too Many Things Rise of Power Rise of Power Fungal Outbreak Fusion Fungal Outbreak Fusion Solar Fantasy Solar Fantasy Voloron 3 Voloron 3 Create One Block Ultimate Create One Block Ultimate Biohazard: Dead Zone Biohazard: Dead Zone JujutsuCraft: Heaven and Earth JujutsuCraft: Heaven and Earth Horror Pack By The Fake Steve Season 2 Horror Pack By The Fake Steve Season 2 The Day Earth Stopped The Day Earth Stopped Community Made Community Made Fantasy world (like DND) Fantasy world (like DND) TurtleCraftSMP TurtleCraftSMP CraftToMuck: Sky CraftToMuck: Sky Rebirth - The Dead World Rebirth - The Dead World Aeronautics plus Aeronautics plus Cannibal Woods Cannibal Woods Eldoria: The Last Epoch Eldoria: The Last Epoch Dwarfz 5 Dwarfz 5 Infection ZCraft Server Pack Infection ZCraft Server Pack Secure Warefare Secure Warefare V-Cube V-Cube Dead Of Night | Horror Survival Dead Of Night | Horror Survival MaidApocalypse MaidApocalypse Create Continuity Create Continuity Ultra Distant Horizons LITE Ultra Distant Horizons LITE ApocalyptiCraft ApocalyptiCraft Beauty in Blocks Recommended Mods Beauty in Blocks Recommended Mods Era of the Wyrm Era of the Wyrm NVVS New Legends NVVS New Legends DiscoveryRPG DiscoveryRPG Redstoner's Paradise Redstoner's Paradise Guns, Dinosaurs and Stuff Guns, Dinosaurs and Stuff ALL FNaF MODS ALL FNaF MODS Lumiere Project Tensura Modpack Lumiere Project Tensura Modpack Cave Horror Project Origins Cave Horror Project Origins Witches, Warlocks, Vampires, and Werewolves Witches, Warlocks, Vampires, and Werewolves The Forgotten Script (TBS) (Horror) The Forgotten Script (TBS) (Horror) Military Spy Agency (Draco Incognitas) Military Spy Agency (Draco Incognitas) DLCraft! DLCraft! Aether: Apotheosis Awakening Aether: Apotheosis Awakening Sleepless Nights - An Horror Experience Sleepless Nights - An Horror Experience Horror Reimagined Horror Reimagined worldz Project Aeterna Biotec worldz Project Aeterna Biotec BRSK Omega Protocol BRSK Omega Protocol Divide & Conquer Divide & Conquer Var's Just Create+ SMP Var's Just Create+ SMP Generic Wasteland Generic Wasteland Wither Storm Optimization Wither Storm Optimization TerraFirma Through The Ages (TFTTA) TerraFirma Through The Ages (TFTTA) All Cobblemon in your world All Cobblemon in your world Arcadia Unlimited Arcadia Unlimited Meka Tech Meka Tech FNaF's UNIVERSE & FANVERSE UNOFFICIAL FNaF's UNIVERSE & FANVERSE UNOFFICIAL The SV Vault The SV Vault

External Resources