diff --git a/Essentials/build.gradle b/Essentials/build.gradle index 305838e..61b7119 100644 --- a/Essentials/build.gradle +++ b/Essentials/build.gradle @@ -2,8 +2,8 @@ plugins { id 'java-library' id 'maven-publish' id 'idea' - id 'net.neoforged.moddev' version '2.0.80' - id 'org.jetbrains.kotlin.jvm' version '2.0.0' + id 'net.neoforged.moddev' version '2.0.141' + id 'org.jetbrains.kotlin.jvm' version '2.3.0' } version = mod_version @@ -103,7 +103,7 @@ sourceSets.main.resources { srcDir 'src/generated/resources' } dependencies { - implementation 'thedarkcolour:kotlinforforge-neoforge:5.3.0' + implementation 'thedarkcolour:kotlinforforge-neoforge:5.11.0' // Example mod dependency with JEI // The JEI API is declared for compile time use, while the full JEI artifact is used at runtime diff --git a/Essentials/gradle.properties b/Essentials/gradle.properties index daf48bc..5f178f3 100644 --- a/Essentials/gradle.properties +++ b/Essentials/gradle.properties @@ -13,7 +13,7 @@ minecraft_version=1.21.1 # as they do not follow standard versioning conventions. minecraft_version_range=[1.21.1,1.22) # The Neo version must agree with the Minecraft version to get a valid artifact -neo_version=21.1.194 +neo_version=21.1.227 # The Neo version range can use any version of Neo as bounds neo_version_range=[21,) # The loader version range can only use the major version of FML as bounds diff --git a/Essentials/src/main/kotlin/com/beemer/essentials/gui/CoordinateGui.kt b/Essentials/src/main/kotlin/com/beemer/essentials/gui/CoordinateGui.kt index ac9a28d..098f825 100644 --- a/Essentials/src/main/kotlin/com/beemer/essentials/gui/CoordinateGui.kt +++ b/Essentials/src/main/kotlin/com/beemer/essentials/gui/CoordinateGui.kt @@ -281,6 +281,7 @@ fun createPageContainer(player: ServerPlayer, page: Int): SimpleContainer { DataComponents.CUSTOM_MODEL_DATA, net.minecraft.world.item.component.CustomModelData(1) ) + item.set(DataComponents.HIDE_ADDITIONAL_TOOLTIP, net.minecraft.util.Unit.INSTANCE) container.setItem(9 + (i - startIdx), item) // 슬롯 9부터 시작 (1줄 건너뛰기) }