MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / Display

Class Display

Mod Utils/src/eu/the5zig/mod/util/Display.java:3–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package eu.the5zig.mod.util;
2
3public class Display {
4
5 private static DisplayHandler handler;
6
7 public static void init(DisplayHandler handler) {
8 Display.handler = handler;
9 }
10
11 public static boolean isActive() {
12 return handler.isActive();
13 }
14
15 public interface DisplayHandler {
16 boolean isActive();
17 }
18
19}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected