Modscraper Modscraper Minecraft
Framework logo

Framework

Mod

by MrCrayfish

A common library powering all of MrCrayfish's Mods

Type

Mod

CurseForge Downloads

136,427,665

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

Show fewer
Aeternis Aeternis Biophobia Biophobia Dawnfern SMP Dawnfern SMP Marjoto [FABRIC - NeoForge] Marjoto [FABRIC - NeoForge] MysteriaSMP MysteriaSMP IsoCraft  - Beyond The Adventure IsoCraft - Beyond The Adventure HallowScream 4 HallowScream 4 Forge & Frontier [FORGE] Forge & Frontier [FORGE] Atlas Project Atlas Project Quark's Adventures [S1] Quark's Adventures [S1] Vile Shadows Vile Shadows FOREVER WORLD - KRGG FOREVER WORLD - KRGG Jurassic World Relife Jurassic World Relife ComboTech 4 Sky High ComboTech 4 Sky High Tank Booth: Mythos & Mechanica Tank Booth: Mythos & Mechanica Kainel Kainel AREACRAFT AREACRAFT Gruelling Survival [FORGE] Gruelling Survival [FORGE] Cobblemon Honey Academy Cobblemon Honey Academy Seven Days to Death - Zombie Apocalypse Seven Days to Death - Zombie Apocalypse PurgatoryMC PurgatoryMC XAVIER Personal Pack XAVIER Personal Pack Farmer's Chill Life Farmer's Chill Life All About Aether - Sky Dimension Adventure All About Aether - Sky Dimension Adventure The last awakene The last awakene Mythic Machina Mythic Machina Totheron Totheron Create TSS Create TSS Community Horror Pack Community Horror Pack BuildUp (NeoForge) BuildUp (NeoForge) Waifucraft RPG [Kult Craft] Waifucraft RPG [Kult Craft] FNAF: Reborn FNAF: Reborn Nin's Swem Dream Nin's Swem Dream Pibeland: Apocalipsis Pibeland: Apocalipsis RPG-LITE RPG-LITE PixelSprings Plus PixelSprings Plus Create - Tamed Frontiers Create - Tamed Frontiers SCP Fundation Collection SCP Fundation Collection Brother's RPG Brother's RPG Myths of Frost and Flame Myths of Frost and Flame Cataclysmic Ascension Cataclysmic Ascension after the virus - parasite apocalypse after the virus - parasite apocalypse Kinetra Create SMP Kinetra Create SMP Winter Leveling Winter Leveling Oasis Tropic Oasis Tropic Redwolf's Crazy World Redwolf's Crazy World GreenBound GreenBound No More Dwellers, Please! No More Dwellers, Please! CanarioLand 2 CanarioLand 2 EMERIS Endless Summer EMERIS Endless Summer ForTheGoons (BCG +Cobblemon) ForTheGoons (BCG +Cobblemon) Cobbled Kingdom Mons Cobbled Kingdom Mons All Ultimate Selection All Ultimate Selection The Last Province zombie apocalypse The Last Province zombie apocalypse Prehistoricraft - The Prehistoric Experience Prehistoricraft - The Prehistoric Experience Our Way Of Life Our Way Of Life Tech And Dungens Tech And Dungens The Spores Outbreak The Spores Outbreak Alot of horror Alot of horror Magecraft: A Gods Tale Magecraft: A Gods Tale Infinite Mayhem Infinite Mayhem HARDCORE EVOLUTIONS HARDCORE EVOLUTIONS Descend In The Madness Descend In The Madness Peace of Mind 21.1 Peace of Mind 21.1 Create: Punk'd Create: Punk'd Create Areo Naughts Create Areo Naughts Cobblemon Enhanced - Pokemon Adventure Cobblemon Enhanced - Pokemon Adventure NakamaCraftNeko NakamaCraftNeko Ironvale - Quests, Fantasy, RPG, Medieval Ironvale - Quests, Fantasy, RPG, Medieval Gex RPG Gex RPG Saturn SMP 2 Saturn SMP 2 The horrors of Siren head The horrors of Siren head Create Industrial Village Create Industrial Village World of Drakora Medieval edition World of Drakora Medieval edition SC Final Adventure - Machines SC Final Adventure - Machines Grubbs' Cozy Craft Grubbs' Cozy Craft Braincells: Back to Basics Braincells: Back to Basics AetherFall - Echos of Vilorian AetherFall - Echos of Vilorian The Kindred's Cobblemon Adventures The Kindred's Cobblemon Adventures THE JURRASIC APOCALYPSE THE JURRASIC APOCALYPSE Create Beyond Horizons Create Beyond Horizons BurningCube BurningCube TCG SMP - Prologue (Public) TCG SMP - Prologue (Public) Nic YOLO's Pixelmon 2 Nic YOLO's Pixelmon 2 Minecolonies Create - Aeronautics Colonies Minecolonies Create - Aeronautics Colonies PureSavage-with-shaders-and-rp PureSavage-with-shaders-and-rp Guns, Vehicles and Food Guns, Vehicles and Food Candy's Land Candy's Land Superhero+more rpg adventure Superhero+more rpg adventure Adventure Wildfront Adventure Wildfront GUILTY'S MEGAPACK GUILTY'S MEGAPACK TCC - Skyzone TCC - Skyzone Adventurecraft: Create Editon Adventurecraft: Create Editon Towny Cobblemon Towny Cobblemon New Horizons 3 [Horror] New Horizons 3 [Horror] Create Mech Create Mech Karmalandia Oficial BY KKurotsukii Karmalandia Oficial BY KKurotsukii OuiOuiCreate OuiOuiCreate Cozy Craft - Life in the wild Cozy Craft - Life in the wild Government Government

External Resources