1.3.1
Compatibility
Required content
Changes
新增
磁带机外设:插入磁带后可作为 CC:Tweaked 外设使用(类型 cassette_drive),提供完整的 Lua 读写 API 磁带数据存储:每盘磁带可存储最多 256KB 数据,自动分配唯一 ID,数据随世界存档持久保存 文件操作:支持 read / write / writeLine / seek / close,兼容 Lua io 库接口 日语、朝鲜语翻译
改进
磁带物品提示框显示 ID(F3+H) 弹射表现与 CC 软驱一致 脚本异常终止后句柄可正常回收
修复
写入模式正确清空文件 readChars() 内存上限对齐磁带容量 方块朝向对齐 CC 规范
Optional dependencies
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:RFgUjzi9:SX6PR2lM"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:RFgUjzi9:SX6PR2lM"
}

