From 602608253b0c7b9f7e007cd6b140611158146397 Mon Sep 17 00:00:00 2001 From: TexTrue <3140846162@qq.com> Date: Tue, 10 Oct 2023 07:12:13 +0800 Subject: [PATCH] update portinglib version --- build.gradle | 1 + gradle.properties | 4 +++- .../create/foundation/render/MultiRenderTypeModel.java | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 54519195d1..618cb059d7 100644 --- a/build.gradle +++ b/build.gradle @@ -77,6 +77,7 @@ def dependencies(DependencyHandler deps) { deps.modApi(deps.include("com.electronwill.night-config:core:$night_config_version")) deps.modApi(deps.include("com.electronwill.night-config:toml:$night_config_version")) + deps.modApi(deps.include("maven.modrinth:forge-config-api-port:$forge_config_api_version")) deps.modApi(deps.include("com.github.DM-Earth:flywheel-fabric-dme-edition:$flywheel_version-$flywheel_minecraft_version")) deps.modApi(deps.include("com.jamieswhiteshirt:reach-entity-attributes:$reach_entity_attributes_version")) deps.modApi(deps.include("io.github.tropheusj:milk-lib:$milk_lib_version")) diff --git a/gradle.properties b/gradle.properties index 0bdc5a2769..62dcff1877 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,6 @@ # Done to increase the memory available to gradle. org.gradle.jvmargs = -Xmx4G +org.gradle.daemon=false # Fabric Properties # check these on https://fabricmc.net/develop/ @@ -28,8 +29,9 @@ reach_entity_attributes_version = 2.4.0 registrate_version = 1.3.62-MC1.20.1 milk_lib_version = 1.2.60 +forge_config_api_version = v8.0.0-1.20.1-Fabric -port_lib_version = 2.1.1142+1.20-entity-refactor +port_lib_version = 2.1.1148+1.20-entity-refactor # adding a module also requires adding a dependency to the FMJ port_lib_modules = accessors,base,config,entity,extensions,networking,obj_loader,tags,transfer,models,tool_actions,client_events,brewing diff --git a/src/main/java/com/simibubi/create/foundation/render/MultiRenderTypeModel.java b/src/main/java/com/simibubi/create/foundation/render/MultiRenderTypeModel.java index 98cc36e823..976e22b56b 100644 --- a/src/main/java/com/simibubi/create/foundation/render/MultiRenderTypeModel.java +++ b/src/main/java/com/simibubi/create/foundation/render/MultiRenderTypeModel.java @@ -122,7 +122,7 @@ public Builder cutout(String... cutout) { public BakedModel build(BakedModel wrapped) { if (!(wrapped instanceof Baked baked)) - throw new IllegalArgumentException("Cannot create a MultiRenderTypeModel for a wrapped model that isn't CompositeModel.Baked"); + throw new IllegalArgumentException("Cannot create a MultiRenderTypeModel for a wrapped model that isn't CompositeModel.Baked:" + wrapped); if (isInvalid()) return wrapped;