Update 1.21
This commit is contained in:
parent
5825a9b593
commit
0bbc68cbd1
|
|
@ -20,7 +20,7 @@ apply(plugin = "maven-publish")
|
||||||
|
|
||||||
java {
|
java {
|
||||||
toolchain {
|
toolchain {
|
||||||
languageVersion.set(JavaLanguageVersion.of(17))
|
languageVersion.set(JavaLanguageVersion.of(21))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -36,15 +36,15 @@ tasks {
|
||||||
runServer {
|
runServer {
|
||||||
// runDirectory.set(File("./run1"))
|
// runDirectory.set(File("./run1"))
|
||||||
val fileName = "./run/galaxy.jar"
|
val fileName = "./run/galaxy.jar"
|
||||||
var file = File(fileName)
|
val file = File(fileName)
|
||||||
if (!file.parentFile.exists()) {
|
if (!file.parentFile.exists()) {
|
||||||
file.parentFile.mkdirs()
|
file.parentFile.mkdirs()
|
||||||
}
|
}
|
||||||
if (!file.exists()) {
|
if (!file.exists()) {
|
||||||
download("https://repo.destro.xyz/private/com/alttd/Galaxy-Server/Galaxy-paperclip-1.20.4-R0.1-SNAPSHOT-reobf.jar", fileName)
|
download("https://jenkins.destro.xyz/job/Galaxy/lastSuccessfulBuild/artifact/build/libs/Galaxy-paperclip-1.21-R0.1-SNAPSHOT-reobf.jar", fileName)
|
||||||
}
|
}
|
||||||
serverJar(file)
|
serverJar(file)
|
||||||
minecraftVersion("1.20.4")
|
minecraftVersion("1.21")
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
|
|
@ -71,16 +71,14 @@ publishing {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly("com.alttd:Galaxy-API:1.20.4-R0.1-SNAPSHOT") {
|
compileOnly("com.alttd:Galaxy-API:1.21-R0.1-SNAPSHOT")
|
||||||
isChanging = true
|
|
||||||
}
|
|
||||||
compileOnly("com.github.milkbowl:VaultAPI:1.7") {
|
compileOnly("com.github.milkbowl:VaultAPI:1.7") {
|
||||||
exclude("org.bukkit","bukkit")
|
exclude("org.bukkit","bukkit")
|
||||||
}
|
}
|
||||||
compileOnly("com.github.TechFortress:GriefPrevention:16.17.1")
|
compileOnly("com.github.TechFortress:GriefPrevention:16.17.1")
|
||||||
|
|
||||||
compileOnly("org.projectlombok:lombok:1.18.24")
|
compileOnly("org.projectlombok:lombok:1.18.30")
|
||||||
annotationProcessor("org.projectlombok:lombok:1.18.24")
|
annotationProcessor("org.projectlombok:lombok:1.18.30")
|
||||||
}
|
}
|
||||||
|
|
||||||
fun gitCommit(): String {
|
fun gitCommit(): String {
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,7 @@ public class CheckStockCommand implements Subcommand {
|
||||||
|
|
||||||
//Stole this code from AlttdUtility by ___Kappa___ and reworked it slightly
|
//Stole this code from AlttdUtility by ___Kappa___ and reworked it slightly
|
||||||
private void highlightLowStock(Player player, List<Stock> stockList) {
|
private void highlightLowStock(Player player, List<Stock> stockList) {
|
||||||
ParticleBuilder particleBuilder = new ParticleBuilder(Particle.REDSTONE);
|
ParticleBuilder particleBuilder = new ParticleBuilder(Particle.LARGE_SMOKE);
|
||||||
particleBuilder.color(255, 255, 255);
|
particleBuilder.color(255, 255, 255);
|
||||||
particleBuilder.receivers(player);
|
particleBuilder.receivers(player);
|
||||||
particleBuilder.count(3);
|
particleBuilder.count(3);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user