PhysicalConnectivity/src/main/kotlin/net/shadowfacts/phycon/util/ActivationMode.kt

16 lines
339 B
Kotlin
Raw Normal View History

2021-02-24 03:05:05 +00:00
package net.shadowfacts.phycon.util
2021-02-24 03:39:51 +00:00
import net.minecraft.text.Text
import net.minecraft.text.TranslatableText
2021-02-24 03:05:05 +00:00
/**
* @author shadowfacts
*/
2021-02-25 03:47:07 +00:00
enum class ActivationMode: RotatableEnum, FriendlyNameable {
2021-02-24 03:05:05 +00:00
AUTOMATIC,
2021-02-24 03:39:51 +00:00
MANAGED;
2021-02-25 03:47:07 +00:00
override val friendlyName: Text
2021-12-22 23:59:51 +00:00
get() = TranslatableText("gui.phycon.activation_mode.${name.lowercase()}")
2021-02-24 03:05:05 +00:00
}