模型&贴图

This commit is contained in:
GaLicn 2025-09-06 21:51:55 +08:00
parent 97a117eb39
commit 246de29378
11 changed files with 38 additions and 19 deletions

View File

@ -26,7 +26,7 @@ loader_version_range=[1,)
# The unique mod identifier for the mod. Must be lowercase in English locale. Must fit the regex [a-z][a-z0-9_]{1,63}
# Must match the String constant located in the main mod class annotated with @Mod.
mod_id=extendedaeplus
mod_id=extendedae_plus
# The human-readable display name for the mod.
mod_name=ExtendedAE-Plus
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.

View File

@ -37,7 +37,7 @@ import appeng.core.definitions.AEBlockEntities;
@Mod(ExtendedAEPlus.MODID)
public class ExtendedAEPlus {
// Define mod id in a common place for everything to reference
public static final String MODID = "extendedaeplus";
public static final String MODID = "extendedae_plus";
// Directly reference a slf4j logger
public static final Logger LOGGER = LogUtils.getLogger();
// 移除 MDK 示例注册改为使用实际模组的方块/物品/创造物品栏注册见 ModBlocksModItemsModCreativeTabs

View File

@ -27,8 +27,10 @@ public enum EPlusCraftingUnitType implements ICraftingUnitType {
@Override
public int getAcceleratorThreads() {
// 返回真实线程值单块可能超过 16上限校验已由 mixin 绕过
return this.threads;
// AE2 CraftingCPUCluster.addBlockEntity 中对单块线程数做了上限 16 的硬校验
// 这里先进行夹取避免形成结构时抛出 IllegalArgumentException 导致崩溃
// 后续如需突破上限应通过 Mixin/扩展在集群层面增加额外并行度的实现
return Math.min(this.threads, 16);
}
@Override

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
{
"parent": "minecraft:block/cube_all",
"parent": "block/cube_all",
"textures": {
"all": "extendedae_plus:block/wireless_transceiver"
}

View File

@ -1,13 +0,0 @@
{
"itemGroup.extendedaeplus": "Example Mod Tab",
"block.extendedaeplus.example_block": "Example Block",
"item.extendedaeplus.example_item": "Example Item",
"extendedaeplus.configuration.title": "ExtendedAE-Plus Configs",
"extendedaeplus.configuration.section.extendedaeplus.common.toml": "ExtendedAE-Plus Configs",
"extendedaeplus.configuration.section.extendedaeplus.common.toml.title": "ExtendedAE-Plus Configs",
"extendedaeplus.configuration.items": "Item List",
"extendedaeplus.configuration.logDirtBlock": "Log Dirt Block",
"extendedaeplus.configuration.magicNumberIntroduction": "Magic Number Text",
"extendedaeplus.configuration.magicNumber": "Magic Number"
}

View File

@ -43,4 +43,4 @@
"overwrites": {
"requireAnnotations": true
}
}
}