Package net.minecraft.data.info
Class DatapackStructureReport
java.lang.Object
net.minecraft.data.info.DatapackStructureReport
- All Implemented Interfaces:
DataProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final record(package private) static final record(package private) static enum(package private) static final recordNested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider> -
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.Entry(package private) static final com.mojang.serialization.Codec<ResourceKey<? extends Registry<?>>> private static final DatapackStructureReport.Entryprivate static final DatapackStructureReport.EntryFields inherited from interface net.minecraft.data.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> pMap, ResourceKey<? extends Registry<?>> pRegistryKey, DatapackStructureReport.Entry pEntry) run(CachedOutput pOutput)
-
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
-
-
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> pMap, ResourceKey<? extends Registry<?>> pRegistryKey, DatapackStructureReport.Entry pEntry) -
listRegistries
-