================================================================================
 通用机械：精简结构（Compact Mekanism）—— 第三方代码许可与版权声明
 THIRD-PARTY LICENSES AND COPYRIGHT NOTICES
================================================================================

本模组（Compact Mekanism，modid: compactmekanism）的源码是以下以 MIT 许可证发布的
项目的派生作品（derivative work）。依 MIT 许可证条款，以下版权声明与许可声明
在本模组的所有副本（含编译产物）中原样保留。

本模组自身的修改与新增部分由 lingyao 保留全部权利（All Rights Reserved），
未授予任何开源许可 —— 即本模组以「闭源」方式分发。这不影响上述第三方部分
所适用的 MIT 条款。

源码文件头部均带 SPDX-License-Identifier: MIT 与对应版权行，并指向本文件。


--------------------------------------------------------------------------------
 1. Mekanism（通用机械）
    用于：全部 8 台机器的机器逻辑、GUI、注册、网络包等
--------------------------------------------------------------------------------

MIT License

Copyright (c) 2017-2023 Aidan C. Brady

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


--------------------------------------------------------------------------------
 2. CompactMekanismMachines（CMM）
    用于：裂变反应堆、工业涡轮机、热力蒸馏塔（机器方块 / GUI / 客户端注册 /
          机器配置 / 方块形状 / 各注册表 / 方块类型）
--------------------------------------------------------------------------------

MIT License

Copyright (c) 2024 nekorobi_0

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


--------------------------------------------------------------------------------
 3. CompactMekanismMachinesPlus（CMMP）
    用于：聚变反应堆、超临界移相器 SPS、热电锅炉（机器方块 / GUI /
          机器配置 / 网络包 / 主类与 NBT 常量）
--------------------------------------------------------------------------------

MIT License

Copyright © 2025 nanaios

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


--------------------------------------------------------------------------------
 4. 源码文件来源对照（40 个 .java）
--------------------------------------------------------------------------------

来源标注  A = Mekanism（Aidan C. Brady）
          B = CompactMekanismMachines（nekorobi_0）
          C = CompactMekanismMachinesPlus（nanaios）
          L = lingyao（本项目新增 / 修改部分）

client/CompactClientRegistration.java .................. A B L
client/gui/GuiBoilerConfig.java ........................ A C L
client/gui/GuiBoilerStats.java ......................... A C L
client/gui/GuiCompactDynamicTank.java .................. A L
client/gui/GuiCompactFissionReactor.java ............... A B L
client/gui/GuiCompactInductionMatrix.java .............. A L
client/gui/GuiCompactIndustrialTurbine.java ............ A B L
client/gui/GuiCompactThermalEvaporation.java ........... A B L
client/gui/GuiFusionReactorController.java ............. A C L
client/gui/GuiFusionReactorFuel.java ................... A C L
client/gui/GuiFusionReactorHeat.java ................... A C L
client/gui/GuiFusionReactorInfo.java ................... A C L
client/gui/GuiFusionReactorStats.java .................. A C L
client/gui/GuiSPS.java ................................. A C L
client/gui/GuiThermoelectricBoiler.java ................ A C L
client/gui/element/GuiBoilerTab.java ................... A C L
client/gui/element/GuiFusionReactorTab.java ............ A C L
common/CompactLang.java ................................ A B L
common/CompactMekanism.java ............................ A C L
common/CompactNBTConstants.java ........................ C L
common/config/CompactConfig.java ....................... A C L
common/config/MachinesConfig.java ...................... A B L
common/content/blocktype/BlockShapes.java .............. A B L
common/content/blocktype/CompactMachine.java ........... A L
common/network/CompactPacketHandler.java ............... A C L
common/network/to_server/PacketCompactGuiButtonPress.java .. A C L
common/network/to_server/PacketCompactGuiInteract.java . A C L
common/registries/CompactBlockTypes.java ............... A B L
common/registries/CompactBlocks.java ................... B L
common/registries/CompactContainerTypes.java ........... B L
common/registries/CompactCreativeTabs.java ............. A B L
common/registries/CompactTileEntityTypes.java .......... B L
common/tile/TileEntityCompactDynamicTank.java .......... A L
common/tile/TileEntityCompactFissionReactor.java ....... A B L
common/tile/TileEntityCompactFusionReactor.java ........ A C L
common/tile/TileEntityCompactInductionMatrix.java ...... A L
common/tile/TileEntityCompactIndustrialTurbine.java .... A B L
common/tile/TileEntityCompactSPS.java .................. A C L
common/tile/TileEntityCompactThermalEvaporation.java ... A B L
common/tile/TileEntityCompactThermoelectricBoiler.java . A C L

