Links
Tags
Creators
Details
Licensed MIT
Published 6 months ago
Updated 3 months ago
All versions
Cell4-1.21.1-NeoForge-1.0.3
Release
Cell⁴ 1.0.35 months ago 380
Compatibility
Minecraft: Java Edition
1.21.1
Platform
NeoForge
Supported environments
Client and server
Required content
Unavailable version
Changes
Cell⁴ 1.0.3 Changelog
Code Refactoring
- Extracted common methods from three Cell classes (InfinityItemCell, InfinityTagCell, InfinityModIdCell) into the
IInfinityCellinterface with default implementations - Created
Cell4Utilutility class to unify NBT/Data Component list read/write,belongsToMod, and other shared logic - All three Cell classes now implement the
IInfinityCellinterface, removing duplicate code
Bug Fixes
- Fixed game freeze when Shift+right-clicking non-cell items:
quickMoveStackdid not returnItemStack.EMPTYfor non-cell items, causing the Minecraft container system to call the method in an infinite loop
UI Improvements
- Removed MAX_PREVIEW=64 limit on preview entries
- Fixed "+" button: clicking "+" now only adds an entry without collapsing/expanding the group
- Added "Cell Configurator" title in top-left corner for 26.1.2, consistent with 1.20.1/1.21.1
- Fixed Tooltip preview position in 26.1.2: preview now displays on the right side of the UI using manual rendering instead of
setTooltipForNextFrame - Added "Preview" label above the tooltip preview area in all versions
- Renamed "Tooltip Preview" to "Preview"
- Adjusted name EditBox position: shifted down and right for better text centering within the border
- Changed name EditBox text color to white in 26.1.2, consistent with other versions
Cell⁴ 1.0.3 更新日志
代码重构
- 提取三个Cell类(InfinityItemCell、InfinityTagCell、InfinityModIdCell)的公共方法到
IInfinityCell接口,提供default实现 - 新建
Cell4Util工具类,统一NBT/Data Component列表读写、belongsToMod等公共逻辑 - 三个Cell类改为实现
IInfinityCell接口,删除重复代码
Bug修复
- 修复Shift+右键非元件物品导致游戏卡死:
quickMoveStack中非元件物品未返回ItemStack.EMPTY,导致Minecraft容器系统无限循环调用
UI改进
- 删除MAX_PREVIEW=64预览条目数量上限
- 修复"+"按钮:点击"+"仅添加条目,不再同时折叠/展开分组
- 26.1.2添加"元件配置器"标题:UI左上角显示标题文字,与1.20.1/1.21.1一致
- 修复26.1.2 Tooltip预览位置:预览固定显示在UI右侧,使用手动绘制替代
setTooltipForNextFrame - 三个版本预览区域上方添加"预览"标签
- "Tooltip预览"文本统一改为"预览"
- 命名EditBox位置调整:下移并右移,文本在边框内更居中
- 26.1.2命名EditBox文本颜色改为白色,与其他版本一致
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:7LKxk6vG:JNhrCGoF"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:7LKxk6vG:JNhrCGoF"
}

