Skip to content

Commit

Permalink
feat: remove internal modifier from some tile functions
Browse files Browse the repository at this point in the history
  • Loading branch information
andantet committed Jan 26, 2025
1 parent 8c4129a commit 4abf486
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions src/main/kotlin/net/mcbrawls/slate/tile/Tile.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -178,7 +178,7 @@ open class Tile {
}
}

internal fun addImmovable(stack: ItemStack) {
fun addImmovable(stack: ItemStack) {
if (immovable) {
val nbt = NbtCompound()

Expand All @@ -191,7 +191,7 @@ open class Tile {
}
}

internal fun addDisplayedCount(stack: ItemStack) {
fun addDisplayedCount(stack: ItemStack) {
displayedCount?.also { count ->
stack.count = count
}
Expand Down

0 comments on commit 4abf486

Please sign in to comment.