CraftBoost 图标

CraftBoost

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/craftboost-mod
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2 26.2

平台: neoforge

标签: optimization

资源介绍

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)
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
MobTables

价格:0 墨喵币
下载量:0

查看详情
NoToolsBreak

价格:0 墨喵币
下载量:0

查看详情
Witches of Origins - Origins Addon

价格:0 墨喵币
下载量:0

查看详情
Farcr's Re-Create

价格:0 墨喵币
下载量:0

查看详情