From 69c94c2ef5d341dea0b55a977b6be3fcf9b9c066 Mon Sep 17 00:00:00 2001 From: Zekromaster Date: Wed, 31 Jul 2024 23:55:30 +0200 Subject: [PATCH] fix: A couple quick fixes --- build.gradle.kts | 2 +- .../zekromaster/minecraft/ironchests/entrypoints.kt | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 49f1882..d8f6ec7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -170,7 +170,7 @@ if (use_modrinth) { loaders.add("fabric") dependencies { required.project("stationapi") - required.version("fabric-language-kotlin", ">=1.11.0+kotlin.2.0.0") + required.project("fabric-language-kotlin") } syncBodyFrom = project.file("README.md").readText(Charset.forName("UTF-8")) } diff --git a/src/main/kotlin/net/zekromaster/minecraft/ironchests/entrypoints.kt b/src/main/kotlin/net/zekromaster/minecraft/ironchests/entrypoints.kt index 7cf644b..f65fb22 100644 --- a/src/main/kotlin/net/zekromaster/minecraft/ironchests/entrypoints.kt +++ b/src/main/kotlin/net/zekromaster/minecraft/ironchests/entrypoints.kt @@ -7,8 +7,6 @@ import net.minecraft.entity.player.PlayerEntity import net.minecraft.inventory.Inventory import net.minecraft.item.Item import net.minecraft.item.ItemStack -import net.minecraft.recipe.CraftingRecipeManager -import net.modificationstation.stationapi.api.client.event.texture.TextureRegisterEvent import net.modificationstation.stationapi.api.event.block.entity.BlockEntityRegisterEvent import net.modificationstation.stationapi.api.event.recipe.RecipeRegisterEvent import net.modificationstation.stationapi.api.event.registry.BlockRegistryEvent @@ -19,8 +17,6 @@ import uk.co.benjiweber.expressions.tuple.BiTuple import java.util.function.BiFunction import java.util.function.Supplier -data class ChestWithId(val identifier: Identifier, val block: Block) - object IronChests { @JvmStatic @get:JvmName("ironChest") @@ -114,12 +110,4 @@ internal object RegisterGUIs { IronChestFactory(IronChestMaterial.DIAMOND) )) } -} - -internal object RegisterTextures { - - fun registerTextures(event: TextureRegisterEvent) { - - } - } \ No newline at end of file