1
0
mirror of https://github.com/chylex/Minecraft-Window-Title.git synced 2025-10-15 15:39:35 +02:00

Compare commits

2 Commits

Author SHA1 Message Date
b17a1cb5cc Release 1.4.3 for Minecraft 1.21.9 or newer 2025-10-12 21:47:29 +02:00
4aa5d7d945 Update for Minecraft 1.21.9 2025-10-12 21:47:10 +02:00
2 changed files with 9 additions and 9 deletions

View File

@@ -3,17 +3,17 @@ modId=customwindowtitle
modName=Custom Window Title
modDescription=Customize window title and icon.
modAuthor=chylex
modVersion=1.4.2
modVersion=1.4.3
modLicense=Unlicense
modSourcesURL=https://github.com/chylex/Minecraft-Window-Title
modIssuesURL=https://github.com/chylex/Minecraft-Window-Title/issues
modSides=client
# Dependencies
minecraftVersion=1.21.6
neoForgeVersion=21.6.20-beta
neoModDevVersion=2.0.103
fabricVersion=0.16.14
minecraftVersion=1.21.9
neoForgeVersion=21.9.2-beta
neoModDevVersion=2.0.110
fabricVersion=0.17.2
loomVersion=1.10
mixinVersion=0.12.5+mixin.0.8.5
@@ -23,9 +23,9 @@ mixinVersion=0.12.5+mixin.0.8.5
# https://github.com/FabricMC/fabric-loom/releases
# Constraints
minimumMinecraftVersion=1.21.6
minimumNeoForgeVersion=21.6.0-beta
minimumFabricVersion=0.12.3
minimumMinecraftVersion=1.21.9
minimumNeoForgeVersion=21.9.0-beta
minimumFabricVersion=0.15.0
# Gradle
org.gradle.jvmargs=-Xmx3G

View File

@@ -19,7 +19,7 @@ public final class IconChanger {
private IconChanger() {}
public static void setIcon(Path iconPath) {
long windowHandle = Minecraft.getInstance().getWindow().getWindow();
long windowHandle = Minecraft.getInstance().getWindow().handle();
setWindowIcon(windowHandle, iconPath);
}