Compare commits
4
Commits
9f224236bf
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
72f0e373a7 | ||
|
|
0ebfb67981 | ||
|
|
31689382ac | ||
|
|
e924c8d543 |
@@ -0,0 +1,2 @@
|
||||
/gradlew text eol=lf
|
||||
/gradlew.bat text eol=crlf
|
||||
@@ -50,3 +50,4 @@ __pycache__/
|
||||
/PubLib/
|
||||
/modules/thaumicenergistics-neo/CHANGELOG-2026-10-24.md
|
||||
/modules/thaumicenergistics-neo/ISSUE-FIX-2.6.8.md
|
||||
/modules/thaumicenergistics-neo/CHANGELOG-2026-10-26.md
|
||||
|
||||
+82
-4
@@ -1,16 +1,53 @@
|
||||
# 依赖与参考资料索引
|
||||
|
||||
更新于 2026-10-13。`library` 是资料区,不等于全部运行依赖;没有移动或删除其中的旧资料。
|
||||
更新于 2026-10-28。原 neo 仅保留未公开发布的 TC 移植版为本地二进制依赖;其余直接模组依赖通过固定版本 Maven 坐标获取。`library` 中既有文件保留作参考,没有移动或删除。
|
||||
|
||||
## GitHub 源码下载构建
|
||||
|
||||
独立单模组仓库:安装 JDK 21,将 port.261 TC Jar 放入根目录 `library/`,执行 `./gradlew.bat assemble`(Linux/macOS:`bash ./gradlew assemble`)。独立构建使用 `mod_version`,无需工作区版本脚本,详细说明见 [README.md](README.md)。
|
||||
|
||||
多模块工作区:安装 JDK 21,将 port.261 TC Jar 放入本模块 `library/` 后,在工作区根目录运行:
|
||||
|
||||
```powershell
|
||||
.\gradlew.bat :thaumicenergistics:assemble -PneoOnly=true
|
||||
```
|
||||
|
||||
Linux/macOS 使用 `bash ./gradlew` 替代 `./gradlew.bat`。新补齐的 Wrapper 自动下载固定 Gradle 8.12.1,并校验官方发行包 SHA-256;无需独立安装 Gradle。`neoOnly=true` 只包含原 neo,其他模块无需准备本地 Jar。GitHub ZIP 无 `.git` 时使用模块的 `mod_version` 回退版本,不要求 Git 安装或历史记录。
|
||||
|
||||
## 当前依赖
|
||||
|
||||
本模块移除了根工程继承的 Maven Local 仓库,不再优先使用本机手工安装的同坐标构件。Maven Central、本模块自行声明的 JEI Maven(限定 `mezz.jei` 组)、CurseMaven、Modrinth Maven 和 ModMaven 提供公开构件,独立导出时也可解析。其他子项目的仓库配置保持原样。
|
||||
|
||||
| 依赖 | 固定坐标或本地文件 | 用途 |
|
||||
|---|---|---|
|
||||
| AE2 19.2.17 | `org.appliedenergistics:appliedenergistics2:19.2.17`,另保留 `:api` 分类构件 | compileOnly;兼容开关启用时 runtimeOnly |
|
||||
| TC port.261 | `library/thaumcraft-0.2.2.95-port.261.jar` | 唯一本地 Jar;compileOnly,兼容运行时也使用同一文件 |
|
||||
| JEI 19.39.0.368 | `mezz.jei:jei-1.21.1-neoforge:19.39.0.368` | compileOnly,完整构件保持原编译范围 |
|
||||
| AE2 JEI Integration 1.2.1 | `curse.maven:ae2-jei-integration-1074338:7727898` | compileOnly |
|
||||
| IPN 2.2.5 / NeoForge 1.21.1 | `maven.modrinth:inventory-profiles-next:vjuNnHLv` | compileOnly |
|
||||
| ExtendedAE-Plus 1.6.1 | `maven.modrinth:extendedae-plus:DLFDZIVx` | compileOnly,保留 EAP Mixin 编译目标 |
|
||||
| AE2WT API 19.5.1 | `de.mari_023:ae2wtlib_api:19.5.1` | compileOnly,独立 API 坐标不变 |
|
||||
| AE2WT 完整模组 19.5.1 | `maven.modrinth:applied-energistics-2-wireless-terminals:CxSEpEnO` | 仅 `compatWT=true` 时 runtimeOnly |
|
||||
| GuideME 21.1.1 | `maven.modrinth:guideme:PALpfSdf` | 基础兼容运行前置,无本地文件回退 |
|
||||
| Curios 9.5.1+1.21.1 | `maven.modrinth:curios:yohfFbgD` | 基础兼容运行前置,无本地文件回退 |
|
||||
| Jade 15.9.1+neoforge | `maven.modrinth:jade:15.9.1+neoforge` | compileOnly,沿用原坐标 |
|
||||
| AdvancedAE 1.6.12 | `maven.modrinth:advancedae:ablTMAjP` | compileOnly;按 compatAAE 开关运行 |
|
||||
| AE2LT 2.1.2-beta3 | `maven.modrinth:ae2-lightning-tech:AosdXlfS` | compileOnly;按 compatAE2LT 开关运行 |
|
||||
|
||||
新增坐标均固定发布版/文件 ID,未使用 latest 或动态版本。新替换的可选编译依赖关闭传递依赖;可选模组不会因本次修改成为生产必装前置,也不会被打入生产 Jar。
|
||||
|
||||
JEI、CurseMaven、Modrinth、AE2WT API 的坐标组使用 `exclusiveContent` 指向各自的发布仓库,避免被全局镜像或 NeoForge 仓库拦截。Gradle JVM 跟随系统代理,项目不固定代理地址;开启系统代理时走代理,关闭时直连。首次缺失依赖仍需要对应仓库可访问,缓存完整时可离线构建。
|
||||
|
||||
AE2、JEI 和 TC 版本分别读取现有 `ae2_version`、`jei_version`、`thaumcraft_version` 属性,当前数值保持原样。AE2 的 API 和完整构件都保留,不能因精简依赖误删内部类的编译支持。
|
||||
|
||||
|
||||
- Minecraft 1.21.1 / NeoForge 21.1.234 / Java 21。
|
||||
- AE2 Maven 坐标 `org.appliedenergistics:appliedenergistics2:19.2.17`,同时使用 API 与完整 JAR 编译内部接入。
|
||||
- AE2 完整 JAR SHA-1:`49c18d6a4af487957d7e5a6ad5dcbf71090b8e14`;sources JAR SHA-1:`260a230e9fa1b4885489f7f58b30c19226093a52`。
|
||||
- AE2WT API 编译坐标 `de.mari_023:ae2wtlib_api:19.5.1`,`transitive=false`。仅完整 `ae2wtlib` 存在时加载接入类。
|
||||
- 生产依赖保持 compileOnly;开发运行前置只在兼容开关启用时添加。
|
||||
- 除本地 TC 外的直接模组依赖全部使用远程仓库坐标;生产依赖保持 compileOnly,开发运行前置只在兼容开关启用时添加。
|
||||
|
||||
| library 文件 | modid | 用途 | SHA-1 |
|
||||
| 保留的本地参考文件 | modid | 用途及发布对应关系 | SHA-1 |
|
||||
|---|---|---|---|
|
||||
| AdvancedAE-1.6.12-1.21.1.jar | advanced_ae | 可选 AAE 接入;Maven ablTMAjP 与该文件同指纹 | `9358ccfa5477c7ab1c5ffab6c831e105fe46ecc3` |
|
||||
| ae2jeiintegration-1.2.1.jar | ae2jeiintegration | 当前可选 JEI 转换 API | `e99898b3e9c32bf6ac757e7ad50247746622cdfc` |
|
||||
@@ -34,10 +71,51 @@
|
||||
- `-PcompatAAE=true`:AAE 1.6.12(ablTMAjP)+ GeckoLib 4.8.2(RVIo5f6E);AAE 内嵌 AE2AddonLib 1.0.3 和 AE2WT API 19.2.5。
|
||||
- `-PcompatAE2LT=true`:AE2LT 2.1.2-beta3(AosdXlfS)+ Thunderbolt 2.0.3-beta2(oyVnlG5A);AE2LT 内嵌 AE2WT API 19.4.1。
|
||||
- `-PenableExtendedAeCompatTest=true`:EAE 1.21-2.2.35(bC302UUP)+ Glodium 1.21-2.2(pfbmdJ3b);EAE 内嵌 AE2WT API 19.2.0。
|
||||
- 启用任一兼容开关自动补齐 AE2、TC、GuideME 21.1.1(PALpfSdf)、Curios 9.5.1+1.21.1(yohfFbgD)。已下载的隔离依赖可复用 `build/smoke-deps`。
|
||||
- 启用任一兼容开关自动补齐 AE2、TC、GuideME 21.1.1(PALpfSdf)、Curios 9.5.1+1.21.1(yohfFbgD)。GuideME、Curios、AE2WT 不再读取 `build/smoke-deps` 或 `library` 的同名文件;下载后由 Gradle 自身缓存复用。首次构建需要联网,缓存齐全后可使用 `--offline`。
|
||||
- 仅第三方附属模组自带旧 AE2WT API 时,不启用我方 ItemWT 实现,也不因 API 版本阻止独立终端启动;完整 AE2WT 自身会要求其匹配的 API。
|
||||
- AE2LT 元数据要求 AE2 `[19.2.17,19.3)`,不要在这套组合中升级到 19.3+。
|
||||
|
||||
## 2026-10-28 坐标核对依据
|
||||
|
||||
- JEI、IPN、EAP、AE2WT 通过本地 Jar SHA-1 反查 Modrinth 发布版,平台、版本和文件指纹均吻合;JEI实际使用作者 Maven 的同版本完整构件。
|
||||
- AE2 JEI Integration 未通过 Modrinth 文件指纹检索找到对应发布,改用 CurseForge 项目1074338、文件7727898;实际从 CurseMaven 下载后确认 SHA-1 与本地1.2.1完全一致。
|
||||
- GuideME PALpfSdf 与 Curios yohfFbgD 通过官方版本 API 确认;保持原联调版本。
|
||||
- 公开来源:[JEI](https://modrinth.com/mod/jei/version/bEGnP8IF)、[AE2 JEI Integration](https://www.curseforge.com/minecraft/mc-mods/ae2-jei-integration/files/7727898)、[IPN](https://modrinth.com/mod/inventory-profiles-next/version/vjuNnHLv)、[EAP](https://modrinth.com/mod/extendedae-plus/version/DLFDZIVx)、[AE2WT](https://modrinth.com/mod/applied-energistics-2-wireless-terminals/version/CxSEpEnO)。
|
||||
- 本机网络代理如需用于 Gradle,应通过本次命令或个人 Gradle 配置传入,不能把127.0.0.1等机器专属设置提交进工程。
|
||||
|
||||
## 2026-10-28 验证结果
|
||||
|
||||
- 默认联网 `assemble -x test` 通过;移除 ModDevGradle 后续加入的 Maven Local 后,四组兼容开关同时开启的 assemble 也通过。
|
||||
- 使用仅位于 build 目录的临时校验入口,强制解析并获取 compileClasspath 的93个外部构件及 runtimeClasspath 的117个外部构件文件;不是仅查看依赖树,也未启动游戏。
|
||||
- JEI、AE2 JEI Integration、IPN、EAP、GuideME、Curios、AE2WT共七个替换构件均通过 SHA-1 核对;其中原本地 Jar/开发缓存存在的文件也与新仓库下载指纹一致。
|
||||
- 核对时该模块最终仓库列表不再包含 Maven Local;ModDevGradle 自身生成的 Minecraft 构件仓库保留。
|
||||
- 下载齐全后,以相同四组开关执行 assemble 和依赖文件校验的 `--offline` 复核通过。
|
||||
- 生产包没有内嵌第三方 Jar 或 AE2/JEI/TC/AE2WT 实现类。未运行 JUnit、GameTest、客户端、服务端或玩家存档,不将依赖解析通过等同于游戏联调验收通过。
|
||||
|
||||
## 公开源码入口验证(2026-10-28)
|
||||
|
||||
- 从受 Git 管理的根构建文件、原 neo 源码及本次新增文件建立副本;副本不含 `.git`、原工程 `.gradle` 或构建产物,`library/` 中只手工放入 port.261 TC Jar。
|
||||
- Wrapper 在独立空 Gradle 用户目录中自动下载官方 Gradle 8.12.1,并通过发行包 SHA-256 校验。之后首次获取 NeoForge 构建工具时遇到当前网络的 TLS 握手失败,完整空缓存构建未通过,不能将其记为已验收。
|
||||
- 改用已下载的公开依赖缓存,在上述源码副本执行 `:thaumicenergistics:assemble -PneoOnly=true --offline --no-build-cache --rerun-tasks`,实际重新编译和打包通过,没有复用项目 Java 编译任务缓存。
|
||||
- 配置结果仅含根工程和 `:thaumicenergistics`,模块 Maven Local 仓库列表为空;无 Git 时版本回退为 `2.6.10-alpha`,与生产 Jar 内模组元数据一致。
|
||||
- 缺 TC 文件时的单独前置校验按预期失败,并提示完整文件名和放置目录。未运行游戏或测试任务。
|
||||
|
||||
## 独立单模组导出验证(2026-10-28)
|
||||
|
||||
- 使用更新后的导出脚本,以 `--working-tree` 将 Git 跟踪文件的当前修改导出到全新审查目录;目录内没有 `versioning.gradle`,本地依赖仅 TC port.261。
|
||||
- 以 `assemble --offline --no-build-cache --rerun-tasks` 实际重编译、打包通过,使用已下载的公开依赖缓存;未重新进行全空缓存联网验证。
|
||||
- 独立工程读取 `mod_version=2.6.10-alpha`,Jar 内版本一致;工作区仍按 Git 计算为 `2.6.11-alpha`。两者版本来源有意分开,独立发布时维护 `mod_version`。
|
||||
- 将独立源码复制到另一名称的目录,并初始化其自己的 Git 仓库,确认命令行版本覆盖仍生效;独立项目不会读取父工作区的 Git 历史。
|
||||
- 再次导出无源文件变更,Wrapper 时间戳、目标 Git 元数据及构建产物均保留。导出的 Wrapper 可直接启动 Gradle 8.12.1;脚本本身不再调用系统 Gradle。未运行游戏或测试任务。
|
||||
|
||||
## 系统代理与直连验证(2026-10-28)
|
||||
|
||||
- 撤销本机固定代理主机/端口配置,根 `org.gradle.jvmargs` 增加 `-Djava.net.useSystemProxies=true`;导出脚本会照常将根共享属性并入独立工程。
|
||||
- 在新 Gradle 进程中确认无显式 `http.proxyHost`/`https.proxyHost`,系统代理模式选择本机现有系统代理;另在独立检查进程中将 ProxySelector 临时设为 DIRECT,模拟系统代理关闭,未改动系统代理开关。
|
||||
- 两条路径都通过 Gradle 的 HTTP 客户端下载加入随机查询参数的 Maven POM,并执行 `:thaumicenergistics:assemble` 成功。生产构建使用现有依赖/编译缓存,不是全空缓存验证。
|
||||
- 直连复核发现 JEI 曾被送入本机全局注入的 NeoForge 根地址及插件提供的 releases 仓库,连接异常地址后超时。清理本机错误根地址,并以独占坐标组隔离专用发布仓库后,直连构建通过。
|
||||
- 全空缓存首次获取 NeoForge 自身构件的可达性仍未验收;不能用上述结果宣称任何网络环境都能完成首次依赖下载。
|
||||
|
||||
## 资料优先级
|
||||
|
||||
1. 当前固定版本的完整 JAR / sources JAR / 实际字节码。
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
This is a community‑port of ThaumicEnergistics.
|
||||
|
||||
Textures created by 麦淇淋: Licensed under Creative Commons
|
||||
Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0).
|
||||
See LICENSE-ASSETS.md for scope and attribution, and
|
||||
LICENSE-CC-BY-NC-SA-3.0.txt for the complete license text.
|
||||
Third-party assets retain their original copyrights, licenses and attribution.
|
||||
This texture notice does not change the licenses of code, translations,
|
||||
audio, models or other resources outside its stated scope.
|
||||
The code licenses below do not replace the separate texture license.
|
||||
|
||||
Modifications and port code: Copyright (c) 2026 AlkSur, Licensed under GNU LGPL‑3.0.
|
||||
|
||||
Original source code: Copyright (c) Chris, BrockWS, Licensed under MIT License (see LICENSE‑ORIGINAL‑MIT).
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
# Thaumic Energistics Neo
|
||||
|
||||
Minecraft 1.21.1 / NeoForge 的神秘能源附属模组。
|
||||
|
||||
## 单模组源码构建
|
||||
|
||||
本仓库只有这一个模组时(根目录直接包含 `build.gradle` 和 `src/`),需要 JDK 21 和网络连接。将未公开发布的 TC 移植版 `thaumcraft-0.2.2.95-port.261.jar` 放入根目录的 `library/`,其余依赖由 Gradle 自动下载。
|
||||
|
||||
Windows PowerShell:
|
||||
|
||||
```powershell
|
||||
.\gradlew.bat assemble
|
||||
```
|
||||
|
||||
Linux / macOS:
|
||||
|
||||
```sh
|
||||
bash ./gradlew assemble
|
||||
```
|
||||
|
||||
无需手工安装 Gradle,也无需父目录、工作区的 `versioning.gradle` 或 Git 历史。成品位于 `build/libs/`;不带 `-sources` 后缀的 Jar 用于游戏。以上命令只编译打包,不执行测试或启动游戏。
|
||||
|
||||
模组元数据模板位于 `src/main/templates/META-INF/neoforge.mods.toml`,构建和 IDEA 重新导入时自动展开版本等变量。迁移、提交或导出源码时,需要同时包含该模板和 `build.gradle`;生成的 `build/generated/resources/modMetadata/` 不必提交。
|
||||
|
||||
独立项目使用 `gradle.properties` 的 `mod_version` 作为发布版本;初始化独立 Git 仓库或更改文件夹名称不会改变版本。发布新版时维护该属性,亦可通过 `-Pmod_version=你的版本号` 覆盖。工作区内构建继续采用根目录脚本的 Git 标签及提交计数规则。
|
||||
|
||||
## 在多模块工作区中构建
|
||||
|
||||
如果此文件位于 `modules/thaumicenergistics-neo/`,请将 TC Jar 放入本模块的 `library/`,然后在整个工作区根目录执行:
|
||||
|
||||
```powershell
|
||||
.\gradlew.bat :thaumicenergistics:assemble -PneoOnly=true
|
||||
```
|
||||
|
||||
构建依赖及可选兼容版本见 [DEPENDENCIES.md](DEPENDENCIES.md)。AE2 仍固定为 19.2.17。
|
||||
+78
-49
@@ -3,30 +3,35 @@ plugins {
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
apply from: file('../../versioning.gradle')
|
||||
// The workspace uses Git-derived versions. A standalone export owns its release version.
|
||||
if (project != rootProject && rootProject.file('versioning.gradle').isFile()) {
|
||||
apply from: rootProject.file('versioning.gradle')
|
||||
} else {
|
||||
version = findProperty('mod_version') ?: '0.0.0-alpha'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
def localRepository = mavenLocal()
|
||||
remove(localRepository)
|
||||
add(0, localRepository)
|
||||
// CurseMaven for Jade and other mods
|
||||
maven {
|
||||
url "https://cursemaven.com"
|
||||
content {
|
||||
includeGroup "curse.maven"
|
||||
}
|
||||
}
|
||||
// Modrinth for Jade
|
||||
maven {
|
||||
url "https://api.modrinth.com/maven"
|
||||
}
|
||||
// COMPAT-PLAN:ae2wtlib_api 独立坐标(完整 ae2wtlib jar 的 API 在内嵌 jar,
|
||||
// 外层 compileOnly files 看不到 API 类,必须用 modmaven 的独立 API 构件)
|
||||
maven {
|
||||
url "https://modmaven.dev"
|
||||
content {
|
||||
includeGroup "de.mari_023"
|
||||
// The root project adds Maven Local; this module resolves published dependencies from remote repositories.
|
||||
removeAll { it.name.startsWith('MavenLocal') }
|
||||
// Declare JEI here too: standalone exports do not inherit the root repositories.
|
||||
withType(org.gradle.api.artifacts.repositories.MavenArtifactRepository)
|
||||
.findAll { it.url?.host == 'maven.blamejared.com' }
|
||||
.each { repository -> remove(repository) }
|
||||
// Route publisher-specific coordinates exclusively to their actual repository.
|
||||
// A slow/unreachable NeoForge mirror must not intercept JEI or optional mod lookups.
|
||||
[
|
||||
'mezz.jei': 'https://maven.blamejared.com/',
|
||||
'curse.maven': 'https://cursemaven.com',
|
||||
'maven.modrinth': 'https://api.modrinth.com/maven',
|
||||
// The AE2WT API is a separate artifact; the full mod only embeds its API Jar.
|
||||
'de.mari_023': 'https://modmaven.dev'
|
||||
].each { artifactGroup, repositoryUrl ->
|
||||
exclusiveContent {
|
||||
forRepository {
|
||||
maven { url repositoryUrl }
|
||||
}
|
||||
filter { includeGroup artifactGroup }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -40,6 +45,19 @@ base { archivesName = "${modName}-${mcVersion}-neoforge" }
|
||||
def compatBaseRun = ['compatSmokeTest', 'compatWT', 'compatAAE', 'compatAE2LT', 'enableExtendedAeCompatTest']
|
||||
.any { key -> providers.gradleProperty(key).map { it.toBoolean() }.getOrElse(false) }
|
||||
|
||||
def thaumcraftJar = layout.projectDirectory.file("library/thaumcraft-${thaumcraft_version}.jar")
|
||||
def verifyLocalThaumcraft = tasks.register('verifyLocalThaumcraft') {
|
||||
group = 'build setup'
|
||||
description = 'Checks that the unpublished Thaumcraft port Jar is present.'
|
||||
doLast {
|
||||
if (!thaumcraftJar.asFile.isFile()) {
|
||||
throw new GradleException("Missing unpublished TC port: ${thaumcraftJar.asFile}\n"
|
||||
+ "Place thaumcraft-${thaumcraft_version}.jar in ${thaumcraftJar.asFile.parentFile}. "
|
||||
+ 'All other dependencies are downloaded automatically. See README.md.')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain.languageVersion = JavaLanguageVersion.of(21)
|
||||
withSourcesJar()
|
||||
@@ -81,32 +99,39 @@ neoForge {
|
||||
}
|
||||
}
|
||||
|
||||
// ModDevGradle can add Maven Local again while configuring main/gameTest source sets.
|
||||
// Remove those repositories after configuration without touching its generated Minecraft artifact repositories.
|
||||
afterEvaluate {
|
||||
repositories.removeAll { it.name.startsWith('MavenLocal') }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.2'
|
||||
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.2'
|
||||
// 兼容联调开关自动补齐基础运行前置;普通生产构建仍仅 compileOnly。
|
||||
if (compatBaseRun) {
|
||||
runtimeOnly('org.appliedenergistics:appliedenergistics2:19.2.17') {
|
||||
runtimeOnly("org.appliedenergistics:appliedenergistics2:${ae2_version}") {
|
||||
exclude group: 'org.appliedenergistics', module: 'guideme'
|
||||
}
|
||||
def localGuide = file('build/smoke-deps/guideme-21.1.1.jar')
|
||||
if (localGuide.exists()) runtimeOnly files(localGuide)
|
||||
else runtimeOnly 'maven.modrinth:guideme:PALpfSdf'
|
||||
runtimeOnly files('library/thaumcraft-0.2.2.95-port.261.jar')
|
||||
def localCurios = file('build/smoke-deps/curios-neoforge-9.5.1+1.21.1.jar')
|
||||
if (localCurios.exists()) runtimeOnly files(localCurios)
|
||||
else runtimeOnly 'maven.modrinth:curios:yohfFbgD'
|
||||
runtimeOnly("maven.modrinth:guideme:PALpfSdf") { transitive = false } // 21.1.1
|
||||
// The unpublished TC port is intentionally the only local binary dependency.
|
||||
runtimeOnly files(thaumcraftJar)
|
||||
runtimeOnly("maven.modrinth:curios:yohfFbgD") { transitive = false } // 9.5.1+1.21.1
|
||||
}
|
||||
if (providers.gradleProperty('compatWT').map { it.toBoolean() }.getOrElse(false)) {
|
||||
runtimeOnly files('library/ae2wtlib-19.5.1.jar')
|
||||
// Full AE2WT 19.5.1; its API stays a separate compileOnly dependency below.
|
||||
runtimeOnly("maven.modrinth:applied-energistics-2-wireless-terminals:CxSEpEnO") {
|
||||
transitive = false
|
||||
}
|
||||
}
|
||||
compileOnly "org.appliedenergistics:appliedenergistics2:19.2.17:api"
|
||||
compileOnly "org.appliedenergistics:appliedenergistics2:19.2.17" // 加这行保留!!让AE2内部类可编译
|
||||
compileOnly files('library/thaumcraft-0.2.2.95-port.261.jar') // 必须与整合包运行版本一致(0.2.2.95);.34 缺少 getRemainingItems/findMatchingArcaneRecipeEntry 等 API
|
||||
compileOnly files('library/jei-1.21.1-neoforge-19.39.0.368.jar')
|
||||
compileOnly files('library/ae2jeiintegration-1.2.1.jar')
|
||||
compileOnly files('library/InventoryProfilesNext-neoforge-1.21.1-2.2.5.jar')
|
||||
compileOnly files('library/extendedae_plus-1.6.1.jar') // eap mixin target(InputEvents.toGenericStack)
|
||||
compileOnly "org.appliedenergistics:appliedenergistics2:${ae2_version}:api"
|
||||
compileOnly "org.appliedenergistics:appliedenergistics2:${ae2_version}" // 加这行保留!!让AE2内部类可编译
|
||||
compileOnly files(thaumcraftJar) // Keep TC port.261: compile and runtime must agree.
|
||||
// Full JEI artifact preserves the same API/internal compile surface as the former local Jar.
|
||||
compileOnly("mezz.jei:jei-${minecraft_version}-neoforge:${jei_version}") { transitive = false }
|
||||
compileOnly("curse.maven:ae2-jei-integration-1074338:7727898") { transitive = false } // 1.2.1
|
||||
compileOnly("maven.modrinth:inventory-profiles-next:vjuNnHLv") { transitive = false } // NeoForge 1.21.1 / 2.2.5
|
||||
compileOnly("maven.modrinth:extendedae-plus:DLFDZIVx") { transitive = false } // 1.6.1, EAP InputEvents mixin target
|
||||
compileOnly "maven.modrinth:jade:${jade_version}"
|
||||
|
||||
// COMPAT-PLAN 编译依赖:全部可选集成,零运行时强依赖(普通代码仅 ModList 守护 +
|
||||
@@ -160,6 +185,7 @@ dependencies {
|
||||
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
dependsOn verifyLocalThaumcraft
|
||||
it.options.encoding = 'UTF-8'
|
||||
it.options.release = 21
|
||||
}
|
||||
@@ -168,29 +194,32 @@ tasks.withType(Test).configureEach {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
// mods.toml 的 version 也用 git 实时版本(与 jar 版本一致,不依赖写死的 mod_version)
|
||||
// 模组元数据与 Jar 始终使用同一构建版本(工作区 Git 版本或独立项目 mod_version)。
|
||||
var modVersion = version.toString()
|
||||
def loaderRange = project.findProperty('loader_version_range') ?: '[4,)'
|
||||
def neoforgeRange = project.findProperty('neoforge_version_range') ?: '[21,)'
|
||||
def mcRange = project.findProperty('minecraft_version_range') ?: '[1.21.1,1.22)'
|
||||
|
||||
processResources {
|
||||
// expand 值必须声明为 task 输入,否则 modVersion 变化时 Gradle 判 UP-TO-DATE 跳过,
|
||||
// jar 内 mods.toml 会钉死在旧版本(2.4.32 固化事故根因)。
|
||||
inputs.properties([
|
||||
// Generate expanded metadata separately so IDEA does not have to interpret resource matching actions.
|
||||
def metadataProperties = [
|
||||
'version': modVersion, 'loader_version_range': loaderRange,
|
||||
'neoforge_version_range': neoforgeRange, 'minecraft_version_range': mcRange
|
||||
])
|
||||
filesMatching('META-INF/neoforge.mods.toml') {
|
||||
expand([
|
||||
'version': modVersion, 'loader_version_range': loaderRange,
|
||||
'neoforge_version_range': neoforgeRange, 'minecraft_version_range': mcRange
|
||||
])
|
||||
}
|
||||
]
|
||||
def generateModMetadata = tasks.register('generateModMetadata', ProcessResources) {
|
||||
inputs.properties(metadataProperties)
|
||||
filteringCharset = 'UTF-8'
|
||||
expand(metadataProperties)
|
||||
from('src/main/templates')
|
||||
into(layout.buildDirectory.dir('generated/resources/modMetadata'))
|
||||
}
|
||||
sourceSets.main.resources.srcDir(generateModMetadata)
|
||||
neoForge.ideSyncTask(generateModMetadata)
|
||||
|
||||
jar {
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
from(projectDir) {
|
||||
include 'LICENSE', 'LICENSE-ASSETS.md', 'LICENSE-CC-BY-NC-SA-3.0.txt'
|
||||
}
|
||||
// PCL/启动器显示的 jar 图标(mod 列表图标走 neoforge.mods.toml 的 logoFile)
|
||||
from('src/main/resources') {
|
||||
include 'pack.png'
|
||||
|
||||
+3
-1
@@ -6,6 +6,8 @@ mod_name=ThaumicEnergistics
|
||||
mod_id=thaumicenergistics
|
||||
mod_author=Nividica & Community
|
||||
modLicense=LGPL-3.0
|
||||
# Standalone release version and workspace source-archive fallback.
|
||||
mod_version=2.6.10-alpha
|
||||
|
||||
# Shared (must match root gradle.properties)
|
||||
minecraft_version=1.21.1
|
||||
@@ -16,7 +18,7 @@ ae2_version=19.2.17
|
||||
jei_version=19.39.0.368
|
||||
thaumcraft_version=0.2.2.95-port.261
|
||||
jade_version=15.9.1+neoforge
|
||||
org.gradle.jvmargs=-Xmx4G -Xms2G
|
||||
org.gradle.jvmargs=-Xmx4G -Xms2G -Djava.net.useSystemProxies=true
|
||||
org.gradle.daemon=true
|
||||
org.gradle.parallel=true
|
||||
org.gradle.caching=true
|
||||
|
||||
+3
-2
@@ -1,7 +1,8 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
|
||||
networkTimeout=10000
|
||||
distributionSha256Sum=8d97a97984f6cbd2b85fe4c60a743440a347544bf18818048e611f5288d46c94
|
||||
distributionUrl=https\://mirrors.tencent.com/gradle/gradle-8.12.1-bin.zip
|
||||
networkTimeout=60000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
gradlePluginPortal()
|
||||
maven { url = 'https://maven.neoforged.net/releases' }
|
||||
}
|
||||
|
||||
@@ -187,6 +187,17 @@ public final class ThaumicEnergistics {
|
||||
// T-M6-IMPL:概率加速卡关联概率之脑(白名单 + Supported By 行;
|
||||
// 实际装填走方块右键直插,上限 4 由 BE 记账)。
|
||||
Upgrades.add(ModItems.PROBABILITY_ACCELERATOR_CARD.get(), ModItems.BRAIN_OF_PROBABILITY_ITEM.get(), 4);
|
||||
|
||||
// Keep AE2's per-item limits while grouping every capacity under one tooltip entry.
|
||||
for (var entry : ModItems.REGISTRY.getEntries()) {
|
||||
if (entry.get() instanceof thaumicenergistics.common.items.ItemEssentiaCell cell) {
|
||||
String group = "tooltip.thaumicenergistics.upgrade_host.essentia_storage_cell";
|
||||
Upgrades.add(AEItems.INVERTER_CARD, cell, 1, group);
|
||||
Upgrades.add(AEItems.VOID_CARD, cell, 1, group);
|
||||
Upgrades.add(AEItems.EQUAL_DISTRIBUTION_CARD, cell, 1, group);
|
||||
Upgrades.add(AEItems.FUZZY_CARD, cell, 1, group);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -209,7 +220,7 @@ public final class ThaumicEnergistics {
|
||||
event.register(ModMenuTypes.WIRELESS_ARCANE_CRAFTING_TERMINAL.get(),
|
||||
(ContainerArcaneCraftingTerminal menu, Inventory inv, Component title)
|
||||
-> new GuiArcaneCraftingTerminal(menu, inv, title,
|
||||
StyleManager.loadStyleDoc("/screens/arcane_crafting_terminal.json")));
|
||||
StyleManager.loadStyleDoc("/screens/arcane_crafting_terminal_wireless_base.json")));
|
||||
}
|
||||
|
||||
event.register(ModMenuTypes.ESSENTIA_LEVEL_EMITTER.get(),
|
||||
|
||||
@@ -219,11 +219,14 @@ public class ContainerArcaneAssembler extends AbstractContainerMenu {
|
||||
};
|
||||
addSlot(new SlotItemHandler(machineHandler, invIdx, ARMOR_X, ARMOR_Y + i * 18) {
|
||||
@Override public boolean mayPlace(ItemStack s) {
|
||||
if (s.getItem() instanceof IVisDiscountGear) return true;
|
||||
if (s.getItem() instanceof IWarpingGear) return true;
|
||||
// Discount/warping armor still belongs to its actual equipment slot.
|
||||
var actual = inv.player.getEquipmentSlotForItem(s);
|
||||
if (actual == EquipmentSlot.HEAD || actual == EquipmentSlot.CHEST
|
||||
|| actual == EquipmentSlot.LEGS || actual == EquipmentSlot.FEET)
|
||||
return actual == eq;
|
||||
if (s.getItem() instanceof Equipable eqItem)
|
||||
return eqItem.getEquipmentSlot() == eq;
|
||||
return false;
|
||||
return s.getItem() instanceof IVisDiscountGear || s.getItem() instanceof IWarpingGear;
|
||||
}
|
||||
@Override
|
||||
public Pair<ResourceLocation, ResourceLocation> getNoItemIcon() {
|
||||
|
||||
+35
-18
@@ -37,16 +37,21 @@ public class ContainerEssentiaCellWorkbench extends AbstractContainerMenu {
|
||||
private static final int PLAYER_INV_END = 28;
|
||||
private static final int HOTBAR_START = 28;
|
||||
private static final int HOTBAR_END = 37;
|
||||
/** cell 升级卡槽(3 格,容器槽位 37..39,位于玩家槽之后)。 */
|
||||
private static final int UPGRADE_X = 98;
|
||||
/** 四个升级槽(容器槽位 37..40),右侧保留元件槽。 */
|
||||
public static final int UPGRADE_X = 80;
|
||||
private static final int UPGRADE_Y = 8;
|
||||
private static final int UPGRADE_COUNT = 3;
|
||||
private static final int UPGRADE_COUNT = ItemEssentiaCell.UPGRADE_SLOTS;
|
||||
private static final int UPGRADE_START = HOTBAR_END;
|
||||
|
||||
private final TileEssentiaCellWorkbench workbench;
|
||||
|
||||
/** 兜底用空库存(workbench 为 null 时)。 */
|
||||
private final IItemHandler fallbackCell = new ItemStackHandler(1);
|
||||
private final IItemHandler fallbackCell = new ItemStackHandler(1) {
|
||||
@Override public boolean isItemValid(int slot, ItemStack stack) {
|
||||
return stack.getItem() instanceof ItemEssentiaCell;
|
||||
}
|
||||
@Override public int getSlotLimit(int slot) { return 1; }
|
||||
};
|
||||
|
||||
public ContainerEssentiaCellWorkbench(int id, Inventory inv) {
|
||||
this(id, inv, (TileEssentiaCellWorkbench) null);
|
||||
@@ -61,7 +66,7 @@ public class ContainerEssentiaCellWorkbench extends AbstractContainerMenu {
|
||||
for (int r = 0; r < 3; r++) for (int c = 0; c < 9; c++) addSlot(new Slot(inv, c + r * 9 + 9, 8 + c * 18, 167 + r * 18));
|
||||
for (int c = 0; c < 9; c++) addSlot(new Slot(inv, c, 8 + c * 18, 225));
|
||||
|
||||
// ===== cell 升级卡槽(3 格,动态绑定当前 cell 的升级库存,卡片持久化在 cell 物品上) =====
|
||||
// Bind both sides to slot zero, including the client's synchronized cell stack.
|
||||
IItemHandler cellUpgrades = new CellUpgradeHandler(this::currentCellUpgrades);
|
||||
for (int i = 0; i < UPGRADE_COUNT; i++) {
|
||||
addSlot(new SlotItemHandler(cellUpgrades, i, UPGRADE_X + i * 18, UPGRADE_Y) {
|
||||
@@ -72,9 +77,11 @@ public class ContainerEssentiaCellWorkbench extends AbstractContainerMenu {
|
||||
|
||||
@Override
|
||||
public boolean mayPlace(ItemStack s) {
|
||||
return AEItems.CAPACITY_CARD.is(s) || AEItems.FUZZY_CARD.is(s);
|
||||
return hasCell() && isCellUpgrade(s) && cellUpgrades.isItemValid(getSlotIndex(), s);
|
||||
}
|
||||
|
||||
@Override public boolean isActive() { return hasCell(); }
|
||||
|
||||
@Override
|
||||
public void setChanged() {
|
||||
super.setChanged();
|
||||
@@ -88,15 +95,20 @@ public class ContainerEssentiaCellWorkbench extends AbstractContainerMenu {
|
||||
|
||||
/** 当前 cell 的升级库存;无 cell 时返回空库存。 */
|
||||
private IUpgradeInventory currentCellUpgrades() {
|
||||
if (workbench != null && workbench.hasCell()) {
|
||||
ItemStack cell = workbench.getCell();
|
||||
if (cell.getItem() instanceof ItemEssentiaCell cellItem) {
|
||||
return cellItem.getUpgrades(cell);
|
||||
}
|
||||
ItemStack cell = slots.get(SLOT_CELL).getItem();
|
||||
if (cell.getItem() instanceof ItemEssentiaCell cellItem) {
|
||||
return cellItem.getUpgrades(cell);
|
||||
}
|
||||
return UpgradeInventories.empty();
|
||||
}
|
||||
|
||||
private static boolean isCellUpgrade(ItemStack stack) {
|
||||
return AEItems.INVERTER_CARD.is(stack) || AEItems.VOID_CARD.is(stack)
|
||||
|| AEItems.EQUAL_DISTRIBUTION_CARD.is(stack) || AEItems.FUZZY_CARD.is(stack);
|
||||
}
|
||||
|
||||
public Slot getUpgradeSlot(int index) { return slots.get(UPGRADE_START + index); }
|
||||
|
||||
/** 把 AE2 InternalInventory(IUpgradeInventory)适配成 NeoForge 可写句柄;SlotItemHandler.set 强转 Modifiable,缺它则客户端开 GUI 同步即 CCE。 */
|
||||
private static final class CellUpgradeHandler implements IItemHandlerModifiable {
|
||||
private final java.util.function.Supplier<IUpgradeInventory> supplier;
|
||||
@@ -112,7 +124,7 @@ public class ContainerEssentiaCellWorkbench extends AbstractContainerMenu {
|
||||
|
||||
@Override
|
||||
public int getSlots() {
|
||||
return supplier.get().size();
|
||||
return UPGRADE_COUNT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -122,7 +134,9 @@ public class ContainerEssentiaCellWorkbench extends AbstractContainerMenu {
|
||||
|
||||
@Override
|
||||
public ItemStack insertItem(int slot, ItemStack stack, boolean simulate) {
|
||||
return supplier.get().insertItem(slot, stack, simulate);
|
||||
var inventory = supplier.get();
|
||||
return slot >= 0 && slot < inventory.size() && isCellUpgrade(stack)
|
||||
? inventory.insertItem(slot, stack, simulate) : stack;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -132,12 +146,15 @@ public class ContainerEssentiaCellWorkbench extends AbstractContainerMenu {
|
||||
|
||||
@Override
|
||||
public int getSlotLimit(int slot) {
|
||||
return supplier.get().getSlotLimit(slot);
|
||||
var inventory = supplier.get();
|
||||
return slot >= 0 && slot < inventory.size() ? inventory.getSlotLimit(slot) : 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isItemValid(int slot, ItemStack stack) {
|
||||
return supplier.get().isItemValid(slot, stack);
|
||||
var inventory = supplier.get();
|
||||
return slot >= 0 && slot < inventory.size() && isCellUpgrade(stack)
|
||||
&& inventory.isItemValid(slot, stack);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -149,7 +166,7 @@ public class ContainerEssentiaCellWorkbench extends AbstractContainerMenu {
|
||||
// ===== 分区操作(由 GUI / 网络调用,服务端执行) =====
|
||||
|
||||
public boolean hasCell() {
|
||||
return workbench != null && workbench.hasCell();
|
||||
return slots.get(SLOT_CELL).getItem().getItem() instanceof ItemEssentiaCell;
|
||||
}
|
||||
|
||||
public List<ResourceLocation> getPartitionAspects() {
|
||||
@@ -223,8 +240,8 @@ public class ContainerEssentiaCellWorkbench extends AbstractContainerMenu {
|
||||
// 玩家背包 → cell 槽(仅当 cell 槽空且物品是源质元件)
|
||||
if (stack.getItem() instanceof ItemEssentiaCell && workbench.getCell().isEmpty()) {
|
||||
if (!moveItemStackTo(stack, SLOT_CELL, SLOT_CELL + 1, false)) return ItemStack.EMPTY;
|
||||
} else if (AEItems.CAPACITY_CARD.is(stack) || AEItems.FUZZY_CARD.is(stack)) {
|
||||
// 容量/模糊卡 → cell 升级槽
|
||||
} else if (isCellUpgrade(stack)) {
|
||||
// Supported cards -> the current cell's persistent upgrade inventory.
|
||||
if (!moveItemStackTo(stack, UPGRADE_START, UPGRADE_START + UPGRADE_COUNT, false)) return ItemStack.EMPTY;
|
||||
} else {
|
||||
// 含源质物品 → 尝试添加分区(物品不消费,仅添加分区)
|
||||
|
||||
@@ -59,6 +59,13 @@ public class GuiEssentiaCellWorkbench extends AbstractContainerScreen<ContainerE
|
||||
int x = (width - imageWidth) / 2, y = (height - imageHeight) / 2;
|
||||
g.blit(TEX, x, y, 0, 0, imageWidth, imageHeight);
|
||||
|
||||
for (int i = 0; i < thaumicenergistics.common.items.ItemEssentiaCell.UPGRADE_SLOTS; i++) {
|
||||
var slot = menu.getUpgradeSlot(i);
|
||||
g.blit(TEX, x + slot.x - 1, y + slot.y - 1, 151, 7, 18, 18);
|
||||
if (!slot.hasItem()) appeng.client.gui.Icon.BACKGROUND_UPGRADE.getBlitter()
|
||||
.dest(x + slot.x, y + slot.y).blit(g);
|
||||
}
|
||||
|
||||
for (int i = 0; i < NUMBER_OF_WIDGETS; i++) {
|
||||
ResourceLocation id = partitionSlots.get(i);
|
||||
if (id != null) {
|
||||
@@ -71,6 +78,18 @@ public class GuiEssentiaCellWorkbench extends AbstractContainerScreen<ContainerE
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void renderLabels(GuiGraphics graphics, int mouseX, int mouseY) {
|
||||
float available = ContainerEssentiaCellWorkbench.UPGRADE_X - titleLabelX - 4;
|
||||
float scale = Math.min(1.0F, available / Math.max(1, font.width(title)));
|
||||
graphics.pose().pushPose();
|
||||
graphics.pose().translate(titleLabelX, titleLabelY + font.lineHeight * (1 - scale) / 2, 0);
|
||||
graphics.pose().scale(scale, scale, 1);
|
||||
graphics.drawString(font, title, 0, 0, 0x404040, false);
|
||||
graphics.pose().popPose();
|
||||
graphics.drawString(font, playerInventoryTitle, inventoryLabelX, inventoryLabelY, 0x404040, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean mouseClicked(double mx, double my, int btn) {
|
||||
for (int i = 0; i < NUMBER_OF_WIDGETS; i++) {
|
||||
|
||||
@@ -63,6 +63,11 @@ public final class SafeTerminalMergeRecipe extends CustomRecipe {
|
||||
return width * height >= 2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSpecial() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RecipeSerializer<?> getSerializer() {
|
||||
return ModRecipeSerializers.SAFE_TERMINAL_MERGE.get();
|
||||
|
||||
@@ -29,6 +29,17 @@ public final class AE2WTCompat {
|
||||
private AE2WTCompat() {
|
||||
}
|
||||
|
||||
/** Preserve the library's mode synchronization and its normal wireless opening checks. */
|
||||
public static boolean openArcaneFromInventory(net.minecraft.server.level.ServerPlayer player,
|
||||
appeng.menu.locator.ItemMenuHostLocator locator) {
|
||||
if (!de.mari_023.ae2wtlib.api.registration.WTDefinition.exists(ARCANE_TERMINAL_NAME)) return false;
|
||||
var definition = de.mari_023.ae2wtlib.api.registration.WTDefinition.of(ARCANE_TERMINAL_NAME);
|
||||
var stack = locator.locateItem(player);
|
||||
if (!de.mari_023.ae2wtlib.api.terminal.WUTHandler.hasTerminal(stack, definition)) return false;
|
||||
de.mari_023.ae2wtlib.api.terminal.WUTHandler.setCurrentTerminal(player, locator, stack, definition);
|
||||
return definition.containerOpener().tryOpen(player, locator, false);
|
||||
}
|
||||
|
||||
/** 返回公共 Item 类型,避免普通注册类的字节码验证提前解析 ItemWT 子类。 */
|
||||
public static net.minecraft.world.item.Item createTerminalItem() {
|
||||
return new AE2WTArcaneTerminalItem();
|
||||
@@ -55,12 +66,13 @@ public final class AE2WTCompat {
|
||||
}
|
||||
|
||||
public static net.minecraft.world.item.ItemStack displayPartner(String partner) {
|
||||
var name = partner.isEmpty() ? "crafting" : partner;
|
||||
if (partner.isEmpty()) return new net.minecraft.world.item.ItemStack(
|
||||
de.mari_023.ae2wtlib.api.AE2wtlibAPI.getWUT());
|
||||
var name = partner;
|
||||
var definition = de.mari_023.ae2wtlib.api.registration.WTDefinition.wirelessTerminals().stream()
|
||||
.filter(terminal -> name.equals(terminal.terminalName())).findFirst().orElse(null);
|
||||
if (definition == null) return net.minecraft.world.item.ItemStack.EMPTY;
|
||||
return partner.isEmpty() ? definition.universalTerminal().copy()
|
||||
: new net.minecraft.world.item.ItemStack(definition.item());
|
||||
return new net.minecraft.world.item.ItemStack(definition.item());
|
||||
}
|
||||
|
||||
public static void registerArcaneTerminal() {
|
||||
|
||||
@@ -3,7 +3,6 @@ package thaumicenergistics.common.integration.ae2wt;
|
||||
import java.util.Objects;
|
||||
import com.mojang.datafixers.util.Unit;
|
||||
import net.minecraft.core.component.DataComponentType;
|
||||
import net.minecraft.core.component.DataComponents;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.item.component.ItemContainerContents;
|
||||
import appeng.api.config.Actionable;
|
||||
@@ -25,12 +24,14 @@ public final class SafeTerminalMerge {
|
||||
|| !(arcane.getItem() instanceof ItemWT arcaneItem)) {
|
||||
return ItemStack.EMPTY;
|
||||
}
|
||||
var otherDefinition = WTDefinition.ofOrNull(other);
|
||||
if (otherDefinition == null || !(other.getItem() instanceof ItemWT otherItem)) {
|
||||
if (!(other.getItem() instanceof ItemWT otherItem)) {
|
||||
return ItemStack.EMPTY;
|
||||
}
|
||||
boolean universal = AE2wtlibAPI.isUniversalTerminal(other);
|
||||
if (partner.isEmpty() ? !universal : universal || !partner.equals(otherDefinition.terminalName())) {
|
||||
// A blank WUT has no current definition, but is a valid destination.
|
||||
var otherDefinition = universal ? null : WTDefinition.ofOrNull(other);
|
||||
if (partner.isEmpty() ? !universal : universal || otherDefinition == null
|
||||
|| !partner.equals(otherDefinition.terminalName())) {
|
||||
return ItemStack.EMPTY;
|
||||
}
|
||||
if (universal && other.has(definition.componentType())) {
|
||||
@@ -50,6 +51,9 @@ public final class SafeTerminalMerge {
|
||||
if (!universal) {
|
||||
result.set(otherDefinition.componentType(), Unit.INSTANCE);
|
||||
}
|
||||
if (!result.has(AE2wtlibComponents.CURRENT_TERMINAL)) {
|
||||
result.set(AE2wtlibComponents.CURRENT_TERMINAL, universal ? definition : otherDefinition);
|
||||
}
|
||||
result.remove(AEComponents.UPGRADES);
|
||||
result.remove(AEComponents.STORED_ENERGY);
|
||||
result.remove(AEComponents.ENERGY_CAPACITY);
|
||||
@@ -83,9 +87,13 @@ public final class SafeTerminalMerge {
|
||||
continue;
|
||||
}
|
||||
var previous = target.get(type);
|
||||
// Equal inventories still contain two separate sets of resources.
|
||||
// Reject instead of retaining only one copy of their contents.
|
||||
if (!empty(previous) && (value instanceof ItemContainerContents || value instanceof ItemStack
|
||||
|| type == AE2wtlibComponents.PATTERN_ENCODING_LOGIC)) {
|
||||
return false;
|
||||
}
|
||||
if (!empty(previous) && !Objects.equals(previous, value)) {
|
||||
// 终端偏好以已有通用终端/另一终端为准;物品、奇点和绑定等资源数据仍拒绝冲突。
|
||||
if (preference(type)) continue;
|
||||
return false;
|
||||
}
|
||||
copyComponent(target, type, value);
|
||||
@@ -93,18 +101,11 @@ public final class SafeTerminalMerge {
|
||||
return true;
|
||||
}
|
||||
|
||||
private static boolean preference(DataComponentType<?> type) {
|
||||
return type == DataComponents.CUSTOM_NAME || type == DataComponents.LORE
|
||||
|| type == AE2wtlibComponents.PICKUP_CONFIG || type == AE2wtlibComponents.INSERT_CONFIG
|
||||
|| type == AE2wtlibComponents.PICKUP_MODE || type == AE2wtlibComponents.INSERT_MODE
|
||||
|| type == AE2wtlibComponents.RESTOCK || type == AE2wtlibComponents.PICK_BLOCK
|
||||
|| type == AE2wtlibComponents.CRAFT_IF_MISSING;
|
||||
}
|
||||
|
||||
private static boolean empty(Object value) {
|
||||
if (value == null) return true;
|
||||
if (value instanceof ItemStack stack) return stack.isEmpty();
|
||||
if (value instanceof ItemContainerContents contents) return contents.stream().allMatch(ItemStack::isEmpty);
|
||||
if (value instanceof net.minecraft.nbt.CompoundTag tag) return tag.isEmpty();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -61,8 +61,9 @@ public final class AEssentiaKey extends AEKey {
|
||||
}
|
||||
}
|
||||
}
|
||||
// 回退:翻译键
|
||||
return Component.translatable("aspect.thaumicenergistics." + tag);
|
||||
// Keep the saved identity visible when its addon/aspect is unavailable.
|
||||
return Component.translatable("tooltip.thaumicenergistics.unknown_essentia")
|
||||
.append(" (" + id + ")");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import thaumicenergistics.common.tiles.TileArcaneAssembler;
|
||||
* 奥术装配器 Jade 显示:
|
||||
* <ul>
|
||||
* <li>网络状态:在线(节点 active)/ 无频道(有能量)/ 离线(无能量)</li>
|
||||
* <li>要素状态:已连接(内存卡配置了 vis 源频率)/ 未连接</li>
|
||||
* <li>魔力源状态:已连接 / 未设置 / 已设置但不可用,以及彩色 P2P 频率</li>
|
||||
* </ul>
|
||||
* 服务端把状态写入 NBT,客户端渲染。
|
||||
*/
|
||||
@@ -25,13 +25,15 @@ public enum AssemblerProvider implements IBlockComponentProvider, IServerDataPro
|
||||
private static final String TAG_ONLINE = "NetworkOnline";
|
||||
private static final String TAG_POWERED = "NodePowered";
|
||||
private static final String TAG_VIS = "VisConnected";
|
||||
private static final String TAG_FREQUENCY = "VisFrequency";
|
||||
|
||||
@Override
|
||||
public void appendServerData(CompoundTag data, BlockAccessor accessor) {
|
||||
if (accessor.getBlockEntity() instanceof TileArcaneAssembler assembler) {
|
||||
data.putBoolean(TAG_ONLINE, assembler.isActive());
|
||||
data.putBoolean(TAG_ONLINE, assembler.isNodeActive());
|
||||
data.putBoolean(TAG_POWERED, assembler.isNodePowered());
|
||||
data.putBoolean(TAG_VIS, assembler.getVisSourceFreq() != 0);
|
||||
data.putBoolean(TAG_VIS, assembler.isVisSourceAvailable());
|
||||
data.putShort(TAG_FREQUENCY, assembler.getVisSourceFreq());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,11 +61,17 @@ public enum AssemblerProvider implements IBlockComponentProvider, IServerDataPro
|
||||
tooltip.add(Component.translatable("thaumicenergistics.jade.provider.network",
|
||||
Component.translatable(statusKey).withStyle(style -> style.withColor(color))));
|
||||
|
||||
// 要素源状态:已连接(绿)/ 未连接(灰)
|
||||
short frequency = accessor.getServerData().getShort(TAG_FREQUENCY);
|
||||
if (frequency != 0) {
|
||||
tooltip.add(Component.translatable("waila.ae2.P2PFrequency",
|
||||
appeng.util.Platform.p2p().toColoredHexString(frequency)
|
||||
.withStyle(net.minecraft.ChatFormatting.BOLD)));
|
||||
}
|
||||
tooltip.add(Component.translatable("thaumicenergistics.jade.assembler.vis_source",
|
||||
Component.translatable(visConnected
|
||||
? "thaumicenergistics.jade.assembler.vis_connected"
|
||||
: "thaumicenergistics.jade.assembler.vis_disconnected")
|
||||
: frequency == 0 ? "thaumicenergistics.jade.assembler.vis_disconnected"
|
||||
: "thaumicenergistics.jade.assembler.vis_unavailable")
|
||||
.withStyle(style -> style.withColor(visConnected ? 0xFF55FF55 : 0xFFAAAAAA))));
|
||||
}
|
||||
|
||||
|
||||
@@ -36,6 +36,8 @@ import appeng.api.stacks.AEKey;
|
||||
|
||||
public class ItemEssentiaCell extends Item implements IBasicCellItem {
|
||||
|
||||
public static final int UPGRADE_SLOTS = 4;
|
||||
|
||||
private final String tier;
|
||||
private final int totalBytes;
|
||||
private final int bytesPerType;
|
||||
@@ -68,6 +70,8 @@ public class ItemEssentiaCell extends Item implements IBasicCellItem {
|
||||
|
||||
@Override
|
||||
public int getTotalTypes(ItemStack cellItem) {
|
||||
// AE2 reads this limit from the item definition, including for existing cells.
|
||||
// Stored contents, partitions, and upgrades need no data rewrite to gain the new limit.
|
||||
return this.totalTypes;
|
||||
}
|
||||
|
||||
@@ -91,7 +95,7 @@ public class ItemEssentiaCell extends Item implements IBasicCellItem {
|
||||
|
||||
@Override
|
||||
public IUpgradeInventory getUpgrades(ItemStack is) {
|
||||
return UpgradeInventories.forItem(is, 3);
|
||||
return UpgradeInventories.forItem(is, UPGRADE_SLOTS);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -101,11 +105,12 @@ public class ItemEssentiaCell extends Item implements IBasicCellItem {
|
||||
|
||||
@Override
|
||||
public FuzzyMode getFuzzyMode(ItemStack is) {
|
||||
return FuzzyMode.IGNORE_ALL;
|
||||
return is.getOrDefault(appeng.api.ids.AEComponents.STORAGE_CELL_FUZZY_MODE, FuzzyMode.IGNORE_ALL);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setFuzzyMode(ItemStack is, FuzzyMode fzMode) {
|
||||
is.set(appeng.api.ids.AEComponents.STORAGE_CELL_FUZZY_MODE, fzMode);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -264,25 +269,25 @@ public class ItemEssentiaCell extends Item implements IBasicCellItem {
|
||||
return new ItemEssentiaCell(props, "16k", 16, 8, ThEConfig.CELL_MAX_TYPES, 1.5);
|
||||
}
|
||||
public static ItemEssentiaCell create64k(Item.Properties props) {
|
||||
return new ItemEssentiaCell(props, "64k", 64, 8, ThEConfig.CELL_MAX_TYPES, 2.0);
|
||||
return new ItemEssentiaCell(props, "64k", 64, 8, ThEConfig.CELL_64K_MAX_TYPES, 2.0);
|
||||
}
|
||||
public static ItemEssentiaCell create256k(Item.Properties props) {
|
||||
return new ItemEssentiaCell(props, "256k", 256, 8, ThEConfig.CELL_MAX_TYPES, 2.5);
|
||||
return new ItemEssentiaCell(props, "256k", 256, 8, ThEConfig.CELL_256K_MAX_TYPES, 2.5);
|
||||
}
|
||||
public static ItemEssentiaCell create1m(Item.Properties props) {
|
||||
return new ItemEssentiaCell(props, "1m", 1024, 8, ThEConfig.CELL_MAX_TYPES, 3.0);
|
||||
return new ItemEssentiaCell(props, "1m", 1024, 8, ThEConfig.CELL_MEGABYTE_MAX_TYPES, 3.0);
|
||||
}
|
||||
public static ItemEssentiaCell create4m(Item.Properties props) {
|
||||
return new ItemEssentiaCell(props, "4m", 4096, 8, ThEConfig.CELL_MAX_TYPES, 3.5);
|
||||
return new ItemEssentiaCell(props, "4m", 4096, 8, ThEConfig.CELL_MEGABYTE_MAX_TYPES, 3.5);
|
||||
}
|
||||
public static ItemEssentiaCell create16m(Item.Properties props) {
|
||||
return new ItemEssentiaCell(props, "16m", 16384, 8, ThEConfig.CELL_MAX_TYPES, 4.0);
|
||||
return new ItemEssentiaCell(props, "16m", 16384, 8, ThEConfig.CELL_MEGABYTE_MAX_TYPES, 4.0);
|
||||
}
|
||||
public static ItemEssentiaCell create64m(Item.Properties props) {
|
||||
return new ItemEssentiaCell(props, "64m", 65536, 8, ThEConfig.CELL_MAX_TYPES, 4.5);
|
||||
return new ItemEssentiaCell(props, "64m", 65536, 8, ThEConfig.CELL_MEGABYTE_MAX_TYPES, 4.5);
|
||||
}
|
||||
public static ItemEssentiaCell create256m(Item.Properties props) {
|
||||
return new ItemEssentiaCell(props, "256m", 262144, 8, ThEConfig.CELL_MAX_TYPES, 5.0);
|
||||
return new ItemEssentiaCell(props, "256m", 262144, 8, ThEConfig.CELL_MEGABYTE_MAX_TYPES, 5.0);
|
||||
}
|
||||
public static ItemEssentiaCell createCreative(Item.Properties props) {
|
||||
return new ItemEssentiaCell(props, "creative", Integer.MAX_VALUE / 1024, 8, 63, 0.0);
|
||||
|
||||
@@ -15,6 +15,10 @@ public final class ThENetworking {
|
||||
private static void registerPayloads(RegisterPayloadHandlersEvent event) {
|
||||
PayloadRegistrar registrar = event.registrar("thaumicenergistics").versioned("1");
|
||||
|
||||
registrar.playToServer(OpenWirelessArcaneTerminalC2SPacket.TYPE,
|
||||
OpenWirelessArcaneTerminalC2SPacket.STREAM_CODEC,
|
||||
(packet, context) -> packet.handleOnServer(context));
|
||||
|
||||
// GolemBackpackSyncPacket — S2C(服务端→客户端,同步背包连接状态和皮肤)
|
||||
registrar.playToClient(
|
||||
GolemBackpackSyncPacket.TYPE,
|
||||
|
||||
@@ -160,6 +160,13 @@ public class VisInterfacePart extends P2PTunnelPart<VisInterfacePart> implements
|
||||
|
||||
// ===== Relay 检测与 vis 抽取 =====
|
||||
|
||||
/** Inspect the loaded route without extracting vis, spending power, or loading chunks. */
|
||||
public boolean hasAvailableRelay() {
|
||||
if (!isActive()) return false;
|
||||
VisInterfacePart relayEnd = findRelayEnd();
|
||||
return relayEnd != null && relayEnd.isActive() && relayEnd.getRelay() != null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 该部件面对的 TC4 vis 中继,无则 null。中继对 vis 传输是全向的,无需朝向检查。
|
||||
*/
|
||||
|
||||
@@ -624,6 +624,16 @@ public class TileArcaneAssembler extends ThETileBase
|
||||
}
|
||||
|
||||
public short getVisSourceFreq() { return visSourceFreq; }
|
||||
public boolean isNodeActive() { return mainNode.isActive(); }
|
||||
|
||||
/** The configured source must resolve to an active, loaded relay route. */
|
||||
public boolean isVisSourceAvailable() {
|
||||
var grid = mainNode.getGrid();
|
||||
if (!isNodeActive() || grid == null || visSourceFreq == 0) return false;
|
||||
var p2p = appeng.me.service.P2PService.get(grid);
|
||||
return p2p != null && p2p.getInput(visSourceFreq) instanceof VisInterfacePart source
|
||||
&& source.hasAvailableRelay();
|
||||
}
|
||||
/** ME 节点是否有能量(Jade 网络状态细分用)。 */
|
||||
public boolean isNodePowered() { return mainNode != null && mainNode.isPowered(); }
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.core.HolderLookup;
|
||||
import net.minecraft.nbt.CompoundTag;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.level.block.entity.BlockEntity;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
import net.neoforged.neoforge.items.ItemStackHandler;
|
||||
import thaumicenergistics.common.items.ItemEssentiaCell;
|
||||
@@ -14,7 +13,7 @@ import thaumicenergistics.init.ModBlockEntities;
|
||||
* 源质元件工作台方块实体:持久化保存一个源质元件(cell),并提供分区编辑入口。
|
||||
* 对应 1.7.10 的 {@code TileEssentiaCellWorkbench},分区数据存储在 cell 物品的 AE2 CellConfig 上。
|
||||
*/
|
||||
public class TileEssentiaCellWorkbench extends BlockEntity {
|
||||
public class TileEssentiaCellWorkbench extends ThETileBase {
|
||||
|
||||
public static final int SLOT_CELL = 0;
|
||||
private static final String NBT_KEY_CELL_INVENTORY = "CellInventory";
|
||||
@@ -26,6 +25,8 @@ public class TileEssentiaCellWorkbench extends BlockEntity {
|
||||
return stack.isEmpty() || stack.getItem() instanceof ItemEssentiaCell;
|
||||
}
|
||||
|
||||
@Override public int getSlotLimit(int slot) { return 1; }
|
||||
|
||||
@Override
|
||||
protected void onContentsChanged(int slot) {
|
||||
super.onContentsChanged(slot);
|
||||
@@ -50,6 +51,14 @@ public class TileEssentiaCellWorkbench extends BlockEntity {
|
||||
return !cellInventory.getStackInSlot(SLOT_CELL).isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBreakBlock() {
|
||||
if (level == null || level.isClientSide()) return;
|
||||
ItemStack cell = cellInventory.extractItem(SLOT_CELL, Integer.MAX_VALUE, false);
|
||||
if (!cell.isEmpty()) net.minecraft.world.Containers.dropItemStack(level,
|
||||
worldPosition.getX(), worldPosition.getY(), worldPosition.getZ(), cell);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void saveAdditional(CompoundTag tag, HolderLookup.Provider registries) {
|
||||
super.saveAdditional(tag, registries);
|
||||
|
||||
@@ -3,5 +3,9 @@ public final class ThEConfig {
|
||||
private ThEConfig() {}
|
||||
public static final double EVC_POWER_PER_TICK = 5.0;
|
||||
public static final int CELL_1K = 1024, CELL_4K = 4096, CELL_16K = 16384, CELL_64K = 65536;
|
||||
/** Type limits for 1k/4k/16k, 64k, 256k, and the megabyte tiers respectively. */
|
||||
public static final int CELL_MAX_TYPES = 12;
|
||||
public static final int CELL_64K_MAX_TYPES = 15;
|
||||
public static final int CELL_256K_MAX_TYPES = 31;
|
||||
public static final int CELL_MEGABYTE_MAX_TYPES = 63;
|
||||
}
|
||||
|
||||
@@ -11,15 +11,12 @@ import mezz.jei.api.JeiPlugin;
|
||||
import mezz.jei.api.registration.IGuiHandlerRegistration;
|
||||
import mezz.jei.api.registration.IModIngredientRegistration;
|
||||
import mezz.jei.api.registration.IRecipeTransferRegistration;
|
||||
import mezz.jei.api.registration.IRecipeRegistration;
|
||||
import mezz.jei.api.registration.IVanillaCategoryExtensionRegistration;
|
||||
import mezz.jei.api.recipe.category.extensions.vanilla.crafting.ICraftingCategoryExtension;
|
||||
import mezz.jei.api.gui.builder.IRecipeLayoutBuilder;
|
||||
import mezz.jei.api.gui.ingredient.ICraftingGridHelper;
|
||||
import mezz.jei.api.recipe.IFocusGroup;
|
||||
import net.minecraft.world.item.crafting.RecipeHolder;
|
||||
import net.minecraft.world.item.crafting.RecipeType;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import thaumicenergistics.common.features.SafeTerminalMergeRecipe;
|
||||
|
||||
import static mezz.jei.api.constants.RecipeTypes.CRAFTING;
|
||||
@@ -87,16 +84,6 @@ public class ThEJeiPlugin implements IModPlugin {
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerRecipes(IRecipeRegistration registration) {
|
||||
var level = Minecraft.getInstance().level;
|
||||
if (level == null) return;
|
||||
// CustomRecipe 为特殊配方,显式添加已由条件加载的真实配方,避免依赖普通配方收集器。
|
||||
var recipes = level.getRecipeManager().getAllRecipesFor(RecipeType.CRAFTING).stream()
|
||||
.filter(holder -> holder.value() instanceof SafeTerminalMergeRecipe).toList();
|
||||
registration.addRecipes(CRAFTING, recipes);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerIngredients(IModIngredientRegistration registration) {
|
||||
List<AspectIngredient> ingredients = new ArrayList<>();
|
||||
@@ -118,6 +105,7 @@ public class ThEJeiPlugin implements IModPlugin {
|
||||
|
||||
@Override
|
||||
public void registerRecipeTransferHandlers(IRecipeTransferRegistration registration) {
|
||||
InfusionPatternTransfer.register(registration);
|
||||
// One network-aware handler per container class/category covers both menu types.
|
||||
// Separate basic slot mappings would overwrite each other in JEI's registration table.
|
||||
registration.addRecipeTransferHandler(new ThEUseCraftingRecipeTransfer(registration.getTransferHelper()), CRAFTING);
|
||||
|
||||
@@ -41,7 +41,9 @@ public abstract class MixinCraftingService {
|
||||
boolean prioritizePower,
|
||||
IActionSource src,
|
||||
CallbackInfoReturnable<ICraftingSubmitResult> cir) {
|
||||
// 仅玩家发起的请求需要研究校验;机器自动合成放行
|
||||
// 仅玩家发起的请求需要研究校验;机器自动合成放行。
|
||||
// AE2 permits a player source to carry its terminal as machine() too.
|
||||
// The presence of a machine proxy must not bypass the player's research check.
|
||||
if (src == null || src.player().isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ import net.minecraft.world.item.ItemStack;
|
||||
|
||||
import org.spongepowered.asm.mixin.Final;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Mutable;
|
||||
import org.spongepowered.asm.mixin.Shadow;
|
||||
import org.spongepowered.asm.mixin.Unique;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
@@ -28,6 +29,7 @@ import thaumcraft.api.aspects.Aspect;
|
||||
|
||||
import thaumicenergistics.common.integration.appeng.AEssentiaKey;
|
||||
import thaumicenergistics.common.integration.appeng.IEssentiaInterfaceLogic;
|
||||
import thaumicenergistics.common.integration.appeng.InterfaceEssentiaInventory;
|
||||
import thaumicenergistics.init.ModItems;
|
||||
|
||||
/**
|
||||
@@ -48,9 +50,15 @@ public abstract class MixinInterfaceLogic implements IEssentiaInterfaceLogic {
|
||||
@Final
|
||||
private GenericStack[] plannedWork;
|
||||
|
||||
/** 接口本体存储槽(@see InterfaceLogic.java:97)。 */
|
||||
@Shadow
|
||||
@Final
|
||||
@Mutable
|
||||
private ConfigInventory config;
|
||||
|
||||
/** 接口本体存储槽;附属可能在原版构造完成后替换整个库存。 */
|
||||
@Shadow
|
||||
@Final
|
||||
@Mutable
|
||||
private ConfigInventory storage;
|
||||
|
||||
/** 网络存储视图(@see InterfaceLogic.java:73-74,gridChanged() 时赋值,可空)。 */
|
||||
@@ -62,6 +70,37 @@ public abstract class MixinInterfaceLogic implements IEssentiaInterfaceLogic {
|
||||
@Final
|
||||
protected IActionSource actionSource;
|
||||
|
||||
@Unique
|
||||
private void thE$ensureBoundedInventories() {
|
||||
if (config != null && !(config instanceof InterfaceEssentiaInventory)) {
|
||||
config = new InterfaceEssentiaInventory(config);
|
||||
}
|
||||
if (storage != null && !(storage instanceof InterfaceEssentiaInventory)) {
|
||||
storage = new InterfaceEssentiaInventory(storage);
|
||||
}
|
||||
}
|
||||
|
||||
@Inject(method = {"getConfig", "getStorage"}, at = @At("HEAD"))
|
||||
private void thE$boundCurrentInventories(CallbackInfoReturnable<ConfigInventory> cir) {
|
||||
thE$ensureBoundedInventories();
|
||||
}
|
||||
|
||||
@Inject(method = "readFromNBT", at = @At("HEAD"))
|
||||
private void thE$boundBeforeLoad(CallbackInfo ci) {
|
||||
thE$ensureBoundedInventories();
|
||||
}
|
||||
|
||||
@Inject(method = "updatePlan(I)V", at = @At("HEAD"))
|
||||
private void thE$normalizeOldEssentiaRequest(int slot, CallbackInfo ci) {
|
||||
thE$ensureBoundedInventories();
|
||||
var request = config.getStack(slot);
|
||||
if (request != null && request.what() instanceof AEssentiaKey
|
||||
&& request.amount() > InterfaceEssentiaInventory.MAX_ESSENTIA_PER_SLOT) {
|
||||
// Native scheduling returns actual excess stock; never truncate it here.
|
||||
config.setStack(slot, new GenericStack(request.what(), InterfaceEssentiaInventory.MAX_ESSENTIA_PER_SLOT));
|
||||
}
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// ⑦c(路径 A):卡门控——无卡时只抑制「写入/计划」路径,不动取出
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "../schema.json",
|
||||
"includes": ["arcane_crafting_terminal.json"],
|
||||
"includes": ["arcane_crafting_terminal_wireless_base.json"],
|
||||
"widgets": {
|
||||
"scrollingUpgrades": {
|
||||
"left": 192,
|
||||
|
||||
@@ -37,27 +37,27 @@
|
||||
"item.thaumicenergistics.golem_wifi_backpack": "Wireless Golem Backpack",
|
||||
"item.thaumicenergistics.wireless_arcane_crafting_terminal": "Wireless Arcane Crafting Terminal",
|
||||
"item.thaumicenergistics.vis_connector_card": "Vis Connector Card",
|
||||
"tooltip.thaumicenergistics.vis_connector_card.desc": "Install in the Wireless Arcane Crafting Terminal upgrade slot to auto-link to Vis Interfaces on its network for wand charging",
|
||||
"item.thaumicenergistics.arcane_crafting_terminal": "Arcane Crafting Terminal",
|
||||
"tooltip.thaumicenergistics.vis_connector_card.desc": "Install in a wireless arcane terminal to recharge its wand through a Vis Relay Interface while connected to the network.",
|
||||
"item.thaumicenergistics.arcane_crafting_terminal": "ME Arcane Crafting Terminal",
|
||||
"item.thaumicenergistics.essentia_level_emitter": "Essentia Level Emitter",
|
||||
"item.thaumicenergistics.vis_interface": "Vis Interface",
|
||||
"item.thaumicenergistics.vis_interface": "Vis Relay Interface",
|
||||
"tooltip.thaumicenergistics.arcane_crafting_terminal.desc": "Perform arcane crafting from the ME network",
|
||||
"tooltip.thaumicenergistics.essentia_level_emitter.desc": "Emits redstone based on essentia levels in the network",
|
||||
"tooltip.thaumicenergistics.vis_interface.desc": "Bridges the Thaumcraft vis network with the ME network for vis extraction/supply",
|
||||
"tooltip.thaumicenergistics.vis_interface.desc": "Relays vis through the ME network to supply the ME Arcane Crafting Terminal and Arcane Assembler",
|
||||
"ae2.keytype.thaumicenergistics.essentia": "Essentia",
|
||||
"tc.research_category.THAUMICENERGISTICS": "Thaumic Energistics",
|
||||
"tc.research_name.BASEENERGISTICS": "Basic Energistics",
|
||||
"tc.research_text.BASEENERGISTICS": "You have discovered a curious resonance between AE2's mechanical networks and Thaumaturgy. The precision of AE devices seems capable of sensing and manipulating essentia, that mysterious form of matter. High version materials are created by §§b§l麦淇淋§r.",
|
||||
"tc.research_text.BASEENERGISTICS": "You have discovered a curious resonance between AE2's mechanical networks and Thaumaturgy.<BR><BR>The precision of AE devices seems capable of sensing and manipulating essentia, that mysterious form of matter.<BR><BR>High version materials are created by §b§l麦淇淋§r.<BR><BR>Aspects may take the form of essentia, the liquid obtained by distilling items, or vis, the magical energy stored in wands and consumed by arcane crafting. Essentia and vis are not interchangeable.",
|
||||
"tc.research_name.FOCUS_AEWRENCH": "Focus: AE Wrench",
|
||||
"tc.research_text.FOCUS_AEWRENCH": "By condensing the functionality of an AE wrench into a wand focus, you can manipulate AE network devices without switching tools.",
|
||||
"tc.research_name.DIGISENTIA": "Digitized Essentia",
|
||||
"tc.research_text.DIGISENTIA.stage.1": "Though essentia is a mystical substance, you have discovered it can be processed using AE's digital technology. The key lies in two cores: a Diffusion Core to decompose essentia into digital signals, and a Coalescence Core to reassemble digital signals back into essentia.",
|
||||
"tc.research_text.DIGISENTIA.stage.2": "You have successfully crafted the Diffusion Core and Coalescence Core. They will serve as the foundation of your entire Thaumic Energistics system.",
|
||||
"tc.research_name.ESSENTIASTORAGE": "Essentia Storage",
|
||||
"tc.research_text.ESSENTIASTORAGE": "Using Coalescence Cores and wisp essences, you can create ME storage cells capable of storing essentia. Available in 1k, 4k, 16k, 64k, 256k, 1M, 4M, 16M, 64M, and 256M variants.",
|
||||
"tc.research_name.ARCANECRAFTINGTERMINAL": "Arcane Crafting Terminal",
|
||||
"tc.research_text.ARCANECRAFTINGTERMINAL.stage.1": "By combining an ME Terminal with an Arcane Worktable, you can perform arcane crafting directly within the ME network.",
|
||||
"tc.research_text.ARCANECRAFTINGTERMINAL.stage.2": "The Arcane Crafting Terminal requires vis from a wand or wand focus. Ensure your wand has sufficient vis to complete the crafting.",
|
||||
"tc.research_name.ESSENTIASTORAGE": "ME Essentia Storage",
|
||||
"tc.research_text.ESSENTIASTORAGE": "ME Essentia Storage Cells are available in 1k, 4k, 16k, 64k, 256k, 1M, 4M, 16M, 64M, and 256M capacities.<BR><BR>1k, 4k, and 16k cells hold up to 12 essentia types; 64k holds 15, 256k holds 31, and 1M or larger holds 63. Each type uses 8 bytes of overhead and 1 essentia per remaining byte. Higher tiers use three components of the previous tier and the existing ME Essentia Storage Housing. Sneak-use an empty cell to recover its component, casing, and upgrade cards.",
|
||||
"tc.research_name.ARCANECRAFTINGTERMINAL": "ME Arcane Crafting Terminal",
|
||||
"tc.research_text.ARCANECRAFTINGTERMINAL.stage.1": "Combine an ME Terminal with an Arcane Worktable to make an ME Arcane Crafting Terminal and craft using the vis stored in its wand.",
|
||||
"tc.research_text.ARCANECRAFTINGTERMINAL.stage.2": "The ME Arcane Crafting Terminal consumes vis aspects stored in its wand for arcane crafting.<BR><BR>Ensure the wand holds enough of each required vis aspect. Essentia stored in the ME network cannot substitute for vis.",
|
||||
"tc.research_name.ESSENTIAPROVIDER": "Essentia Provider",
|
||||
"tc.research_text.ESSENTIAPROVIDER.stage.1": "The Essentia Provider automatically extracts essentia from the ME network and supplies it to adjacent essentia containers. This is invaluable for devices that consume large amounts of essentia.",
|
||||
"tc.research_text.ESSENTIAPROVIDER.stage.2": "Place the Essentia Provider adjacent to an essentia container, and it will automatically replenish the container up to the configured level.",
|
||||
@@ -66,7 +66,7 @@
|
||||
"tc.research_text.INFUSIONPROVIDER.stage.2": "Place the Infusion Provider beneath an Infusion Altar, and it will automatically supply the required essentia during infusion. No more manual jar placement!",
|
||||
"tc.research_name.ARCANEASSEMBLER": "Arcane Assembler",
|
||||
"tc.research_text.ARCANEASSEMBLER.stage.1": "The Arcane Assembler is the arcane version of the ME Molecular Assembler. It can automatically execute arcane crafting recipes, perfectly merging magic with automation.",
|
||||
"tc.research_text.ARCANEASSEMBLER.stage.2": "Connected to the ME network, the Arcane Assembler can process arcane crafting tasks automatically. It requires vis from a wand to drive the crafting process.",
|
||||
"tc.research_text.ARCANEASSEMBLER.stage.2": "Connected to the ME network, the Arcane Assembler processes arcane crafting tasks automatically.<BR><BR>Bind it to a Vis Relay Interface using a memory card to replenish its internal vis buffer. Crafting consumes the required vis aspects; stored essentia cannot substitute for vis.",
|
||||
"tc.research_name.ESSENTIAVIBRATIONCHAMBER": "Essentia Vibration Chamber",
|
||||
"tc.research_text.ESSENTIAVIBRATIONCHAMBER": "The Essentia Vibration Chamber converts essentia into AE power. Different essentia types provide different energy values — more complex essentia yields more energy. It offers a way to turn surplus essentia into usable power.",
|
||||
"tc.research_name.KNOWLEDGEINSCRIBER": "Knowledge Inscriber",
|
||||
@@ -74,13 +74,13 @@
|
||||
"tc.research_name.DISTILLATIONENCODER": "Distillation Encoder",
|
||||
"tc.research_text.DISTILLATIONENCODER": "The Distillation Encoder can automatically distill essentia from items and import it into the ME network. It combines the advantages of an essentia alembic with the AE network.",
|
||||
"tc.research_name.VISINTERFACE": "Vis Relay Interface",
|
||||
"tc.research_text.VISINTERFACE": "The Vis Relay Interface allows you to transport vis (magical energy) through the ME network, enabling long-distance vis supply. It uses P2P tunnel technology to relay vis from one node to another.",
|
||||
"tc.research_text.VISINTERFACE": "The Vis Relay Interface relays vis through the ME network, supplying a remote vis source for the ME Arcane Crafting Terminal and Arcane Assembler.<BR><BR>Mount the interface on an AE cable facing a Vis Relay connected to an energized node. Copy its settings with a memory card, then use the card on the ME Arcane Crafting Terminal or Arcane Assembler to bind it.<BR><BR>It handles vis aspects, not the essentia obtained by distilling items.",
|
||||
"tc.research_name.GOLEMWIFI": "Wireless Golem Backpack",
|
||||
"tc.research_text.GOLEMWIFI": "The Wireless Golem Backpack allows a golem to directly access items in the ME network. A golem equipped with this backpack acts as a mobile AE interface, enabling remote item access.",
|
||||
"tc.research_name.CERTUS_DUPE": "Certus Quartz Duplication",
|
||||
"tc.research_text.CERTUS_DUPE": "Using alchemical duplication, you can duplicate certus quartz crystals. This provides a renewable source of certus quartz for your AE network.",
|
||||
"tc.research_text.ARCANEASSEMBLER": "The arcane version of the ME Molecular Assembler, capable of automated arcane crafting.",
|
||||
"tc.research_text.ARCANECRAFTINGTERMINAL": "Combine an ME Terminal with an Arcane Worktable for direct arcane crafting in the ME network.",
|
||||
"tc.research_text.ARCANEASSEMBLER": "An arcane counterpart to the Molecular Assembler for automated arcane crafting.<BR><BR>Bind it to a Vis Relay Interface using a memory card to replenish its internal vis buffer. It consumes vis aspects, not essentia as a substitute for vis.",
|
||||
"tc.research_text.ARCANECRAFTINGTERMINAL": "Combine an ME Terminal with an Arcane Worktable to make an ME Arcane Crafting Terminal and craft using the vis stored in its wand.<BR><BR>The ME Arcane Crafting Terminal consumes vis aspects stored in its wand for arcane crafting.<BR><BR>Ensure the wand holds enough of each required vis aspect. Essentia stored in the ME network cannot substitute for vis.",
|
||||
"tc.research_text.INFUSIONPROVIDER": "Automatically supplies essentia from the ME network to an Infusion Altar.",
|
||||
"tc.research_text.ESSENTIAPROVIDER": "Automatically extracts essentia from the ME network and supplies adjacent containers.",
|
||||
"tc.research_text.DIGISENTIA": "Digitize essentia using Diffusion and Coalescence Cores for processing by the ME network.",
|
||||
@@ -94,7 +94,7 @@
|
||||
"tc.research_name.PSEUDO_VISPOWER": "Harnessing Vis",
|
||||
"tc.research_name.PSEUDO_SCEPTRE": "Crafting Scepters",
|
||||
"tc.research_name.PSEUDO_COREGATHER": "Golem Core: Gather",
|
||||
"gui.thaumicenergistics.ArcaneCraftingTerminal": "Arcane Crafting Terminal",
|
||||
"gui.thaumicenergistics.ArcaneCraftingTerminal": "Arcane Crafting",
|
||||
"thaumicenergistics.jade.current_aspect": "Fuel: %s",
|
||||
"thaumicenergistics.jade.suction_type": "Suction: %s",
|
||||
"thaumicenergistics.jade.essentia_stored": "Essentia: %d / %d",
|
||||
@@ -132,9 +132,9 @@
|
||||
"thaumicenergistics.jade.provider.online": "Online",
|
||||
"thaumicenergistics.jade.provider.offline": "Offline",
|
||||
"thaumicenergistics.jade.provider.no_channel": "No Channel",
|
||||
"thaumicenergistics.jade.assembler.vis_source": "Essentia Source: %s",
|
||||
"thaumicenergistics.jade.assembler.vis_source": "Vis Source: %s",
|
||||
"thaumicenergistics.jade.assembler.vis_connected": "Connected",
|
||||
"thaumicenergistics.jade.assembler.vis_disconnected": "Not Connected",
|
||||
"thaumicenergistics.jade.assembler.vis_disconnected": "Not configured",
|
||||
"block.thaumicenergistics.alkusure86fumo": "Alkusure86 Fumo",
|
||||
"tc.research_text.INFUSIONMONITOR.stage.1": "To observe is to command. You place the Thaumonomicon beside the altar, an observer peering into each pulse of the infusion — the stirring of aura, the opening of rifts, the first whisper of flux. Bound to an ME network, the observer truly opens its eyes.",
|
||||
"tc.research_text.INFUSIONMONITOR.stage.2": "The Infusion Monitor takes the Thaumonomicon as its key and the network as its sight. Place the tome and connect to the network, and it shall hover above the void, truthfully telling the risk of the ritual — and on right-click, it whispers its deeper warnings.",
|
||||
@@ -171,13 +171,47 @@
|
||||
"thaumicenergistics.brain_prob.status.working": "Turning (%s s left)",
|
||||
"thaumicenergistics.brain_prob.status.unbound": "Unbound",
|
||||
"tc.research_name.WIRELESSARCANECRAFTINGTERMINAL": "Wireless Arcane Crafting Terminal",
|
||||
"tc.research_text.WIRELESSARCANECRAFTINGTERMINAL.stage.1": "The wireless form of the Arcane Crafting Terminal: open a 3x3 arcane grid anywhere, with vis paid from your held wand. A Wireless Access Point on the network is required to link.",
|
||||
"tc.research_text.WIRELESSARCANECRAFTINGTERMINAL.stage.2": "With a Vis Connector Card installed, the terminal automatically links to the network's Vis Interfaces to replenish your wand.",
|
||||
"tc.research_text.WIRELESSARCANECRAFTINGTERMINAL.stage.1": "Combine an ME Arcane Crafting Terminal, wireless receiver and dense energy cell for portable arcane crafting while connected to the network.<BR><BR>The wand and crafting ingredients remain inside the terminal when closed.",
|
||||
"tc.research_text.WIRELESSARCANECRAFTINGTERMINAL.stage.2": "With a Vis Connector Card installed and a valid network connection, the terminal replenishes its wand through a Vis Relay Interface, including while carried in an inventory or Curios slot.<BR><BR>Press I by default to open an inventory or equipped arcane terminal. A universal terminal with the arcane attachment first switches to arcane mode. The key can be changed in Controls.",
|
||||
"tc.research_name.ESSENTIAACCESSCARD": "Essentia Access Card",
|
||||
"tc.research_text.ESSENTIAACCESSCARD": "Insert into AE2 import/export/storage buses and ME interfaces to grant them essentia capability - essentia flows to and from the ME network through them. Obtained by infusion.",
|
||||
"tc.research_text.ESSENTIAACCESSCARD": "Install one card in an ME Import, Export or Storage Bus, Interface or Pattern Provider.<BR><BR>Import respects filters; export requires an explicitly configured aspect; storage respects access and partition settings.<BR><BR>Interfaces maintain configured essentia stock, also accept essentia passively, and expose only their local stock. Essentia requests and new stock are limited to 256 per slot, including oversize interface blocks and parts. Existing overflow is returned to the network when space is available; otherwise it is retained.<BR><BR>Pattern providers deliver the inputs supplied by a crafting job and retain rejected amounts for retry.<BR><BR>One card per host.",
|
||||
"tc.research_name.GACHABOX": "Brain of Probability",
|
||||
"tc.research_text.GACHABOX.stage.1": "A probability device built around a Brain in a Jar: a two-block machine that draws cognitio from the ME network, rolling dice to credit random aspect pool points to the player who inserted the brain. Accelerator cards shorten each turn.",
|
||||
"tc.research_text.GACHABOX.stage.2": "Probability Accelerator Cards have no recipe yet and can be obtained from the creative tab; all output values are adjustable constants in the source.",
|
||||
"block.thaumicenergistics.maiqilinfumo": "Maiqilin Fumo",
|
||||
"block.thaumicenergistics.beiwucnfumo": "Beiwu_CN Fumo"
|
||||
"block.thaumicenergistics.beiwucnfumo": "Beiwu_CN Fumo",
|
||||
"thaumicenergistics.jade.assembler.vis_unavailable": "Configured, currently unavailable",
|
||||
"key.thaumicenergistics.open_wireless_arcane_terminal": "Open Wireless Arcane Crafting Terminal",
|
||||
"key.categories.thaumicenergistics": "Thaumic Energistics",
|
||||
"tooltip.thaumicenergistics.upgrade_host.essentia_storage_cell": "ME Essentia Storage Cells",
|
||||
"message.thaumicenergistics.jei_processing_unavailable": "Cannot read all infusion items, essentia, and amounts; transfer was blocked.",
|
||||
"message.thaumicenergistics.jei_processing_too_large": "This recipe exceeds the current processing pattern input or output slot limit.",
|
||||
"item.thaumicenergistics.essentia_terminal": "ME Essentia Terminal",
|
||||
"tc.research_name.ESSENTIATERMINAL": "ME Essentia Terminal",
|
||||
"tc.research_name.thaumicenergistics:ARCANECRAFTINGTERMINAL": "ME Arcane Crafting Terminal",
|
||||
"tc.research_name.thaumicenergistics:ESSENTIASTORAGE": "ME Essentia Storage",
|
||||
"tc.research_name.thaumicenergistics:ESSENTIATERMINAL": "ME Essentia Terminal",
|
||||
"tc.research_text.ESSENTIATERMINAL.stage.1": "The ME Essentia Terminal allows you to view all essentia stored in your ME network, just like browsing items.<BR><BR>You can insert and extract essentia directly from the terminal.",
|
||||
"tc.research_text.ESSENTIATERMINAL.stage.2": "The ME Essentia Terminal can only view and manipulate essentia — it cannot access items or fluids.<BR><BR>It is purpose-built for essentia management.",
|
||||
"tc.research_text.thaumicenergistics:ARCANEASSEMBLER": "An arcane counterpart to the Molecular Assembler for automated arcane crafting.<BR><BR>Bind it to a Vis Relay Interface using a memory card to replenish its internal vis buffer. It consumes vis aspects, not essentia as a substitute for vis.",
|
||||
"tc.research_text.thaumicenergistics:BASEENERGISTICS": "You have discovered a curious resonance between AE2's mechanical networks and Thaumaturgy.<BR><BR>The precision of AE devices seems capable of sensing and manipulating essentia, that mysterious form of matter.<BR><BR>High version materials are created by §b§l麦淇淋§r.<BR><BR>Aspects may take the form of essentia, the liquid obtained by distilling items, or vis, the magical energy stored in wands and consumed by arcane crafting. Essentia and vis are not interchangeable.",
|
||||
"tc.research_text.thaumicenergistics:ESSENTIAACCESSCARD": "Install one card in an ME Import, Export or Storage Bus, Interface or Pattern Provider.<BR><BR>Import respects filters; export requires an explicitly configured aspect; storage respects access and partition settings.<BR><BR>Interfaces maintain configured essentia stock, also accept essentia passively, and expose only their local stock. Essentia requests and new stock are limited to 256 per slot, including oversize interface blocks and parts. Existing overflow is returned to the network when space is available; otherwise it is retained.<BR><BR>Pattern providers deliver the inputs supplied by a crafting job and retain rejected amounts for retry.<BR><BR>One card per host.",
|
||||
"tc.research_text.thaumicenergistics:ESSENTIASTORAGE": "ME Essentia Storage Cells are available in 1k, 4k, 16k, 64k, 256k, 1M, 4M, 16M, 64M, and 256M capacities.<BR><BR>1k, 4k, and 16k cells hold up to 12 essentia types; 64k holds 15, 256k holds 31, and 1M or larger holds 63. Each type uses 8 bytes of overhead and 1 essentia per remaining byte. Higher tiers use three components of the previous tier and the existing ME Essentia Storage Housing. Sneak-use an empty cell to recover its component, casing, and upgrade cards.",
|
||||
"tc.research_text.thaumicenergistics:WIRELESSARCANECRAFTINGTERMINAL.stage.1": "Combine an ME Arcane Crafting Terminal, wireless receiver and dense energy cell for portable arcane crafting while connected to the network.<BR><BR>The wand and crafting ingredients remain inside the terminal when closed.",
|
||||
"tooltip.thaumicenergistics.unknown_essentia": "Unknown essentia aspect",
|
||||
"tc.research_text.thaumicenergistics:VISINTERFACE": "The Vis Relay Interface relays vis through the ME network, supplying a remote vis source for the ME Arcane Crafting Terminal and Arcane Assembler.<BR><BR>Mount the interface on an AE cable facing a Vis Relay connected to an energized node. Copy its settings with a memory card, then use the card on the ME Arcane Crafting Terminal or Arcane Assembler to bind it.<BR><BR>It handles vis aspects, not the essentia obtained by distilling items.",
|
||||
"tc.research_name.thaumicenergistics:BASEENERGISTICS": "Basic Energistics",
|
||||
"tc.research_text.thaumicenergistics:ARCANECRAFTINGTERMINAL.stage.1": "Combine an ME Terminal with an Arcane Worktable to make an ME Arcane Crafting Terminal and craft using the vis stored in its wand.",
|
||||
"tc.research_text.thaumicenergistics:ARCANECRAFTINGTERMINAL.stage.2": "The ME Arcane Crafting Terminal consumes vis aspects stored in its wand for arcane crafting.<BR><BR>Ensure the wand holds enough of each required vis aspect. Essentia stored in the ME network cannot substitute for vis.",
|
||||
"tc.research_name.thaumicenergistics:ARCANEASSEMBLER": "Arcane Assembler",
|
||||
"tc.research_text.thaumicenergistics:ARCANEASSEMBLER.stage.1": "The Arcane Assembler is the arcane version of the ME Molecular Assembler. It can automatically execute arcane crafting recipes, perfectly merging magic with automation.",
|
||||
"tc.research_text.thaumicenergistics:ARCANEASSEMBLER.stage.2": "Connected to the ME network, the Arcane Assembler processes arcane crafting tasks automatically.<BR><BR>Bind it to a Vis Relay Interface using a memory card to replenish its internal vis buffer. Crafting consumes the required vis aspects; stored essentia cannot substitute for vis.",
|
||||
"tc.research_name.thaumicenergistics:VISINTERFACE": "Vis Relay Interface",
|
||||
"tc.research_text.thaumicenergistics:ARCANECRAFTINGTERMINAL": "Combine an ME Terminal with an Arcane Worktable to make an ME Arcane Crafting Terminal and craft using the vis stored in its wand.<BR><BR>The ME Arcane Crafting Terminal consumes vis aspects stored in its wand for arcane crafting.<BR><BR>Ensure the wand holds enough of each required vis aspect. Essentia stored in the ME network cannot substitute for vis.",
|
||||
"tc.research_name.thaumicenergistics:PSEUDO_DISTILESSENTIA": "Essentia Distillation",
|
||||
"tc.research_name.thaumicenergistics:WIRELESSARCANECRAFTINGTERMINAL": "Wireless Arcane Crafting Terminal",
|
||||
"tc.research_text.thaumicenergistics:WIRELESSARCANECRAFTINGTERMINAL.stage.2": "With a Vis Connector Card installed and a valid network connection, the terminal replenishes its wand through a Vis Relay Interface, including while carried in an inventory or Curios slot.<BR><BR>Press I by default to open an inventory or equipped arcane terminal. A universal terminal with the arcane attachment first switches to arcane mode. The key can be changed in Controls.",
|
||||
"tc.research_name.thaumicenergistics:ESSENTIAACCESSCARD": "Essentia Access Card",
|
||||
"tc.research_text.thaumicenergistics:ESSENTIATERMINAL.stage.1": "The ME Essentia Terminal allows you to view all essentia stored in your ME network, just like browsing items.<BR><BR>You can insert and extract essentia directly from the terminal.",
|
||||
"tc.research_text.thaumicenergistics:ESSENTIATERMINAL.stage.2": "The ME Essentia Terminal can only view and manipulate essentia — it cannot access items or fluids.<BR><BR>It is purpose-built for essentia management."
|
||||
}
|
||||
|
||||
@@ -29,36 +29,36 @@
|
||||
"item.thaumicenergistics.storage_component_4k": "4k ME 源质存储组件",
|
||||
"item.thaumicenergistics.storage_component_16k": "16k ME 源质存储组件",
|
||||
"item.thaumicenergistics.storage_component_64k": "64k ME 源质存储组件",
|
||||
"item.thaumicenergistics.storage_casing": "ME源质存储外壳",
|
||||
"item.thaumicenergistics.storage_casing": "ME 源质存储外壳",
|
||||
"item.thaumicenergistics.coalescence_core": "聚集核心",
|
||||
"item.thaumicenergistics.diffusion_core": "扩散核心",
|
||||
"item.thaumicenergistics.knowledge_core": "知识核心",
|
||||
"item.thaumicenergistics.focus_aewrench": "法杖核心:AE扳手",
|
||||
"item.thaumicenergistics.golem_wifi_backpack": "无线傀儡背包",
|
||||
"item.thaumicenergistics.wireless_arcane_crafting_terminal": "无线奥术合成终端",
|
||||
"item.thaumicenergistics.vis_connector_card": "vis连接卡",
|
||||
"tooltip.thaumicenergistics.vis_connector_card.desc": "安装于无线奥术合成终端的升级槽,自动连接所在网络的要素中继接口为法杖充能",
|
||||
"item.thaumicenergistics.arcane_crafting_terminal": "奥术合成终端",
|
||||
"gui.thaumicenergistics.ArcaneCraftingTerminal": "奥术合成终端",
|
||||
"item.thaumicenergistics.vis_connector_card": "魔力连接卡",
|
||||
"tooltip.thaumicenergistics.vis_connector_card.desc": "安装于无线奥术合成终端,在有效网络连接下通过魔力中继接口为终端内的法杖补充魔力。",
|
||||
"item.thaumicenergistics.arcane_crafting_terminal": "ME 奥术合成终端",
|
||||
"gui.thaumicenergistics.ArcaneCraftingTerminal": "奥术合成",
|
||||
"item.thaumicenergistics.essentia_level_emitter": "源质发信器",
|
||||
"item.thaumicenergistics.vis_interface": "要素中继接口",
|
||||
"item.thaumicenergistics.vis_interface": "魔力中继接口",
|
||||
"tooltip.thaumicenergistics.arcane_crafting_terminal.desc": "在ME网络上进行奥术合成",
|
||||
"tooltip.thaumicenergistics.essentia_level_emitter.desc": "根据网络中源质数量输出红石信号",
|
||||
"tooltip.thaumicenergistics.vis_interface.desc": "将TC要素网络与ME网络桥接,可抽取/供给要素",
|
||||
"tooltip.thaumicenergistics.vis_interface.desc": "通过 ME 网络中继魔力(Vis),为 ME 奥术合成终端和奥术装配器提供魔力源",
|
||||
"ae2.keytype.thaumicenergistics.essentia": "源质",
|
||||
"tc.research_category.THAUMICENERGISTICS": "神秘能源",
|
||||
"tc.research_name.BASEENERGISTICS": "基础能源学",
|
||||
"tc.research_text.BASEENERGISTICS": "你发现AE2的机械网络与神秘学之间存在奇妙的共鸣。精密的AE设备似乎能够感知并操控源质这种神秘的物质形态。高版本材质由§b§l麦淇淋§r制作。",
|
||||
"tc.research_text.BASEENERGISTICS": "你发现AE2的机械网络与神秘学之间存在奇妙的共鸣。<BR><BR>精密的AE设备似乎能够感知并操控源质这种神秘的物质形态。<BR><BR>高版本材质由§b§l麦淇淋§r制作。<BR><BR>要素是统称:物品蒸馏后得到的液态形式称为源质要素;法杖储存并在奥术合成中消耗的形式称为魔力要素。源质(Essentia)与魔力(Vis)不能相互替代。",
|
||||
"tc.research_name.FOCUS_AEWRENCH": "法杖核心:AE扳手",
|
||||
"tc.research_text.FOCUS_AEWRENCH": "将AE扳手的功能凝聚到法杖核心中,让你无需切换工具即可操控AE网络设备。",
|
||||
"tc.research_name.DIGISENTIA": "数字化源质",
|
||||
"tc.research_text.DIGISENTIA.stage.1": "源质虽然是一种神秘物质,但你发现它可以用AE的数字化技术进行处理。关键在于制造两种核心:扩散核心用于将源质分解为数字信号,凝聚核心用于将数字信号重组为源质。",
|
||||
"tc.research_text.DIGISENTIA.stage.2": "你成功制作了扩散核心和凝聚核心。它们将是你构建整个神秘能源系统的基石。",
|
||||
"tc.research_name.ESSENTIASTORAGE": "源质存储",
|
||||
"tc.research_text.ESSENTIASTORAGE": "利用凝聚核心和天域之华制造ME源质存储元件,有1k、4k、16k、64k、256k、1m、4m、16m、64m、256m十种容量。",
|
||||
"tc.research_name.ARCANECRAFTINGTERMINAL": "奥术合成终端",
|
||||
"tc.research_text.ARCANECRAFTINGTERMINAL.stage.1": "将ME终端与奥术工作台结合,你可以在ME网络中直接进行奥术合成。",
|
||||
"tc.research_text.ARCANECRAFTINGTERMINAL.stage.2": "奥术合成终端需要消耗法杖或法杖核心中的魔力。确保你的法杖有足够的vis来完成合成。",
|
||||
"tc.research_name.ESSENTIASTORAGE": "ME 源质存储",
|
||||
"tc.research_text.ESSENTIASTORAGE": "ME 源质存储元件提供1k、4k、16k、64k、256k、1M、4M、16M、64M、256M十种容量。<BR><BR>1k、4k、16k元件最多存储12种源质,64k为15种,256k为31种,1M及以上为63种。每种占用8字节,剩余每字节存储1点源质;新增档位通过三个前一档组件逐级合成,并沿用 ME 源质存储外壳。只有空元件可以潜行右键拆解,拆解会返还组件、外壳和升级卡。",
|
||||
"tc.research_name.ARCANECRAFTINGTERMINAL": "ME 奥术合成终端",
|
||||
"tc.research_text.ARCANECRAFTINGTERMINAL.stage.1": "将 ME 终端与奥术工作台结合,即可制作 ME 奥术合成终端,在 ME 网络中使用法杖储存的魔力进行奥术合成。",
|
||||
"tc.research_text.ARCANECRAFTINGTERMINAL.stage.2": "ME 奥术合成终端消耗法杖中储存的魔力要素进行奥术合成。<BR><BR>请确保法杖中各类所需魔力充足;魔力与 ME 网络中存储的源质不同,不能相互替代。",
|
||||
"tc.research_name.ESSENTIAPROVIDER": "源质供应器",
|
||||
"tc.research_text.ESSENTIAPROVIDER.stage.1": "源质供应器能够自动从ME网络中抽取源质,供应给相邻的源质容器。这对于需要大量源质的设备(如蒸馏器)非常有用。",
|
||||
"tc.research_text.ESSENTIAPROVIDER.stage.2": "将源质供应器贴在源质容器旁边,它就会自动补充容器中的源质,直到达到设定值。",
|
||||
@@ -67,25 +67,25 @@
|
||||
"tc.research_text.INFUSIONPROVIDER.stage.2": "将注魔供应器放置在注魔祭坛下方,它会在注魔过程中自动提供所需的源质。你不再需要手动摆放源质罐子。",
|
||||
"tc.research_name.ARCANEASSEMBLER": "奥术装配器",
|
||||
"tc.research_text.ARCANEASSEMBLER.stage.1": "奥术装配器是ME分子装配室的奥术版本。它能够自动执行奥术合成配方,将魔法与自动化完美结合。",
|
||||
"tc.research_text.ARCANEASSEMBLER.stage.2": "连接到ME网络后,奥术装配器可以自动处理奥术合成任务。它需要消耗法杖中的vis来驱动合成过程。",
|
||||
"tc.research_text.ARCANEASSEMBLER.stage.2": "连接到 ME 网络后,奥术装配器可以自动处理奥术合成任务。<BR><BR>使用内存卡将其绑定到魔力中继接口后,装配器会补充内部魔力缓存,并在合成时消耗所需的魔力要素;ME 网络中的源质不能替代魔力。",
|
||||
"tc.research_name.ESSENTIAVIBRATIONCHAMBER": "源质谐振仓",
|
||||
"tc.research_text.ESSENTIAVIBRATIONCHAMBER": "源质谐振仓可将任意源质转化为 AE 能量。各类源质转换产出有所差异,能源类源质能够生成尤为可观的能量,以此提供将富余源质转化为可用能源的途径。",
|
||||
"tc.research_name.KNOWLEDGEINSCRIBER": "知识记录仪",
|
||||
"tc.research_text.KNOWLEDGEINSCRIBER": "知识记录仪能够将神秘学研究笔记转化为AE网络可识别的知识核心。它桥接了神秘学知识与数字存储之间的鸿沟。",
|
||||
"tc.research_name.DISTILLATIONENCODER": "蒸馏编码台",
|
||||
"tc.research_text.DISTILLATIONENCODER": "蒸馏编码台可以自动将物品中的源质蒸馏出来并导入ME网络。它结合了源质蒸馏器和AE网络的优势。",
|
||||
"tc.research_name.VISINTERFACE": "要素中继接口",
|
||||
"tc.research_text.VISINTERFACE": "要素中继接口允许你通过ME网络传输vis(魔力),实现远距离的vis供应。它使用P2P通道技术,将vis从一个节点传输到另一个节点。",
|
||||
"tc.research_name.VISINTERFACE": "魔力中继接口",
|
||||
"tc.research_text.VISINTERFACE": "魔力中继接口允许你通过 ME 网络中继魔力(Vis),为 ME 奥术合成终端和奥术装配器提供远程魔力源。<BR><BR>将它安装在 AE 线缆上,使接口正对已连接充能节点的魔力中继器。使用内存卡复制魔力中继接口的配置,右键 ME 奥术合成终端或奥术装配器完成绑定。<BR><BR>此接口处理魔力要素,不传输物品蒸馏得到的源质要素。",
|
||||
"tc.research_name.GOLEMWIFI": "无线傀儡背包",
|
||||
"tc.research_text.GOLEMWIFI": "无线傀儡背包让傀儡能够直接访问ME网络中的物品。装备此背包的傀儡可以作为移动的AE接口,实现远程物品存取。",
|
||||
"tc.research_name.CERTUS_DUPE": "赛特斯石英复制",
|
||||
"tc.research_text.CERTUS_DUPE": "利用炼金复制技术,你可以复制赛特斯石英水晶。这为你的AE网络提供了可再生的赛特斯石英来源。",
|
||||
"tc.research_text.ARCANEASSEMBLER": "ME分子装配室的神秘版本,能够自动执行奥术合成。",
|
||||
"tc.research_text.ARCANECRAFTINGTERMINAL": "将ME终端与奥术工作台结合,在ME网络中直接进行奥术合成。",
|
||||
"tc.research_text.ARCANEASSEMBLER": "ME 分子装配室的奥术版本,能够自动执行奥术合成。<BR><BR>通过内存卡绑定魔力中继接口,为装配器内部缓存补充魔力;合成消耗魔力要素,不消耗源质要素来替代魔力。",
|
||||
"tc.research_text.ARCANECRAFTINGTERMINAL": "将 ME 终端与奥术工作台结合,即可制作 ME 奥术合成终端,在 ME 网络中使用法杖储存的魔力进行奥术合成。<BR><BR>ME 奥术合成终端消耗法杖中储存的魔力要素进行奥术合成。<BR><BR>请确保法杖中各类所需魔力充足;魔力与 ME 网络中存储的源质不同,不能相互替代。",
|
||||
"tc.research_text.INFUSIONPROVIDER": "自动从ME网络向注魔祭坛提供源质。",
|
||||
"tc.research_text.ESSENTIAPROVIDER": "自动从ME网络提取源质供给相邻容器。",
|
||||
"tc.research_text.DIGISENTIA": "利用扩散核心和会聚核心将源质数字化,交由ME网络处理。",
|
||||
"tc.research_name.PSEUDO_DISTILESSENTIA": "要素蒸馏",
|
||||
"tc.research_name.PSEUDO_DISTILESSENTIA": "源质蒸馏",
|
||||
"tc.research_name.PSEUDO_TUBEFILTER": "高级源质管道",
|
||||
"tc.research_name.PSEUDO_ALCHEMICALDUPLICATION": "炼金复制",
|
||||
"tc.research_name.PSEUDO_MIRROR": "魔镜",
|
||||
@@ -167,10 +167,10 @@
|
||||
"thaumicenergistics.brain_prob.status.working": "运转中(剩余 %s 秒)",
|
||||
"thaumicenergistics.brain_prob.status.unbound": "无归属",
|
||||
"tc.research_name.WIRELESSARCANECRAFTINGTERMINAL": "无线奥术合成终端",
|
||||
"tc.research_text.WIRELESSARCANECRAFTINGTERMINAL.stage.1": "便携的奥术铸炼台,随身携行,于任何地方皆可施行注魔合成之术。",
|
||||
"tc.research_text.WIRELESSARCANECRAFTINGTERMINAL.stage.2": "插入 vis 连接卡后,终端会自动连接所在网络的要素中继接口为法杖补 vis。",
|
||||
"tc.research_text.WIRELESSARCANECRAFTINGTERMINAL.stage.1": "将 ME 奥术合成终端与无线接收器和致密能量元件结合,即可在有效网络连接下随身进行奥术合成。<BR><BR>法杖与合成材料保存在终端内,关闭界面后仍会保留。",
|
||||
"tc.research_text.WIRELESSARCANECRAFTINGTERMINAL.stage.2": "插入魔力连接卡后,终端在有效网络连接下通过魔力中继接口为法杖补充魔力,背包和饰品栏中均可后台充能。<BR><BR>按默认 I 键可打开背包或饰品栏中的无线奥术合成终端;合并进无线通用终端时会先切换到奥术模式。快捷键可在控制设置中修改。",
|
||||
"tc.research_name.ESSENTIAACCESSCARD": "源质访问卡",
|
||||
"tc.research_text.ESSENTIAACCESSCARD": "奥术学者游历旧纪元遗迹,于破碎的源质导管残件中研究,发掘出可连通 AE 网络与魔导体系的秘钥,制成此源质访问卡,令器械得以流转源质。插入 AE2 输入/输出/存储总线与 ME 接口后,使其获得源质能力——源质由此进出 ME 网络。",
|
||||
"tc.research_text.ESSENTIAACCESSCARD": "将源质访问卡插入 ME 输入、输出、存储总线、接口或样板供应器,即可使其访问源质。<BR><BR>输入总线遵循过滤配置;输出总线需要明确配置要素;存储总线遵循访问模式和分区设置。<BR><BR>接口按配置维持本地源质缓存,也可被动接收源质,并仅向外提供自身缓存槽内的源质。源质配置量和新缓存每格最多256点,超大接口的方块与部件同样适用。旧超额缓存会尝试退回网络,网络无法接收时保留。<BR><BR>样板供应器只输出合成任务已经交付的源质输入,未接收部分会保留并重试。<BR><BR>每台设备最多安装一张。",
|
||||
"tc.research_name.GACHABOX": "概率之脑",
|
||||
"tc.research_text.GACHABOX.stage.1": "以罐中之脑为心智核心的概率装置:自AE网络汲取认知源质,供能驱动术式,掷骰把随机要素点数记入归属玩家的要素池;概率加速卡可缩短单轮时限。",
|
||||
"tc.research_text.GACHABOX.stage.2": "概率加速卡暂无合成途径,可经创造栏获取。",
|
||||
@@ -190,9 +190,9 @@
|
||||
"thaumicenergistics.aeparts.essentia.ExportBus.name": "Essentia Export Bus",
|
||||
"thaumicenergistics.aeparts.essentia.levelemitter.name": "Essentia Level Emitter",
|
||||
"thaumicenergistics.aeparts.essentia.StorageBus.name": "Essentia Storage Bus",
|
||||
"thaumicenergistics.aeparts.essentia.terminal.name": "Essentia Terminal",
|
||||
"thaumicenergistics.aeparts.arcane.crafting.terminal.name": "Arcane Crafting Terminal",
|
||||
"thaumicenergistics.aeparts.vis.interface.name": "Vis Relay Interface",
|
||||
"thaumicenergistics.aeparts.essentia.terminal.name": "ME 源质终端",
|
||||
"thaumicenergistics.aeparts.arcane.crafting.terminal.name": "ME 奥术合成终端",
|
||||
"thaumicenergistics.aeparts.vis.interface.name": "魔力中继接口",
|
||||
"thaumicenergistics.aeparts.essentia.storage.monitor.name": "Essentia Storage Monitor",
|
||||
"thaumicenergistics.aeparts.essentia.conversion.monitor.name": "Essentia Conversion Monitor",
|
||||
"thaumicenergistics.item.essentia.cell.1k.name": "1k ME Essentia Storage Cell",
|
||||
@@ -200,11 +200,11 @@
|
||||
"thaumicenergistics.item.essentia.cell.16k.name": "16k ME Essentia Storage Cell",
|
||||
"thaumicenergistics.item.essentia.cell.64k.name": "64k ME Essentia Storage Cell",
|
||||
"thaumicenergistics.item.essentia.cell.creative.name": "Creative Essentia Storage Cell",
|
||||
"thaumicenergistics.item.storage.casing.name": "ME Essentia Storage Housing",
|
||||
"thaumicenergistics.item.storage.component.1k.name": "1k ME Essentia Storage Component",
|
||||
"thaumicenergistics.item.storage.component.4k.name": "4k ME Essentia Storage Component",
|
||||
"thaumicenergistics.item.storage.component.16k.name": "16k ME Essentia Storage Component",
|
||||
"thaumicenergistics.item.storage.component.64k.name": "64k ME Essentia Storage Component",
|
||||
"thaumicenergistics.item.storage.casing.name": "ME 源质存储外壳",
|
||||
"thaumicenergistics.item.storage.component.1k.name": "1k ME 源质存储组件",
|
||||
"thaumicenergistics.item.storage.component.4k.name": "4k ME 源质存储组件",
|
||||
"thaumicenergistics.item.storage.component.16k.name": "16k ME 源质存储组件",
|
||||
"thaumicenergistics.item.storage.component.64k.name": "64k ME 源质存储组件",
|
||||
"thaumicenergistics.item.material.diffusion.core.name": "Diffusion Core",
|
||||
"thaumicenergistics.item.material.coalescence.core.name": "Coalescence Core",
|
||||
"thaumicenergistics.item.material.iron.gear.name": "Iron Gear",
|
||||
@@ -245,20 +245,20 @@
|
||||
"tc.research_text.thaumicenergistics.TECORES": "Digital Essentia.",
|
||||
"thaumicenergistics.research_page.TECORES.1": "Having discovered how to distill essentia, it occurs to you that you may be able store it digitally.<BR>Examining the §lFormation Core§r and §lAnnihilation Core§r you realize that with some minor modifications they could serve as a means to convert essentia to and from a digital format.<BR>However, due to the corrosive nature of certain types of essentia, a layer of quicksilver around the circuitry is required to prevent decay.",
|
||||
"thaumicenergistics.research_page.TECORES.2": "§lDiffusion Core§r<BR>The relatively high volatility and immense energy in distilled essentia requires that it first be diffused then digitized. A buffer chamber of some kind will likely be required to hold the diffused essentia.<LINE>§lCoalescence Core§r<BR>Compresses and binds re-materialized essentia diffusion back into its raw form. A buffer chamber will also likely be needed.",
|
||||
"tc.research_name.thaumicenergistics.TESTORAGE": "Digi-sentia Storage",
|
||||
"tc.research_name.thaumicenergistics.TESTORAGE": "ME 源质存储",
|
||||
"tc.research_text.thaumicenergistics.TESTORAGE": "Can this thing really store essentia?",
|
||||
"thaumicenergistics.research_page.TESTORAGE.1": "Upon inspecting existing digital storage mediums you have concluded that you can in-fact store digitized essentia.<BR>By infusing §lCertus Quartz§r with concentrated essence, it will gain the ability to store the essentia, which remains remarkably active even in digital form.<BR>You conclude that the higher the concentration of essence, the more it should be able to store, although there are inherit limits as to how much the quartz itself can store.",
|
||||
"thaumicenergistics.research_page.TESTORAGE.2": "§lComponents§r<BR>Stores the essentia in its digital format. Non-operational unless a cell housing is used to interface with a digital network.<BR>§lCell Housing§r<BR>Provides an interface and protects a storage component.<BR>§lEssentia Cell Workbench§r<BR>The cell workbench allows you to partition a cell, specifying what essentia types are allowed to be stored.",
|
||||
"thaumicenergistics.research_page.TESTORAGE.2": "§lME 源质存储组件§r<BR>以数字形式保存源质,需要装入 ME 源质存储外壳才能接入网络。<BR>§lME 源质存储外壳§r<BR>保护存储组件并提供网络接口。<BR>§l源质元件工作台§r<BR>用于配置 ME 源质存储元件的分区,指定允许存储的源质类型。",
|
||||
"tc.research_name.thaumicenergistics.TEIO": "Digi-sentia Transportation",
|
||||
"tc.research_text.thaumicenergistics.TEIO": "Moving Essentia Digitally!",
|
||||
"thaumicenergistics.research_page.TEIO.1": "Now that you know how to digitize essentia, it's time to put that knowledge to work.<LINE>§lImport & Export§r<BR>By binding the appropriate core to an essentia tube and chamber, you are able to move essentia in and out of the storage network. The use of a filter tube allows you to specify what aspects are allowed to be transferred.",
|
||||
"thaumicenergistics.research_page.TEIO.2": "§lStorage Bus§r<BR>Combining the import and export buses into a single device allows you to use external essentia containers as network storage.<BR>As well as storage, the bus can also be used to remove excess essentia from the network by using a void jar or ME Condenser. If using a void jar, you must select the allow void button in the GUI. Setting a low priority on the storage bus is recommended here.",
|
||||
"tc.research_name.thaumicenergistics.TEARCANETERM": "Arcane Crafting Terminal",
|
||||
"tc.research_name.thaumicenergistics.TEARCANETERM": "ME 奥术合成终端",
|
||||
"tc.research_text.thaumicenergistics.TEARCANETERM": "Crafting with magic §oand technology.§r",
|
||||
"thaumicenergistics.research_page.TEARCANETERM.1": "You have discovered that using primal aspects to bind a §lTerminal§r to an §lArcane Worktable§r allows you to imbue the terminal with the worktable's ability to craft arcane items.<BR>The terminal retains its ability to access items on the ME network allowing faster and more plentiful crafting, as well as store and swap a set of armor for when you need a quick vis discount.",
|
||||
"tc.research_name.thaumicenergistics.TEESSTERM": "Essentia Monitoring",
|
||||
"tc.research_name.thaumicenergistics.TEESSTERM": "ME 源质终端",
|
||||
"tc.research_text.thaumicenergistics.TEESSTERM": "Knowing how much you have.",
|
||||
"thaumicenergistics.research_page.TEESSTERM.1": "The §lEssentia Terminal§r provides a convenient way to insert or extract essentia stored within the network.<BR>When placing a jar or phial it will be emptied if it contains any essentia, or filled with the selected aspect. Labels can also be set or cleared depending on the selected aspect.",
|
||||
"thaumicenergistics.research_page.TEESSTERM.1": "§lME 源质终端§r提供查看、存入和取出网络源质的入口。可使用罐子或安瓿与网络交换源质,并按选中的源质设置标签。",
|
||||
"thaumicenergistics.research_page.TEESSTERM.2": "For the Thaumaturge with little time on their hands and many aspects to work with, the displayed aspects can be clicked with an item to fill, drain, or set the item in question.<BR>When holding multiple of an item, items will be returned to your inventory.",
|
||||
"thaumicenergistics.research_page.TEESSTERM.3": "The §lEssentia Level Emitter§r provides a redstone signal when the level of essentia in the network falls below or rises above a set amount.",
|
||||
"thaumicenergistics.research_page.TEESSTERM.4": "The §lEssentia Storage Monitor§r & §lEssentia Conversion Monitor§r allow you to see how much of an aspect is in the network at a glance. The conversion monitor also allows you to insert and extract essentia from the network.<BR>Right-clicking with a wrench will lock/unlock the monitor.<BR>Right-clicking an unlocked monitor with a label or filled jar or phial will set the displayed aspect, and right-clicking with an empty hand will clear aspect.<BR>Right-clicking a locked conversion monitor will fill jar or phial and Shift-Right-Clicking will empty them.<BR>Shift-Double-Right-Click will empty all essentia from your inventory.",
|
||||
@@ -268,11 +268,11 @@
|
||||
"tc.research_name.thaumicenergistics.TEINFPROV": "Infusion Provider",
|
||||
"tc.research_text.thaumicenergistics.TEINFPROV": "Infusion made easier.",
|
||||
"thaumicenergistics.research_page.TEINFPROV.1": "By researching the process of essentia infusion, you have discovered a method for instantaneous conversion between digi-sentia and essentia that can be used for infusion.<BR>By placing the §lInfusion Provider§r near a thaumic device, the device can draw essentia directly from the network as if it were a warded jar.<BR>This could prove to be very useful for the infusion alter.",
|
||||
"tc.research_name.thaumicenergistics.TEVISINT": "Vis Relay Interface",
|
||||
"tc.research_name.thaumicenergistics.TEVISINT": "魔力中继接口",
|
||||
"tc.research_text.thaumicenergistics.TEVISINT": "Using Vis Digitally",
|
||||
"thaumicenergistics.research_page.TEVISINT.1": "Having discovered the vis power network, you now pursue the means of linking your digital system to this network.<BR>After observing how vis flows through the network of §lvis relays§r, you believe you can construct a digital device to harness the vis. By utilizing the peer-to-peer capabilities of the digital network, vis can be imported, tunnelled, and used by your digital devices.<BR>Storing it however, will require more research.",
|
||||
"thaumicenergistics.research_page.TEVISINT.2": "To use the §lVis Relay Interface§r, attach it to the digital network and place a vis relay on it. The base of the relay must be against the interface.<BR>In order for a device to receive vis it must be linked with the interface. Linking other devices to the interface will require the use of a §lMemory Card§r. Each device can only be linked with one interface.<BR>Shift right-click on the interface with a memory card, then right-click on a device to create the link.<BR>Right clicking the other device with a blank memory card will remove the link.",
|
||||
"thaumicenergistics.research_page.TEVISINT.3": "§lLinks§r<LINE>§lVis Relay Interface§r.Constructs a P2P vis tunnel.<BR>§lArcane Crafting Terminal§r. Charges the wand in the A.C.T.<BR>§lArcane Assembler§r. Fills vis storage, used for crafting.",
|
||||
"thaumicenergistics.research_page.TEVISINT.3": "§l连接§r<LINE>§l魔力中继接口§r:通过 P2P 隧道中继魔力。<BR>§lME 奥术合成终端§r:为终端法杖补充魔力。<BR>§l奥术装配器§r:补充内部魔力缓存,供奥术合成消耗。",
|
||||
"tc.research_name.thaumicenergistics.TEIRONGEARBOX": "Iron Gear Box",
|
||||
"tc.research_text.thaumicenergistics.TEIRONGEARBOX": "One Turn At A Time",
|
||||
"thaumicenergistics.research_page.TEIRONGEARBOX.1": "Your experiences with the §lWooden Crank§r has left you to wonder, could this be improved?<BR>You have devised a way of setting up a series of gears in a box so that when any side is turned, all other sides will also turn. However you will need a stronger material than wood, to that end you have created the §lIron Gear§r by bonding iron to a wooden gear.<BR>The §lIron Gear Box§r will allow you to crank multiple devices simultaneously. You will need to orient the devices so that their input faces the gearbox.",
|
||||
@@ -299,7 +299,7 @@
|
||||
"tc.research_text.thaumicenergistics.TEESSVIBCMBR": "Essentia Powered Network",
|
||||
"thaumicenergistics.research_page.TEESSVIBCMBR.1": "Getting power for your network until this point has relied on burning items in the §lVibration Chamber§r. That is about to change!<BR>You have constructed a simple device that unleashes the energies of essentia to fuel the vibration chamber. By using distilled §lIgnis or Potentia§r essentia, you can generate more power than simply burning the item.<BR>Be aware that it has the same regulation behavior as the original chamber: It minimizes wasted power by slowing the reaction if the network is fully powered, but so long as there is essentia to use, it will use it.",
|
||||
"thaumicenergistics.research_page.TEESSVIBCMBR.2": "§l§nOperation§r<BR>By breaking down an item, such as coal, into Ignis or Potentia much more power can be generated from the essentia. Your early estimates show an increase of roughly 350% for processing coal essentia v.s. burning the coal directly. Potentia essentia seems to be much more potent than Ignis.<BR>The §lE.V.C.§r will rotate which essentia it is requesting on a regular interval when empty. When essentia is stored, it will only request more of the stored essentia.",
|
||||
"thaumicenergistics.research_page.TEESSVIBCMBR.3": "Opening the GUI shows how much and what type of essentia is stored. What is currently being processed, and the time remaining. As well as the current power production level.<LINE>§l§nNotes§r<BR>The §lE.V.C.§r can be placed in an §lEssentia Terminal§r to quickly fill or drain the stored essentia.<BR>The §lEssentia Export Bus§r, §lEssentia Provider§r, and essentia tubes can be used to keep the §lE.V.C.§r full.",
|
||||
"thaumicenergistics.research_page.TEESSVIBCMBR.3": "打开界面可查看缓存的源质类型、数量、当前处理进度与发电速率。<LINE>§l§n说明§r<BR>可在 §lME 源质终端§r 中与振动仓交换源质。",
|
||||
"tc.research_name.thaumicenergistics.TEDISTILLATIONPATTERNENCODER": "Distillation Pattern Encoder",
|
||||
"tc.research_text.thaumicenergistics.TEDISTILLATIONPATTERNENCODER": "Ordering More",
|
||||
"thaumicenergistics.research_page.TEDISTILLATIONPATTERNENCODER.1": "Expanding on the principals of AE's autocrafing system, you have created a way to encode the essentia distillation process onto an §lEncoded Pattern§r.<BR>Placing an item into the Thaumometer slot will reveal what you know of the items composition. After selecting the preferred aspect, it can then be encoded onto the encoded pattern or an available blank pattern.",
|
||||
@@ -315,9 +315,9 @@
|
||||
"thaumicenergistics.research_page.TEGOLEMWIFIBACKPACK.UPGRADEORDER": "§nOrder Upgrade Unlocked§r<IMG>thaumcraft:textures/items/golem_upgrade_order.png:0:0:255:255:0.0625</IMG>Golems equipped with the order upgrade will better manage each backpack charge, increasing the amount of work they can perform per charge.",
|
||||
"thaumicenergistics.research_page.TEGOLEMWIFIBACKPACK.ADVANCEDGOLEM": "§nAdvanced Golems§r<IMG>thaumcraft:textures/items/brain.png:0:0:255:255:0.0625</IMG>Advanced golems are able to perform twice as much work per charge.",
|
||||
"thaumicenergistics.jade.suction_type": "Suction: %s",
|
||||
"thaumicenergistics.jade.assembler.vis_source": "Essentia Source: %s",
|
||||
"thaumicenergistics.jade.assembler.vis_source": "魔力源:%s",
|
||||
"thaumicenergistics.jade.assembler.vis_connected": "Connected",
|
||||
"thaumicenergistics.jade.assembler.vis_disconnected": "Not Connected",
|
||||
"thaumicenergistics.jade.assembler.vis_disconnected": "未设置",
|
||||
"tile.thaumicenergistics.infusion_provider.name": "Essentia Infusion Provider",
|
||||
"item.thaumicenergistics.diffusion_core.name": "Diffusion Core",
|
||||
"item.thaumicenergistics.coalescence_core.name": "Coalescence Core",
|
||||
@@ -325,16 +325,16 @@
|
||||
"item.thaumicenergistics.essentia_component_4k.name": "4k ME Essentia Storage Component",
|
||||
"item.thaumicenergistics.essentia_component_16k.name": "16k ME Essentia Storage Component",
|
||||
"item.thaumicenergistics.essentia_component_64k.name": "64k ME Essentia Storage Component",
|
||||
"item.thaumicenergistics.essentia_cell_1k.name": "1k ME Essentia Storage Cell",
|
||||
"item.thaumicenergistics.essentia_cell_4k.name": "4k ME Essentia Storage Cell",
|
||||
"item.thaumicenergistics.essentia_cell_16k.name": "16k ME Essentia Storage Cell",
|
||||
"item.thaumicenergistics.essentia_cell_64k.name": "64k ME Essentia Storage Cell",
|
||||
"item.thaumicenergistics.essentia_cell_creative.name": "Creative ME Essentia Storage Cell",
|
||||
"item.thaumicenergistics.essentia_cell_1k.name": "1k ME 源质存储元件",
|
||||
"item.thaumicenergistics.essentia_cell_4k.name": "4k ME 源质存储元件",
|
||||
"item.thaumicenergistics.essentia_cell_16k.name": "16k ME 源质存储元件",
|
||||
"item.thaumicenergistics.essentia_cell_64k.name": "64k ME 源质存储元件",
|
||||
"item.thaumicenergistics.essentia_cell_creative.name": "创造 ME 源质存储元件",
|
||||
"item.thaumicenergistics.essentia_import.name": "ME Essentia Import Bus",
|
||||
"item.thaumicenergistics.essentia_export.name": "ME Essentia Export Bus",
|
||||
"item.thaumicenergistics.essentia_storage.name": "ME Essentia Storage Bus",
|
||||
"item.thaumicenergistics.essentia_terminal.name": "ME Essentia Terminal",
|
||||
"item.thaumicenergistics.arcane_terminal.name": "Arcane Crafting Terminal",
|
||||
"item.thaumicenergistics.essentia_terminal.name": "ME 源质终端",
|
||||
"item.thaumicenergistics.arcane_terminal.name": "ME 奥术合成终端",
|
||||
"item.thaumicenergistics.upgrade_arcane.name": "Arcane Charging Upgrade",
|
||||
"tooltip.thaumicenergistics.wip": "WORK IN PROGRESS, DO NOT USE",
|
||||
"gui.thaumicenergistics.arcane_terminal": "Arcane Terminal",
|
||||
@@ -363,16 +363,50 @@
|
||||
"research.essentiabuses.title": "Digisentia Transportation",
|
||||
"research.essentiabuses.stage.1": "Now that I can digitize essentia, it's time to put that technology to work",
|
||||
"research.essentiabuses.stage.2": "I can now make Essentia Buses",
|
||||
"research.essentiaterminal.title": "Essentia Monitoring",
|
||||
"research.essentiaterminal.title": "ME 源质终端",
|
||||
"research.essentiaterminal.stage.1": "Now that I can digitize essentia, it's time to put that technology to work",
|
||||
"research.essentiaterminal.stage.2": "I can now make Essentia Terminals",
|
||||
"research.essentiaterminal.stage.2": "现在我可以制作 ME 源质终端,在 ME 网络中查看和管理源质。",
|
||||
"research.infusionprovider.title": "Infusion Provider",
|
||||
"research.infusionprovider.stage.1": "Now that I can digitize essentia, it's time to put that technology to work",
|
||||
"research.infusionprovider.stage.2": "I can now make Infusion Provider",
|
||||
"research.arcaneterminal.title": "Arcane Crafting Terminal",
|
||||
"research.arcaneterminal.title": "ME 奥术合成终端",
|
||||
"research.arcaneterminal.stage.1": "Maybe I can combine a ME Terminal with a Arcane Workbench to get something that will help me with my arcane endeavours",
|
||||
"research.arcaneterminal.stage.2": "I can now make Arcane Crafting Terminal",
|
||||
"research.arcaneterminal.addenda.1": "I can upgrade my Arcane Crafting Terminal to increase its vis draw range",
|
||||
"research.arcaneterminal.stage.2": "ME 奥术合成终端消耗法杖中储存的魔力要素进行奥术合成。<BR><BR>请确保法杖中各类所需魔力充足;魔力与 ME 网络中存储的源质不同,不能相互替代。",
|
||||
"research.arcaneterminal.addenda.1": "使用内存卡绑定魔力中继接口,可为 ME 奥术合成终端中的法杖补充魔力。",
|
||||
"block.thaumicenergistics.maiqilinfumo": "麦淇淋玩偶",
|
||||
"block.thaumicenergistics.beiwucnfumo": "北巫_CN玩偶"
|
||||
"block.thaumicenergistics.beiwucnfumo": "北巫_CN玩偶",
|
||||
"thaumicenergistics.jade.assembler.vis_unavailable": "已设置,但当前不可用",
|
||||
"key.thaumicenergistics.open_wireless_arcane_terminal": "打开无线奥术合成终端",
|
||||
"key.categories.thaumicenergistics": "神秘能源",
|
||||
"tooltip.thaumicenergistics.upgrade_host.essentia_storage_cell": "ME 源质存储元件",
|
||||
"message.thaumicenergistics.jei_processing_unavailable": "无法完整读取注魔配方的物品、源质或数量,已阻止转移。",
|
||||
"message.thaumicenergistics.jei_processing_too_large": "配方输入或输出超过当前处理样板的槽位上限,已阻止转移。",
|
||||
"item.thaumicenergistics.essentia_terminal": "ME 源质终端",
|
||||
"tc.research_name.ESSENTIATERMINAL": "ME 源质终端",
|
||||
"tc.research_name.thaumicenergistics:ARCANECRAFTINGTERMINAL": "ME 奥术合成终端",
|
||||
"tc.research_name.thaumicenergistics:ESSENTIASTORAGE": "ME 源质存储",
|
||||
"tc.research_name.thaumicenergistics:ESSENTIATERMINAL": "ME 源质终端",
|
||||
"tc.research_name.thaumicenergistics:PSEUDO_DISTILESSENTIA": "源质蒸馏",
|
||||
"tc.research_name.thaumicenergistics:VISINTERFACE": "魔力中继接口",
|
||||
"tc.research_text.ESSENTIATERMINAL.stage.1": "ME 源质终端允许你像查看物品一样查看ME网络中存储的所有源质。<BR><BR>你可以在终端中直接存取源质,无需手动操作罐子。",
|
||||
"tc.research_text.ESSENTIATERMINAL.stage.2": "ME 源质终端只能查看和操作源质,无法查看物品或流体。<BR><BR>它专门为源质管理而设计。",
|
||||
"tc.research_text.thaumicenergistics:ARCANEASSEMBLER": "ME 分子装配室的奥术版本,能够自动执行奥术合成。<BR><BR>通过内存卡绑定魔力中继接口,为装配器内部缓存补充魔力;合成消耗魔力要素,不消耗源质要素来替代魔力。",
|
||||
"tc.research_text.thaumicenergistics:BASEENERGISTICS": "你发现AE2的机械网络与神秘学之间存在奇妙的共鸣。<BR><BR>精密的AE设备似乎能够感知并操控源质这种神秘的物质形态。<BR><BR>高版本材质由§b§l麦淇淋§r制作。<BR><BR>要素是统称:物品蒸馏后得到的液态形式称为源质要素;法杖储存并在奥术合成中消耗的形式称为魔力要素。源质(Essentia)与魔力(Vis)不能相互替代。",
|
||||
"tc.research_text.thaumicenergistics:ESSENTIAACCESSCARD": "将源质访问卡插入 ME 输入、输出、存储总线、接口或样板供应器,即可使其访问源质。<BR><BR>输入总线遵循过滤配置;输出总线需要明确配置要素;存储总线遵循访问模式和分区设置。<BR><BR>接口按配置维持本地源质缓存,也可被动接收源质,并仅向外提供自身缓存槽内的源质。源质配置量和新缓存每格最多256点,超大接口的方块与部件同样适用。旧超额缓存会尝试退回网络,网络无法接收时保留。<BR><BR>样板供应器只输出合成任务已经交付的源质输入,未接收部分会保留并重试。<BR><BR>每台设备最多安装一张。",
|
||||
"tc.research_text.thaumicenergistics:ESSENTIASTORAGE": "ME 源质存储元件提供1k、4k、16k、64k、256k、1M、4M、16M、64M、256M十种容量。<BR><BR>1k、4k、16k元件最多存储12种源质,64k为15种,256k为31种,1M及以上为63种。每种占用8字节,剩余每字节存储1点源质;新增档位通过三个前一档组件逐级合成,并沿用 ME 源质存储外壳。只有空元件可以潜行右键拆解,拆解会返还组件、外壳和升级卡。",
|
||||
"tc.research_text.thaumicenergistics:VISINTERFACE": "魔力中继接口允许你通过 ME 网络中继魔力(Vis),为 ME 奥术合成终端和奥术装配器提供远程魔力源。<BR><BR>将它安装在 AE 线缆上,使接口正对已连接充能节点的魔力中继器。使用内存卡复制魔力中继接口的配置,右键 ME 奥术合成终端或奥术装配器完成绑定。<BR><BR>此接口处理魔力要素,不传输物品蒸馏得到的源质要素。",
|
||||
"tc.research_text.thaumicenergistics:WIRELESSARCANECRAFTINGTERMINAL.stage.1": "将 ME 奥术合成终端与无线接收器和致密能量元件结合,即可在有效网络连接下随身进行奥术合成。<BR><BR>法杖与合成材料保存在终端内,关闭界面后仍会保留。",
|
||||
"tooltip.thaumicenergistics.unknown_essentia": "未知源质要素",
|
||||
"tc.research_name.thaumicenergistics:BASEENERGISTICS": "基础能源学",
|
||||
"tc.research_text.thaumicenergistics:ARCANECRAFTINGTERMINAL.stage.1": "将 ME 终端与奥术工作台结合,即可制作 ME 奥术合成终端,在 ME 网络中使用法杖储存的魔力进行奥术合成。",
|
||||
"tc.research_text.thaumicenergistics:ARCANECRAFTINGTERMINAL.stage.2": "ME 奥术合成终端消耗法杖中储存的魔力要素进行奥术合成。<BR><BR>请确保法杖中各类所需魔力充足;魔力与 ME 网络中存储的源质不同,不能相互替代。",
|
||||
"tc.research_name.thaumicenergistics:ARCANEASSEMBLER": "奥术装配器",
|
||||
"tc.research_text.thaumicenergistics:ARCANEASSEMBLER.stage.1": "奥术装配器是ME分子装配室的奥术版本。它能够自动执行奥术合成配方,将魔法与自动化完美结合。",
|
||||
"tc.research_text.thaumicenergistics:ARCANEASSEMBLER.stage.2": "连接到 ME 网络后,奥术装配器可以自动处理奥术合成任务。<BR><BR>使用内存卡将其绑定到魔力中继接口后,装配器会补充内部魔力缓存,并在合成时消耗所需的魔力要素;ME 网络中的源质不能替代魔力。",
|
||||
"tc.research_text.thaumicenergistics:ARCANECRAFTINGTERMINAL": "将 ME 终端与奥术工作台结合,即可制作 ME 奥术合成终端,在 ME 网络中使用法杖储存的魔力进行奥术合成。<BR><BR>ME 奥术合成终端消耗法杖中储存的魔力要素进行奥术合成。<BR><BR>请确保法杖中各类所需魔力充足;魔力与 ME 网络中存储的源质不同,不能相互替代。",
|
||||
"tc.research_name.thaumicenergistics:WIRELESSARCANECRAFTINGTERMINAL": "无线奥术合成终端",
|
||||
"tc.research_text.thaumicenergistics:WIRELESSARCANECRAFTINGTERMINAL.stage.2": "插入魔力连接卡后,终端在有效网络连接下通过魔力中继接口为法杖补充魔力,背包和饰品栏中均可后台充能。<BR><BR>按默认 I 键可打开背包或饰品栏中的无线奥术合成终端;合并进无线通用终端时会先切换到奥术模式。快捷键可在控制设置中修改。",
|
||||
"tc.research_name.thaumicenergistics:ESSENTIAACCESSCARD": "源质访问卡",
|
||||
"tc.research_text.thaumicenergistics:ESSENTIATERMINAL.stage.1": "ME 源质终端允许你像查看物品一样查看ME网络中存储的所有源质。<BR><BR>你可以在终端中直接存取源质,无需手动操作罐子。",
|
||||
"tc.research_text.thaumicenergistics:ESSENTIATERMINAL.stage.2": "ME 源质终端只能查看和操作源质,无法查看物品或流体。<BR><BR>它专门为源质管理而设计。"
|
||||
}
|
||||
|
||||
+2
-1
@@ -1,6 +1,6 @@
|
||||
modLoader="javafml"
|
||||
loaderVersion="${loader_version_range}"
|
||||
license="MIT"
|
||||
license="Code: LGPL-3.0 (port) and MIT (original); textures by 麦淇淋: CC-BY-NC-SA-3.0 Unported; see LICENSE and LICENSE-ASSETS.md"
|
||||
|
||||
[[mods]]
|
||||
modId="thaumicenergistics"
|
||||
@@ -8,6 +8,7 @@ version="${version}"
|
||||
displayName="ThaumicEnergistics"
|
||||
description="Bridges Thaumcraft Essentia with Applied Energistics 2 ME networks."
|
||||
authors="Nividica, Community"
|
||||
credits="材质作者:麦淇淋(CC BY-NC-SA 3.0 Unported);第三方素材保留原有版权、署名及许可,见 LICENSE-ASSETS.md"
|
||||
logoFile="assets/thaumicenergistics/meta/logo.png"
|
||||
displayTest="IGNORE_ALL_VERSION"
|
||||
|
||||
Reference in New Issue
Block a user