This commit is contained in:
nea
2023-06-01 22:38:09 +02:00
parent c969074af3
commit 3a24eb80f3
4 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
package moe.nea.firmament.util
import net.minecraft.util.DyeColor
fun DyeColor.toShedaniel(): me.shedaniel.math.Color =
me.shedaniel.math.Color.ofOpaque(this.signColor)