CraftBoost

CraftBoost

Crafting recipe matching cache optimization mod — Fabric / NeoForge / Forge

548 downloads 1 followers

CraftBoost

Crafting recipe matching cache optimization mod — Fabric / NeoForge / Forge

Basic Info

Property Value
Mod ID craftboost
Version 1.0.0
Author mccmcaozr
License All Rights Reserved (closed source)
Environment Server (client optional)
Minecraft >=1.21 (1.21 ~ 1.21.11, 26.1 ~ 26.2)
Java 21+

Loader Support

Loader Minimum Version JAR Filename
Fabric Loader 0.15.0 + Fabric API craftboost-fabric-1.0.0.jar
NeoForge 21.1.236 craftboost-neoforge-1.0.0.jar
Forge 52.1.15 craftboost-forge-1.0.0.jar

Compatibility

  • Recommended: Sodium, Lithium
  • Optional: REI, JEI, EMI

Overview

CraftBoost adds a result caching layer to RecipeManager.getFirstMatch (Mojang: getRecipeFor), reducing redundant recipe scanning.

Core Features

  • Only caches CraftingRecipeInput / CraftingInput (crafting table / crafter)
  • Supports negative caching (Optional.empty())
  • TTL 5 seconds + capacity 256
  • Cleared on datapack reload
  • Server-side cache only, preventing client/server crosstalk in integrated environments
  • Cache key includes RecipeManager identity
  • Component fingerprint uses full content string, avoiding 32-bit collision wrong recipes
  • Crafter cooldown interception removed (avoiding swallowing valid crafts)

Cross-Loader Mapping Differences

Fabric (Yarn) NeoForge/Forge (Mojang)
RecipeManager.getFirstMatch RecipeManager.getRecipeFor
RecipeEntry RecipeHolder
CraftingRecipeInput CraftingInput
Registries BuiltInRegistries
Identifier ResourceLocation

Installation

  1. Install the corresponding loader (Fabric / NeoForge / Forge)
  2. For Fabric, also install Fabric API
  3. Place the JAR file for your loader into the mods folder (server recommended)

No gallery available for this project.

Version Minecraft Loader Download

CraftBoost 1.0.0

1.0.0

1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2
neoforge
Download

CraftBoost 1.0.0

1.0.0

1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2
forge
Download

CraftBoost 1.0.0

1.0.0

1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2
fabric
Download