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

Method tick

Minecraft-Utils/1.8/src/AudioButton.java:41–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39 }
40
41 @Override
42 public void tick() {
43 super.tick();
44 if (errorTicks > 0) {
45 errorTicks--;
46 if (errorTicks == 0) {
47 errorMessage = null;
48 }
49 }
50 if (System.currentTimeMillis() - recordingStarted > 1000 * 60)
51 stopRecording();
52 }
53
54 @Override
55 public void draw(int mouseX, int mouseY) {

Callers

nothing calls this directly

Calls 2

stopRecordingMethod · 0.95
tickMethod · 0.65

Tested by

no test coverage detected