mirror of
https://github.com/chylex/Minecraft-Window-Title.git
synced 2025-10-16 00:39:35 +02:00
Compare commits
2 Commits
50d77446f5
...
b17a1cb5cc
Author | SHA1 | Date | |
---|---|---|---|
b17a1cb5cc
|
|||
4aa5d7d945
|
@@ -3,17 +3,17 @@ modId=customwindowtitle
|
|||||||
modName=Custom Window Title
|
modName=Custom Window Title
|
||||||
modDescription=Customize window title and icon.
|
modDescription=Customize window title and icon.
|
||||||
modAuthor=chylex
|
modAuthor=chylex
|
||||||
modVersion=1.4.2
|
modVersion=1.4.3
|
||||||
modLicense=Unlicense
|
modLicense=Unlicense
|
||||||
modSourcesURL=https://github.com/chylex/Minecraft-Window-Title
|
modSourcesURL=https://github.com/chylex/Minecraft-Window-Title
|
||||||
modIssuesURL=https://github.com/chylex/Minecraft-Window-Title/issues
|
modIssuesURL=https://github.com/chylex/Minecraft-Window-Title/issues
|
||||||
modSides=client
|
modSides=client
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
minecraftVersion=1.21.6
|
minecraftVersion=1.21.9
|
||||||
neoForgeVersion=21.6.20-beta
|
neoForgeVersion=21.9.2-beta
|
||||||
neoModDevVersion=2.0.103
|
neoModDevVersion=2.0.110
|
||||||
fabricVersion=0.16.14
|
fabricVersion=0.17.2
|
||||||
loomVersion=1.10
|
loomVersion=1.10
|
||||||
mixinVersion=0.12.5+mixin.0.8.5
|
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
|
# https://github.com/FabricMC/fabric-loom/releases
|
||||||
|
|
||||||
# Constraints
|
# Constraints
|
||||||
minimumMinecraftVersion=1.21.6
|
minimumMinecraftVersion=1.21.9
|
||||||
minimumNeoForgeVersion=21.6.0-beta
|
minimumNeoForgeVersion=21.9.0-beta
|
||||||
minimumFabricVersion=0.12.3
|
minimumFabricVersion=0.15.0
|
||||||
|
|
||||||
# Gradle
|
# Gradle
|
||||||
org.gradle.jvmargs=-Xmx3G
|
org.gradle.jvmargs=-Xmx3G
|
||||||
|
@@ -19,7 +19,7 @@ public final class IconChanger {
|
|||||||
private IconChanger() {}
|
private IconChanger() {}
|
||||||
|
|
||||||
public static void setIcon(Path iconPath) {
|
public static void setIcon(Path iconPath) {
|
||||||
long windowHandle = Minecraft.getInstance().getWindow().getWindow();
|
long windowHandle = Minecraft.getInstance().getWindow().handle();
|
||||||
setWindowIcon(windowHandle, iconPath);
|
setWindowIcon(windowHandle, iconPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user