Package net.minecraft.util
Class ProblemReporter.Collector
java.lang.Object
net.minecraft.util.ProblemReporter.Collector
- All Implemented Interfaces:
ProblemReporter
- Direct Known Subclasses:
ProblemReporter.ScopedCollector
- Enclosing interface:
ProblemReporter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final record
(package private) static final record
Nested classes/interfaces inherited from interface net.minecraft.util.ProblemReporter
ProblemReporter.Collector, ProblemReporter.ElementReferencePathElement, ProblemReporter.FieldPathElement, ProblemReporter.IndexedFieldPathElement, ProblemReporter.IndexedPathElement, ProblemReporter.PathElement, ProblemReporter.Problem, ProblemReporter.RootElementPathElement, ProblemReporter.RootFieldPathElement, ProblemReporter.ScopedCollector
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ProblemReporter.PathElement
static final ProblemReporter.PathElement
private final ProblemReporter.Collector
private final Set
<ProblemReporter.Collector.Entry> Fields inherited from interface net.minecraft.util.ProblemReporter
DISCARDING
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Collector
(ProblemReporter.Collector pParent, ProblemReporter.PathElement pElement) Collector
(ProblemReporter.PathElement pElement) -
Method Summary
Modifier and TypeMethodDescriptionforChild
(ProblemReporter.PathElement pChild) void
forEach
(BiConsumer<String, ProblemReporter.Problem> pAction) boolean
isEmpty()
void
report
(ProblemReporter.Problem pProblem)
-
Field Details
-
EMPTY_ROOT
-
parent
-
element
-
problems
-
-
Constructor Details
-
Collector
public Collector() -
Collector
-
Collector
-
-
Method Details
-
forChild
- Specified by:
forChild
in interfaceProblemReporter
-
report
- Specified by:
report
in interfaceProblemReporter
-
isEmpty
public boolean isEmpty() -
forEach
-
getReport
-
getTreeReport
-