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
Cobblemon, Side by Side! (EARLY ACCESS) Cobblemon, Side by Side! (EARLY ACCESS) ChillCraft  - Play Your Way Chill Your Way (Neoforge) ChillCraft - Play Your Way Chill Your Way (Neoforge) Kingdom HeartCraft Kingdom HeartCraft Hub-Craft Hub-Craft Lucky World Invasion (Updates & Tweaks) Lucky World Invasion (Updates & Tweaks) Wendigos winter Wendigos winter ZonaCero Apocalypse Enhanced ZonaCero Apocalypse Enhanced Frizpa Studios: World War! Frizpa Studios: World War! MCSM Blocks and Items MCSM Blocks and Items Elysium [ASCENSION] Elysium [ASCENSION] Veloria SMP Veloria SMP Xomaps RPG Xomaps RPG Real Survival Project Real Survival Project OPERATION PLAGUE - Zombie Apocalypse OPERATION PLAGUE - Zombie Apocalypse A Colony Survival A Colony Survival Medieval Sieges and Airship warfare Medieval Sieges and Airship warfare CloudCraft ModPack CloudCraft ModPack The Goofy Gooners MC The Goofy Gooners MC Perfect Fantasy Created Perfect Fantasy Created Ciscos Dragonfyre - NFN Official Ciscos Dragonfyre - NFN Official Leo's Medieval Fantasy Leo's Medieval Fantasy RLChanged RLChanged Eight Seas Eight Seas Create - New Frontier Create - New Frontier EldenCraft: A Soulless RPG EldenCraft: A Soulless RPG hello neighbor (WIP beta) hello neighbor (WIP beta) Perfectly Immersive Optimized (Cheats Edition) Perfectly Immersive Optimized (Cheats Edition) ERASED - NEW DAWN ERASED - NEW DAWN MCB Create Live MCB Create Live DracoNeo - Council of Wyrms DracoNeo - Council of Wyrms TensuraNewWorld TensuraNewWorld Convergence SMP Convergence SMP Jujutsucraft Ultimate version Jujutsucraft Ultimate version Dinosaurs & Trains Dinosaurs & Trains Harmony Ranch Harmony Ranch RPG Strimios RPG Strimios whispers in the dark_ whispers in the dark_ Please Send Resources Please Send Resources MagicaIndustries MagicaIndustries create Robots. create Robots. Berezka's SCP Berezka's SCP Sky Ground Next Level Sky Ground Next Level Minemon -- A cobbleverse spinoff Minemon -- A cobbleverse spinoff Lord Of Family Lord Of Family JustCreateSMP2 (QOL)(unofficial) JustCreateSMP2 (QOL)(unofficial) Arcane or Alloy Arcane or Alloy Akton's VentureCraft Akton's VentureCraft Miracle Monde SMP Miracle Monde SMP Pixelmon Adventure and RPG Pixelmon Adventure and RPG Cozy Time For My Friends Cozy Time For My Friends gears guns and dragons gears guns and dragons Gearfall Gearfall Desecrated - Flesh and Blood Desecrated - Flesh and Blood Create Beyond the Skies Create Beyond the Skies Morphica RP Morphica RP Create: Astral Tinkerer Create: Astral Tinkerer HenryCraft HenryCraft Froggs rpg Froggs rpg Once Upon A Witch Once Upon A Witch Maze Runner Dweller Horror (dweller) (Horror) Maze Runner Dweller Horror (dweller) (Horror) Dungeons & Dungeoneers! Dungeons & Dungeoneers! Runethal Runethal Dwarfz 7 Dwarfz 7 Family Friendly Pack Family Friendly Pack Leo's Military Factions Leo's Military Factions Immortal Craft Reimagined Immortal Craft Reimagined SCP Site Roleplay SCP Site Roleplay Chiapas Middle-Earth Chiapas Middle-Earth Create & beyond hardcore industrial survival Create & beyond hardcore industrial survival SVA Dragonfall SVA Dragonfall PARANOID - Beyond Sanity PARANOID - Beyond Sanity Dwarfz 6 Dwarfz 6 KnopfSalats Create Live 7 Expansions KnopfSalats Create Live 7 Expansions A Crow's Adventure A Crow's Adventure Create - Means of Production Create - Means of Production Tardis Flight M Tardis Flight M Create Aeronautics (& Stuff) Create Aeronautics (& Stuff) Powers And Mayhem Powers And Mayhem Lost Footage: Backrooms Survival Lost Footage: Backrooms Survival The Lands Between THEO The Lands Between THEO PureMash Tech PureMash Tech Kingdom Hollow - RP Kingdom Hollow - RP Farlands - Rising Farlands - Rising Vix Vix Paulox's Spore Infection Paulox's Spore Infection Create Vanilla+ (THEO) Create Vanilla+ (THEO) Isekai DX Isekai DX Jurassic Block World Jurassic Block World DeadZone Brasil - DeceasedCraft DeadZone Brasil - DeceasedCraft Project TAO Project TAO Hunting simulator 2 Hunting simulator 2 Superhero and Ben10 SMP Superhero and Ben10 SMP Classic Evolved Zero Classic Evolved Zero Concatenation Lumineth Concatenation Lumineth Dimensions Expanded Dimensions Expanded Valley Land Valley Land theajpack! theajpack! The Colony Network S2 The Colony Network S2 oneblock but have cool technology oneblock but have cool technology Measured Infinity Measured Infinity

External Resources