Uses of Record Class
net.neoforged.neoforge.registries.datamaps.DataMapFile
Package
Description
-
Uses of DataMapFile in net.neoforged.neoforge.common.data
-
Uses of DataMapFile in net.neoforged.neoforge.registries
Modifier and TypeFieldDescriptionprivate final Map
<DataMapType<T, ?>, List<DataMapFile<?, T>>> DataMapLoader.LoadResult.results
The field for theresults
record component.Modifier and TypeMethodDescriptionprivate static <A,
T> List <DataMapFile<A, T>> DataMapLoader.readData
(RegistryOps<com.google.gson.JsonElement> ops, DataMapType<T, A> attachmentType, ResourceKey<Registry<T>> registryKey, List<Resource> resources) Map
<DataMapType<T, ?>, List<DataMapFile<?, T>>> DataMapLoader.LoadResult.results()
Returns the value of theresults
record component.Modifier and TypeMethodDescriptionprivate <T,
R> Map <ResourceKey<R>, T> DataMapLoader.buildDataMap
(Registry<R> registry, DataMapType<R, T> attachment, List<DataMapFile<T, R>> entries) ModifierConstructorDescriptionprivate
LoadResult
(Map<DataMapType<T, ?>, List<DataMapFile<?, T>>> results) Creates an instance of aLoadResult
record class. -
Uses of DataMapFile in net.neoforged.neoforge.registries.datamaps
Modifier and TypeMethodDescriptionstatic <T,
R> com.mojang.serialization.Codec <DataMapFile<T, R>> DataMapFile.codec
(ResourceKey<Registry<R>> registryKey, DataMapType<R, T> dataMap)