File tree Expand file tree Collapse file tree 8 files changed +21
-21
lines changed
java/com/azuriom/azlink/fabric
java/com/azuriom/azlink/forge Expand file tree Collapse file tree 8 files changed +21
-21
lines changed Original file line number Diff line number Diff line change 1313
1414 strategy :
1515 matrix :
16- java-version : [ 21 ]
16+ java-version : [ 17 ]
1717
1818 steps :
1919 - name : Checkout repository
Original file line number Diff line number Diff line change 11plugins {
2- id ' fabric-loom' version ' 1.12 -SNAPSHOT'
2+ id ' fabric-loom' version ' 1.10 -SNAPSHOT'
33 id ' com.gradleup.shadow' version ' 9.2.2'
44}
55
66java {
7- sourceCompatibility = JavaVersion . VERSION_21
8- targetCompatibility = JavaVersion . VERSION_21
7+ sourceCompatibility = JavaVersion . VERSION_17
8+ targetCompatibility = JavaVersion . VERSION_17
99}
1010
1111ext {
12- minecraft_version = ' 1.21 .1'
13- yarn_mappings = ' 1.21 .1+build.3 '
12+ minecraft_version = ' 1.20 .1'
13+ yarn_mappings = ' 1.20 .1+build.10 '
1414 loader_version = ' 0.18.5'
15- fabric_version = ' 0.116.9 +1.21 .1'
15+ fabric_version = ' 0.92.7 +1.20 .1'
1616}
1717
1818dependencies {
Original file line number Diff line number Diff line change 33import com .azuriom .azlink .common .chat .TextColor ;
44import com .azuriom .azlink .common .chat .TextComponent ;
55import com .azuriom .azlink .common .chat .TextDecoration ;
6- import net .minecraft .component .Component ;
76import net .minecraft .text .ClickEvent ;
87import net .minecraft .text .MutableText ;
98import net .minecraft .text .Style ;
1413import java .util .Map ;
1514
1615/**
17- * Adapter to convert {@link TextComponent} to Minecraft {@link Component }.
16+ * Adapter to convert {@link TextComponent} to Minecraft {@link Text }.
1817 */
1918public final class MinecraftTextAdapter {
2019
Original file line number Diff line number Diff line change 2020 },
2121 "mixins" : [],
2222 "depends" : {
23- "fabricloader" : " >=0.14.11" ,
24- "fabric-api" : " *" ,
25- "minecraft" : " ~1.21"
23+ "fabricloader" : " >=0.9.0" ,
24+ "fabric-api-base" : " *"
2625 }
2726}
Original file line number Diff line number Diff line change 11plugins {
2- id ' net.minecraftforge.gradle' version ' [6.0.24 ,6.2)'
2+ id ' net.minecraftforge.gradle' version ' [6.0,6.2)'
33 id ' com.gradleup.shadow' version ' 9.2.2'
44}
55
66java {
7- sourceCompatibility = JavaVersion . VERSION_21
8- targetCompatibility = JavaVersion . VERSION_21
7+ sourceCompatibility = JavaVersion . VERSION_17
8+ targetCompatibility = JavaVersion . VERSION_17
99}
1010
1111ext {
12- minecraft_version = ' 1.21 .1'
13- forge_version = ' 52.1.0 '
12+ minecraft_version = ' 1.20 .1'
13+ forge_version = ' 47.4.10 '
1414}
1515
1616dependencies {
Original file line number Diff line number Diff line change @@ -92,8 +92,10 @@ public void onRegisterCommands(RegisterCommandsEvent event) {
9292 }
9393
9494 @ SubscribeEvent
95- public void onTickStart (TickEvent .ServerTickEvent .Pre event ) {
96- this .tpsTask .run ();
95+ public void onTickStart (TickEvent .ServerTickEvent event ) {
96+ if (event .phase == TickEvent .Phase .START ) {
97+ this .tpsTask .run ();
98+ }
9799 }
98100
99101 @ Override
Original file line number Diff line number Diff line change 11modLoader = " javafml"
2- loaderVersion = " [52 ,)"
2+ loaderVersion = " [47 ,)"
33license = " MIT"
44issueTrackerURL =" https://github.com/Azuriom/AzLink/issues"
55
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def modules = [
2828 // 'universal-legacy',
2929 ' fabric' ,
3030 ' forge' ,
31- ' neoforge' ,
31+ // 'neoforge',
3232]
3333
3434modules. each {
You can’t perform that action at this time.
0 commit comments