搜索历史
清空
暂无搜索历史
论坛热搜
1
Jenny — 有趣的模拟女友模组|珍妮模组
热
3
上古老物 冒险者传说 by WhiteSword
新
5
洛心斗罗-福利|公会据点战|武魂||抽奖|最终版
2
乌托邦探险之旅3.2
热
4
幻虚斗罗V1.5
6
水星迫降——在未知的世界中挣扎
登陆 注册 QQ登陆
快捷导航
查看: 64|回复: 0

[模组分享] BetterMod (改良模组)-MOD模组

[复制链接]

5564

主题

27

回帖

7648

积分

龙❁妻

Rank: 8Rank: 8

经验
7648 EP
金粒
2017 粒
绿宝石
20 块
爱心
0 点
发表于 2025-8-10 16:52:50 | 显示全部楼层 |阅读模式
BetterMod (改良模组)Github |相关wiki |源站链接支持: fabric提升原版体验和性能

特点:

- 书架可以存放与纸相关的物品(地图、书籍、附魔书、纸张、空地图等)
- “房间控制器”,是 ArhiSections 的精神继承者
房间控制器可以控制方块实体和实体的消隐。它们包含一个 GUI 来控制消隐的边界框,以及模仿方块及其任何状态的能力(任何不透明且没有方块实体的方块)。

- “比特漏斗”,从 Bit Hop 移植而来。比特漏斗是一种轻量级漏斗,不会捡起物品实体或吸取物品,只会推送它们。适用于不需要捡取物品或吸取物品的漏斗链。
- “拉取漏斗”功能与比特漏斗类似,但也可以从其上方的方块实体拉取物品。仍然不能与掉落的物品或带有库存的矿车交互。
- “粘性漏斗”与拉取漏斗相同,但每个槽位都保留一个物品。这可以用来创建多达 5 种物品的过滤器。

计划中的特性:

- 螺旋漏斗
- 用铜制成的“管道”,允许您移动物品,类似于漏斗,但不能吸取物品。
- 欢迎建议!

代码:

- 对 Vec_和 Matrix_ 类的 Mixins:
该模组最初对几个核心数学类进行了 Mixins,以改善性能。虽然在一般范围内取得了成功,但其中一些变更导致了意外行为(例如极端扭曲的世界生成)。特定的世界生成问题是由 Minecraft 使用 ceil(log2(0)) == 0 引起的,而正确的值在技术上是 -Infinity 或 Undefined。我的更改简化了代码(并使用了 Java 内置函数,在大多数设备上比用户实现的算法更快),返回了 32,而不是零。这导致世界生成非常高,并且由于难以将新的“损坏”区块与旧区块平滑地结合在一起,导致旧世界无法生成新区块。保留 Mixin 文件是为了将来可以使用这些实现 - 并不是所有这些实现立即显而易见它们的工作原理。

- 房间控制器:
房间控制器允许用户控制实体和方块实体的消隐。也就是说,当玩家在房间外或另一个房间中时,房间中的实体或方块实体不可见。这提高了与原版相比的性能,但与其他执行类似功能的模组(如实体消隐)结合使用时效果不佳。这与 Sodium 的实体消隐功能不同 - 当与 Sodium 结合使用时,房间控制器仍然有效。

- 总体 Mixins:
对 ClientPlayerEntity 的 Mixin 用于向玩家本身注入一个 tick 监听器,以跟踪玩家位于哪个房间。对 Sodium 的 Mixin 用于在安装 Sodium 时允许房间控制器消隐实体和方块实体。对于 World、WorldRenderer 以及用于方块实体和实体的 RenderDispatchers 的 Mixin 用于通过将方块实体和实体与其渲染和 tick 时间进行性能分析,从而使使用调试饼图更加容易。对生成器的 Mixin 用于修复一个关于生成器的错误,即在版本之间转换时会丢失信息。如果该错误得到修复,将会被移除。对 Argb 的 Mixin 旨在使用位移和加法代替整数除法。这在大多数机器上都更快。注:对于具有 C++ 背景的人来说,您可能会认为通过常量除法会自动优化为位移。

- API:
BetterMod 提供了一个 API,用于具有方块实体的方块(BetterBlock)和具有库存 + GUI 的方块实体(BetterBlockEntity)。它还提供了一个 API,用于通知在加载到世界或从世界卸载时,以及这是在服务器上还是客户端上的方块实体。这用于在客户端的渲染距离内进入或退出房间,或更改维度时加载和卸载房间,以避免检查不必要的房间。还提供了一个 API,用于希望进行滴答的方块实体(BetterTickingBlock、BetterTickingBlockEntity)。

注:

