MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / step

Method step

src/main/java/gregapi/util/UT.java:3438–3453  ·  view source on GitHub ↗
(Object aStepName)

Source from the content-addressed store, hash-verified

3436 }
3437
3438 public static boolean step(Object aStepName) {
3439 if (mBar != null && mEnabled) {
3440 if (mCount++ < mSize) {
3441 try {
3442 mMessage.set(mBar, aStepName == null ? "Error: NULL" : aStepName.toString());
3443 mStep.setInt(mBar, mCount);
3444 return T;
3445 } catch(Throwable e) {e.printStackTrace(ERR);}
3446 return F;
3447 }
3448 ERR.println("ERROR: Progress Bar needed a forced Finish, because of too many Steps.");
3449 finish();
3450 return F;
3451 }
3452 return F;
3453 }
3454
3455 @SuppressWarnings("deprecation")
3456 public static boolean finish() {

Callers 7

onPostLoadMethod · 0.80
enableRegistrationsMethod · 0.80
loadRunnablesMethod · 0.80
onModPreInitMethod · 0.80
onModInitMethod · 0.80
onModPostInitMethod · 0.80
runMethod · 0.80

Calls 4

finishMethod · 0.95
printlnMethod · 0.80
setMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected