Bakeries Simulation

Business-simulation extension for Bakeries — hire NPC managers, serve picky AI customers, raise bread spirits, and chain-unlock branches

File Details

Bakeries Simulation 1.311.66

  • R
  • Jul 12, 2026
  • 4.96 MB
  • 9
  • 26.1.2
  • NeoForge

File Name

bakeries_sim-1.311.66.jar

Supported Versions

  • 26.1.2

Curse Maven Snippet

NeoForge

implementation "curse.maven:bakeries-simulation-1600562:8417054"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

v1.311.66 (2026-07-12) — Bug fixes & Chinese HUD localization

本版本累计修复了 v1.311.64 之后的所有已知问题, 包括 P0 多人漏洞和 HUD 汉化。


v1.311.66 (2026-07-12) — HUD 中文本地化修复

修复了佩戴精灵 (面包精灵球佩戴在饰品栏进入飞行模式) 攻击敌人时, 屏幕中央下方 Action Bar 显示的攻击目标名称是英文的问题。

Fixed a localization bug where the flying bread spirit's attack HUD displayed target names in English instead of the player's client language.

🌏 本地化修复

  • 根因: BreadSpiritEntity 在服务端拼接目标名字符串时用了 target.getName().getString(), 这个调用会在服务端强制解析 translatable component 到服务端默认语言 (通常英文), 再作为纯字符串发到客户端 —— 客户端拿到已经是英文了, 无法再本地化。
  • 修复: 改成传递完整 Component (Component.literal("-伤害 → ").append(target.getDisplayName())), 客户端接收到 translatable component 后用自己的 lang 表本地化。中文玩家看到"僵尸", 英文玩家看到"Zombie"。

🔗 前置依赖 (无变化)

版本
Minecraft 26.1.2
NeoForge 26.1.2.73+
Bakeries (原版) 必需
GeckoLib 5.5.2+ · 必需
Curios 15.0.0-beta.2+ · 必需
LambDynamicLights 4.11+ · 可选

📝 v1.311.65 累计变更

v1.311.66 是 v1.311.65 的补丁版本。v1.311.65 (只在 Modrinth 发布, 未在 CurseForge 发布) 内容:

  • 精灵越权操作 (P0): 5 处入口 owner 校验 (mobInteract / 3 个 Item / 货架防拆)
  • 未售卖货架被偷挖 (P0): 地皮防护层拦访客拆货架
  • 内部重构: 新增 SpiritOwnerGuard helper

v1.311.65 (2026-07-12) — 多人服 owner 校验漏洞 P0 修复

本版本修复了俊哥哥反馈的两个严重多人服漏洞, 涉及精灵越权操作未售卖货架被偷挖, 姐还系统性扫码找出 3 处同类漏洞一并修复。

This release fixes two critical multiplayer vulnerabilities: unauthorized bread spirit interaction and unsold display rack theft. Additionally, three related same-class vulnerabilities were discovered during a systematic code review and fixed in the same patch.

🔒 安全修复

  • 精灵越权操作 (P0): 玩家 A 不再能右键玩家 B 的面包精灵打开属性面板 / 加点。BreadSpiritEntity.mobInteract 入口层加 owner 校验, 非 owner 直接 FAIL + 红字"这不是你的面包精灵"
  • 技能书越权 (P0): 玩家 A 手持技能书 shift+右键玩家 B 的精灵不再消耗物品且弹提示。之前 SpiritSkillBookItem 无 owner 校验, 会导致物品消耗但效果错位
  • 被动书越权 (P0): 同上, SpiritPassiveBookItem 加 owner 校验
  • PVE 物品越权 (P0): 属性药剂 / 挑战券 / 技能盒等所有基于 AbstractSpiritUseItem 的物品加 owner 校验, 非 owner 拒绝且物品不消耗
  • 未售卖货架被偷挖 (P0): 玩家 A 在自己店铺地皮放置的货架 (无论是否进入售卖状态) 不再能被玩家 B 挖走。之前 ShopClaimProtectionHandler.onBlockBreak 见售卖货架直接放行给 ShopRackProtectionHandler, 但那个 handler 只在 isShopActive 时才拦, 导致未售卖状态的货架成为漏洞点。现在地皮防护层管住 "访客不能拆任何方块 (含货架)" 硬边界, 只有店主拆售卖货架才让路给 ShopRackProtectionHandler 走吐货 + 撕招牌语义

🏗️ 内部重构

  • 新增 SpiritOwnerGuard 统一 owner 校验入口, 未来任何 "作用于精灵的物品/UI" 3 行调用即可, 避免遗漏

🔗 前置依赖

版本
Minecraft 26.1.2
NeoForge 26.1.2.73+
Bakeries (原版) 必需
GeckoLib 5.5.2+ · 必需
Curios 15.0.0-beta.2+ · 必需
LambDynamicLights 4.11+ · 可选 (精灵动态光源)