Add auto sprint toggle keybinding

This commit is contained in:
nea
2023-09-06 02:26:25 +02:00
parent 7515c6048c
commit d29f886e25
5 changed files with 76 additions and 2 deletions

View 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>()
}