From a522c961091658aa7222b32840d517635295d97b Mon Sep 17 00:00:00 2001 From: auxves Date: Tue, 21 May 2024 13:11:49 -0700 Subject: [PATCH] fix crafting recipe for 1.20.5+ --- src/main/kotlin/dev/auxves/vibes/Entrypoint.kt | 1 - src/main/kotlin/dev/auxves/vibes/client/Client.kt | 1 - src/main/resources/data/vibes/recipes/vibe.json | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/kotlin/dev/auxves/vibes/Entrypoint.kt b/src/main/kotlin/dev/auxves/vibes/Entrypoint.kt index a544965..27b127a 100644 --- a/src/main/kotlin/dev/auxves/vibes/Entrypoint.kt +++ b/src/main/kotlin/dev/auxves/vibes/Entrypoint.kt @@ -14,7 +14,6 @@ object Vibes { fun id(path: String) = Identifier("vibes", path) } -@Suppress("unused") fun init() { Registry.register(Registries.DATA_COMPONENT_TYPE, Vibes.id("uuid"), DataComponents.UUID) Registry.register(Registries.DATA_COMPONENT_TYPE, Vibes.id("disc"), DataComponents.DISC) diff --git a/src/main/kotlin/dev/auxves/vibes/client/Client.kt b/src/main/kotlin/dev/auxves/vibes/client/Client.kt index 2ab8f6a..8bad808 100644 --- a/src/main/kotlin/dev/auxves/vibes/client/Client.kt +++ b/src/main/kotlin/dev/auxves/vibes/client/Client.kt @@ -24,7 +24,6 @@ private fun stop(uuid: UUID) = instances[uuid]?.let { instances.remove(uuid) } -@Suppress("unused") fun init() { val scope = CoroutineScope(Dispatchers.Unconfined) diff --git a/src/main/resources/data/vibes/recipes/vibe.json b/src/main/resources/data/vibes/recipes/vibe.json index f68e6d0..6c83532 100644 --- a/src/main/resources/data/vibes/recipes/vibe.json +++ b/src/main/resources/data/vibes/recipes/vibe.json @@ -14,6 +14,6 @@ } }, "result": { - "item": "vibes:vibe" + "id": "vibes:vibe" } } \ No newline at end of file