This commit is contained in:
GaLi 2025-08-25 14:29:23 +08:00
parent 9b2e8f38da
commit 8423e8a215

View File

@ -7,7 +7,7 @@ import com.extendedae_plus.content.crafting.EPlusCraftingUnitType;
import com.extendedae_plus.hooks.BuiltInModelHooks; import com.extendedae_plus.hooks.BuiltInModelHooks;
/** /**
* 客户端模型注册参照 MAE2 的做法 formed 模型注册为内置模型 * 客户端模型注册 formed 模型注册为内置模型
*/ */
public final class ClientProxy { public final class ClientProxy {
private ClientProxy() {} private ClientProxy() {}
@ -17,7 +17,7 @@ public final class ClientProxy {
public static void init() { public static void init() {
if (REGISTERED) return; if (REGISTERED) return;
REGISTERED = true; REGISTERED = true;
// 注册四种形成态模型为内置模型使用 *_formed_v2 避免与现有 JSON 冲突 // 注册四种形成态模型为内置模型
BuiltInModelHooks.addBuiltInModel( BuiltInModelHooks.addBuiltInModel(
ExtendedAEPlus.id("block/crafting/4x_accelerator_formed_v2"), ExtendedAEPlus.id("block/crafting/4x_accelerator_formed_v2"),
new CraftingCubeModel(new EPlusCraftingCubeModelProvider(EPlusCraftingUnitType.ACCELERATOR_4x))); new CraftingCubeModel(new EPlusCraftingCubeModelProvider(EPlusCraftingUnitType.ACCELERATOR_4x)));