Uses of Class
net.minecraft.core.MappedRegistry
Package
Description
-
Uses of MappedRegistry in net.minecraft.core
Modifier and TypeFieldDescriptionprivate Map<? extends ResourceKey<? extends Registry<?>>,? extends MappedRegistry<?>>
RegistryAccess.RegistryHolder.registries
Modifier and TypeMethodDescriptionprivate static <K extends ResourceKey<? extends Registry<?>>, V extends MappedRegistry<?>>
com.mojang.serialization.Codec<RegistryAccess.RegistryHolder>RegistryAccess.RegistryHolder.captureMap(com.mojang.serialization.codecs.UnboundedMapCodec<K,V> p_123119_)
Modifier and TypeMethodDescriptionprivate static <E> MappedRegistry<?>
RegistryAccess.RegistryHolder.createRegistry(ResourceKey<? extends Registry<?>> p_123141_)
Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<MappedRegistry<T>>
MappedRegistry.dataPackCodec(ResourceKey<? extends Registry<T>> p_122748_, com.mojang.serialization.Lifecycle p_122749_, com.mojang.serialization.Codec<T> p_122750_)
static <T> com.mojang.serialization.Codec<MappedRegistry<T>>
MappedRegistry.directCodec(ResourceKey<? extends Registry<T>> p_122757_, com.mojang.serialization.Lifecycle p_122758_, com.mojang.serialization.Codec<T> p_122759_)
static <T> com.mojang.serialization.Codec<MappedRegistry<T>>
MappedRegistry.networkCodec(ResourceKey<? extends Registry<T>> p_122716_, com.mojang.serialization.Lifecycle p_122717_, com.mojang.serialization.Codec<T> p_122718_)
ModifierConstructorDescriptionprivate
RegistryHolder(Map<? extends ResourceKey<? extends Registry<?>>,? extends MappedRegistry<?>> p_123117_)
-
Uses of MappedRegistry in net.minecraft.resources
Modifier and TypeFieldDescriptionprivate com.mojang.serialization.Codec<MappedRegistry<E>>
RegistryDataPackCodec.directCodec
Modifier and TypeMethodDescription<T> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<MappedRegistry<E>,T>>
RegistryDataPackCodec.decode(com.mojang.serialization.DynamicOps<T> p_135563_, T p_135564_)
<E> com.mojang.serialization.DataResult<MappedRegistry<E>>
RegistryReadOps.decodeElements(MappedRegistry<E> p_135663_, ResourceKey<? extends Registry<E>> p_135664_, com.mojang.serialization.Codec<E> p_135665_)
Modifier and TypeMethodDescription<E> com.mojang.serialization.DataResult<MappedRegistry<E>>
RegistryReadOps.decodeElements(MappedRegistry<E> p_135663_, ResourceKey<? extends Registry<E>> p_135664_, com.mojang.serialization.Codec<E> p_135665_)
<T> com.mojang.serialization.DataResult<T>
RegistryDataPackCodec.encode(MappedRegistry<E> p_135555_, com.mojang.serialization.DynamicOps<T> p_135556_, T p_135557_)
-
Uses of MappedRegistry in net.minecraft.world.level.dimension
Modifier and TypeMethodDescriptionstatic MappedRegistry<LevelStem>
DimensionType.defaultDimensions(Registry<DimensionType> p_63922_, Registry<Biome> p_63923_, Registry<NoiseGeneratorSettings> p_63924_, long p_63925_)
static MappedRegistry<LevelStem>
LevelStem.sortMap(MappedRegistry<LevelStem> p_63988_)
Modifier and TypeMethodDescriptionstatic MappedRegistry<LevelStem>
LevelStem.sortMap(MappedRegistry<LevelStem> p_63988_)
static boolean
LevelStem.stable(long p_63983_, MappedRegistry<LevelStem> p_63984_)
-
Uses of MappedRegistry in net.minecraft.world.level.levelgen
Modifier and TypeMethodDescriptionWorldGenSettings.dimensions()
static MappedRegistry<LevelStem>
WorldGenSettings.withOverworld(MappedRegistry<LevelStem> p_64628_, Supplier<DimensionType> p_64629_, ChunkGenerator p_64630_)
static MappedRegistry<LevelStem>
WorldGenSettings.withOverworld(Registry<DimensionType> p_64634_, MappedRegistry<LevelStem> p_64635_, ChunkGenerator p_64636_)
Modifier and TypeMethodDescriptionstatic MappedRegistry<LevelStem>
WorldGenSettings.withOverworld(MappedRegistry<LevelStem> p_64628_, Supplier<DimensionType> p_64629_, ChunkGenerator p_64630_)
static MappedRegistry<LevelStem>
WorldGenSettings.withOverworld(Registry<DimensionType> p_64634_, MappedRegistry<LevelStem> p_64635_, ChunkGenerator p_64636_)
ModifierConstructorDescriptionWorldGenSettings(long p_64609_, boolean p_64610_, boolean p_64611_, MappedRegistry<LevelStem> p_64612_)
private
WorldGenSettings(long p_64614_, boolean p_64615_, boolean p_64616_, MappedRegistry<LevelStem> p_64617_, Optional<String> p_64618_)
-
Uses of MappedRegistry in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static Supplier<com.mojang.serialization.Codec<MappedRegistry<LevelStem>>>
ForgeHooks.CODEC
-
Uses of MappedRegistry in net.minecraftforge.registries
Modifier and TypeClassDescription(package private) class
NamespacedDefaultedWrapper<T extends IForgeRegistryEntry<T>>
(package private) class
NamespacedWrapper<T extends IForgeRegistryEntry<T>>
Modifier and TypeMethodDescriptionstatic <T extends IForgeRegistryEntry<T>>
MappedRegistry<T>GameData.getWrapper(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle)