Skip to content

Commit

Permalink
Fix window title, improve compatibility checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Onako2 committed Nov 13, 2024
1 parent f057604 commit c638d83
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ minecraft_version=1.21.1
yarn_mappings=1.21.1+build.3
loader_version=0.16.7
# Mod Properties
mod_version=2.4.0
mod_version=2.4.1
maven_group=rs.onako2
archives_base_name=i-want-it-earlier
# Dependencies
Expand Down
7 changes: 4 additions & 3 deletions src/client/java/rs/onako2/iwie/ClientInit.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import net.minecraft.client.render.RenderLayer;
import net.minecraft.client.render.entity.model.EntityModelLayer;
import net.minecraft.util.Identifier;
import org.apache.commons.lang3.SystemUtils;
import rs.onako2.iwie.entity.CreakingEntityRenderer;
import rs.onako2.iwie.entity.CreakingModel;

Expand Down Expand Up @@ -43,9 +44,9 @@ public void onInitializeClient() {
BlockColors blockColors = client.getBlockColors();
blockColors.registerColorProvider(new PaleLeavesColorProvider(), Init.PALE_OAK_LEAVES);

/*if (SystemUtils.IS_OS_WINDOWS) {
if (SystemUtils.IS_OS_WINDOWS) {
client.getWindow().setTitle("https://modrinth.com/mod/i-want-it-earlier");
}*/
}

});

Expand All @@ -54,4 +55,4 @@ public void onInitializeClient() {
EntityModelLayerRegistry.registerModelLayer(MODEL_CREAKING_LAYER, CreakingModel::getTexturedModelData);

}
}
}
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"depends": {
"fabricloader": ">=0.14.22",
"minecraft": ">=1.21",
"minecraft": ">=1.21 <=1.21.1",
"java": ">=21",
"fabric-api": ">=0.78"
}
Expand Down

0 comments on commit c638d83

Please sign in to comment.