Skip to content

Commit 1f0269b

Browse files
committed
feat: Support MC 1.21.6-1.21.7
Signed-off-by: MSDNicrosoft <i@msdnicrosoft.work>
1 parent be561b1 commit 1f0269b

6 files changed

Lines changed: 28 additions & 9 deletions

File tree

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ preprocess {
1414
def mc1194 = createNode("1.19.4", 1_19_04, "mojang")
1515
def mc1206 = createNode("1.20.6", 1_20_06, "mojang")
1616
def mc1215 = createNode("1.21.5", 1_21_05, "mojang")
17+
def mc1217 = createNode("1.21.7", 1_21_07, "mojang")
1718

1819
mc1165.link(mc1171, null)
1920
mc1171.link(mc1182, null)
@@ -22,6 +23,7 @@ preprocess {
2223
mc1193.link(mc1194, null)
2324
mc1194.link(mc1206, null)
2425
mc1206.link(mc1215, null)
26+
mc1215.link(mc1217, null)
2527
}
2628

2729
def ENV = System.getenv()

settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"1.19.3",
88
"1.19.4",
99
"1.20.6",
10-
"1.21.5"
10+
"1.21.5",
11+
"1.21.7"
1112
]
1213
}

src/main/java/work/msdnicrosoft/commandbuttons/gui/WrapperCommandGUIScreen.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ public void renderBackground(
5151
this.renderPanorama(guiGraphics, 0.32F);
5252
}
5353
this.renderBlurredBackground(
54-
//#if MC >=12100
54+
//#if MC > 12106
55+
guiGraphics
56+
//#if MC >=12102
5557
//#else
5658
//$$ 0.32F
5759
//#endif

versions/1.21.5/gradle.properties

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
# Independent branch configuration for MC 1.21.5
2-
# Development Environment
3-
minecraft_dependency=1.21.5
1+
# Dependency Versions
2+
minecraft_dependency=>=1.21.2 <=1.21.5
43
minecraft_version=1.21.5
5-
minecraft_out=1.21.5
4+
minecraft_out=1.21.2-5
65

76
# Required Libraries
8-
# FabricAPI 0.128.0+1.21.5
9-
fabric_version=0.128.0+1.21.5
7+
# FabricAPI 0.128.1+1.21.5
8+
fabric_version=0.128.1+1.21.5
109

1110
# LibGui 13.1.0+1.21.5
1211
libgui_version=13.1.0+1.21.5

versions/1.21.7/gradle.properties

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Dependency Versions
2+
minecraft_dependency=>=1.21.6 <=1.21.7
3+
minecraft_version=1.21.7
4+
minecraft_out=1.21.6-7
5+
6+
# Required Libraries
7+
# FabricAPI 0.129.0+1.21.7
8+
fabric_version=0.129.0+1.21.7
9+
10+
# LibGui 14.0.0+1.21.6
11+
libgui_version=14.0.0+1.21.6
12+
13+
# Runtime Libraries - Only for development environment
14+
# Mod Menu - 15.0.0-beta.3
15+
modmenu_version=15.0.0-beta.3

versions/mainProject

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.21.5
1+
1.21.7

0 commit comments

Comments
 (0)