Skip to content

Commit

Permalink
Updates to 1.19.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ScribbleTAS committed Aug 12, 2022
1 parent 5dde708 commit f118cfa
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 5 deletions.
3 changes: 2 additions & 1 deletion LoTAS-Fabric/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ def versions2 = [
'1.16.5',
'1.17.1',
'1.18.2',
'1.19.0'
'1.19.0',
'1.19.2'
]
versions2.collect {":versions2:$it"}.each {
include it
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,20 @@
public class MixinTickrateChangerAchievements {

//#if MC>=11601
//$$ @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)
//$$ @ModifyVariable(
//#if MC>=11901
//$$ method = "Lnet/minecraft/client/gui/components/toasts/ToastComponent$ToastInstance;render(ILcom/mojang/blaze3d/vertex/PoseStack;)Z",
//#else
//$$ method = "Lnet/minecraft/client/gui/components/toasts/ToastComponent$ToastInstance;render(IILcom/mojang/blaze3d/vertex/PoseStack;)Z",
//#endif
//$$
//$$ at = @At(value = "STORE"), ordinal = 0,
//$$
//#if MC>=11901
//$$ index = 3)
//#else
//$$ index = 4)
//#endif
//$$ public long modifyAnimationTime(long animationTimer) {
//$$ return TickrateChangerMod.getMilliseconds();
//$$ }
Expand Down
19 changes: 19 additions & 0 deletions LoTAS-Fabric/versions2/1.19.2/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
plugins {
id 'fabric-loom' version '0.12-SNAPSHOT'
}

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17

apply from: '../common.gradle'
archivesBaseName = "LoTAS1.19.2"

loom {
accessWidenerPath = file("../../src/main/resources/lotas.accesswidener")
}

dependencies {
minecraft "com.mojang:minecraft:1.19.2"
mappings loom.officialMojangMappings()
modImplementation "net.fabricmc:fabric-loader:0.14.8"
}
15 changes: 12 additions & 3 deletions LoTAS-Fabric/versions2/fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ sourceSets {
}

dependencies {
//#if MC>=11902
//$$ minecraft "com.mojang:minecraft:1.19.2"
//$$ modImplementation "net.fabricmc:fabric-loader:0.14.8"
//#else
//#if MC>=11900
//$$ minecraft "com.mojang:minecraft:1.19"
//$$ mappings loom.officialMojangMappings()
//$$ minecraft "com.mojang:minecraft:1.19"
//#else
mappings minecraft.officialMojangMappings()
//#if MC>=11802
//$$ minecraft "com.mojang:minecraft:1.18.2"
//#else
Expand All @@ -53,4 +55,11 @@ dependencies {
//#endif
//#endif
//#endif
//#endif

//#if MC>=11900
//$$ mappings loom.officialMojangMappings()
//#else
mappings minecraft.officialMojangMappings()
//#endif
}

0 comments on commit f118cfa

Please sign in to comment.