We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d7370f commit 153f4cfCopy full SHA for 153f4cf
build.gradle
@@ -94,6 +94,8 @@ task runclient(type: JavaExec) {
94
workingDir 'run'
95
}
96
97
+
98
99
task setup() {
100
group = "MCP"
101
description = "Setups the dev workspace"
@@ -116,6 +118,16 @@ task copyAssets {
116
118
117
119
120
121
+task runserver(type: JavaExec) {
122
+ mkdir 'runserver'
123
+ group = "MCP"
124
+ description = "Runs the server"
125
+ standardInput = System.in
126
+ classpath sourceSets.main.runtimeClasspath
127
+ main 'net.minecraft.server.Main'
128
+ workingDir 'runserver'
129
+}
130
131
idea.project.settings {
132
runConfigurations {
133
"Minecraft"(Application) {
0 commit comments