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 EmptyProfiler
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
EmptyProfiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endTick()
IProfileResult
getResults()
void
incrementCounter(java.lang.String p_230035_1_)
void
incrementCounter(java.util.function.Supplier<java.lang.String> p_230036_1_)
void
pop()
void
popPush(java.lang.String p_219895_1_)
void
popPush(java.util.function.Supplier<java.lang.String> p_194339_1_)
void
push(java.lang.String p_76320_1_)
void
push(java.util.function.Supplier<java.lang.String> p_194340_1_)
void
startTick()
-
-
-
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:
incrementCounter
in interfaceIProfiler
-
incrementCounter
public void incrementCounter(java.util.function.Supplier<java.lang.String> p_230036_1_)
- Specified by:
incrementCounter
in interfaceIProfiler
-
getResults
public IProfileResult getResults()
- Specified by:
getResults
in interfaceIResultableProfiler
-
-