Перейти к содержимому
Mineforgian

CustomNpcs-Crafting-View

Shows CustomNPCs crafting recipes in a side panel when opening the Carpentry Bench or Anvil.

188 загрузок2 подписчиковApache-2.0forge

Обновлён 14 июня 2026 г. · опубликован 5 апреля 2026 г.

  • show

Customnpcs-Crafting-View

QQ group discord modrinth

Shows CustomNPCs crafting recipes in a side panel when opening the Carpentry Bench or Anvil. The recipes can be categorized, searched, and transferred with one - click.

show

Install

A single jar works on both original CustomNPCs and CustomNPC+ (auto-detected at runtime). Just install the one file.

Code

branch:

  • 1.7.10 — main development branch; single source, dual-compatible (original CustomNPCs + CustomNPC+)
  • 1.6.4 — legacy
  • 1.7.10-cnpcplusdeprecated, merged into 1.7.10

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.7.10-147ee74Релиз1.7.10forge14 июня 2026 г..jar (32 КБ)
1.7.10-a70f70aРелиз1.7.10forge13 июня 2026 г..jar (32 КБ)
1.7.10-054e009Релиз1.7.10forge12 июня 2026 г..jar (32 КБ)
1.7.10-bcaa364Релиз1.7.10forge12 июня 2026 г..jar (30 КБ)
1.0.3Релиз1.6.4forge16 мая 2026 г..jar (35 КБ)
1.0.1-1.6.4Релиз1.6.4forge18 апреля 2026 г..jar (24 КБ)
1.0.1-1.7.10Релиз1.7.10forge18 апреля 2026 г..jar (25 КБ)
1.0.1-1.7.10-cnpcplusРелиз1.7.10forge18 апреля 2026 г..jar (25 КБ)
1.7.10-cnpcplusРелиз1.7.10forge5 апреля 2026 г..jar (25 КБ)
1.7.10Релиз1.7.10forge5 апреля 2026 г..jar (25 КБ)

Ченджлог

1.7.10-147ee74Релиз1.7.10 · 14 июня 2026 г.

feat: 配方面板产物图标支持悬停 tooltip

1.7.10-a70f70aРелиз1.7.10 · 13 июня 2026 г.

fix: 反射兼容生产环境 SRG 名,修复面板在正式整合包失效

RecipeAccess 对继承自 MC ShapedRecipes 的成员(recipeWidth/ recipeHeight/getRecipeOutput)用 MCP 反混淆名反射,这些名字仅存在 于开发环境 deobf jar。正式环境运行混淆 jar 时为 SRG 名,反射抛 NoSuchFieldException 导致 init() 整体失败、面板被永久禁用。

改为 MCP+SRG 双候选探测:字段复用 tryField,方法新增 tryMethod 辅助。reobf 不改字符串字面量,两个环境均能命中。

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

1.7.10-054e009Релиз1.7.10 · 12 июня 2026 г.

perf: optimize rendering & reflection with AT + caching

  • Add Access Transformer to expose RecipeController (eliminate ~99% reflection calls)
  • Cache recipe output, lowercase names to avoid repeated reflection & string ops
  • Use HashSet for category name matching (O(n) -> O(1))
  • Eliminate ScaledResolution creation every frame (60-120 obj/s -> 0)
  • Cache visible recipe list to reduce GC pressure

Performance improvements:

  • GUI FPS: +15-30% (large recipe sets)
  • Search response: +80% faster
  • Reflection calls: 600/s -> <10/s
  • GC frequency: -50%

Also update .gitignore to exclude .trellis/, .pi/, .playwright-mcp/, etc.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

1.7.10-bcaa364Релиз1.7.10 · 12 июня 2026 г.

ci: 版本号改为 MC版本-git短hash,每次push自动发版Modrinth

版本号格式:{minecraftVersion}-{shortHash},如 1.7.10-8a4f47e。 jar 文件名标注 MC 版本,每个 commit 对应一个唯一版本。

  • publish-modrinth.yml: 每次 push 到 1.7.10 自动构建发版;版本号 从 gradle.properties 读 MC 版本 + git 取短 hash;发布前检查 Modrinth 是否已有同版本号,重复则跳过(重复 push 不报错); 上传前重命名 jar 为带 MC 版本的标准名。
  • build-and-test.yml: 监听分支从 master/main 改为 1.7.10(与 实际主分支对齐,使 CI 生效)。

单 jar 双兼容(原版 CustomNPCs + CustomNPC+),无需区分宿主发版。

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

1.0.1-1.6.4Релиз1.6.4 · 18 апреля 2026 г.

ci: add Modrinth publish workflow for 1.6.4 [release 1.0.1]

1.0.1-1.7.10Релиз1.7.10 · 18 апреля 2026 г.

ci: use {version}-{branch} naming for Modrinth versions [release 1.0.1]

1.0.1-1.7.10-cnpcplusРелиз1.7.10 · 18 апреля 2026 г.

ci: use {version}-{branch} naming for Modrinth versions [release 1.0.1]

1.7.10-cnpcplusРелиз1.7.10 · 5 апреля 2026 г.

Only support CustomNpc+

Полная история изменений — на Modrinth.

Комментарии

Загружаем…