Uses of Enum Class
net.minecraft.util.profiling.metrics.MetricCategory
Packages that use MetricCategory
Package
Description
-
Uses of MetricCategory in net.minecraft.util.profiling
Fields in net.minecraft.util.profiling with type parameters of type MetricCategoryModifier and TypeFieldDescriptionprivate final Set
<org.apache.commons.lang3.tuple.Pair<String, MetricCategory>> ActiveProfiler.chartedPaths
Methods in net.minecraft.util.profiling that return types with arguments of type MetricCategoryModifier and TypeMethodDescriptionSet
<org.apache.commons.lang3.tuple.Pair<String, MetricCategory>> ActiveProfiler.getChartedPaths()
Set
<org.apache.commons.lang3.tuple.Pair<String, MetricCategory>> InactiveProfiler.getChartedPaths()
Set
<org.apache.commons.lang3.tuple.Pair<String, MetricCategory>> ProfileCollector.getChartedPaths()
Methods in net.minecraft.util.profiling with parameters of type MetricCategoryModifier and TypeMethodDescriptionvoid
ActiveProfiler.markForCharting
(MetricCategory pCategory) void
InactiveProfiler.markForCharting
(MetricCategory pCategory) void
ProfilerFiller.markForCharting
(MetricCategory pCategory) -
Uses of MetricCategory in net.minecraft.util.profiling.metrics
Fields in net.minecraft.util.profiling.metrics declared as MetricCategoryModifier and TypeFieldDescriptionprivate final MetricCategory
MetricSampler.category
private final MetricCategory
MetricSampler.MetricSamplerBuilder.category
Methods in net.minecraft.util.profiling.metrics that return MetricCategoryModifier and TypeMethodDescriptionMetricSampler.getCategory()
static MetricCategory
Returns the enum constant of this class with the specified name.static MetricCategory[]
MetricCategory.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.util.profiling.metrics with parameters of type MetricCategoryModifier and TypeMethodDescriptionstatic <T> MetricSampler.MetricSamplerBuilder
<T> MetricSampler.builder
(String pName, MetricCategory pCategory, ToDoubleFunction<T> pSampler, T pContext) static MetricSampler
MetricSampler.create
(String pName, MetricCategory pCategory, DoubleSupplier pSampler) static <T> MetricSampler
MetricSampler.create
(String pName, MetricCategory pCategory, T pContext, ToDoubleFunction<T> pSampler) Constructors in net.minecraft.util.profiling.metrics with parameters of type MetricCategoryModifierConstructorDescriptionprotected
MetricSampler
(String pName, MetricCategory pCategory, DoubleSupplier pSampler, Runnable pBeforeTick, MetricSampler.ThresholdTest pThresholdTest) MetricSamplerBuilder
(String pName, MetricCategory pCategory, ToDoubleFunction<T> pSampler, T pContext) -
Uses of MetricCategory in net.minecraft.util.profiling.metrics.profiling
Methods in net.minecraft.util.profiling.metrics.profiling with parameters of type MetricCategoryModifier and TypeMethodDescriptionprivate static MetricSampler
ProfilerSamplerAdapter.samplerForProfilingPath
(Supplier<ProfileCollector> pProfiles, String pName, MetricCategory pCategory) -
Uses of MetricCategory in net.minecraft.util.profiling.metrics.storage
Methods in net.minecraft.util.profiling.metrics.storage with parameters of type MetricCategoryModifier and TypeMethodDescriptionprivate void
MetricsPersister.saveCategory
(MetricCategory pCategory, List<MetricSampler> pSamplers, Path pPath)