更快的方块实体
通过将某些方块实体(如箱子、床等)渲染为普通方块模型而非动画模型,从而优化其性能。
效果对比

配置
config/fasterblockentities.properties
staticChests=true
staticShulkerBoxes=false
“箱子”选项涵盖普通箱子、陷阱箱、末影箱以及所有铜质变体。“潜影盒”选项涵盖未染色的盒子及全部十六种颜色。潜影盒默认关闭,因为盖子开合能提供有用的反馈信息。
将某项设置为 false 可恢复该方块的原版渲染器和动画效果。此时,渲染工作完全交由 Minecraft 处理,因此不会出现双重绘制的问题。更改将在下次启动时生效。
支持版本:26.1.2 和 26.2,适用于 Fabric 和 NeoForge。仅客户端使用。无依赖项。
致谢
箱子的模型、方块状态和资源图集取自 FakeDomi 的 FastChest。Faster Block Entities 将该方法移植至 Minecraft 26.x 版本。潜影盒的资源是通过运行 ./gradlew generateModels 从原版的实体模型层生成的。
许可证
GPL-3.0-or-later。详见 LICENSE。
方块状态、模型和资源图集源自 FastChest,仍遵循其原始的 MIT 许可条款;详见 NOTICE。
Faster Block Entities
Optimizes certain block entities (chests, beds and more) by rendering them as ordinary block models instead of animated ones.
Measured

Configuration
config/fasterblockentities.properties
staticChests=true
staticShulkerBoxes=false
Chests covers normal, trapped, ender and every copper variant. Shulker boxes covers the undyed box
and all sixteen colours. Shulker boxes are off by default because the lid opening is useful feedback.
Set a key to false to restore that block's vanilla renderer and animation. The mod then leaves
rendering entirely to Minecraft, so there is no double-drawing. Changes take effect on the next
launch.
Supported: 26.1.2 and 26.2, on Fabric and NeoForge. Client-side only. No dependencies.
Credit
The chest model, blockstate and atlas resources are taken from
FastChest by FakeDomi. Faster Block Entities ports
the approach to Minecraft 26.x. The shulker box resources are generated from vanilla's own
entity model layers by ./gradlew generateModels.
License
GPL-3.0-or-later. See LICENSE.
The blockstate, model and atlas resources originate from FastChest and remain under their
original MIT terms; see NOTICE.
评论 0
登录后参与评分
还没有评论,来抢沙发吧