aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/events/event/HudRenderEvent.java
blob: 41011aa07baf777334a1062388ba01f90c9ed398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package cc.polyfrost.oneconfig.events.event;

import cc.polyfrost.oneconfig.libs.universal.UMatrixStack;

/**
 * Called when external HUDs can be rendered.
 */
public class HudRenderEvent {
    /**
     * How much time has elapsed since the last tick, in ticks. Used for animations.
     */
    public final float deltaTicks;
    public final UMatrixStack matrices;

    public HudRenderEvent(UMatrixStack matrices, float deltaTicks) {
        this.matrices = matrices;
        this.deltaTicks = deltaTicks;
    }
}