Last active
December 15, 2021 18:58
-
-
Save dmchurch/fa874993108a5d8cc565090d9d336906 to your computer and use it in GitHub Desktop.
DrillDownModLoader VSCode setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "java", | |
"name": "Launch Drill Down", | |
"request": "launch", | |
"mainClass": "de.dakror.quarry.desktop.DesktopLauncher", | |
"args": "debug" | |
}, | |
{ | |
"type": "java", | |
"name": "Launch Bootstrapped", | |
"request": "launch", | |
"projectName": "ModLoader", | |
"mainClass": "de.dakror.modding.Bootstrapper", | |
"args": "debug" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include('ModLoader') | |
include('TestMod') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'java' | |
} | |
dependencies { | |
implementation files('../TheQuarry-full.jar') | |
implementation project(':ModLoader') | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.shyou.testmod; | |
import de.dakror.modding.Patcher.AugmentationClass; | |
import de.dakror.quarry.desktop.DesktopLauncher; | |
@AugmentationClass | |
public class MyLauncher extends DesktopLauncher { | |
public static void main(String[] arg) { | |
System.out.println("in MyLauncher.main()"); | |
new MyLauncher(arg); | |
DesktopLauncher.main(arg); | |
} | |
public MyLauncher(String[] arg) { | |
super(arg); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.shyou.testmod; | |
import de.dakror.common.libgdx.PlatformInterface; | |
import de.dakror.modding.Patcher.AugmentationClass; | |
import de.dakror.quarry.Quarry; | |
@AugmentationClass | |
public class MyQuarry extends Quarry { | |
public MyQuarry(PlatformInterface pi, boolean fullVersion, int versionNumber, String version, boolean desktop, boolean newAndroid, WindowMode mode) { | |
super(pi, fullVersion, versionNumber, version, desktop, newAndroid, mode); | |
System.out.println("MyQuarry()"); | |
} | |
@Override | |
public void create() { | |
System.out.println("MyQuarry: in create()"); | |
System.out.println("Current Q: "+Q); | |
super.create(); | |
System.out.println("MyQuarry: exit create()"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment