Skip to content

Commit

Permalink
[CHERRYPICK EVERYWHERE] ABSTRACT CLASS
Browse files Browse the repository at this point in the history
Signed-off-by: Erymanthus[#5074] | (u/)RayDeeUx <[email protected]>
  • Loading branch information
RayDeeUx committed Dec 8, 2023
1 parent c83ef46 commit 9452415
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package at.hannibal2.skyhanni.features.inventory.itemdisplayoverlay

import at.hannibal2.skyhanni.SkyHanniMod
import net.minecraft.item.ItemStack

abstract class AbstractStackSize {

val configItemStackSize get() = SkyHanniMod.feature.inventory

abstract fun getStackTip(item: ItemStack): String
}

abstract class AbstractMenuStackSize : AbstractStackSize() {
val configMenuStackSize get() = SkyHanniMod.feature.inventory.stackSize.menu
}

0 comments on commit 9452415

Please sign in to comment.