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 registryManager) 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
StructureGeneratorFactory.Context.registryManager
The field for theregistryManager
record component.Modifier and TypeMethodDescriptionStructureContext.registryManager()
Returns the value of theregistryManager
record component.StructureGeneratorFactory.Context.registryManager()
Returns the value of theregistryManager
record component.ModifierConstructorDescriptionContext
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkPos chunkPos, C c, HeightLimitView heightLimitView, Predicate<Biome> predicate, StructureManager structureManager, DynamicRegistryManager dynamicRegistryManager) 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) -
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> ops, ResourceManager resourceManager, DynamicRegistryManager registryManager) static <T> RegistryOps<T>
RegistryOps.ofLoaded
(com.mojang.serialization.DynamicOps<T> ops, 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 manager, DynamicRegistryManager.Info<E> info) Loads elements from theops
into the registry specified byinfo
within themanager
.static void
DynamicRegistryManager.load
(DynamicRegistryManager manager, RegistryOps<?> ops) Loads a dynamic registry manager from the resource manager's data files. -
Uses of DynamicRegistryManager in net.minecraft.world
Modifier and TypeFieldDescriptionprivate final DynamicRegistryManager
StructureLocator.registryManager
Modifier and TypeMethodDescriptionChunkRegion.getRegistryManager()
RegistryWorldView.getRegistryManager()
Modifier and TypeMethodDescriptionSaveProperties.cloneWorldNbt
(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt) ModifierConstructorDescriptionStructureLocator
(NbtScannable chunkIoWorker, DynamicRegistryManager registryManager, StructureManager structureManager, RegistryKey<World> worldKey, ChunkGenerator chunkGenerator, HeightLimitView world, BiomeSource biomeSource, long seed, com.mojang.datafixers.DataFixer dataFixer) -
Uses of DynamicRegistryManager in net.minecraft.world.dimension
Modifier and TypeMethodDescriptionstatic DynamicRegistryManager
DimensionType.addRegistryDefaults
(DynamicRegistryManager registryManager) Modifier and TypeMethodDescriptionstatic DynamicRegistryManager
DimensionType.addRegistryDefaults
(DynamicRegistryManager registryManager) static SimpleRegistry<DimensionOptions>
DimensionType.createDefaultDimensionOptions
(DynamicRegistryManager registryManager, long seed) static SimpleRegistry<DimensionOptions>
DimensionType.createDefaultDimensionOptions
(DynamicRegistryManager registryManager, long seed, boolean bool) -
Uses of DynamicRegistryManager in net.minecraft.world.gen
Modifier and TypeMethodDescriptionstatic GeneratorOptions
GeneratorOptions.createDemo
(DynamicRegistryManager registryManager) static NoiseChunkGenerator
GeneratorOptions.createGenerator
(DynamicRegistryManager registryManager, long seed, RegistryKey<ChunkGeneratorSettings> settings) static NoiseChunkGenerator
GeneratorOptions.createGenerator
(DynamicRegistryManager registryManager, long seed, RegistryKey<ChunkGeneratorSettings> settings, boolean bool) static NoiseChunkGenerator
GeneratorOptions.createOverworldGenerator
(DynamicRegistryManager registryManager, long seed) static NoiseChunkGenerator
GeneratorOptions.createOverworldGenerator
(DynamicRegistryManager registryManager, long seed, boolean bool) static GeneratorOptions
GeneratorOptions.fromProperties
(DynamicRegistryManager registryManager, Properties properties) static GeneratorOptions
GeneratorOptions.getDefaultOptions
(DynamicRegistryManager registryManager) -
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 TypeMethodDescriptionboolean
StructureFeature.canGenerate
(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos pos, C config, HeightLimitView world, Predicate<Biome> biomePredicate) ConfiguredStructureFeature.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> biomePredicate) 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 registryManager, SaveProperties saveProperties) void
LevelStorage.Session.backupLevelDataFile
(DynamicRegistryManager registryManager, SaveProperties saveProperties, @Nullable NbtCompound nbt)