mirror of
https://github.com/GeyserMC/GeyserOptionalPack.git
synced 2025-12-19 14:59:14 +00:00
Change to .kts, fix trial_spawner_detection_ominous particle
This commit is contained in:
27
build.gradle
27
build.gradle
@@ -1,27 +0,0 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'application'
|
||||
}
|
||||
|
||||
group = 'org.geysermc.optionalpack'
|
||||
version = '1.0-SNAPSHOT'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.google.code.gson:gson:2.13.1'
|
||||
implementation 'org.reflections:reflections:0.10.2'
|
||||
}
|
||||
|
||||
jar {
|
||||
archiveFileName = 'GeyserOptionalPackCompiler.jar'
|
||||
manifest {
|
||||
attributes 'Main-Class': application.mainClass
|
||||
}
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = 'org.geysermc.optionalpack.OptionalPack'
|
||||
}
|
||||
27
build.gradle.kts
Normal file
27
build.gradle.kts
Normal file
@@ -0,0 +1,27 @@
|
||||
plugins {
|
||||
java
|
||||
application
|
||||
}
|
||||
|
||||
group = "org.geysermc.optionalpack"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("com.google.code.gson:gson:2.13.1")
|
||||
implementation("org.reflections:reflections:0.10.2")
|
||||
}
|
||||
|
||||
tasks {
|
||||
jar {
|
||||
archiveFileName = "GeyserOptionalPackCompiler.jar"
|
||||
manifest.attributes["Main-Class"] = application.mainClass
|
||||
}
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass.set("org.geysermc.optionalpack.OptionalPack")
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
rootProject.name = 'GeyserOptionalPackCompiler'
|
||||
|
||||
2
settings.gradle.kts
Normal file
2
settings.gradle.kts
Normal file
@@ -0,0 +1,2 @@
|
||||
rootProject.name = "GeyserOptionalPackCompiler"
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"particle_effect": {
|
||||
"components": {
|
||||
"minecraft:emitter_rate_instant": {
|
||||
"num_particles": "1"
|
||||
},
|
||||
"minecraft:emitter_shape_box": {
|
||||
"offset": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user