net.minecraft.util.profiler

public class ScopedProfiler

implements AutoCloseable

net.minecraft.util.profiling.Zone
net.minecraft.class_10214
net.minecraft.util.profiler.ScopedProfiler

Field summary

Modifier and TypeField
public static final ScopedProfiler
INACTIVE
field_54225
DUMMY
private final Profiler
profiler
field_54226
wrapped

Constructor summary

ModifierConstructor
(Profiler wrapped)

Method summary

Modifier and TypeMethod
public ScopedProfiler
addText(String text)
method_64164(String arg0)
addLabel(String label)
public ScopedProfiler
addText(Supplier<String> text)
method_64165(Supplier<String> arg0)
addLabel(Supplier<String> labelSupplier)
public ScopedProfiler
addValue(long value)
method_64163(long arg0)
addValue(long value)
public ScopedProfiler
setColor(int color)
method_64162(int arg0)
setColor(int color)
public void
close()