promotional bannermobile promotional banner

tetra_data_kubejs

It lets KubeJS register Tetra materials, schematics, modules, and improvements
Back to Files

1.20.1-forge-tetra_data_kubejs-1.3.3

File name1.20.1-forge-tetra_data_kubejs-1.3.3.jar
Uploader
hp12138hp12138
Uploaded
Nov 22, 2026
Downloads
23
Size
199.0 KB
Mod Loaders
Forge
File ID
9752675
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:tetra-data-kubejs-1517742:9752675")

Learn more about Curse Maven

What's new

Fixes & Improvements

  • Fixed dedicated server startup crash caused by client class references in translation sync networking.
  • Added conditional Mixin loading so the mod launches normally when ProbeJS is not installed.
  • Fixed duplicate virtual datapack registration across reloads that could duplicate non-replacing schematic outcomes and module variants.
  • Fixed partial material overrides resetting primary, secondary, and tertiary stats to 0, while automatically supplying default stats, textures, and tints for newly created standalone materials.
  • Fixed improvement folder prefix paths (e.g., .path('shared/')) and call-order edge cases when .name() is called before .path().
  • Added SNBT string normalization and validation for material.nbt in materials and schematic outcomes.
  • Improved client translation lookup to cover both I18n and Component.translatable without overriding built-in translations in non-default languages, using lock-free immutable snapshots.
  • Reduced reload overhead by avoiding full 16-directory JSON scans during runtime injection, and updated TypeScript typings and VS Code code snippets to match all current builder methods.

修复与改进

  • 修复专用服务端(Dedicated Server)因翻译同步网络包引用客户端类导致的启动崩溃。
  • 新增条件 Mixin 加载插件,未安装 ProbeJS 时可正常启动而不再报错。
  • 修复多次热重载时虚拟数据包重复挂载导致未设 replace: true 的原理图 outcomes 与模块 variants 翻倍合并的问题,并修复 export_generated 读取自身虚拟包的问题。
  • 修复增量修改已有材料时误将原版 primary、secondary、tertiary 三维清零的问题,同时为新建独立材料自动补齐默认三维、贴图与 tints。
  • 修复改造目录前缀路径(如 .path('shared/'))无法被模块匹配的问题,以及先调用 .name() 再调用 .path() 残留空对象导致校验跳过的问题。
  • 修复材料与原理图 outcome 中对象形式 nbt 的 SNBT 字符串序列化与预校验。
  • 优化客户端脚本翻译同步:同时支持 I18n 与 Component.translatable,不再遮蔽其他语言原版自带翻译,并改为不可变快照无锁读取。
  • 优化重载性能(移除注入阶段不必要的全目录 JSON 扫描与重复深拷贝),同步补齐 .d.ts 类型声明、VS Code 代码片段与中英文命令本地化提示。