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 TypeClassDescriptionprivate static final recordprivate static final recordNested classes/interfaces inherited from interface ProblemReporter
ProblemReporter.Collector, ProblemReporter.ElementReferencePathElement, ProblemReporter.FieldPathElement, ProblemReporter.IndexedFieldPathElement, ProblemReporter.IndexedPathElement, ProblemReporter.MapEntryPathElement, ProblemReporter.PathElement, ProblemReporter.Problem, ProblemReporter.RootElementPathElement, ProblemReporter.RootFieldPathElement, ProblemReporter.ScopedCollector -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ProblemReporter.PathElementstatic final ProblemReporter.PathElementprivate final @Nullable ProblemReporter.Collectorprivate final Set<ProblemReporter.Collector.Entry> Fields inherited from interface ProblemReporter
DISCARDING -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCollector(ProblemReporter.Collector parent, ProblemReporter.PathElement path) -
Method Summary
Modifier and TypeMethodDescriptionvoidforEach(BiConsumer<String, ProblemReporter.Problem> output) booleanisEmpty()voidreport(ProblemReporter.Problem problem)
-
Field Details
-
EMPTY_ROOT
-
parent
-
element
-
problems
-
-
Constructor Details
-
Collector
public Collector() -
Collector
-
Collector
-
-
Method Details
-
forChild
- Specified by:
forChildin interfaceProblemReporter
-
report
- Specified by:
reportin interfaceProblemReporter
-
isEmpty
public boolean isEmpty() -
forEach
-
getReport
-
getTreeReport
-