Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Commit

Permalink
update portinglib version
Browse files Browse the repository at this point in the history
  • Loading branch information
TexBlock committed Oct 9, 2023
1 parent 321a51c commit 6026082
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down
4 changes: 3 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -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/
Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6026082

Please sign in to comment.