Skip to content

Commit 8a1f3f7

Browse files
committed
feat!: Drop support for MC 1.19
1 parent 2c9f60d commit 8a1f3f7

6 files changed

Lines changed: 1 addition & 33 deletions

File tree

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ For your convenience, download links are listed below:
3333
| 1.16.5 | [CurseForge](https://www.curseforge.com/minecraft/mc-mods/fabric-api/files?version=1.16.5) \| [Modrinth](https://modrinth.com/mod/fabric-api/versions?g=1.16.5) | 3.4.0 [GitHub](https://github.com/CottonMC/LibGui/releases/tag/3.4.0) |
3434
| 1.17.1 | [CurseForge](https://www.curseforge.com/minecraft/mc-mods/fabric-api/files?version=1.17.1) \| [Modrinth](https://modrinth.com/mod/fabric-api/versions?g=1.17.1) | 4.2.3 [GitHub](https://github.com/CottonMC/LibGui/releases/tag/4.2.3) |
3535
| 1.18.2 | [CurseForge](https://www.curseforge.com/minecraft/mc-mods/fabric-api/files?version=1.18.2) \| [Modrinth](https://modrinth.com/mod/fabric-api/versions?g=1.18.2) | 5.4.2 [GitHub](https://github.com/CottonMC/LibGui/releases/tag/5.4.2) |
36-
| 1.19 | [CurseForge](https://www.curseforge.com/minecraft/mc-mods/fabric-api/files?version=1.19) \| [Modrinth](https://modrinth.com/mod/fabric-api/versions?g=1.19) | 6.4.0 [GitHub](https://github.com/CottonMC/LibGui/releases/tag/6.4.0) |
3736
| 1.19.3 | [CurseForge](https://www.curseforge.com/minecraft/mc-mods/fabric-api/files?version=1.19.3) \| [Modrinth](https://modrinth.com/mod/fabric-api/versions?g=1.19.3) | 6.5.3 [GitHub](https://github.com/CottonMC/LibGui/releases/tag/6.5.3) |
3837
| 1.19.4 | [CurseForge](https://www.curseforge.com/minecraft/mc-mods/fabric-api/files?version=1.19.4) \| [Modrinth](https://modrinth.com/mod/fabric-api/versions?g=1.19.4) | 7.0.0-rc1 [GitHub](https://github.com/CottonMC/LibGui/releases/tag/7.0.0-rc.1) |
3938

@@ -74,7 +73,6 @@ And use `preprocess` to be compatible with the following versions.
7473
- Minecraft `1.16.5`
7574
- Minecraft `1.17.1`
7675
- Minecraft `1.18.2`
77-
- Minecraft `1.19`
7876
- Minecraft `1.19.2`
7977
- Minecraft `1.19.3`
8078
- Minecraft `1.19.4`

README_ZH_CN.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ Command GUI Buttons 是 Minecraft 的 Fabric 模组,允许用户在其客户
3030
| 1.16.5 | [CurseForge](https://www.curseforge.com/minecraft/mc-mods/fabric-api/files?version=1.16.5) \| [Modrinth](https://modrinth.com/mod/fabric-api/versions?g=1.16.5) | 3.4.0 [GitHub](https://github.com/CottonMC/LibGui/releases/tag/3.4.0) |
3131
| 1.17.1 | [CurseForge](https://www.curseforge.com/minecraft/mc-mods/fabric-api/files?version=1.17.1) \| [Modrinth](https://modrinth.com/mod/fabric-api/versions?g=1.17.1) | 4.2.3 [GitHub](https://github.com/CottonMC/LibGui/releases/tag/4.2.3) |
3232
| 1.18.2 | [CurseForge](https://www.curseforge.com/minecraft/mc-mods/fabric-api/files?version=1.18.2) \| [Modrinth](https://modrinth.com/mod/fabric-api/versions?g=1.18.2) | 5.4.2 [GitHub](https://github.com/CottonMC/LibGui/releases/tag/5.4.2) |
33-
| 1.19 | [CurseForge](https://www.curseforge.com/minecraft/mc-mods/fabric-api/files?version=1.19) \| [Modrinth](https://modrinth.com/mod/fabric-api/versions?g=1.19) | 6.4.0 [GitHub](https://github.com/CottonMC/LibGui/releases/tag/6.4.0) |
3433
| 1.19.3 | [CurseForge](https://www.curseforge.com/minecraft/mc-mods/fabric-api/files?version=1.19.3) \| [Modrinth](https://modrinth.com/mod/fabric-api/versions?g=1.19.3) | 6.5.3 [GitHub](https://github.com/CottonMC/LibGui/releases/tag/6.5.3) |
3534
| 1.19.4 | [CurseForge](https://www.curseforge.com/minecraft/mc-mods/fabric-api/files?version=1.19.4) \| [Modrinth](https://modrinth.com/mod/fabric-api/versions?g=1.19.4) | 7.0.0-rc1 [GitHub](https://github.com/CottonMC/LibGui/releases/tag/7.0.0-rc.1) |
3635

@@ -71,7 +70,6 @@ Command GUI Buttons 是 Minecraft 的 Fabric 模组,允许用户在其客户
7170
- Minecraft `1.16.5`
7271
- Minecraft `1.17.1`
7372
- Minecraft `1.18.2`
74-
- Minecraft `1.19`
7573
- Minecraft `1.19.2`
7674
- Minecraft `1.19.3`
7775
- Minecraft `1.19.4`

build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@ preprocess {
1010
def mc1165 = createNode("1.16.5", 1_16_05, "mojang")
1111
def mc1171 = createNode("1.17.1", 1_17_01, "mojang")
1212
def mc1182 = createNode("1.18.2", 1_18_02, "mojang")
13-
def mc1190 = createNode("1.19", 1_19_00, "mojang")
1413
def mc1192 = createNode("1.19.2", 1_19_02, "mojang")
1514
def mc1193 = createNode("1.19.3", 1_19_03, "mojang")
1615
def mc1194 = createNode("1.19.4", 1_19_04, "mojang")
1716

1817
mc1165.link(mc1171, null)
1918
mc1171.link(mc1182, null)
20-
mc1182.link(mc1190, null)
21-
mc1190.link(mc1192, null)
19+
mc1182.link(mc1192, null)
2220
mc1192.link(mc1193, null)
2321
mc1193.link(mc1194, null)
2422
}

settings.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ def versions = Arrays.asList(
2121
"1.16.5",
2222
"1.17.1",
2323
"1.18.2",
24-
"1.19",
2524
"1.19.2",
2625
"1.19.3",
2726
"1.19.4",

src/main/java/cn/msdnicrosoft/commandbuttons/CommandButtons.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
import org.jetbrains.annotations.NotNull;
1414
import org.lwjgl.glfw.GLFW;
1515
//#if MC >= 11900 && MC <= 11902
16-
//#if MC >= 11901
1716
//$$ import net.minecraft.Util;
18-
//#endif
1917
//$$ import net.minecraft.client.gui.chat.ClientChatPreview;
2018
//$$ import net.minecraft.network.chat.Component;
2119
//#endif
@@ -45,11 +43,7 @@ public static void send(@NotNull String text) {
4543
}
4644
//#if MC >= 11900 && MC <= 11902
4745
//$$ ClientChatPreview ccp = new ClientChatPreview(Minecraft.getInstance());
48-
//#if MC >= 11901
4946
//$$ Component component = Util.mapNullable(ccp.pull(text), ClientChatPreview.Preview::response);
50-
//#else
51-
//$$ Component component = ccp.pull(text);
52-
//#endif
5347
//#endif
5448
//#if MC >= 11900
5549
if (text.startsWith("/")) {

versions/1.19/gradle.properties

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)