Combine android charge bars
This commit is contained in:
parent
8ab76cd499
commit
ae1514700b
@ -30,11 +30,12 @@ import java.util.*
|
|||||||
import kotlin.math.ceil
|
import kotlin.math.ceil
|
||||||
|
|
||||||
object MatteryGUI {
|
object MatteryGUI {
|
||||||
val CHARGE = AtlasSkinElement(ResourceLocation(OverdriveThatMatters.MOD_ID, "android_charge/android_charge"), 80f, 9f)
|
private val BARS = AtlasSkinElement(ResourceLocation(OverdriveThatMatters.MOD_ID, "android_charge"), 80f, 36f)
|
||||||
val CHARGE_BG = AtlasSkinElement(ResourceLocation(OverdriveThatMatters.MOD_ID, "android_charge/android_charge_bg"), 80f, 9f)
|
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 = BARS.subElement(y = 18f, height = 9f)
|
||||||
val CHARGE_HUNGER_BG = AtlasSkinElement(ResourceLocation(OverdriveThatMatters.MOD_ID, "android_charge/android_charge_hunger_bg"), 80f, 9f)
|
val CHARGE_HUNGER_BG = BARS.subElement(y = 27f, height = 9f)
|
||||||
|
|
||||||
private var originalBedButtonX = -1
|
private var originalBedButtonX = -1
|
||||||
private var originalBedButtonY = -1
|
private var originalBedButtonY = -1
|
||||||
|
Binary file not shown.
After Width: | Height: | Size: 280 B |
Loading…
Reference in New Issue
Block a user