Skip to content

Commit f118cfa

Browse files
committed
Updates to 1.19.2
1 parent 5dde708 commit f118cfa

File tree

4 files changed

+47
-5
lines changed

4 files changed

+47
-5
lines changed

LoTAS-Fabric/settings.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ def versions2 = [
1717
'1.16.5',
1818
'1.17.1',
1919
'1.18.2',
20-
'1.19.0'
20+
'1.19.0',
21+
'1.19.2'
2122
]
2223
versions2.collect {":versions2:$it"}.each {
2324
include it

LoTAS-Fabric/src/main/java/de/pfannekuchen/lotas/mixin/render/binds/MixinTickrateChangerAchievements.java

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,20 @@
1010
public class MixinTickrateChangerAchievements {
1111

1212
//#if MC>=11601
13-
//$$ @ModifyVariable(method = "Lnet/minecraft/client/gui/components/toasts/ToastComponent$ToastInstance;render(IILcom/mojang/blaze3d/vertex/PoseStack;)Z", at = @At(value = "STORE"), ordinal = 0, index = 4)
13+
//$$ @ModifyVariable(
14+
//#if MC>=11901
15+
//$$ method = "Lnet/minecraft/client/gui/components/toasts/ToastComponent$ToastInstance;render(ILcom/mojang/blaze3d/vertex/PoseStack;)Z",
16+
//#else
17+
//$$ method = "Lnet/minecraft/client/gui/components/toasts/ToastComponent$ToastInstance;render(IILcom/mojang/blaze3d/vertex/PoseStack;)Z",
18+
//#endif
19+
//$$
20+
//$$ at = @At(value = "STORE"), ordinal = 0,
21+
//$$
22+
//#if MC>=11901
23+
//$$ index = 3)
24+
//#else
25+
//$$ index = 4)
26+
//#endif
1427
//$$ public long modifyAnimationTime(long animationTimer) {
1528
//$$ return TickrateChangerMod.getMilliseconds();
1629
//$$ }
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
plugins {
2+
id 'fabric-loom' version '0.12-SNAPSHOT'
3+
}
4+
5+
sourceCompatibility = JavaVersion.VERSION_17
6+
targetCompatibility = JavaVersion.VERSION_17
7+
8+
apply from: '../common.gradle'
9+
archivesBaseName = "LoTAS1.19.2"
10+
11+
loom {
12+
accessWidenerPath = file("../../src/main/resources/lotas.accesswidener")
13+
}
14+
15+
dependencies {
16+
minecraft "com.mojang:minecraft:1.19.2"
17+
mappings loom.officialMojangMappings()
18+
modImplementation "net.fabricmc:fabric-loader:0.14.8"
19+
}

LoTAS-Fabric/versions2/fabric/build.gradle

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ sourceSets {
2222
}
2323

2424
dependencies {
25+
//#if MC>=11902
26+
//$$ minecraft "com.mojang:minecraft:1.19.2"
27+
//$$ modImplementation "net.fabricmc:fabric-loader:0.14.8"
28+
//#else
2529
//#if MC>=11900
26-
//$$ minecraft "com.mojang:minecraft:1.19"
27-
//$$ mappings loom.officialMojangMappings()
30+
//$$ minecraft "com.mojang:minecraft:1.19"
2831
//#else
29-
mappings minecraft.officialMojangMappings()
3032
//#if MC>=11802
3133
//$$ minecraft "com.mojang:minecraft:1.18.2"
3234
//#else
@@ -53,4 +55,11 @@ dependencies {
5355
//#endif
5456
//#endif
5557
//#endif
58+
//#endif
59+
60+
//#if MC>=11900
61+
//$$ mappings loom.officialMojangMappings()
62+
//#else
63+
mappings minecraft.officialMojangMappings()
64+
//#endif
5665
}

0 commit comments

Comments
 (0)