Framework logo

Framework

Mod

by MrCrayfish

A common library powering all of MrCrayfish's Mods

Downloads

107,644,399

Type

Mod

CurseForge ID

549225

Last Updated

Apr 8, 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).

Screenshots

Similar Mods

Included in Modpacks

DeceasedCraft - Urban Zombie Apocalypse DeceasedCraft - Urban Zombie Apocalypse Better MC [FORGE] - BMC4 Better MC [FORGE] - BMC4 SkyFactory 5 SkyFactory 5 Better MC [NEOFORGE] BMC5 Better MC [NEOFORGE] BMC5 Zeefski Jujutsu Kaisen Craft Zeefski Jujutsu Kaisen Craft Beyond Depth Beyond Depth DarkRPG - RPG with Vampires, Dragons, Magic, Quests, Adventure DarkRPG - RPG with Vampires, Dragons, Magic, Quests, Adventure Cave Horror Project 1 Cave Horror Project 1 Lucky World Invasion Lucky World Invasion Society: Sunlit Valley Society: Sunlit Valley All of Create All of Create Dungeon Heroes (RPG Series) Dungeon Heroes (RPG Series) Ascendra Ascendra Agmundr - Zombie Apocalypse Agmundr - Zombie Apocalypse Cisco's Fantasy Medieval RPG [Dragonfyre] Cisco's Fantasy Medieval RPG [Dragonfyre] Desolate Planet - A Crash Landing Remake Desolate Planet - A Crash Landing Remake Beyond Ocean Beyond Ocean BETTER FANTASY - Overture BETTER FANTASY - Overture Craftoria Craftoria Liminal Industries Liminal Industries Valhelsia 6 Valhelsia 6 DEADZONE - Multiplayer Zombie Apocalypse DEADZONE - Multiplayer Zombie Apocalypse Cobblemon Academy (Legacy) Cobblemon Academy (Legacy) From Magic To Tech From Magic To Tech Zombie Apocalypse: Last Days in the Wasteland | Survive Hordes of Zombies Zombie Apocalypse: Last Days in the Wasteland | Survive Hordes of Zombies Omnicraft: Ben 10 [Alien Evo] Omnicraft: Ben 10 [Alien Evo] New Simple Mods - Easy to Understand | 1.21 UPDATE! New Simple Mods - Easy to Understand | 1.21 UPDATE! Better MC [FABRIC] BMC3 Better MC [FABRIC] BMC3 DarkRPG - RPG with Magic, Origins, Quests, Adventure DarkRPG - RPG with Magic, Origins, Quests, Adventure Prehistoric World - Dinosaurs, Adventure & Quests | NEW PREHISTORY UPDATE! Prehistoric World - Dinosaurs, Adventure & Quests | NEW PREHISTORY UPDATE! HORROR - One Block (dweller) HORROR - One Block (dweller) Over Stars Over Stars Avalon Reborn Avalon Reborn SteamPunk [LPS] SteamPunk [LPS] Guns N' Dragons Guns N' Dragons MineColonies: Dimensional Adventure MineColonies: Dimensional Adventure Timeless and classics Guns + More Timeless and classics Guns + More Chosen's Create: Integrated Chosen's Create: Integrated Cute Craft Cute Craft Better MC Skyblock [BMCS] Better MC Skyblock [BMCS] waccyy's Fantasia waccyy's Fantasia Medieval MC [FORGE] MMC4 Medieval MC [FORGE] MMC4 The Last War - Guns And Adventure (Survivor's World with Guns) | QUESTS UPDATE! The Last War - Guns And Adventure (Survivor's World with Guns) | QUESTS UPDATE! CrazyTown Season 3 CrazyTown Season 3 Beyond Ascension Beyond Ascension Horrorland - New Horror Modpack (Herobrine, Cave Dweller...) | Horror+ Horrorland - New Horror Modpack (Herobrine, Cave Dweller...) | Horror+ Lovernite Adventure 2 Lovernite Adventure 2 A Cozy Mizuno World A Cozy Mizuno World Farming Crossing 5: Made to Order! Farming Crossing 5: Made to Order! Cave Horror Project 2 Cave Horror Project 2 Christmas Holidays - Ideal For Festivities | Christmas Quests Update! Christmas Holidays - Ideal For Festivities | Christmas Quests Update! All Of Farmer's Delight : Farming Agriculture & Cooking  All Of Farmer's Delight : Farming Agriculture & Cooking Cottage Witch Cottage Witch MYTHCRAFT 5 MYTHCRAFT 5 Beyond Cosmo Beyond Cosmo

External Resources