diff options
author | nea <nea@nea.moe> | 2023-07-22 03:08:56 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-07-22 03:08:56 +0200 |
commit | cdf3938b778188211ad316d16381e0d8c7beac75 (patch) | |
tree | eb3508942f61bee290b0558c97c3e04946070b0a /src/main/kotlin/moe/nea/firmament/util/MC.kt | |
parent | 538827af3bfccbc4cee1ff2e9cb76922108ace9e (diff) | |
download | firmament-cdf3938b778188211ad316d16381e0d8c7beac75.tar.gz firmament-cdf3938b778188211ad316d16381e0d8c7beac75.tar.bz2 firmament-cdf3938b778188211ad316d16381e0d8c7beac75.zip |
Add image preview
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/util/MC.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/util/MC.kt | 2 |
1 files changed, 2 insertions, 0 deletions
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 |