aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/features/fixes/CompatibliltyFeatures.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/features/fixes/CompatibliltyFeatures.kt')
-rw-r--r--src/main/kotlin/features/fixes/CompatibliltyFeatures.kt10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/main/kotlin/features/fixes/CompatibliltyFeatures.kt b/src/main/kotlin/features/fixes/CompatibliltyFeatures.kt
index 1858e87..55592c5 100644
--- a/src/main/kotlin/features/fixes/CompatibliltyFeatures.kt
+++ b/src/main/kotlin/features/fixes/CompatibliltyFeatures.kt
@@ -4,13 +4,12 @@ import net.minecraft.particle.ParticleTypes
import net.minecraft.util.math.Vec3d
import moe.nea.firmament.annotations.Subscribe
import moe.nea.firmament.events.ParticleSpawnEvent
-import moe.nea.firmament.features.FirmamentFeature
-import moe.nea.firmament.util.data.ManagedConfig
import moe.nea.firmament.util.compatloader.CompatLoader
import moe.nea.firmament.util.data.Config
+import moe.nea.firmament.util.data.ManagedConfig
-object CompatibliltyFeatures : FirmamentFeature {
- override val identifier: String
+object CompatibliltyFeatures {
+ val identifier: String
get() = "compatibility"
@Config
@@ -19,9 +18,6 @@ object CompatibliltyFeatures : FirmamentFeature {
val explosionSize by integer("explosion-power", 10, 50) { 1 }
}
- override val config: ManagedConfig?
- get() = TConfig
-
interface ExplosiveApiWrapper {
fun spawnParticle(vec3d: Vec3d, power: Float)