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 category) void
InactiveProfiler.markForCharting
(MetricCategory category) void
ProfilerFiller.markForCharting
(MetricCategory category) -
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 name, MetricCategory category, ToDoubleFunction<T> sampler, T context) static MetricSampler
MetricSampler.create
(String name, MetricCategory category, DoubleSupplier sampler) static <T> MetricSampler
MetricSampler.create
(String name, MetricCategory category, T context, ToDoubleFunction<T> sampler) Constructors in net.minecraft.util.profiling.metrics with parameters of type MetricCategoryModifierConstructorDescriptionprotected
MetricSampler
(String name, MetricCategory category, DoubleSupplier sampler, Runnable beforeTick, MetricSampler.ThresholdTest thresholdTest) MetricSamplerBuilder
(String name, MetricCategory category, ToDoubleFunction<T> sampler, T context) -
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> profiles, String name, MetricCategory category) -
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 category, List<MetricSampler> samplers, Path p_path)