装配矩阵上传核心贴图资源

This commit is contained in:
GaLicn 2025-09-19 20:40:33 +08:00
parent 0090d302f1
commit 6e5b6b46f0
7 changed files with 28 additions and 5 deletions

View File

@ -632,7 +632,8 @@ public class ExtendedAEPatternUploadUtil {
}
/**
* 判断给定矩阵集群中是否存在且仅存在一个装配矩阵上传核心
* 判断给定矩阵集群中是否存在装配矩阵上传核心
* 要求至少存在 1 个即可不限制数量
* 传入任意属于该集群的 Tile Pattern/Crafter/Frame
*/
private static boolean clusterHasSingleUploadCore(TileAssemblerMatrixBase any) {
@ -644,10 +645,9 @@ public class ExtendedAEPatternUploadUtil {
var te = it.next();
if (te instanceof com.extendedae_plus.content.matrix.UploadCoreBlockEntity) {
cores++;
if (cores > 1) return false; // 至多一个
}
}
return cores == 1; // 恰好一个
return cores >= 1; // 至少一个即可
} catch (Throwable t) {
return false;
}

View File

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "extendedae_plus:block/assembler_matrix_upload_core" }
}
}

View File

@ -35,6 +35,7 @@
"block.extendedae_plus.256x_crafting_accelerator": "256x Crafting Accelerator",
"block.extendedae_plus.1024x_crafting_accelerator": "1024x Crafting Accelerator",
"block.extendedae_plus.network_pattern_controller": "Pattern Supplier State Controller",
"block.extendedae_plus.assembler_matrix_upload_core": "Assembler Matrix Upload Core",
"extendedae_plus.upload_to_matrix": "Upload to Assembly Matrix",
"extendedae_plus.upload_to_matrix.success": "Pattern uploaded to the assembly matrix",
@ -85,5 +86,6 @@
"config.extendedae_plus.option.entityTickerCost": "Entity Ticker Base Energy Cost",
"config.extendedae_plus.option.entityTickerBlackList": "Entity Ticker Blacklist",
"config.extendedae_plus.option.entityTickerMultipliers": "Entity Ticker Extra Consumption Multipliers",
"config.extendedae_plus.option.craftingPauseThreshold": "AE synthesis calculation pause check threshold"
"config.extendedae_plus.option.craftingPauseThreshold": "AE synthesis calculation pause check threshold",
"block.extendedae_plus.assembler_matrix_upload_core": "Assembler Matrix Upload Core"
}

View File

@ -35,6 +35,7 @@
"block.extendedae_plus.256x_crafting_accelerator": "256x并行处理单元",
"block.extendedae_plus.1024x_crafting_accelerator": "1024x并行处理单元",
"block.extendedae_plus.network_pattern_controller": "样板供应器状态控制器",
"block.extendedae_plus.assembler_matrix_upload_core": "装配矩阵上传核心",
"extendedae_plus.upload_to_matrix": "上传到装配矩阵",
"extendedae_plus.upload_to_matrix.success": "样板已上传到装配矩阵",
@ -85,5 +86,11 @@
"config.extendedae_plus.option.entityTickerCost": "实体加速器能量消耗基础值",
"config.extendedae_plus.option.entityTickerBlackList": "实体加速器黑名单",
"config.extendedae_plus.option.entityTickerMultipliers": "实体加速器额外消耗倍率",
"config.extendedae_plus.option.craftingPauseThreshold": "AE合成计算暂停检查阈值"
"config.extendedae_plus.option.craftingPauseThreshold": "AE合成计算暂停检查阈值",
"block.extendedae_plus.assembler_matrix_upload_core.tooltip": "装配矩阵上传核心",
"block.extendedae_plus.assembler_matrix_upload_core.tooltip.upload": "上传到装配矩阵",
"block.extendedae_plus.assembler_matrix_upload_core.tooltip.upload_success": "样板已上传到装配矩阵",
"block.extendedae_plus.assembler_matrix_upload_core.tooltip.upload_fail_not_crafting": "仅支持上传合成样板,处理样板将被忽略",
"block.extendedae_plus.assembler_matrix_upload_core.tooltip.upload_fail_no_matrix": "未在当前网络中找到已成型的装配矩阵",
"block.extendedae_plus.assembler_matrix_upload_core.tooltip.upload_fail_full": "装配矩阵的样板仓已满或无法插入"
}

View File

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "extendedae_plus:block/assembler_matrix_upload_core"
}
}

View File

@ -0,0 +1,3 @@
{
"parent": "extendedae_plus:block/assembler_matrix_upload_core"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B