aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/gui/BarComponent.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/gui/BarComponent.kt')
-rw-r--r--src/main/kotlin/gui/BarComponent.kt8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main/kotlin/gui/BarComponent.kt b/src/main/kotlin/gui/BarComponent.kt
index b82c666..da781da 100644
--- a/src/main/kotlin/gui/BarComponent.kt
+++ b/src/main/kotlin/gui/BarComponent.kt
@@ -113,11 +113,3 @@ class BarComponent(
fun Identifier.toMoulConfig(): MyResourceLocation {
return MyResourceLocation(this.namespace, this.path)
}
-
-fun RenderContext.color(color: Color) {
- color(color.red, color.green, color.blue, color.alpha)
-}
-
-fun RenderContext.color(red: Int, green: Int, blue: Int, alpha: Int) {
- color(red / 255f, green / 255f, blue / 255f, alpha / 255f)
-}