资源文件（assets/ 下的模型、贴图、方块状态、语言文件；data/ 下的配方、
战利品表、标签）共 70 个，来源如下（命名空间已统一为 compactmekanism）：

--------------------------------------------------------------------------------
 5. 资源文件来源对照
--------------------------------------------------------------------------------

【来自 CMM（nekorobi_0，MIT）—— 25 个】
  assets/.../blockstates/compact_fission_reactor.json
  assets/.../blockstates/compact_industrial_turbine.json
  assets/.../blockstates/compact_thermal_evaporation.json
  assets/.../models/block/compact_fission_reactor/{active,inactive}.json
  assets/.../models/block/compact_industrial_turbine/{active,inactive}.json
  assets/.../models/block/compact_thermal_evaporation/{active,inactive}.json
  assets/.../models/item/compact_{fission_reactor,industrial_turbine,thermal_evaporation}.json
  assets/.../textures/block/compact_fission_reactor_{front,side,on_led}.png(+.mcmeta)
  assets/.../textures/block/compact_industrial_turbine_{front,side,on_led}.png
  data/.../loot_tables/blocks/compact_{fission_reactor,industrial_turbine,thermal_evaporation}.json
  data/.../recipes/compact_{fission_reactor,industrial_turbine,thermal_evaporation}.json

【来自 CMMP（nanaios，MIT）—— 27 个】
  assets/.../blockstates/compact_{fusion_reactor,sps,thermoelectric_boiler}.json
  assets/.../models/block/compact_fusion_reactor/{active,inactive}.json
  assets/.../models/block/compact_sps/{active,inactive}.json
  assets/.../models/block/compact_thermoelectric_boiler/{active,inactive}.json
  assets/.../models/block/machine_front_led_double.json
  assets/.../models/item/compact_{fusion_reactor,sps,thermoelectric_boiler}.json
  assets/.../textures/block/boiler/front{,_on_led,_on_led2}.png(+.mcmeta)
  assets/.../textures/block/sps/front{,_on_led}.png(+.mcmeta)
  data/.../loot_tables/blocks/compact_{fusion_reactor,sps,thermoelectric_boiler}.json
  data/.../recipes/compact_{fusion_reactor,sps,thermoelectric_boiler}.json

【同时存在于 CMM 与 CMMP（两家都适用）—— 4 个】
  assets/.../lang/en_us.json              英文语言文件
  assets/.../models/block/machine.json
  assets/.../models/block/machine_front_led.json
  data/minecraft/tags/blocks/mineable/pickaxe.json

【本项目新写 —— 14 个】
  assets/.../blockstates/compact_{dynamic_tank,induction_matrix}.json
  assets/.../models/block/compact_{dynamic_tank,induction_matrix}/{active,inactive}.json
  assets/.../models/item/compact_{dynamic_tank,induction_matrix}.json
  assets/.../lang/zh_cn.json              中文语言文件（移植脚本对 lang/ 目录做了排除，
                                          键名沿用上游、译文为本项目撰写）
  assets/.../textures/block/dynamic_tank_led.png
  data/.../loot_tables/blocks/compact_{dynamic_tank,induction_matrix}.json
  data/.../recipes/compact_{dynamic_tank,induction_matrix}.json

> 判定依据：与上游资源的同名文件比对，12 个 JSON 内容相似度 0.95–0.99（直接移植），
> 其余为同名同结构或新写。


--------------------------------------------------------------------------------
 6. 构建工具链（非本模组创作，随项目一起分发）
--------------------------------------------------------------------------------

- gradlew / gradlew.bat / gradle/wrapper/gradle-wrapper.jar
    Gradle Wrapper，来自 Gradle 官方发行版（Gradle Inc.），Apache License 2.0。
    本文件与 CompactMekanismMachines 的副本逐字节相同，因为它是 Gradle 官方脚本，
    不是 CMM 的原创代码。
- build.gradle / settings.gradle
    基于 Minecraft Forge MDK 模板（Forge 采用 LGPL-2.1）改编。
    settings.gradle 中的 Forge MDK 样板与 CMM 同名文件高度一致，
    同样源自同一份 MDK 模板，而非互相抄写。
- gradle.properties
    来自 Forge MDK，键名沿用 MDK 约定。

================================================================================
