Package net.minecraft.profiler
Class EmptyProfiler
- java.lang.Object
-
- net.minecraft.profiler.EmptyProfiler
-
- All Implemented Interfaces:
IProfiler,IResultableProfiler
public class EmptyProfiler extends java.lang.Object implements IResultableProfiler
-
-
Field Summary
Fields Modifier and Type Field Description static EmptyProfilerINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateEmptyProfiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendTick()IProfileResultgetResults()voidincrementCounter(java.lang.String p_230035_1_)voidincrementCounter(java.util.function.Supplier<java.lang.String> p_230036_1_)voidpop()voidpopPush(java.lang.String p_219895_1_)voidpopPush(java.util.function.Supplier<java.lang.String> p_194339_1_)voidpush(java.lang.String p_76320_1_)voidpush(java.util.function.Supplier<java.lang.String> p_194340_1_)voidstartTick()
-
-
-
Field Detail
-
INSTANCE
public static final EmptyProfiler INSTANCE
-
-
Method Detail
-
push
public void push(java.util.function.Supplier<java.lang.String> p_194340_1_)
-
popPush
public void popPush(java.lang.String p_219895_1_)
-
popPush
public void popPush(java.util.function.Supplier<java.lang.String> p_194339_1_)
-
incrementCounter
public void incrementCounter(java.lang.String p_230035_1_)
- Specified by:
incrementCounterin interfaceIProfiler
-
incrementCounter
public void incrementCounter(java.util.function.Supplier<java.lang.String> p_230036_1_)
- Specified by:
incrementCounterin interfaceIProfiler
-
getResults
public IProfileResult getResults()
- Specified by:
getResultsin interfaceIResultableProfiler
-
-