Add auto sprint toggle keybinding
This commit is contained in:
16
src/main/kotlin/moe/nea/firmament/events/HudRenderEvent.kt
Normal file
16
src/main/kotlin/moe/nea/firmament/events/HudRenderEvent.kt
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
package moe.nea.firmament.events
|
||||
|
||||
import net.minecraft.client.gui.DrawContext
|
||||
|
||||
/**
|
||||
* Called when hud elements should be rendered, before the screen, but after the world.
|
||||
*/
|
||||
data class HudRenderEvent(val context: DrawContext, val tickDelta: Float) : FirmamentEvent() {
|
||||
companion object : FirmamentEventBus<HudRenderEvent>()
|
||||
}
|
||||
Reference in New Issue
Block a user