File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ version = project.mod_version
2525
2626loom {
2727 noIntermediateMappings()
28- customMinecraftMetadata. set(" https://github.com/Turnip-Labs/ bta-manifest-repo/releases/download/v ${ project.bta_version } / ${ project.bta_version} .json" )
28+ customMinecraftMetadata. set(" https://downloads.betterthanadventure.net/ bta-client/ ${ project.bta_channel } /v ${ project.bta_version} /manifest .json" )
2929}
3030
3131repositories {
@@ -91,7 +91,7 @@ dependencies {
9191
9292 // Helper library
9393 // If you do not need Halplibe you can comment this line out or delete this line
94- implementation (" turniplabs:halplibe:${ project.halplibe_version} " )
94+ modImplementation (" turniplabs:halplibe:${ project.halplibe_version} " )
9595
9696 modImplementation(" turniplabs:modmenu-bta:${ project.mod_menu_version} " )
9797
Original file line number Diff line number Diff line change 11org.gradle.jvmargs =-Xmx2G
22
33# BTA
4- bta_version =7.3-pre4
5- bta_channel =prerelease
4+ bta_version =7.3_01
5+ bta_channel =release
66
77# Loader
88loader_version =0.15.6-bta.7
99
1010# Other Mods
1111mod_menu_version =3.0.0
12- halplibe_version =5.0.0
12+ halplibe_version =5.1.5
1313
1414# Mod
15- mod_version =1.0 .0
15+ mod_version =1.1 .0
1616mod_group =turing
1717mod_name =tmb
Original file line number Diff line number Diff line change 11package turing .tmb ;
22
33import com .mojang .brigadier .CommandDispatcher ;
4- import com .mojang .brigadier .builder .LiteralArgumentBuilder ;
4+ import com .mojang .brigadier .builder .ArgumentBuilderLiteral ;
55import net .minecraft .core .net .command .CommandManager ;
66import net .minecraft .core .net .command .CommandSource ;
77
88public class CommandReload implements CommandManager .CommandRegistry {
99 @ Override
10- @ SuppressWarnings ("unchecked" )
1110 public void register (CommandDispatcher <CommandSource > commandDispatcher ) {
12- commandDispatcher .register (( LiteralArgumentBuilder ) LiteralArgumentBuilder . literal ("reload" ).executes ((c ) -> {
11+ commandDispatcher .register (ArgumentBuilderLiteral .< CommandSource > literal ("reload" ).executes ((c ) -> {
1312 TMB .reloadTMB ();
1413 return 1 ;
1514 }));
You can’t perform that action at this time.
0 commit comments