Class DatapackStructureReport
java.lang.Object
net.minecraft.data.info.DatapackStructureReport
- All Implemented Interfaces:
DataProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final recordprivate static final recordprivate static enumprivate static final recordNested classes/interfaces inherited from interface DataProvider
DataProvider.Factory<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final DatapackStructureReport.Entryprivate static final Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> private static final Map<String, DatapackStructureReport.CustomPackEntry> private final PackOutputprivate static final DatapackStructureReport.Entryprivate static final com.mojang.serialization.Codec<ResourceKey<? extends Registry<?>>> private static final DatapackStructureReport.Entryprivate static final DatapackStructureReport.EntryFields inherited from interface DataProvider
FIXED_ORDER_FIELDS, INDENT_WIDTH, KEY_COMPARATOR, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()private Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> private voidputIfNotPresent(Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> output, ResourceKey<? extends Registry<?>> key, DatapackStructureReport.Entry entry) run(CachedOutput cache)
-
Field Details
-
output
-
PSEUDO_REGISTRY
-
STABLE_DYNAMIC_REGISTRY
-
UNSTABLE_DYNAMIC_REGISTRY
-
BUILT_IN_REGISTRY
-
MANUAL_ENTRIES
private static final Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> MANUAL_ENTRIES -
NON_REGISTRY_ENTRIES
-
REGISTRY_KEY_CODEC
private static final com.mojang.serialization.Codec<ResourceKey<? extends Registry<?>>> REGISTRY_KEY_CODEC
-
-
Constructor Details
-
DatapackStructureReport
-
-
Method Details
-
run
- Specified by:
runin interfaceDataProvider
-
getName
- Specified by:
getNamein interfaceDataProvider
-
putIfNotPresent
private void putIfNotPresent(Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> output, ResourceKey<? extends Registry<?>> key, DatapackStructureReport.Entry entry) -
listRegistries
-