Stackable
Stackable 是一款模组,可将 Minecraft 1.19.2-1.20.4 中所有方块的堆叠上限提升至任意小于 127 的值,并在 1.20.6+ 版本中提升至 2,147,483,647(即 2.147B)。
为什么是 127?
实际上是因为我比较懒,但从技术角度来看,Minecraft 使用单个有符号字节来存储所有物品。出于我们的目的,该字节的取值范围只能在 -128 到 127 之间。由于负值无效,因此最大堆叠数量被限制为 127。此外,此模组旨在与其他可能也使用有符号字节来存储物品的模组保持兼容。
为什么要制作这个模组
我也不确定,因为已经存在允许堆叠数量超过 127 的其他模组了。这更多是为了实验性地学习如何创建 Mixin,并更好地理解 Minecraft 的代码。
你会更新到 X 吗?
可能会。
你会向后移植到 X 吗?
嗯,不太会。
这里有 Bug 吗?
我可能会修复仅与原版相关的 Bug,但模组的兼容性处理起来会比较困难。
模组支持情况?
此模组应与大多数其他模组兼容。我已在 Fabric Orion 整合包中测试过该模组,整体运行正常。部分方块可能会将其存储大小限制在 64,但不应导致崩溃。我的大部分代码注入点都围绕着编辑接口展开,这是所有库存类模组都应实现的接口。因此,如果它们从该接口调用堆叠数量,就应该能获取到正确的值。
Stackable
Stackable is a mod that increases all block stacking limits to any value less than 127 for Minecraft 1.19.2-1.20.4 and 2.147B in 1.20.6+.
Why 127?
Effectively, I'm lazy, but in reality, Minecraft stores all items with a single signed byte which for our purposes only can be between -128 to 127, since negative values are invalid that leaves a maximum stack size of 127. Moreover, this mod is intended to be compatible with other mods which may also use signed bytes to store items.
Why make this mod
I don't know, other mods already exist that allow for stack sizes above 127. This was more for experimentation with creating mixins and understanding Minecrafts code a little better.
Will you update to X?
Maybe.
Will you backport to X?
Eh, not really.
There's a bug here?
I might fix bugs that are Vanilla specific, but mod compatibility is gonna be kinda hard to do
Mod support?
This mod should be compatible with most other mods, I've tested this mod in all of Fabric Orion, and it generally works, some blocks will limit their storage size to 64 but shouldn't crash. Most of my mixins to the code surround editing the interface that all inventory mods should implement to begin with, so if they call the stack size from that interface they should receive the appropriate value.
下载 Stackable
下载 Stackable
下载 Stackable
下载 Stackable
下载 Stackable
下载 Stackable
下载 Stackable
下载 Stackable
下载 Stackable
下载 Stackable
Stackable 2.1.1!
移植到 26.3!
- 简单版本更新到 26.2,无重大代码更改。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