File tree Expand file tree Collapse file tree
common/src/main/java/com/vltno/timeloop/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ subprojects {
4848 " archives_name" : archives_name,
4949
5050 " minecraft_version" : minecraft_version,
51-
51+
5252 " fabric_loader_version" : fabric_loader_version,
5353 " fabric_api_version" : fabric_api_version,
5454 " neoforge_version" : neoforge_version,
Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ public static void register(LiteralArgumentBuilder<CommandSourceStack> parentBui
2626 .executes (BaseCommands ::skip )
2727 .requires (source -> source .hasPermission (2 )));
2828
29+ parentBuilder .then (Commands .literal ("skip" )
30+ .executes (BaseCommands ::skip )
31+ .requires (source -> source .hasPermission (2 )));
32+
2933 parentBuilder .then (Commands .literal ("stop" )
3034 .executes (BaseCommands ::stop )
3135 .requires (source -> source .hasPermission (2 )));
@@ -67,7 +71,7 @@ private static int skip(CommandContext<CommandSourceStack> context) {
6771 }
6872
6973 TimeLoop .runLoopIteration ();
70-
74+
7175 source .sendSuccess (() -> Component .literal ("Loop skipped!" ), true );
7276 LoopCommands .LOOP_COMMANDS_LOGGER .info ("Loop skipped" );
7377 return 1 ;
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ private static int setLoopType(CommandContext<CommandSourceStack> context) {
8484 if (TimeLoop .showLoopInfo && TimeLoop .loopBossBar != null ) {
8585 TimeLoop .loopBossBar .visible (newLoopType .equals (LoopTypes .TICKS ) || newLoopType .equals (LoopTypes .TIME_OF_DAY ));
8686 }
87-
87+
8888 String extra = (newLoopType == LoopTypes .MANUAL ) ? ". Use '/loop skip' to advance to the next iteration." : "" ;
8989 source .sendSuccess (() -> Component .literal ("Loop type is set to: " + newLoopType + extra ), true );
9090 LoopCommands .LOOP_COMMANDS_LOGGER .info ("Loop type set to {}" , newLoopType );
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ dependencies {
2525 parchment(" org.parchmentmc.data:parchment-${ minecraft_version} :${ parchment_version} @zip" )
2626 }
2727
28-
2928 modImplementation " net.fabricmc:fabric-loader:${ fabric_loader_version} "
3029 modImplementation " net.fabricmc.fabric-api:fabric-api:${ fabric_api_version} "
3130
Original file line number Diff line number Diff line change @@ -17,20 +17,25 @@ archives_name = timeloop
1717enabled_platforms = fabric,neoforge
1818
1919# Minecraft properties
20- minecraft_version = 1.21.1
20+ minecraft_version = 1.21.4
2121
2222# Loaders
2323# https://github.com/FabricMC/fabric-loader/releases
2424# https://modrinth.com/mod/fabric-api/versions?c=release
2525# https://projects.neoforged.net/neoforged/neoforge
2626fabric_loader_version = 0.16.14
27- fabric_api_version = 0.115.6 +1.21.1
28- neoforge_version = 21.1.145
27+ fabric_api_version = 0.119.2 +1.21.4
28+ neoforge_version = 21.4.135
2929
3030# Mappings
3131# https://parchmentmc.org/docs/getting-started
32- parchment_minecraft =1.21.1
33- parchment_version =2024.11.17
32+ parchment_version =2025.03.23
33+
34+ # Gradle dependencies
35+ # https://github.com/FabricMC/fabric-loom/releases
36+ # https://projects.neoforged.net/neoforged/ModDevGradle
37+ fabric_loom_version =1.10-SNAPSHOT
38+ neoforge_moddev_version =2.0.81
3439
3540# Gradle dependencies
3641# https://github.com/FabricMC/fabric-loom/releases
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ version = project.mod_version
1313neoForge {
1414 version = neoforge_version
1515 parchment {
16- minecraftVersion = parchment_minecraft
16+ minecraftVersion = minecraft_version
1717 mappingsVersion = parchment_version
1818 }
1919
You can’t perform that action at this time.
0 commit comments