Uses of Class
net.minecraft.util.registry.DynamicRegistryManager
Package
Description
Provides resources to Minecraft, including resource access and provision.
-
Uses of DynamicRegistryManager in net.minecraft.client.gui.screen
ModifierConstructorDescriptionCustomizeBuffetLevelScreen
(Screen parent, DynamicRegistryManager registryManager, Consumer<Biome> onDone, Biome biome) -
Uses of DynamicRegistryManager in net.minecraft.client.network
Modifier and TypeFieldDescriptionprivate DynamicRegistryManager
ClientPlayNetworkHandler.registryManager
Modifier and TypeMethodDescriptionClientCommandSource.getRegistryManager()
ClientPlayNetworkHandler.getRegistryManager()
-
Uses of DynamicRegistryManager in net.minecraft.client.world
Modifier and TypeMethodDescriptionprivate static GeneratorOptions
GeneratorType.createFixedBiomeOptions
(DynamicRegistryManager registryManager, GeneratorOptions generatorOptions, GeneratorType type, Biome biome) (package private) static NoiseChunkGenerator
GeneratorType.createNoiseChunkGenerator
(DynamicRegistryManager registryManager, long seed, RegistryKey<ChunkGeneratorSettings> settingsKey) protected abstract ChunkGenerator
GeneratorType.getChunkGenerator
(DynamicRegistryManager registryManager, long seed) private static Biome
GeneratorType.getFirstBiome
(DynamicRegistryManager registryManager, GeneratorOptions options) -
Uses of DynamicRegistryManager in net.minecraft.command
-
Uses of DynamicRegistryManager in net.minecraft.data.report
Modifier and TypeMethodDescriptionprivate static <T> void
WorldgenListProvider.writeRegistryEntries
(DataCache cache, Path path, DynamicRegistryManager registryManager, com.mojang.serialization.DynamicOps<JsonElement> json, DynamicRegistryManager.Info<T> info) -
Uses of DynamicRegistryManager in net.minecraft.resource
Modifier and TypeMethodDescriptionServerResourceManager.reload
(List<ResourcePack> packs, DynamicRegistryManager registryManager, CommandManager.RegistrationEnvironment commandEnvironment, int functionPermissionLevel, Executor prepareExecutor, Executor applyExecutor) ModifierConstructorDescriptionServerResourceManager
(DynamicRegistryManager registryManager, CommandManager.RegistrationEnvironment commandEnvironment, int functionPermissionLevel) -
Uses of DynamicRegistryManager in net.minecraft.server
-
Uses of DynamicRegistryManager in net.minecraft.server.command
-
Uses of DynamicRegistryManager in net.minecraft.server.dedicated
Modifier and TypeMethodDescriptionprotected abstract T
AbstractPropertiesHandler.create
(DynamicRegistryManager registryManager, Properties properties) Creates another property handler with the same type as this one from the passed new map of properties.protected ServerPropertiesHandler
ServerPropertiesHandler.create
(DynamicRegistryManager dynamicRegistryManager, Properties properties) ServerPropertiesHandler.getGeneratorOptions
(DynamicRegistryManager dynamicRegistryManager) AbstractPropertiesHandler.PropertyAccessor.set
(DynamicRegistryManager registryManager, V value) Returns a new property handler with another map of property in which the property handled by this accessor is updated. -
Uses of DynamicRegistryManager in net.minecraft.server.world
-
Uses of DynamicRegistryManager in net.minecraft.structure
Modifier and TypeFieldDescriptionprivate final DynamicRegistryManager
StructureContext.registryManager
The field for theregistryManager
record component.private final DynamicRegistryManager
StructurePiecesGenerator.Context.registryManager
The field for theregistryManager
record component.Modifier and TypeMethodDescriptionStructureContext.registryManager()
Returns the value of theregistryManager
record component.StructurePiecesGenerator.Context.registryManager()
Returns the value of theregistryManager
record component.ModifierConstructorDescriptionContext
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Predicate<Biome> predicate, HeightLimitView heightLimitView, ChunkRandom chunkRandom, long long2) StructureContext
(ResourceManager resourceManager, DynamicRegistryManager dynamicRegistryManager, StructureManager structureManager) -
Uses of DynamicRegistryManager in net.minecraft.structure.pool
Modifier and TypeMethodDescriptionstatic void
StructurePoolBasedGenerator.generate
(DynamicRegistryManager registryManager, PoolStructurePiece piece, int maxDepth, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> results, Random random, HeightLimitView world) static void
StructurePoolBasedGenerator.generate
(DynamicRegistryManager registryManager, StructurePoolFeatureConfig config, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, BlockPos pos, StructurePiecesHolder children, Random random, boolean modifyBoundingBox, boolean surface, HeightLimitView world, Predicate<Biome> biomeLimit) -
Uses of DynamicRegistryManager in net.minecraft.tag
Modifier and TypeFieldDescriptionprivate final DynamicRegistryManager
TagManagerLoader.registryManager
Modifier and TypeMethodDescriptionstatic TagManager
TagManager.fromPacket
(DynamicRegistryManager registryManager, Map<RegistryKey<? extends Registry<?>>, TagGroup.Serialized> groups) Map<RegistryKey<? extends Registry<?>>,
TagGroup.Serialized> TagManager.toPacket
(DynamicRegistryManager registryManager) private static <T> void
TagManager.tryAdd
(DynamicRegistryManager registryManager, TagManager.Builder builder, RegistryKey<? extends Registry<? extends T>> type, TagGroup.Serialized group) -
Uses of DynamicRegistryManager in net.minecraft.util.dynamic
Modifier and TypeFieldDescriptionprivate final DynamicRegistryManager
RegistryReadingOps.manager
private final DynamicRegistryManager
RegistryOps.registryManager
Modifier and TypeMethodDescriptionstatic <T> RegistryOps<T>
RegistryOps.of
(com.mojang.serialization.DynamicOps<T> delegate, ResourceManager resourceManager, DynamicRegistryManager registryManager) static <T> RegistryOps<T>
RegistryOps.of
(com.mojang.serialization.DynamicOps<T> delegate, EntryLoader entryLoader, DynamicRegistryManager registryManager) static <T> RegistryReadingOps<T>
RegistryReadingOps.of
(com.mojang.serialization.DynamicOps<T> delegate, DynamicRegistryManager tracker) static <T> RegistryOps<T>
RegistryOps.ofLoaded
(com.mojang.serialization.DynamicOps<T> dynamicOps, ResourceManager resourceManager, DynamicRegistryManager registryManager) static <T> RegistryOps<T>
RegistryOps.ofLoaded
(com.mojang.serialization.DynamicOps<T> dynamicOps, EntryLoader entryLoader, DynamicRegistryManager registryManager) ModifierConstructorDescriptionprivate
RegistryOps
(com.mojang.serialization.DynamicOps<T> delegate, EntryLoader entryLoader, DynamicRegistryManager registryManager, IdentityHashMap<RegistryKey<? extends Registry<?>>, RegistryOps.ValueHolder<?>> valueHolders) private
RegistryReadingOps
(com.mojang.serialization.DynamicOps<T> delegate, DynamicRegistryManager tracker) -
Uses of DynamicRegistryManager in net.minecraft.util.registry
Modifier and TypeClassDescriptionstatic final class
An immutable implementation of the dynamic registry manager, representing a specialized configuration of registries.Modifier and TypeMethodDescriptionstatic DynamicRegistryManager
DynamicRegistryManager.Impl.method_39199
(com.mojang.serialization.Dynamic<?> dynamic) Modifier and TypeMethodDescriptionprivate static <E> void
DynamicRegistryManager.load
(RegistryOps<?> ops, DynamicRegistryManager dynamicRegistryManager, DynamicRegistryManager.Info<E> info) Loads elements from theops
into the registry specified byinfo
within themanager
.static void
DynamicRegistryManager.load
(DynamicRegistryManager dynamicRegistryManager, RegistryOps<?> registryOps) Loads a dynamic registry manager from the resource manager's data files. -
Uses of DynamicRegistryManager in net.minecraft.world
Modifier and TypeMethodDescriptionChunkRegion.getRegistryManager()
RegistryWorldView.getRegistryManager()
Modifier and TypeMethodDescriptionSaveProperties.cloneWorldNbt
(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt) -
Uses of DynamicRegistryManager in net.minecraft.world.dimension
Modifier and TypeMethodDescriptionstatic DynamicRegistryManager
DimensionType.addRegistryDefaults
(DynamicRegistryManager dynamicRegistryManager) Modifier and TypeMethodDescriptionstatic DynamicRegistryManager
DimensionType.addRegistryDefaults
(DynamicRegistryManager dynamicRegistryManager) static SimpleRegistry<DimensionOptions>
DimensionType.createDefaultDimensionOptions
(DynamicRegistryManager dynamicRegistryManager, long long2, boolean bool) static SimpleRegistry<DimensionOptions>
DimensionType.method_39540
(DynamicRegistryManager dynamicRegistryManager, long long2) -
Uses of DynamicRegistryManager in net.minecraft.world.gen
Modifier and TypeMethodDescriptionstatic GeneratorOptions
GeneratorOptions.createDemo
(DynamicRegistryManager registryManager) static NoiseChunkGenerator
GeneratorOptions.createOverworldGenerator
(DynamicRegistryManager registryManager, long long2) static GeneratorOptions
GeneratorOptions.fromProperties
(DynamicRegistryManager registryManager, Properties properties) static GeneratorOptions
GeneratorOptions.getDefaultOptions
(DynamicRegistryManager registryManager) static NoiseChunkGenerator
GeneratorOptions.method_39556
(DynamicRegistryManager dynamicRegistryManager, long long2, RegistryKey<ChunkGeneratorSettings> registryKey) static NoiseChunkGenerator
GeneratorOptions.method_39557
(DynamicRegistryManager dynamicRegistryManager, long long2, RegistryKey<ChunkGeneratorSettings> registryKey, boolean bool) static NoiseChunkGenerator
GeneratorOptions.method_39558
(DynamicRegistryManager dynamicRegistryManager, long long2, boolean bool) -
Uses of DynamicRegistryManager in net.minecraft.world.gen.carver
Modifier and TypeFieldDescriptionprivate final DynamicRegistryManager
CarverContext.registryManager
ModifierConstructorDescriptionCarverContext
(NoiseChunkGenerator chunkGenerator, DynamicRegistryManager registryManager, HeightLimitView heightLimitView, ChunkNoiseSampler chunkNoiseSampler) -
Uses of DynamicRegistryManager in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionvoid
ChunkGenerator.setStructureStarts
(DynamicRegistryManager registryManager, StructureAccessor structureAccessor, Chunk chunk, StructureManager structureManager, long worldSeed) Determines which structures should start in the given chunk and creates their starting points. -
Uses of DynamicRegistryManager in net.minecraft.world.gen.feature
Modifier and TypeMethodDescriptionConfiguredStructureFeature.tryPlaceStart
(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos chunkPos, int structureReferences, StructureConfig structureConfig, HeightLimitView world, Predicate<Biome> biomeLimit) StructureFeature.tryPlaceStart
(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos pos, int structureReferences, StructureConfig structureConfig, C config, HeightLimitView world, Predicate<Biome> biomeLimit) Tries to place a starting point for this type of structure in the given chunk. -
Uses of DynamicRegistryManager in net.minecraft.world.level
Modifier and TypeMethodDescriptionLevelProperties.cloneWorldNbt
(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt) private void
LevelProperties.updateProperties
(DynamicRegistryManager registryManager, NbtCompound levelNbt, @Nullable NbtCompound playerNbt) -
Uses of DynamicRegistryManager in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionvoid
LevelStorage.Session.backupLevelDataFile
(DynamicRegistryManager dynamicRegistryManager, SaveProperties saveProperties) void
LevelStorage.Session.backupLevelDataFile
(DynamicRegistryManager dynamicRegistryManager, SaveProperties saveProperties, @Nullable NbtCompound nbtCompound)