From cdf3938b778188211ad316d16381e0d8c7beac75 Mon Sep 17 00:00:00 2001 From: nea Date: Sat, 22 Jul 2023 03:08:56 +0200 Subject: Add image preview --- src/main/kotlin/moe/nea/firmament/util/MC.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/kotlin/moe/nea/firmament/util/MC.kt') diff --git a/src/main/kotlin/moe/nea/firmament/util/MC.kt b/src/main/kotlin/moe/nea/firmament/util/MC.kt index d595b61..e6e53fa 100644 --- a/src/main/kotlin/moe/nea/firmament/util/MC.kt +++ b/src/main/kotlin/moe/nea/firmament/util/MC.kt @@ -28,6 +28,8 @@ object MC { player?.networkHandler?.sendCommand(command) } + inline val textureManager get() = MinecraftClient.getInstance().textureManager + inline val inGameHud get() = MinecraftClient.getInstance().inGameHud inline val font get() = MinecraftClient.getInstance().textRenderer inline val soundManager get() = MinecraftClient.getInstance().soundManager inline val player get() = MinecraftClient.getInstance().player -- cgit