Combine android charge bars

This commit is contained in:
DBotThePony 2022-10-08 14:34:00 +07:00
parent 8ab76cd499
commit ae1514700b
Signed by: DBot
GPG Key ID: DCC23B5715498507
2 changed files with 5 additions and 4 deletions

View File

@ -30,11 +30,12 @@ import java.util.*
import kotlin.math.ceil
object MatteryGUI {
val CHARGE = AtlasSkinElement(ResourceLocation(OverdriveThatMatters.MOD_ID, "android_charge/android_charge"), 80f, 9f)
val CHARGE_BG = AtlasSkinElement(ResourceLocation(OverdriveThatMatters.MOD_ID, "android_charge/android_charge_bg"), 80f, 9f)
private val BARS = AtlasSkinElement(ResourceLocation(OverdriveThatMatters.MOD_ID, "android_charge"), 80f, 36f)
val CHARGE = BARS.subElement(height = 9f)
val CHARGE_BG = BARS.subElement(y = 9f, height = 9f)
val CHARGE_HUNGER = AtlasSkinElement(ResourceLocation(OverdriveThatMatters.MOD_ID, "android_charge/android_charge_hunger"), 80f, 9f)
val CHARGE_HUNGER_BG = AtlasSkinElement(ResourceLocation(OverdriveThatMatters.MOD_ID, "android_charge/android_charge_hunger_bg"), 80f, 9f)
val CHARGE_HUNGER = BARS.subElement(y = 18f, height = 9f)
val CHARGE_HUNGER_BG = BARS.subElement(y = 27f, height = 9f)
private var originalBedButtonX = -1
private var originalBedButtonY = -1

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B