diff --git a/gradle.properties b/gradle.properties index 074168a..59ca6ba 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,6 +15,6 @@ kotlin_version=2.0.21 fabric_kotlin_version=1.12.3 # mod properties -mod_version=1.0 +mod_version=1.0.1 maven_group=net.mcbrawls mod_id=slate diff --git a/src/main/kotlin/net/mcbrawls/slate/tile/Tile.kt b/src/main/kotlin/net/mcbrawls/slate/tile/Tile.kt index 8faff3d..07ff2a7 100644 --- a/src/main/kotlin/net/mcbrawls/slate/tile/Tile.kt +++ b/src/main/kotlin/net/mcbrawls/slate/tile/Tile.kt @@ -138,7 +138,7 @@ open class Tile { return stack } - internal fun addTooltip(stack: ItemStack) { + fun addTooltip(stack: ItemStack) { if (tooltip.isEmpty()) { stack.set(DataComponentTypes.HIDE_TOOLTIP, MinecraftUnit.INSTANCE) } else { @@ -178,7 +178,7 @@ open class Tile { } } - internal fun addImmovable(stack: ItemStack) { + fun addImmovable(stack: ItemStack) { if (immovable) { val nbt = NbtCompound() @@ -191,7 +191,7 @@ open class Tile { } } - internal fun addDisplayedCount(stack: ItemStack) { + fun addDisplayedCount(stack: ItemStack) { displayedCount?.also { count -> stack.count = count }