MCPcopy Create free account
hub / github.com/badvision/jace / updateTickHandler

Method updateTickHandler

src/main/java/jace/core/Device.java:116–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114 }
115
116 private void updateTickHandler() {
117 if (!isRunning() || isPaused()) {
118 tickHandler = this::__doTickNotRunning;
119 } else if (childrenArray.length == 0) {
120 tickHandler = this::__doTickNoDevices;
121 } else {
122 tickHandler = this::__doTickIsRunning;
123 }
124 }
125
126 private void __doTickNotRunning() {
127 // Do nothing

Callers 4

addChildDeviceMethod · 0.95
removeChildDeviceMethod · 0.95
setRunMethod · 0.95
setPausedMethod · 0.95

Calls 2

isRunningMethod · 0.95
isPausedMethod · 0.95

Tested by

no test coverage detected