Uses of Interface
net.minecraft.registry.DynamicRegistryManager
Package
Description
-
Uses of DynamicRegistryManager in net.minecraft.block.entity
Modifier and TypeMethodDescriptionprivate static boolean
AbstractFurnaceBlockEntity.canAcceptRecipeOutput
(DynamicRegistryManager registryManager, @Nullable Recipe<?> recipe, DefaultedList<ItemStack> slots, int count) private static boolean
AbstractFurnaceBlockEntity.craftRecipe
(DynamicRegistryManager registryManager, @Nullable Recipe<?> recipe, DefaultedList<ItemStack> slots, int count) -
Uses of DynamicRegistryManager in net.minecraft.client.gui.screen
ModifierConstructorDescriptionSuperflatPresetsListWidget
(DynamicRegistryManager dynamicRegistryManager, FeatureSet featureSet) -
Uses of DynamicRegistryManager in net.minecraft.client.gui.screen.recipebook
Modifier and TypeFieldDescriptionprivate final DynamicRegistryManager
RecipeResultCollection.registryManager
Modifier and TypeMethodDescriptionprivate static boolean
RecipeResultCollection.shouldHaveSingleOutput
(DynamicRegistryManager registryManager, List<Recipe<?>> recipes) ModifierConstructorDescriptionRecipeResultCollection
(DynamicRegistryManager registryManager, List<Recipe<?>> recipes) -
Uses of DynamicRegistryManager in net.minecraft.client.network
Modifier and TypeMethodDescriptionClientCommandSource.getRegistryManager()
ClientPlayNetworkHandler.getRegistryManager()
-
Uses of DynamicRegistryManager in net.minecraft.client.recipebook
Modifier and TypeMethodDescriptionvoid
ClientRecipeBook.reload
(Iterable<Recipe<?>> recipes, DynamicRegistryManager registryManager) -
Uses of DynamicRegistryManager in net.minecraft.command
Modifier and TypeMethodDescriptionCommandRegistryAccess.of
(DynamicRegistryManager registryManager, FeatureSet enabledFeatures) -
Uses of DynamicRegistryManager in net.minecraft.entity.damage
-
Uses of DynamicRegistryManager in net.minecraft.item.trim
Modifier and TypeMethodDescriptionstatic void
ArmorTrim.appendTooltip
(ItemStack stack, DynamicRegistryManager registryManager, List<Text> tooltip) static boolean
ArmorTrim.apply
(DynamicRegistryManager registryManager, ItemStack stack, ArmorTrim trim) ArmorTrimMaterials.get
(DynamicRegistryManager registryManager, ItemStack stack) ArmorTrimPatterns.get
(DynamicRegistryManager registryManager, ItemStack stack) ArmorTrim.getTrim
(DynamicRegistryManager registryManager, ItemStack stack) -
Uses of DynamicRegistryManager in net.minecraft.network.message
Modifier and TypeMethodDescriptionstatic MessageType.Parameters
MessageType.params
(RegistryKey<MessageType> typeKey, DynamicRegistryManager registryManager, Text name) MessageType.Serialized.toParameters
(DynamicRegistryManager registryManager) Returns a deserialized version of this instance, orOptional.empty()
ifMessageType.Serialized.typeId
is unknown to the client.MessageType.Parameters.toSerialized
(DynamicRegistryManager registryManager) Returns a serialized version of this instance used in packets. -
Uses of DynamicRegistryManager in net.minecraft.recipe
Modifier and TypeMethodDescriptionAbstractCookingRecipe.craft
(Inventory inventory, DynamicRegistryManager registryManager) Crafts this recipe.ArmorDyeRecipe.craft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) BannerDuplicateRecipe.craft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) BookCloningRecipe.craft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) CraftingDecoratedPotRecipe.craft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) CuttingRecipe.craft
(Inventory inventory, DynamicRegistryManager registryManager) Crafts this recipe.FireworkRocketRecipe.craft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) FireworkStarFadeRecipe.craft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) FireworkStarRecipe.craft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) LegacySmithingRecipe.craft
(Inventory inventory, DynamicRegistryManager registryManager) Deprecated, for removal: This API element is subject to removal in a future version.Crafts this recipe.MapCloningRecipe.craft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) MapExtendingRecipe.craft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) Recipe.craft
(C inventory, DynamicRegistryManager registryManager) Crafts this recipe.RepairItemRecipe.craft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) ShapedRecipe.craft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) ShapelessRecipe.craft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) ShieldDecorationRecipe.craft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) ShulkerBoxColoringRecipe.craft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) SmithingTransformRecipe.craft
(Inventory inventory, DynamicRegistryManager registryManager) Crafts this recipe.SmithingTrimRecipe.craft
(Inventory inventory, DynamicRegistryManager registryManager) Crafts this recipe.SuspiciousStewRecipe.craft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) TippedArrowRecipe.craft
(CraftingInventory craftingInventory, DynamicRegistryManager dynamicRegistryManager) AbstractCookingRecipe.getOutput
(DynamicRegistryManager registryManager) Returns a preview of the recipe's output.CuttingRecipe.getOutput
(DynamicRegistryManager registryManager) Returns a preview of the recipe's output.FireworkRocketRecipe.getOutput
(DynamicRegistryManager registryManager) Returns a preview of the recipe's output.FireworkStarRecipe.getOutput
(DynamicRegistryManager registryManager) Returns a preview of the recipe's output.LegacySmithingRecipe.getOutput
(DynamicRegistryManager registryManager) Deprecated, for removal: This API element is subject to removal in a future version.Returns a preview of the recipe's output.Recipe.getOutput
(DynamicRegistryManager registryManager) Returns a preview of the recipe's output.ShapedRecipe.getOutput
(DynamicRegistryManager registryManager) Returns a preview of the recipe's output.ShapelessRecipe.getOutput
(DynamicRegistryManager registryManager) Returns a preview of the recipe's output.SmithingTransformRecipe.getOutput
(DynamicRegistryManager registryManager) Returns a preview of the recipe's output.SmithingTrimRecipe.getOutput
(DynamicRegistryManager registryManager) Returns a preview of the recipe's output.SpecialCraftingRecipe.getOutput
(DynamicRegistryManager registryManager) Returns a preview of the recipe's output. -
Uses of DynamicRegistryManager in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DynamicRegistryManager>
SerializableRegistries.CODEC
Modifier and TypeMethodDescriptionprivate static <E> com.mojang.serialization.Codec<DynamicRegistryManager>
SerializableRegistries.createCodec()
private static <K extends RegistryKey<? extends Registry<?>>,
V extends Registry<?>>
com.mojang.serialization.Codec<DynamicRegistryManager>SerializableRegistries.createDynamicRegistryManagerCodec
(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> networkCodec) Modifier and TypeMethodDescriptionprivate RegistryBuilder.Registries
RegistryBuilder.createBootstrappedRegistries
(DynamicRegistryManager registryManager) private static RegistryOps.RegistryInfoGetter
RegistryLoader.createInfoGetter
(DynamicRegistryManager baseRegistryManager, List<com.mojang.datafixers.util.Pair<MutableRegistry<?>, RegistryLoader.RegistryLoadable>> additionalRegistries) RegistryBuilder.createWrapperLookup
(DynamicRegistryManager baseRegistryManager) RegistryBuilder.createWrapperLookup
(DynamicRegistryManager baseRegistryManager, RegistryWrapper.WrapperLookup wrapperLookup) RegistryLoader.load
(ResourceManager resourceManager, DynamicRegistryManager baseRegistryManager, List<RegistryLoader.Entry<?>> entries) static RegistryBuilder.Registries
RegistryBuilder.Registries.of
(DynamicRegistryManager dynamicRegistryManager, Stream<RegistryKey<? extends Registry<?>>> registryRefs) private static Stream<DynamicRegistryManager.Entry<?>>
SerializableRegistries.stream
(DynamicRegistryManager dynamicRegistryManager) Modifier and TypeMethodDescriptionprivate static Map<RegistryKey<? extends Registry<?>>,
Registry<?>> CombinedDynamicRegistries.toRegistryMap
(Stream<? extends DynamicRegistryManager> registryManagers) -
Uses of DynamicRegistryManager in net.minecraft.registry.tag
Modifier and TypeFieldDescriptionprivate final DynamicRegistryManager
TagManagerLoader.registryManager
-
Uses of DynamicRegistryManager in net.minecraft.server
Modifier and TypeMethodDescriptionvoid
DataPackContents.refresh
(DynamicRegistryManager dynamicRegistryManager) private static <T> void
DataPackContents.repopulateTags
(DynamicRegistryManager dynamicRegistryManager, TagManagerLoader.RegistryTags<T> tags) -
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.createDimensionsRegistryHolder
(DynamicRegistryManager dynamicRegistry) ServerPropertiesHandler.WorldGenProperties.createDimensionsRegistryHolder
(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.integrated
Modifier and TypeMethodDescriptionvoid
IntegratedServerLoader.createAndStart
(String levelName, LevelInfo levelInfo, GeneratorOptions dynamicRegistryManager, Function<DynamicRegistryManager, DimensionOptionsRegistryHolder> dimensionsRegistrySupplier) -
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, NoiseConfig noiseConfig, long long2, ChunkPos chunkPos, C c, HeightLimitView heightLimitView, Predicate<RegistryEntry<Biome>> predicate, StructureTemplateManager structureTemplateManager, DynamicRegistryManager dynamicRegistryManager) StructureContext
(ResourceManager resourceManager, DynamicRegistryManager dynamicRegistryManager, StructureTemplateManager structureTemplateManager) -
Uses of DynamicRegistryManager in net.minecraft.world
Modifier and TypeFieldDescriptionprivate final DynamicRegistryManager
StructureLocator.registryManager
private final DynamicRegistryManager
World.registryManager
Modifier and TypeMethodDescriptionChunkRegion.getRegistryManager()
World.getRegistryManager()
WorldView.getRegistryManager()
Modifier and TypeMethodDescriptionSaveProperties.cloneWorldNbt
(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt) ChunkSerializer.readStructureReferences
(DynamicRegistryManager registryManager, ChunkPos pos, NbtCompound nbt) ModifierConstructorDescriptionStructureLocator
(NbtScannable chunkIoWorker, DynamicRegistryManager registryManager, StructureTemplateManager structureTemplateManager, RegistryKey<World> worldKey, ChunkGenerator chunkGenerator, NoiseConfig noiseConfig, HeightLimitView world, BiomeSource biomeSource, long seed, com.mojang.datafixers.DataFixer dataFixer) protected
World
(MutableWorldProperties properties, RegistryKey<World> registryRef, DynamicRegistryManager registryManager, RegistryEntry<DimensionType> dimensionEntry, Supplier<Profiler> profiler, boolean isClient, boolean debugWorld, long biomeAccess, int maxChainedNeighborUpdates) -
Uses of DynamicRegistryManager in net.minecraft.world.dimension
Modifier and TypeMethodDescriptionDimensionOptionsRegistryHolder.with
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator) -
Uses of DynamicRegistryManager in net.minecraft.world.gen
Modifier and TypeMethodDescriptionWorldPresets.createDemoOptions
(DynamicRegistryManager dynamicRegistryManager) static DimensionOptions
WorldPresets.getDefaultOverworldOptions
(DynamicRegistryManager dynamicRegistryManager) -
Uses of DynamicRegistryManager in net.minecraft.world.gen.carver
Modifier and TypeFieldDescriptionprivate final DynamicRegistryManager
CarverContext.registryManager
ModifierConstructorDescriptionCarverContext
(NoiseChunkGenerator noiseChunkGenerator, DynamicRegistryManager registryManager, HeightLimitView heightLimitView, ChunkNoiseSampler chunkNoiseSampler, NoiseConfig noiseConfig, MaterialRules.MaterialRule materialRule) -
Uses of DynamicRegistryManager in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionvoid
ChunkGenerator.setStructureStarts
(DynamicRegistryManager registryManager, StructurePlacementCalculator placementCalculator, StructureAccessor structureAccessor, Chunk chunk, StructureTemplateManager structureTemplateManager) Determines which structures should start in the given chunk and creates their starting points.private boolean
ChunkGenerator.trySetStructureStart
(StructureSet.WeightedEntry weightedEntry, StructureAccessor structureAccessor, DynamicRegistryManager dynamicRegistryManager, NoiseConfig noiseConfig, StructureTemplateManager structureManager, long seed, Chunk chunk, ChunkPos pos, ChunkSectionPos sectionPos) -
Uses of DynamicRegistryManager in net.minecraft.world.gen.structure
Modifier and TypeFieldDescriptionprivate final DynamicRegistryManager
Structure.Context.dynamicRegistryManager
The field for thedynamicRegistryManager
record component.Modifier and TypeMethodDescriptionStructure.Context.dynamicRegistryManager()
Returns the value of thedynamicRegistryManager
record component.Modifier and TypeMethodDescriptionStructure.createStructureStart
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, int references, HeightLimitView world, Predicate<RegistryEntry<Biome>> validBiomes) ModifierConstructorDescriptionContext
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, HeightLimitView world, Predicate<RegistryEntry<Biome>> biomePredicate) Context
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureTemplateManager structureTemplateManager, ChunkRandom chunkRandom, long long2, ChunkPos chunkPos, HeightLimitView heightLimitView, Predicate<RegistryEntry<Biome>> predicate) -
Uses of DynamicRegistryManager in net.minecraft.world.level
Modifier and TypeMethodDescriptionLevelProperties.cloneWorldNbt
(DynamicRegistryManager registryManager, @Nullable NbtCompound playerNbt) static <T> com.mojang.serialization.DataResult<T>
WorldGenSettings.encode
(com.mojang.serialization.DynamicOps<T> registryOps, GeneratorOptions generatorOptions, DynamicRegistryManager dynamicRegistryManager) 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) -
Uses of DynamicRegistryManager in net.minecraft.world.poi
ModifierConstructorDescriptionPointOfInterestStorage
(Path path, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, DynamicRegistryManager registryManager, HeightLimitView world) -
Uses of DynamicRegistryManager in net.minecraft.world.storage
Modifier and TypeFieldDescriptionprivate final DynamicRegistryManager
SerializingRegionBasedStorage.dynamicRegistryManager
ModifierConstructorDescriptionSerializingRegionBasedStorage
(Path path, Function<Runnable, com.mojang.serialization.Codec<R>> codecFactory, Function<Runnable, R> factory, com.mojang.datafixers.DataFixer dataFixer, DataFixTypes dataFixTypes, boolean dsync, DynamicRegistryManager dynamicRegistryManager, HeightLimitView world)