- 此模组在开发过程中被称为 BetterPerf,因此代码可能会引用某些内容为“betterperf”或“bettermod”。
- 要与 Sodium 一起使用,必须安装 Indium 才能使房间控制器具有其“隐藏”能力。

来自Modrinth所有游戏版本1.21.51.21.41.21.11.211.20.41.19.41.19.31.19.21.19所有类型fabricquiltBetter Mod 1.7.16BetterMod-1.7.16.jar下载1.7.16#ReleaseUpdated to 1.21.5展开版本: 1.7.16支持游戏: 1.21.5类型:FabricQuiltRelease下载次数: 206BetterMod 1.7.15BetterMod-1.7.15.jar下载1.7.15#Release- Fix recipies, items are now actually craftable- Update Fabric API version展开版本: 1.7.15支持游戏: 1.21.4类型:FabricQuiltRelease下载次数: 506BetterMod 1.7.14BetterMod-1.7.14.jar下载1.7.14#ReleaseUpdate to 1.21.4.Changes:- The Room Controller is no more. Maintaining it with the changes to the rendering system was too time consuming, and not beneficial.- No longer requires Indium to be installed with Sodium展开版本: 1.7.14支持游戏: 1.21.4类型:FabricQuiltRelease下载次数: 98BetterMod 1.7.13BetterMod-1.7.13.jar下载1.7.13#ReleaseUpdate to 1.21.1. Compatible with Sodium (Requires Indium).展开版本: 1.7.13支持游戏: 1.21.1类型:FabricQuiltRelease下载次数: 656BetterMod 1.7.12BetterMod-1.7.12.jar下载1.7.12#Release1.7.12:- Add constraints to packets for Room Controller- refactor mixins- refactor ticking API展开版本: 1.7.12支持游戏: 1.21类型:FabricQuiltRelease下载次数: 557BetterMod 1.7.11BetterMod-1.7.11.jar下载1.7.11#Release1.7.11: Fix crash with Lithium展开版本: 1.7.11支持游戏: 1.21类型:FabricQuiltRelease下载次数: 77BetterMod 1.7.10BetterMod-1.7.10.jar下载1.7.10#Release1.7.10: Fixed crash with Sodium.NOTE: Requires Indium to function while Sodium is installed.展开版本: 1.7.10支持游戏: 1.21类型:FabricQuiltRelease下载次数: 56BetterMod 1.7.9BetterMod-1.7.9.jar下载1.7.9#Release1.7.9: ~~Fixed crash when sodium is installed.~~~~NOTE: Requires Indium to function correctly when Sodium is installed.~~NOT COMPATIBLE WITH SODIUM. Fixed in 1.7.10展开版本: 1.7.9支持游戏: 1.21类型:FabricQuiltRelease下载次数: 40BetterMod 1.7.8BetterMod-1.7.8.jar下载1.7.8#ReleaseFixed issue causing crash when Lithium was not installed.Note: Inadvertently caused the game to crash when Lithium *was* installed.NOTE: This version has a bug which makes it incompatible with Sodium.展开版本: 1.7.8支持游戏: 1.21类型:FabricQuiltRelease下载次数: 51BetterMod 1.7.5BetterMod-1.7.5.jar下载1.7.5#ReleaseUse the Fabric block appearance API (Should enable compatability with mods adding connected textures).Refactored code, moving common code into superclasses.展开版本: 1.7.5支持游戏: 1.21类型:FabricQuiltRelease下载次数: 118BetterMod 1.7.4BetterMod-1.7.4.jar下载1.7.4#ReleaseChanges:- Added capability for the Room Controller to mimic colors of blocks that use a ColorProvider- Made model handling simpler展开版本: 1.7.4支持游戏: 1.21类型:FabricQuiltRelease下载次数: 79BetterMod 1.7.3BetterMod-1.7.3.jar下载1.7.3#Release~~Fix compatability with Sodium. NOTE: To run with Sodium, you MUST install Indium.~~Incompatible with Sodium.展开版本: 1.7.3支持游戏: 1.21类型:FabricRelease下载次数: 73BetterMod 1.7.2BetterMod-1.7.2.jar下载1.7.2#BetaFix upconversion from 1.20.4 to 1.21展开版本: 1.7.2支持游戏: 1.21类型:FabricBeta下载次数: 166BetterMod 1.7.1BetterMod-1.7.1.jar下载1.7.1#BetaUpdated internal build of LibGUI.展开版本: 1.7.1支持游戏: 1.21类型:FabricBeta下载次数: 66BetterMod 1.7.0BetterMod-1.7.0.jar下载1.7.0#BetaUpdate to 1.21.NOTE: Contains a custom build of LibGUI, as it is not yet released for 1.21. May have stability issues. Please report any issues you experience.展开版本: 1.7.0支持游戏: 1.21类型:FabricBeta下载次数: 50BetterMod 1.6.0BetterMod-1.6.0.jar下载1.6.0#ReleaseUpdate to 1.20.4展开版本: 1.6.0支持游戏: 1.20.4类型:FabricRelease下载次数: 438BetterMod 1.5.4BetterMod-1.5.4.jar下载1.5.4#ReleaseUpdate to 1.19.4展开版本: 1.5.4支持游戏: 1.19.4类型:FabricRelease下载次数: 696BetterMod 1.5.3BetterMod-1.5.3.jar下载1.5.3#ReleaseChanges block entities and network packets to use bytes instead of full integers, compacting them. Rooms still use full integers.展开版本: 1.5.3支持游戏: 1.19.3类型:FabricRelease下载次数: 201BetterMod 1.5.1BetterMod-1.5.1.jar下载1.5.1#ReleaseFix bug causing crash with Room Controller.展开版本: 1.5.1支持游戏: 1.19.3类型:FabricRelease下载次数: 71BetterMod 1.5.0BetterMod-1.5.0.jar下载1.5.0#ReleaseUpdate to 1.19.3. Huge changes: Entities and BlockEntities now cache which room they are in, only changing when they move or when the room itself changes or is when the room is removed.展开版本: 1.5.0支持游戏: 1.19.3类型:FabricRelease下载次数: 70BetterMod 1.4.1BetterMod-1.4.1.jar下载1.4.1#ReleaseFixed bug with Room Controllers not loading data when the world was opened.Added config file and config screen.展开版本: 1.4.1支持游戏: 1.19.2类型:FabricRelease下载次数: 1,287BetterMod 1.4.0BetterMod-1.4.0.jar下载1.4.0#ReleaseUpdate to 1.19.2. Room controllers do not entirely work on servers.展开版本: 1.4.0支持游戏: 1.19.2类型:FabricRelease下载次数: 223BetterMod 1.3.0BetterMod-1.3.0.jar下载1.3.0#ReleaseNew additions: Pull Hopper, and Sticky HopperThe Pull Hopper is similar to the Bit Hopper, but it can also pull from the tile entity above it. It still cannot pick up dropped items, however, nor will it interact with minecart chests.The Sticky Hopper functions identically to the Pull Hopper, except it will keep an item in every slot. This has practical uses as a filter.展开版本: 1.3.0支持游戏: 1.19类型:FabricRelease下载次数: 233BetterMod 1.2.0BetterMod-1.2.0.jar下载1.2.0#ReleaseAdded Bit Hopper! Huge thanks to LemmaEOF for letting me use the original spritework and models!Expect Pull Hoppers, Screw Hoppers, and Sticky Hoppers to be coming soon.展开版本: 1.2.0支持游戏: 1.19类型:FabricRelease下载次数: 60BetterMod 1.1.1BetterMod-1.1.1.jar下载1.1.1#BetaChanges:- Reduced allocation pressure (uses slightly less memory for each Room Controller)- Now works on servers!展开版本: 1.1.1支持游戏: 1.19类型:FabricBeta下载次数: 78BetterMod 1.1.0BetterMod-1.1.0.jar下载1.1.0#AlphaFixed Worldgen Issues展开版本: 1.1.0支持游戏: 1.19类型:FabricAlpha下载次数: 70全部版本

markdown_parsed

文章类型:收录

layui.use([\'form\'], function(){
var form = layui.form;
});

游客,如果您要查看本帖隐藏内容请回复
BetterMod
楼主 2025-8-10 16:52:50 回复 收起回复
小僵尸论坛感谢有你~
回复 论坛版权

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 手机动态码快速登录

本版积分规则



介绍

我的世界(Minecraft)小僵尸论坛
收录了来自各地的我的世界(MC)爱好者们的各种资源

须知: 切勿滥用举报,任何与举报相关的信息必须属实!

"Minecraft"以及"我的世界"为Mojang Synergies AB的商标 本站与Mojang以及微软公司没有从属关系

官方

新浪微博 腾讯微博 微信公众号 投稿规则 版权声明 捐助我们

官方QQ①群: 291907844 (点击加群)
官方QQ②群: 421312192
官方QQ③群: 528726532

我的世界(Minecraft)小僵尸论坛

新会员

QQ|Archiver|手机版|小黑屋|Minecraft(我的世界)小僵尸论坛 |网站地图

GMT+8, 2026-4-8 09:58 , Processed in 0.266645 second(s), 148 queries .

快速回复 返回顶部 返回列表