Uses of Class
net.minecraft.util.registry.Registry
Packages that use Registry
Package
Description
-
Uses of Registry in net.minecraft.block.entity
Methods in net.minecraft.block.entity with parameters of type RegistryModifier and TypeMethodDescriptionstatic BannerPatternBannerPatterns.initAndGetDefault(Registry<BannerPattern> registry) -
Uses of Registry in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as RegistryMethods in net.minecraft.client.gui.screen with parameters of type RegistryModifier and TypeMethodDescriptionstatic FlatChunkGeneratorConfigPresetsScreen.parsePresetString(Registry<Biome> biomeRegistry, Registry<StructureSet> structureSetRegistry, String preset, FlatChunkGeneratorConfig generatorConfig) -
Uses of Registry in net.minecraft.client.gui.screen.world
Methods in net.minecraft.client.gui.screen.world with parameters of type RegistryModifier and TypeMethodDescriptionprivate static Optional<List<RegistryEntry<WorldPreset>>>MoreOptionsDialog.collectPresets(Registry<WorldPreset> presetRegistry, TagKey<WorldPreset> tag) -
Uses of Registry in net.minecraft.client.network
Method parameters in net.minecraft.client.network with type arguments of type RegistryModifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ClientCommandSource.listIdSuggestions(RegistryKey<? extends Registry<?>> registryRef, CommandSource.SuggestedIdType suggestedIdType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.context.CommandContext<?> context) private <T> voidClientPlayNetworkHandler.loadTags(RegistryKey<? extends Registry<? extends T>> registryKey, TagPacketSerializer.Serialized serialized) -
Uses of Registry in net.minecraft.command
Fields in net.minecraft.command declared as RegistryMethods in net.minecraft.command with parameters of type RegistryModifier and TypeMethodDescriptionstatic <T> CommandRegistryWrapper<T>Returns a new wrapper for theregistrywithout any special behaviors.default voidCommandSource.suggestIdentifiers(Registry<?> registry, CommandSource.SuggestedIdType suggestedIdType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) Method parameters in net.minecraft.command with type arguments of type RegistryModifier and TypeMethodDescription<T> CommandRegistryWrapper<T>CommandRegistryAccess.createWrapper(RegistryKey<? extends Registry<T>> registryRef) Creates a registry wrapper that follows the entry list creation policy.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>CommandSource.listIdSuggestions(RegistryKey<? extends Registry<?>> registryRef, CommandSource.SuggestedIdType suggestedIdType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.context.CommandContext<?> context) Constructors in net.minecraft.command with parameters of type Registry -
Uses of Registry in net.minecraft.command.argument
Fields in net.minecraft.command.argument with type parameters of type RegistryModifier and TypeFieldDescription(package private) final RegistryKey<? extends Registry<T>>RegistryKeyArgumentType.registryRef(package private) final RegistryKey<? extends Registry<T>>RegistryKeyArgumentType.Serializer.Properties.registryRef(package private) final RegistryKey<? extends Registry<T>>RegistryPredicateArgumentType.registryRef(package private) final RegistryKey<? extends Registry<T>>RegistryPredicateArgumentType.Serializer.Properties.registryRefMethods in net.minecraft.command.argument that return RegistryModifier and TypeMethodDescriptionprivate static <T> Registry<T>RegistryKeyArgumentType.getRegistry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryKey<? extends Registry<T>> registryRef) Methods in net.minecraft.command.argument with parameters of type RegistryModifier and TypeMethodDescriptionBlockArgumentParser.block(Registry<Block> registry, com.mojang.brigadier.StringReader reader, boolean allowSnbt) static com.mojang.datafixers.util.Either<BlockArgumentParser.BlockResult,BlockArgumentParser.TagResult> BlockArgumentParser.blockOrTag(Registry<Block> registry, com.mojang.brigadier.StringReader reader, boolean allowSnbt) static com.mojang.datafixers.util.Either<BlockArgumentParser.BlockResult,BlockArgumentParser.TagResult> BlockArgumentParser.blockOrTag(Registry<Block> registry, String string, boolean allowSnbt) static ArgumentSerializer<?,?> ArgumentTypes.register(Registry<ArgumentSerializer<?, ?>> registry) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,T extends ArgumentSerializer.ArgumentTypeProperties<A>>
ArgumentSerializer<A,T> ArgumentTypes.register(Registry<ArgumentSerializer<?, ?>> registry, String id, Class<? extends A> clazz, ArgumentSerializer<A, T> serializer) Registers an argument type's serializer.Method parameters in net.minecraft.command.argument with type arguments of type RegistryModifier and TypeMethodDescriptionprivate static <T> RegistryKey<T>RegistryKeyArgumentType.getKey(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef, com.mojang.brigadier.exceptions.DynamicCommandExceptionType invalidException) static <T> RegistryPredicateArgumentType.RegistryPredicate<T>RegistryPredicateArgumentType.getPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef, com.mojang.brigadier.exceptions.DynamicCommandExceptionType invalidException) private static <T> Registry<T>RegistryKeyArgumentType.getRegistry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryKey<? extends Registry<T>> registryRef) private static <T> RegistryEntry<T>RegistryKeyArgumentType.getRegistryEntry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef, com.mojang.brigadier.exceptions.DynamicCommandExceptionType invalidException) static <T> RegistryKeyArgumentType<T>RegistryKeyArgumentType.registryKey(RegistryKey<? extends Registry<T>> registryRef) static <T> RegistryPredicateArgumentType<T>RegistryPredicateArgumentType.registryPredicate(RegistryKey<? extends Registry<T>> registryRef) RegistryPredicateArgumentType.RegistryKeyBased.tryCast(RegistryKey<? extends Registry<E>> registryRef) RegistryPredicateArgumentType.RegistryPredicate.tryCast(RegistryKey<? extends Registry<E>> registryRef) RegistryPredicateArgumentType.TagBased.tryCast(RegistryKey<? extends Registry<E>> registryRef) Constructor parameters in net.minecraft.command.argument with type arguments of type RegistryModifierConstructorDescription(package private)Properties(RegistryKey<? extends Registry<T>> registryRef) (package private)Properties(RegistryKey<? extends Registry<T>> registryRef) RegistryKeyArgumentType(RegistryKey<? extends Registry<T>> registryRef) RegistryPredicateArgumentType(RegistryKey<? extends Registry<T>> registryRef) -
Uses of Registry in net.minecraft.data.report
Methods in net.minecraft.data.report with parameters of type Registry -
Uses of Registry in net.minecraft.data.server
Fields in net.minecraft.data.server declared as RegistryModifier and TypeFieldDescriptionAbstractTagProvider.ObjectBuilder.registryAbstractTagProvider.registryConstructors in net.minecraft.data.server with parameters of type RegistryModifierConstructorDescriptionprotectedAbstractTagProvider(DataGenerator root, Registry<T> registry) (package private)ObjectBuilder(TagBuilder builder, Registry<T> registry) -
Uses of Registry in net.minecraft.entity.decoration.painting
Methods in net.minecraft.entity.decoration.painting with parameters of type RegistryModifier and TypeMethodDescriptionstatic PaintingVariantPaintingVariants.registerAndGetDefault(Registry<PaintingVariant> registry) -
Uses of Registry in net.minecraft.item
Methods in net.minecraft.item with parameters of type RegistryModifier and TypeMethodDescriptionbooleanItemStack.canDestroy(Registry<Block> blockRegistry, CachedBlockPosition pos) booleanItemStack.canPlaceOn(Registry<Block> blockRegistry, CachedBlockPosition pos) booleanBlockPredicatesChecker.check(ItemStack stack, Registry<Block> blockRegistry, CachedBlockPosition pos) Returns true if any of the predicates in thestack's NBT matched against the block atpos, false otherwise.static InstrumentInstruments.registerAndGetDefault(Registry<Instrument> registry) -
Uses of Registry in net.minecraft.network
Method parameters in net.minecraft.network with type arguments of type RegistryModifier and TypeMethodDescription<T> RegistryKey<T>PacketByteBuf.readRegistryKey(RegistryKey<? extends Registry<T>> registryRef) Reads a registry key from this buf. -
Uses of Registry in net.minecraft.network.message
Methods in net.minecraft.network.message with parameters of type RegistryModifier and TypeMethodDescriptionstatic RegistryEntry<MessageType>MessageType.initialize(Registry<MessageType> registry) -
Uses of Registry in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final Map<RegistryKey<? extends Registry<?>>,TagPacketSerializer.Serialized> SynchronizeTagsS2CPacket.groupsMethods in net.minecraft.network.packet.s2c.play that return types with arguments of type RegistryModifier and TypeMethodDescriptionMap<RegistryKey<? extends Registry<?>>,TagPacketSerializer.Serialized> SynchronizeTagsS2CPacket.getGroups()Methods in net.minecraft.network.packet.s2c.play with parameters of type RegistryModifier and TypeMethodDescriptionChatMessageS2CPacket.getMessageType(Registry<MessageType> registry) Returns the message type of the chat message.GameMessageS2CPacket.getMessageType(Registry<MessageType> registry) Returns the message type of the chat message.Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type RegistryModifierConstructorDescriptionSynchronizeTagsS2CPacket(Map<RegistryKey<? extends Registry<?>>, TagPacketSerializer.Serialized> groups) -
Uses of Registry in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity declared as RegistryMethods in net.minecraft.predicate.entity with parameters of type RegistryConstructors in net.minecraft.predicate.entity with parameters of type Registry -
Uses of Registry in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type RegistryModifier and TypeMethodDescriptionprivate static Optional<? extends RegistryEntryList.ListBacked<Structure>>LocateCommand.getStructureListForPredicate(RegistryPredicateArgumentType.RegistryPredicate<Structure> predicate, Registry<Structure> structureRegistry) Method parameters in net.minecraft.server.command with type arguments of type RegistryModifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ServerCommandSource.listIdSuggestions(RegistryKey<? extends Registry<?>> registryRef, CommandSource.SuggestedIdType suggestedIdType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.context.CommandContext<?> context) -
Uses of Registry in net.minecraft.stat
Fields in net.minecraft.stat declared as RegistryMethods in net.minecraft.stat that return RegistryMethods in net.minecraft.stat with parameters of type RegistryModifier and TypeMethodDescriptionprivate static <T> StatType<T>Stats.registerType(String id, Registry<T> registry) Constructors in net.minecraft.stat with parameters of type Registry -
Uses of Registry in net.minecraft.structure
Methods in net.minecraft.structure with parameters of type RegistryModifier and TypeMethodDescriptionstatic RegistryEntry<StructureSet>StructureSets.initAndGetDefault(Registry<StructureSet> registry) -
Uses of Registry in net.minecraft.structure.pool
Fields in net.minecraft.structure.pool declared as RegistryModifier and TypeFieldDescriptionprivate final Registry<StructurePool>StructurePoolBasedGenerator.StructurePoolGenerator.registryMethods in net.minecraft.structure.pool with parameters of type RegistryModifier and TypeMethodDescriptionprivate static voidStructurePoolBasedGenerator.generate(NoiseConfig noiseConfig, int maxSize, boolean modifyBoundingBox, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, HeightLimitView heightLimitView, Random random, Registry<StructurePool> structurePoolRegistry, PoolStructurePiece firstPiece, List<PoolStructurePiece> pieces, VoxelShape pieceShape) static RegistryEntry<StructurePool>StructurePools.initDefaultPools(Registry<StructurePool> registry) Constructors in net.minecraft.structure.pool with parameters of type RegistryModifierConstructorDescription(package private)StructurePoolGenerator(Registry<StructurePool> registry, int maxSize, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, List<? super PoolStructurePiece> children, Random random) -
Uses of Registry in net.minecraft.tag
Fields in net.minecraft.tag with type parameters of type RegistryModifier and TypeFieldDescriptionprivate static final Map<RegistryKey<? extends Registry<?>>,String> TagManagerLoader.DIRECTORIESprivate final RegistryKey<? extends Registry<T>>TagManagerLoader.RegistryTags.keyThe field for thekeyrecord component.private final RegistryKey<? extends Registry<T>>TagKey.registryThe field for theregistryrecord component.Methods in net.minecraft.tag that return types with arguments of type RegistryModifier and TypeMethodDescriptionRegistryKey<? extends Registry<T>>TagManagerLoader.RegistryTags.key()Returns the value of thekeyrecord component.RegistryKey<? extends Registry<T>>TagKey.registry()Returns the value of theregistryrecord component.static Map<RegistryKey<? extends Registry<?>>,TagPacketSerializer.Serialized> TagPacketSerializer.serializeTags(DynamicRegistryManager dynamicRegistryManager) Methods in net.minecraft.tag with parameters of type RegistryModifier and TypeMethodDescriptionstatic <T> voidTagPacketSerializer.loadTags(RegistryKey<? extends Registry<T>> registryKey, Registry<T> registry, TagPacketSerializer.Serialized serialized, TagPacketSerializer.Loader<T> loader) private static <T> TagPacketSerializer.SerializedTagPacketSerializer.serializeTags(Registry<T> registry) Method parameters in net.minecraft.tag with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<TagKey<T>>TagKey.codec(RegistryKey<? extends Registry<T>> registry) static StringTagManagerLoader.getPath(RegistryKey<? extends Registry<?>> registry) booleanTagKey.isOf(RegistryKey<? extends Registry<?>> registryRef) static <T> voidTagPacketSerializer.loadTags(RegistryKey<? extends Registry<T>> registryKey, Registry<T> registry, TagPacketSerializer.Serialized serialized, TagPacketSerializer.Loader<T> loader) static <T> TagKey<T>TagKey.of(RegistryKey<? extends Registry<T>> registry, Identifier id) TagKey.tryCast(RegistryKey<? extends Registry<E>> registryRef) static <T> com.mojang.serialization.Codec<TagKey<T>>TagKey.unprefixedCodec(RegistryKey<? extends Registry<T>> registry) Constructor parameters in net.minecraft.tag with type arguments of type RegistryModifierConstructorDescriptionRegistryTags(RegistryKey<? extends Registry<T>> registryKey, Map<Identifier, Collection<RegistryEntry<T>>> map) TagKey(RegistryKey<? extends Registry<T>> registryKey, Identifier identifier) Deprecated. -
Uses of Registry in net.minecraft.util
Fields in net.minecraft.util declared as RegistryModifier and TypeFieldDescriptionJsonSerializing.GsonSerializer.registryJsonSerializing.SerializerBuilder.registryMethods in net.minecraft.util with parameters of type RegistryModifier and TypeMethodDescriptionstatic <E,T extends JsonSerializableType<E>>
JsonSerializing.SerializerBuilder<E,T> JsonSerializing.createSerializerBuilder(Registry<T> registry, String rootFieldName, String idFieldName, Function<E, T> typeGetter) Constructors in net.minecraft.util with parameters of type RegistryModifierConstructorDescription(package private)GsonSerializer(Registry<T> registry, String rootFieldName, String idFieldName, Function<E, T> typeGetter, T defaultType, @Nullable com.mojang.datafixers.util.Pair<T, JsonSerializing.ElementSerializer<? extends E>> elementSerializer) (package private)SerializerBuilder(Registry<T> registry, String rootFieldName, String idFieldName, Function<E, T> typeIdentification) -
Uses of Registry in net.minecraft.util.dynamic
Fields in net.minecraft.util.dynamic with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final RegistryKey<? extends Registry<E>>RegistryElementCodec.registryRefprivate final Map<RegistryKey<? extends Registry<?>>,RegistryLoader.ValueHolder<?>> RegistryLoader.valueHoldersMethods in net.minecraft.util.dynamic that return types with arguments of type RegistryModifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.MapCodec<Registry<E>>RegistryOps.createRegistryCodec(RegistryKey<? extends Registry<? extends E>> registryRef) RegistryOps.getRegistry(RegistryKey<? extends Registry<? extends E>> key) <E> com.mojang.serialization.DataResult<? extends Registry<E>>RegistryLoader.load(MutableRegistry<E> registry, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.DynamicOps<JsonElement> ops) <E> com.mojang.serialization.DataResult<? extends Registry<E>>RegistryLoader.LoaderAccess.load(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.DynamicOps<JsonElement> ops) Method parameters in net.minecraft.util.dynamic with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.MapCodec<Registry<E>>RegistryOps.createRegistryCodec(RegistryKey<? extends Registry<? extends E>> registryRef) <E> Map<RegistryKey<E>,EntryLoader.Parseable<E>> EntryLoader.getKnownEntryPaths(RegistryKey<? extends Registry<E>> key) <E> Map<RegistryKey<E>,EntryLoader.Parseable<E>> EntryLoader.Impl.getKnownEntryPaths(RegistryKey<? extends Registry<E>> key) private <E> RegistryLoader.ValueHolder<E>RegistryLoader.getOrCreateValueHolder(RegistryKey<? extends Registry<E>> registryRef) RegistryOps.getRegistry(RegistryKey<? extends Registry<? extends E>> key) <E> com.mojang.serialization.DataResult<? extends Registry<E>>RegistryLoader.load(MutableRegistry<E> registry, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.DynamicOps<JsonElement> ops) (package private) <E> com.mojang.serialization.DataResult<RegistryEntry<E>>RegistryLoader.load(MutableRegistry<E> registry, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, RegistryKey<E> entryKey, com.mojang.serialization.DynamicOps<JsonElement> ops) private <E> com.mojang.serialization.DataResult<RegistryEntry<E>>RegistryLoader.load(MutableRegistry<E> registry, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, RegistryKey<E> entryKey, Optional<EntryLoader.Parseable<E>> parseable, com.mojang.serialization.DynamicOps<JsonElement> ops) <E> com.mojang.serialization.DataResult<? extends Registry<E>>RegistryLoader.LoaderAccess.load(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.DynamicOps<JsonElement> ops) <E> com.mojang.serialization.DataResult<RegistryEntry<E>>RegistryLoader.LoaderAccess.load(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, RegistryKey<E> entryKey, com.mojang.serialization.DynamicOps<JsonElement> ops) static <E> RegistryElementCodec<E>RegistryElementCodec.of(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec) static <E> RegistryElementCodec<E>RegistryElementCodec.of(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions) Constructor parameters in net.minecraft.util.dynamic with type arguments of type RegistryModifierConstructorDescriptionprivateRegistryElementCodec(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions) -
Uses of Registry in net.minecraft.util.registry
Subclasses of Registry in net.minecraft.util.registryModifier and TypeClassDescriptionclassclassclassFields in net.minecraft.util.registry declared as RegistryModifier and TypeFieldDescriptionRegistry.ACTIVITYstatic final Registry<EntityAttribute>Registry.ATTRIBUTEstatic final Registry<BannerPattern>Registry.BANNER_PATTERNBuiltinRegistries.BIOMEstatic final Registry<com.mojang.serialization.Codec<? extends BiomeSource>>Registry.BIOME_SOURCEstatic final Registry<BlockEntityType<?>>Registry.BLOCK_ENTITY_TYPEstatic final Registry<BlockPredicateType<?>>Registry.BLOCK_PREDICATE_TYPEstatic final Registry<BlockStateProviderType<?>>Registry.BLOCK_STATE_PROVIDER_TYPERegistry.CARVERstatic final Registry<CatVariant>Registry.CAT_VARIANTstatic final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>Registry.CHUNK_GENERATORstatic final Registry<ChunkGeneratorSettings>BuiltinRegistries.CHUNK_GENERATOR_SETTINGSstatic final Registry<ArgumentSerializer<?,?>> Registry.COMMAND_ARGUMENT_TYPEstatic final Registry<ConfiguredCarver<?>>BuiltinRegistries.CONFIGURED_CARVERstatic final Registry<ConfiguredFeature<?,?>> BuiltinRegistries.CONFIGURED_FEATUREstatic final Registry<Identifier>Registry.CUSTOM_STATstatic final Registry<DensityFunction>BuiltinRegistries.DENSITY_FUNCTIONstatic final Registry<com.mojang.serialization.Codec<? extends DensityFunction>>Registry.DENSITY_FUNCTION_TYPEstatic final Registry<DimensionType>BuiltinRegistries.DIMENSION_TYPEstatic final Registry<Enchantment>Registry.ENCHANTMENTRegistry.FEATUREstatic final Registry<FeatureSizeType<?>>Registry.FEATURE_SIZE_TYPEstatic final Registry<FlatLevelGeneratorPreset>BuiltinRegistries.FLAT_LEVEL_GENERATOR_PRESETstatic final Registry<FloatProviderType<?>>Registry.FLOAT_PROVIDER_TYPEstatic final Registry<FoliagePlacerType<?>>Registry.FOLIAGE_PLACER_TYPEstatic final Registry<FrogVariant>Registry.FROG_VARIANTstatic final Registry<HeightProviderType<?>>Registry.HEIGHT_PROVIDER_TYPEstatic final Registry<Instrument>Registry.INSTRUMENTstatic final Registry<IntProviderType<?>>Registry.INT_PROVIDER_TYPEstatic final Registry<LootConditionType>Registry.LOOT_CONDITION_TYPEstatic final Registry<LootFunctionType>Registry.LOOT_FUNCTION_TYPEstatic final Registry<LootNbtProviderType>Registry.LOOT_NBT_PROVIDER_TYPEstatic final Registry<LootNumberProviderType>Registry.LOOT_NUMBER_PROVIDER_TYPEstatic final Registry<LootPoolEntryType>Registry.LOOT_POOL_ENTRY_TYPEstatic final Registry<LootScoreProviderType>Registry.LOOT_SCORE_PROVIDER_TYPEstatic final Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialCondition>>Registry.MATERIAL_CONDITIONstatic final Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>>Registry.MATERIAL_RULEstatic final Registry<MessageType>BuiltinRegistries.MESSAGE_TYPEstatic final Registry<DoublePerlinNoiseSampler.NoiseParameters>BuiltinRegistries.NOISE_PARAMETERSstatic final Registry<ParticleType<?>>Registry.PARTICLE_TYPEstatic final Registry<PlacedFeature>BuiltinRegistries.PLACED_FEATUREstatic final Registry<PlacementModifierType<?>>Registry.PLACEMENT_MODIFIER_TYPEstatic final Registry<PointOfInterestType>Registry.POINT_OF_INTEREST_TYPEstatic final Registry<PosRuleTestType<?>>Registry.POS_RULE_TESTstatic final Registry<PositionSourceType<?>>Registry.POSITION_SOURCE_TYPEstatic final Registry<RecipeSerializer<?>>Registry.RECIPE_SERIALIZERstatic final Registry<RecipeType<?>>Registry.RECIPE_TYPEBuiltinRegistries.REGISTRIESRegistry.REGISTRIESRegistryEntry.Reference.registryRegistryEntryList.Named.registrystatic final Registry<RootPlacerType<?>>Registry.ROOT_PLACER_TYPEstatic final Registry<RuleTestType<?>>Registry.RULE_TESTRegistry.SCHEDULEstatic final Registry<ScreenHandlerType<?>>Registry.SCREEN_HANDLERstatic final Registry<SoundEvent>Registry.SOUND_EVENTRegistry.STAT_TYPEstatic final Registry<StatusEffect>Registry.STATUS_EFFECTBuiltinRegistries.STRUCTUREstatic final Registry<StructurePieceType>Registry.STRUCTURE_PIECEstatic final Registry<StructurePlacementType<?>>Registry.STRUCTURE_PLACEMENTstatic final Registry<StructurePool>BuiltinRegistries.STRUCTURE_POOLstatic final Registry<StructurePoolElementType<?>>Registry.STRUCTURE_POOL_ELEMENTstatic final Registry<StructureProcessorType<?>>Registry.STRUCTURE_PROCESSORstatic final Registry<StructureProcessorList>BuiltinRegistries.STRUCTURE_PROCESSOR_LISTstatic final Registry<StructureSet>BuiltinRegistries.STRUCTURE_SETstatic final Registry<StructureType<?>>Registry.STRUCTURE_TYPEstatic final Registry<TreeDecoratorType<?>>Registry.TREE_DECORATOR_TYPEstatic final Registry<TrunkPlacerType<?>>Registry.TRUNK_PLACER_TYPEDynamicRegistryManager.Entry.valueThe field for thevaluerecord component.static final Registry<WorldPreset>BuiltinRegistries.WORLD_PRESETFields in net.minecraft.util.registry with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final RegistryKey<Registry<Activity>>Registry.ACTIVITY_KEYstatic final RegistryKey<Registry<EntityAttribute>>Registry.ATTRIBUTE_KEYstatic final RegistryKey<Registry<BannerPattern>>Registry.BANNER_PATTERN_KEYstatic final RegistryKey<Registry<Biome>>Registry.BIOME_KEYstatic final RegistryKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>Registry.BIOME_SOURCE_KEYstatic final RegistryKey<Registry<BlockEntityType<?>>>Registry.BLOCK_ENTITY_TYPE_KEYstatic final RegistryKey<Registry<Block>>Registry.BLOCK_KEYstatic final RegistryKey<Registry<BlockPredicateType<?>>>Registry.BLOCK_PREDICATE_TYPE_KEYstatic final RegistryKey<Registry<BlockStateProviderType<?>>>Registry.BLOCK_STATE_PROVIDER_TYPE_KEYstatic final RegistryKey<Registry<Carver<?>>>Registry.CARVER_KEYstatic final RegistryKey<Registry<CatVariant>>Registry.CAT_VARIANT_KEYstatic final RegistryKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>Registry.CHUNK_GENERATOR_KEYstatic final RegistryKey<Registry<ChunkGeneratorSettings>>Registry.CHUNK_GENERATOR_SETTINGS_KEYstatic final RegistryKey<Registry<ChunkStatus>>Registry.CHUNK_STATUS_KEYstatic final RegistryKey<Registry<ArgumentSerializer<?,?>>> Registry.COMMAND_ARGUMENT_TYPE_KEYstatic final RegistryKey<Registry<ConfiguredCarver<?>>>Registry.CONFIGURED_CARVER_KEYstatic final RegistryKey<Registry<ConfiguredFeature<?,?>>> Registry.CONFIGURED_FEATURE_KEYstatic final RegistryKey<Registry<Identifier>>Registry.CUSTOM_STAT_KEYstatic final RegistryKey<Registry<DensityFunction>>Registry.DENSITY_FUNCTION_KEYstatic final RegistryKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>>Registry.DENSITY_FUNCTION_TYPE_KEYstatic final RegistryKey<Registry<DimensionOptions>>Registry.DIMENSION_KEYA registry key representing theDimensionOptionstype.static final RegistryKey<Registry<DimensionType>>Registry.DIMENSION_TYPE_KEYstatic final RegistryKey<Registry<Enchantment>>Registry.ENCHANTMENT_KEYstatic final RegistryKey<Registry<EntityType<?>>>Registry.ENTITY_TYPE_KEYstatic final RegistryKey<Registry<Feature<?>>>Registry.FEATURE_KEYstatic final RegistryKey<Registry<FeatureSizeType<?>>>Registry.FEATURE_SIZE_TYPE_KEYstatic final RegistryKey<Registry<FlatLevelGeneratorPreset>>Registry.FLAT_LEVEL_GENERATOR_PRESET_KEYstatic final RegistryKey<Registry<FloatProviderType<?>>>Registry.FLOAT_PROVIDER_TYPE_KEYstatic final RegistryKey<Registry<Fluid>>Registry.FLUID_KEYstatic final RegistryKey<Registry<FoliagePlacerType<?>>>Registry.FOLIAGE_PLACER_TYPE_KEYstatic final RegistryKey<Registry<FrogVariant>>Registry.FROG_VARIANT_KEYstatic final RegistryKey<Registry<GameEvent>>Registry.GAME_EVENT_KEYstatic final RegistryKey<Registry<HeightProviderType<?>>>Registry.HEIGHT_PROVIDER_TYPE_KEYstatic final Map<RegistryKey<? extends Registry<?>>,DynamicRegistryManager.Info<?>> DynamicRegistryManager.INFOSstatic final RegistryKey<Registry<Instrument>>Registry.INSTRUMENT_KEYstatic final RegistryKey<Registry<IntProviderType<?>>>Registry.INT_PROVIDER_TYPE_KEYstatic final RegistryKey<Registry<Item>>Registry.ITEM_KEYprivate final RegistryKey<? extends Registry<T>>DynamicRegistryManager.Entry.keyThe field for thekeyrecord component.static final RegistryKey<Registry<LootConditionType>>Registry.LOOT_CONDITION_TYPE_KEYstatic final RegistryKey<Registry<LootFunctionType>>Registry.LOOT_FUNCTION_TYPE_KEYstatic final RegistryKey<Registry<LootNbtProviderType>>Registry.LOOT_NBT_PROVIDER_TYPE_KEYstatic final RegistryKey<Registry<LootNumberProviderType>>Registry.LOOT_NUMBER_PROVIDER_TYPE_KEYstatic final RegistryKey<Registry<LootPoolEntryType>>Registry.LOOT_POOL_ENTRY_TYPE_KEYstatic final RegistryKey<Registry<LootScoreProviderType>>Registry.LOOT_SCORE_PROVIDER_TYPE_KEYstatic final RegistryKey<Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialCondition>>>Registry.MATERIAL_CONDITION_KEYstatic final RegistryKey<Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>>>Registry.MATERIAL_RULE_KEYstatic final RegistryKey<Registry<MemoryModuleType<?>>>Registry.MEMORY_MODULE_TYPE_KEYstatic final RegistryKey<Registry<ScreenHandlerType<?>>>Registry.MENU_KEYstatic final RegistryKey<Registry<MessageType>>Registry.MESSAGE_TYPE_KEYstatic final RegistryKey<Registry<StatusEffect>>Registry.MOB_EFFECT_KEYprivate final Map<? extends RegistryKey<? extends Registry<?>>,? extends MutableRegistry<?>> DynamicRegistryManager.MutableImpl.mutableRegistriesstatic final RegistryKey<Registry<DoublePerlinNoiseSampler.NoiseParameters>>Registry.NOISE_KEYstatic final RegistryKey<Registry<PaintingVariant>>Registry.PAINTING_VARIANT_KEYstatic final RegistryKey<Registry<ParticleType<?>>>Registry.PARTICLE_TYPE_KEYstatic final RegistryKey<Registry<PlacedFeature>>Registry.PLACED_FEATURE_KEYstatic final RegistryKey<Registry<PlacementModifierType<?>>>Registry.PLACEMENT_MODIFIER_TYPE_KEYstatic final RegistryKey<Registry<PointOfInterestType>>Registry.POINT_OF_INTEREST_TYPE_KEYstatic final RegistryKey<Registry<PosRuleTestType<?>>>Registry.POS_RULE_TEST_KEYstatic final RegistryKey<Registry<PositionSourceType<?>>>Registry.POSITION_SOURCE_TYPE_KEYstatic final RegistryKey<Registry<Potion>>Registry.POTION_KEYstatic final RegistryKey<Registry<RecipeSerializer<?>>>Registry.RECIPE_SERIALIZER_KEYstatic final RegistryKey<Registry<RecipeType<?>>>Registry.RECIPE_TYPE_KEYprivate final Map<? extends RegistryKey<? extends Registry<?>>,? extends Registry<?>> DynamicRegistryManager.ImmutableImpl.registriesprivate final Map<? extends RegistryKey<? extends Registry<?>>,? extends Registry<?>> DynamicRegistryManager.ImmutableImpl.registriesBuiltinRegistries.REGISTRIESRegistry.REGISTRIESprivate final RegistryKey<? extends Registry<E>>DynamicRegistryManager.Info.registryThe field for theregistryrecord component.private final RegistryKey<? extends Registry<E>>RegistryEntryListCodec.registryprivate final RegistryKey<? extends Registry<E>>RegistryFixedCodec.registryprivate final RegistryKey<? extends Registry<T>>Registry.registryKeyThe key representing the type of elements held by this registry.static final RegistryKey<Registry<RootPlacerType<?>>>Registry.ROOT_PLACER_TYPE_KEYstatic final RegistryKey<Registry<RuleTestType<?>>>Registry.RULE_TEST_KEYstatic final RegistryKey<Registry<Schedule>>Registry.SCHEDULE_KEYstatic final RegistryKey<Registry<SensorType<?>>>Registry.SENSOR_TYPE_KEYstatic final RegistryKey<Registry<SoundEvent>>Registry.SOUND_EVENT_KEYstatic final RegistryKey<Registry<StatType<?>>>Registry.STAT_TYPE_KEYstatic final RegistryKey<Registry<Structure>>Registry.STRUCTURE_KEYstatic final RegistryKey<Registry<StructurePieceType>>Registry.STRUCTURE_PIECE_KEYstatic final RegistryKey<Registry<StructurePlacementType<?>>>Registry.STRUCTURE_PLACEMENT_KEYstatic final RegistryKey<Registry<StructurePoolElementType<?>>>Registry.STRUCTURE_POOL_ELEMENT_KEYstatic final RegistryKey<Registry<StructurePool>>Registry.STRUCTURE_POOL_KEYstatic final RegistryKey<Registry<StructureProcessorType<?>>>Registry.STRUCTURE_PROCESSOR_KEYstatic final RegistryKey<Registry<StructureProcessorList>>Registry.STRUCTURE_PROCESSOR_LIST_KEYstatic final RegistryKey<Registry<StructureSet>>Registry.STRUCTURE_SET_KEYstatic final RegistryKey<Registry<StructureType<?>>>Registry.STRUCTURE_TYPE_KEYstatic final RegistryKey<Registry<TreeDecoratorType<?>>>Registry.TREE_DECORATOR_TYPE_KEYstatic final RegistryKey<Registry<TrunkPlacerType<?>>>Registry.TRUNK_PLACER_TYPE_KEYstatic final RegistryKey<Registry<VillagerProfession>>Registry.VILLAGER_PROFESSION_KEYstatic final RegistryKey<Registry<VillagerType>>Registry.VILLAGER_TYPE_KEYstatic final RegistryKey<Registry<World>>Registry.WORLD_KEYA registry key representing theWorldtype.static final RegistryKey<Registry<WorldPreset>>Registry.WORLD_PRESET_KEYMethods in net.minecraft.util.registry with type parameters of type RegistryModifier and TypeMethodDescriptionprivate static <K extends RegistryKey<? extends Registry<?>>,V extends Registry<?>>
com.mojang.serialization.Codec<DynamicRegistryManager>DynamicRegistryManager.createCodec(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> originalCodec) private static <K extends RegistryKey<? extends Registry<?>>,V extends Registry<?>>
com.mojang.serialization.Codec<DynamicRegistryManager>DynamicRegistryManager.createCodec(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> originalCodec) private static <T,R extends Registry<? extends T>>
DynamicRegistryManager.Entry<T>DynamicRegistryManager.Entry.of(Map.Entry<? extends RegistryKey<? extends Registry<?>>, R> entry) static <T extends Registry<?>>
voidMethods in net.minecraft.util.registry that return RegistryModifier and TypeMethodDescriptionprivate static <T> Registry<T>BuiltinRegistries.addRegistry(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, BuiltinRegistries.Initializer<T> initializer) private static <T> Registry<T>BuiltinRegistries.addRegistry(RegistryKey<? extends Registry<T>> registryRef, BuiltinRegistries.Initializer<T> initializer) private static <T> Registry<T>Registry.create(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Function<T, RegistryEntry.Reference<T>> valueToEntryFunction, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T> Registry<T>Registry.create(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T> Registry<T>Registry.create(RegistryKey<? extends Registry<T>> key, Registry.DefaultEntryGetter<T> defaultEntryGetter) static <E> Registry<E>DynamicRegistryManager.createRegistry(RegistryKey<? extends Registry<? extends E>> registryRef, com.mojang.serialization.Dynamic<?> dynamic) Registry.freeze()SimpleRegistry.freeze()default <E> Registry<E>DynamicRegistryManager.get(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry from this manager orREGISTRIES, or throws an exception when the registry does not exist.default <E> Registry<E>DynamicRegistryManager.getManaged(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry from this manager, or throws an exception when the registry does not exist.DynamicRegistryManager.Entry.value()Returns the value of thevaluerecord component.Methods in net.minecraft.util.registry that return types with arguments of type RegistryModifier and TypeMethodDescriptionprivate static Map<RegistryKey<? extends Registry<?>>,? extends MutableRegistry<?>> DynamicRegistryManager.createMutableRegistries()static <T> com.mojang.serialization.Codec<Registry<T>>RegistryCodecs.createRegistryCodec(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> elementCodec) private static <E> com.mojang.serialization.Decoder<Registry<E>>RegistryCodecs.createRegistryDecoder(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.Decoder<Map<RegistryKey<E>, E>> entryMapDecoder, com.mojang.serialization.Lifecycle lifecycle) private static <T> RegistryKey<Registry<T>>Registry.createRegistryKey(String registryId) static <E> com.mojang.serialization.Codec<Registry<E>>RegistryCodecs.dynamicRegistry(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<E> elementCodec) RegistryKey<? extends Registry<T>>Registry.getKey()DynamicRegistryManager.getOptional(RegistryKey<? extends Registry<? extends E>> key) DynamicRegistryManager.getOptionalManaged(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.DynamicRegistryManager.ImmutableImpl.getOptionalManaged(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.DynamicRegistryManager.MutableImpl.getOptionalManaged(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.RegistryKey<? extends Registry<T>>DynamicRegistryManager.Entry.key()Returns the value of thekeyrecord component.static <T> RegistryKey<Registry<T>>RegistryKey.ofRegistry(Identifier registry) Creates a registry key for a registry in the root registry (registry of all registries) with an identifier for the registry.RegistryKey<? extends Registry<E>>DynamicRegistryManager.Info.registry()Returns the value of theregistryrecord component.Methods in net.minecraft.util.registry with parameters of type RegistryModifier and TypeMethodDescriptionstatic <T> RegistryEntry<T>static <T> RegistryEntry<T>BuiltinRegistries.add(Registry<T> registry, Identifier id, T object) static <T> RegistryEntry<T>BuiltinRegistries.add(Registry<T> registry, RegistryKey<T> key, T object) static <V extends T,T>
RegistryEntry<V>static <T> RegistryEntry.Reference<T>Deprecated.booleanbooleanbooleanbooleanRegistryEntry.Direct.matchesRegistry(Registry<T> registry) booleanRegistryEntry.matchesRegistry(Registry<T> registry) booleanRegistryEntry.Reference.matchesRegistry(Registry<T> registry) private static <T> DynamicRegistryManager.Entry<T>DynamicRegistryManager.Entry.of(RegistryKey<? extends Registry<?>> key, Registry<?> value) static <T> Tstatic <V,T extends V>
Tstatic <V,T extends V>
TRegistry.register(Registry<V> registry, Identifier id, T entry) static <V,T extends V>
TRegistry.register(Registry<V> registry, RegistryKey<V> key, T entry) RegistryEntry<? extends T>static <T> RegistryEntry.Reference<T>RegistryEntry.Reference.standAlone(Registry<T> registry, RegistryKey<T> registryKey) static <T extends Registry<?>>
voidMethod parameters in net.minecraft.util.registry with type arguments of type RegistryModifier and TypeMethodDescriptionprivate static <T> Registry<T>BuiltinRegistries.addRegistry(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, BuiltinRegistries.Initializer<T> initializer) private static <T> Registry<T>BuiltinRegistries.addRegistry(RegistryKey<? extends Registry<T>> registryRef, BuiltinRegistries.Initializer<T> initializer) private static <T,R extends MutableRegistry<T>>
RBuiltinRegistries.addRegistry(RegistryKey<? extends Registry<T>> registryRef, R registry, BuiltinRegistries.Initializer<T> initializer, com.mojang.serialization.Lifecycle lifecycle) private static <T> Registry<T>Registry.create(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Function<T, RegistryEntry.Reference<T>> valueToEntryFunction, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T> Registry<T>Registry.create(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T> DefaultedRegistry<T>Registry.create(RegistryKey<? extends Registry<T>> key, String defaultId, com.mojang.serialization.Lifecycle lifecycle, Function<T, RegistryEntry.Reference<T>> valueToEntryFunction, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T> DefaultedRegistry<T>Registry.create(RegistryKey<? extends Registry<T>> key, String defaultId, com.mojang.serialization.Lifecycle lifecycle, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T> DefaultedRegistry<T>Registry.create(RegistryKey<? extends Registry<T>> key, String defaultId, Function<T, RegistryEntry.Reference<T>> valueToEntryFunction, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T> DefaultedRegistry<T>Registry.create(RegistryKey<? extends Registry<T>> key, String defaultId, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T> Registry<T>Registry.create(RegistryKey<? extends Registry<T>> key, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T,R extends MutableRegistry<T>>
RRegistry.create(RegistryKey<? extends Registry<T>> key, R registry, Registry.DefaultEntryGetter<T> defaultEntryGetter, com.mojang.serialization.Lifecycle lifecycle) static <E> com.mojang.serialization.Codec<RegistryEntryList<E>>RegistryEntryListCodec.create(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList) static <T> com.mojang.serialization.Codec<RegistryKey<T>>RegistryKey.createCodec(RegistryKey<? extends Registry<T>> registry) static <E> Registry<E>DynamicRegistryManager.createRegistry(RegistryKey<? extends Registry<? extends E>> registryRef, com.mojang.serialization.Dynamic<?> dynamic) static <T> com.mojang.serialization.Codec<Registry<T>>RegistryCodecs.createRegistryCodec(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> elementCodec) private static <E> com.mojang.serialization.Decoder<Registry<E>>RegistryCodecs.createRegistryDecoder(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.Decoder<Map<RegistryKey<E>, E>> entryMapDecoder, com.mojang.serialization.Lifecycle lifecycle) static <E> MutableRegistry<?>DynamicRegistryManager.createSimpleRegistry(RegistryKey<? extends Registry<?>> registryRef) static <E> com.mojang.serialization.Codec<Registry<E>>RegistryCodecs.dynamicRegistry(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<E> elementCodec) static <E> com.mojang.serialization.Codec<RegistryEntryList<E>>RegistryCodecs.entryList(RegistryKey<? extends Registry<E>> registryRef) static <E> com.mojang.serialization.Codec<RegistryEntryList<E>>RegistryCodecs.entryList(RegistryKey<? extends Registry<E>> registryRef, boolean alwaysSerializeAsList) static <E> com.mojang.serialization.Codec<RegistryEntryList<E>>RegistryCodecs.entryList(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec) static <E> com.mojang.serialization.Codec<RegistryEntryList<E>>RegistryCodecs.entryList(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean alwaysSerializeAsList) default <E> Registry<E>DynamicRegistryManager.get(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry from this manager orREGISTRIES, or throws an exception when the registry does not exist.default <E> Registry<E>DynamicRegistryManager.getManaged(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry from this manager, or throws an exception when the registry does not exist.default <E> MutableRegistry<E>DynamicRegistryManager.Mutable.getMutable(RegistryKey<? extends Registry<? extends E>> key) private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>DynamicRegistryManager.getNetworkEntryCodec(RegistryKey<? extends Registry<E>> registryKey) DynamicRegistryManager.getOptional(RegistryKey<? extends Registry<? extends E>> key) DynamicRegistryManager.getOptionalManaged(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.DynamicRegistryManager.ImmutableImpl.getOptionalManaged(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.DynamicRegistryManager.MutableImpl.getOptionalManaged(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.<E> Optional<MutableRegistry<E>>DynamicRegistryManager.Mutable.getOptionalMutable(RegistryKey<? extends Registry<? extends E>> key) <E> Optional<MutableRegistry<E>>DynamicRegistryManager.MutableImpl.getOptionalMutable(RegistryKey<? extends Registry<? extends E>> key) booleanRegistryKey.isOf(RegistryKey<? extends Registry<?>> registry) Returns whether this registry key belongs to the given registry (according to its type, not whether the registry actually contains this key).private static <T> com.mojang.serialization.MapCodec<RegistryCodecs.RegistryManagerEntry<T>>RegistryCodecs.managerEntry(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.MapCodec<T> elementCodec) private static <T,R extends Registry<? extends T>>
DynamicRegistryManager.Entry<T>DynamicRegistryManager.Entry.of(Map.Entry<? extends RegistryKey<? extends Registry<?>>, R> entry) private static <T> DynamicRegistryManager.Entry<T>DynamicRegistryManager.Entry.of(RegistryEntry.Reference<? extends Registry<? extends T>> entry) private static <T> DynamicRegistryManager.Entry<T>DynamicRegistryManager.Entry.of(RegistryKey<? extends Registry<?>> key, Registry<?> value) static <E> RegistryFixedCodec<E>RegistryFixedCodec.of(RegistryKey<? extends Registry<E>> registry) static <T> RegistryKey<T>RegistryKey.of(RegistryKey<? extends Registry<T>> registry, Identifier value) Creates a registry key for a value in a registry with a registry key for the value-holding registry in the root registry and an identifier of the value.private static <E> voidDynamicRegistryManager.register(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec) private static <E> voidDynamicRegistryManager.register(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec) private static <E> voidDynamicRegistryManager.register(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec, com.mojang.serialization.Codec<E> networkEntryCodec) private static <E> voidDynamicRegistryManager.register(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec, com.mojang.serialization.Codec<E> networkEntryCodec) private static <T> com.mojang.serialization.Codec<Map<RegistryKey<T>,T>> RegistryCodecs.registryMap(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Codec<T> elementCodec) <E> Optional<RegistryKey<E>>RegistryKey.tryCast(RegistryKey<? extends Registry<E>> registryRef) Constructors in net.minecraft.util.registry with parameters of type RegistryModifierConstructorDescription(package private)privateReference(RegistryEntry.Reference.Type referenceType, Registry<T> registry, @Nullable RegistryKey<T> registryKey, T value) Constructor parameters in net.minecraft.util.registry with type arguments of type RegistryModifierConstructorDescriptionDefaultedRegistry(String defaultId, RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, @Nullable Function<T, RegistryEntry.Reference<T>> valueToEntryFunction) ImmutableImpl(Map<? extends RegistryKey<? extends Registry<?>>, ? extends Registry<?>> registries) ImmutableImpl(Map<? extends RegistryKey<? extends Registry<?>>, ? extends Registry<?>> registries) Info(RegistryKey<? extends Registry<E>> registry, com.mojang.serialization.Codec<E> entryCodec, @Nullable com.mojang.serialization.Codec<E> networkEntryCodec) Creates an instance of aInforecord class.(package private)MutableImpl(Map<? extends RegistryKey<? extends Registry<?>>, ? extends MutableRegistry<?>> mutableRegistries) MutableRegistry(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) protectedRegistry(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) privateRegistryEntryListCodec(RegistryKey<? extends Registry<E>> registry, com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList) privateRegistryFixedCodec(RegistryKey<? extends Registry<E>> registry) SimpleRegistry(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, @Nullable Function<T, RegistryEntry.Reference<T>> valueToEntryFunction) -
Uses of Registry in net.minecraft.world
Fields in net.minecraft.world declared as RegistryModifier and TypeFieldDescriptionStructureLocator.biomeRegistryStructureLocator.structureRegistryMethods in net.minecraft.world with parameters of type RegistryModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<ReadableContainer<RegistryEntry<Biome>>>ChunkSerializer.createCodec(Registry<Biome> biomeRegistry) -
Uses of Registry in net.minecraft.world.biome
Methods in net.minecraft.world.biome with parameters of type RegistryModifier and TypeMethodDescriptionstatic RegistryEntry<Biome>BuiltinBiomes.getDefaultBiome(Registry<Biome> registry) -
Uses of Registry in net.minecraft.world.biome.source
Fields in net.minecraft.world.biome.source declared as RegistryModifier and TypeFieldDescriptionMultiNoiseBiomeSource.Instance.biomeRegistryThe field for thebiomeRegistryrecord component.Fields in net.minecraft.world.biome.source with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final Function<Registry<Biome>,MultiNoiseUtil.Entries<RegistryEntry<Biome>>> MultiNoiseBiomeSource.Preset.biomeSourceFunctionMethods in net.minecraft.world.biome.source that return RegistryModifier and TypeMethodDescriptionMultiNoiseBiomeSource.Instance.biomeRegistry()Returns the value of thebiomeRegistryrecord component.Methods in net.minecraft.world.biome.source with parameters of type RegistryModifier and TypeMethodDescriptionMultiNoiseBiomeSource.Preset.getBiomeSource(Registry<Biome> biomeRegistry) MultiNoiseBiomeSource.Preset.getBiomeSource(Registry<Biome> biomeRegistry, boolean useInstance) static com.mojang.serialization.Codec<? extends BiomeSource>BiomeSources.registerAndGetDefault(Registry<com.mojang.serialization.Codec<? extends BiomeSource>> registry) Constructors in net.minecraft.world.biome.source with parameters of type RegistryModifierConstructorDescription(package private)Instance(MultiNoiseBiomeSource.Preset preset, Registry<Biome> biomeRegistry) Creates an instance of aInstancerecord class.TheEndBiomeSource(Registry<Biome> biomeRegistry) Constructor parameters in net.minecraft.world.biome.source with type arguments of type RegistryModifierConstructorDescriptionPreset(Identifier id, Function<Registry<Biome>, MultiNoiseUtil.Entries<RegistryEntry<Biome>>> biomeSourceFunction) -
Uses of Registry in net.minecraft.world.chunk
Methods in net.minecraft.world.chunk with parameters of type RegistryModifier and TypeMethodDescriptionprivate static voidChunk.fillSectionArray(HeightLimitView world, Registry<Biome> biome, ChunkSection[] sectionArray) Constructors in net.minecraft.world.chunk with parameters of type RegistryModifierConstructorDescriptionChunk(ChunkPos pos, UpgradeData upgradeData, HeightLimitView heightLimitView, Registry<Biome> biome, long inhabitedTime, @Nullable ChunkSection[] sectionArrayInitializer, @Nullable BlendingData blendingData) ChunkSection(int chunkPos, Registry<Biome> biomeRegistry) ProtoChunk(ChunkPos pos, UpgradeData upgradeData, @Nullable ChunkSection[] sections, SimpleTickScheduler<Block> blockTickScheduler, SimpleTickScheduler<Fluid> fluidTickScheduler, HeightLimitView world, Registry<Biome> biomeRegistry, @Nullable BlendingData blendingData) ProtoChunk(ChunkPos pos, UpgradeData upgradeData, HeightLimitView world, Registry<Biome> biomeRegistry, @Nullable BlendingData blendingData) -
Uses of Registry in net.minecraft.world.dimension
Methods in net.minecraft.world.dimension that return RegistryModifier and TypeMethodDescriptionstatic Registry<DimensionOptions>DimensionOptions.createRegistry(Registry<DimensionOptions> registry) Methods in net.minecraft.world.dimension with parameters of type RegistryModifier and TypeMethodDescriptionstatic Registry<DimensionOptions>DimensionOptions.createRegistry(Registry<DimensionOptions> registry) static booleanDimensionOptions.hasDefaultSettings(Registry<DimensionOptions> registry) static RegistryEntry<DimensionType>DimensionTypeRegistrar.initAndGetDefault(Registry<DimensionType> registry) -
Uses of Registry in net.minecraft.world.gen
Fields in net.minecraft.world.gen declared as RegistryModifier and TypeFieldDescriptionFlatLevelGeneratorPresets.Registrar.biomeRegistryWorldPresets.Registrar.biomeRegistryprivate final Registry<ChunkGeneratorSettings>WorldPresets.Registrar.chunkGeneratorSettingsRegistryprivate final Registry<DimensionType>WorldPresets.Registrar.dimensionTypeRegistryprivate final Registry<FlatLevelGeneratorPreset>FlatLevelGeneratorPresets.Registrar.flatLevelGeneratorPresetRegistryprivate final Registry<DoublePerlinNoiseSampler.NoiseParameters>WorldPresets.Registrar.noiseParametersRegistryprivate final Registry<DimensionOptions>GeneratorOptions.optionsprivate final Registry<StructureSet>FlatLevelGeneratorPresets.Registrar.structureSetRegistryprivate final Registry<StructureSet>WorldPresets.Registrar.structureSetRegistryprivate final Registry<WorldPreset>WorldPresets.Registrar.worldPresetRegistryMethods in net.minecraft.world.gen that return RegistryModifier and TypeMethodDescriptionprivate Registry<DimensionOptions>WorldPreset.createDimensionOptionsRegistry()GeneratorOptions.getDimensions()static Registry<DimensionOptions>GeneratorOptions.getRegistryWithReplacedOverworld(Registry<DimensionOptions> options, RegistryEntry<DimensionType> dimensionType, ChunkGenerator overworldGenerator) static Registry<DimensionOptions>GeneratorOptions.getRegistryWithReplacedOverworldGenerator(Registry<DimensionType> dimensionTypeRegistry, Registry<DimensionOptions> options, ChunkGenerator overworldGenerator) Methods in net.minecraft.world.gen with parameters of type RegistryModifier and TypeMethodDescriptionstatic Registry<DimensionOptions>GeneratorOptions.getRegistryWithReplacedOverworld(Registry<DimensionOptions> options, RegistryEntry<DimensionType> dimensionType, ChunkGenerator overworldGenerator) static Registry<DimensionOptions>GeneratorOptions.getRegistryWithReplacedOverworldGenerator(Registry<DimensionType> dimensionTypeRegistry, Registry<DimensionOptions> options, ChunkGenerator overworldGenerator) FlatLevelGeneratorPresets.initAndGetDefault(Registry<FlatLevelGeneratorPreset> registry) static RegistryEntry<WorldPreset>WorldPresets.initAndGetDefault(Registry<WorldPreset> registry) Constructors in net.minecraft.world.gen with parameters of type RegistryModifierConstructorDescriptionGeneratorOptions(long seed, boolean generateStructures, boolean bonusChest, Registry<DimensionOptions> options) privateGeneratorOptions(long seed, boolean generateStructures, boolean bonusChest, Registry<DimensionOptions> options, Optional<String> legacyCustomOptions) (package private)Registrar(Registry<FlatLevelGeneratorPreset> registry) (package private)Registrar(Registry<WorldPreset> registry) -
Uses of Registry in net.minecraft.world.gen.chunk
Fields in net.minecraft.world.gen.chunk declared as RegistryModifier and TypeFieldDescriptionDebugChunkGenerator.biomeRegistryFlatChunkGeneratorConfig.biomeRegistryprivate final Registry<DoublePerlinNoiseSampler.NoiseParameters>NoiseChunkGenerator.noiseRegistryprotected final Registry<StructureSet>ChunkGenerator.structureSetRegistryMethods in net.minecraft.world.gen.chunk that return RegistryMethods in net.minecraft.world.gen.chunk that return types with arguments of type RegistryModifier and TypeMethodDescriptionprotected static <T extends ChunkGenerator>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>,Registry<StructureSet>> ChunkGenerator.createStructureSetRegistryGetter(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> instance) Methods in net.minecraft.world.gen.chunk with parameters of type RegistryModifier and TypeMethodDescriptionstatic FlatChunkGeneratorConfigFlatChunkGeneratorConfig.getDefaultConfig(Registry<Biome> biomeRegistry, Registry<StructureSet> structureSetRegistry) static RegistryEntry<ChunkGeneratorSettings>ChunkGeneratorSettings.initAndGetDefault(Registry<ChunkGeneratorSettings> registry) voidNoiseChunkGenerator.method_41538(Chunk chunk, HeightContext heightContext, NoiseConfig noiseConfig, StructureAccessor structureAccessor, BiomeAccess biomeAccess, Registry<Biome> registry, Blender blender) ChunkGenerator.populateBiomes(Registry<Biome> biomeRegistry, Executor executor, NoiseConfig noiseConfig, Blender blender, StructureAccessor structureAccessor, Chunk chunk) NoiseChunkGenerator.populateBiomes(Registry<Biome> biomeRegistry, Executor executor, NoiseConfig noiseConfig, Blender blender, StructureAccessor structureAccessor, Chunk chunk) private static RegistryEntry<ChunkGeneratorSettings>ChunkGeneratorSettings.register(Registry<ChunkGeneratorSettings> registry, RegistryKey<ChunkGeneratorSettings> key, ChunkGeneratorSettings chunkGeneratorSettings) static com.mojang.serialization.Codec<? extends ChunkGenerator>ChunkGenerators.registerAndGetDefault(Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>> registry) Constructors in net.minecraft.world.gen.chunk with parameters of type RegistryModifierConstructorDescriptionChunkGenerator(Registry<StructureSet> structureSetRegistry, Optional<RegistryEntryList<StructureSet>> structureOverrides, BiomeSource biomeSource) ChunkGenerator(Registry<StructureSet> structureSetRegistry, Optional<RegistryEntryList<StructureSet>> structureOverrides, BiomeSource biomeSource, Function<RegistryEntry<Biome>, GenerationSettings> generationSettingsGetter) DebugChunkGenerator(Registry<StructureSet> structureSetRegistry, Registry<Biome> biomeRegistry) FlatChunkGenerator(Registry<StructureSet> structureSetRegistry, FlatChunkGeneratorConfig config) FlatChunkGeneratorConfig(Optional<RegistryEntryList<StructureSet>> structureOverrides, Registry<Biome> biomeRegistry) privateFlatChunkGeneratorConfig(Registry<Biome> biomeRegistry, Optional<RegistryEntryList<StructureSet>> structureOverrides, List<FlatChunkGeneratorLayer> layers, boolean hasLakes, boolean hasFeatures, Optional<RegistryEntry<Biome>> biome) NoiseChunkGenerator(Registry<StructureSet> structureSetRegistry, Registry<DoublePerlinNoiseSampler.NoiseParameters> noiseRegistry, BiomeSource populationSource, RegistryEntry<ChunkGeneratorSettings> registryEntry) -
Uses of Registry in net.minecraft.world.gen.densityfunction
Methods in net.minecraft.world.gen.densityfunction with parameters of type RegistryModifier and TypeMethodDescriptionprivate static DensityFunctionDensityFunctions.createCavesEntrancesOverworldFunction(Registry<DensityFunction> registry) protected static NoiseRouterDensityFunctions.createCavesNoiseRouter(Registry<DensityFunction> registry) private static DensityFunctionDensityFunctions.createCavesNoodleOverworldFunction(Registry<DensityFunction> registry) private static DensityFunctionDensityFunctions.createCavesSpaghetti2dOverworldFunction(Registry<DensityFunction> registry) protected static NoiseRouterDensityFunctions.createEndNoiseRouter(Registry<DensityFunction> registry) protected static NoiseRouterDensityFunctions.createFloatingIslandsNoiseRouter(Registry<DensityFunction> registry) protected static NoiseRouterDensityFunctions.createNetherNoiseRouter(Registry<DensityFunction> registry) protected static NoiseRouterDensityFunctions.createSurfaceNoiseRouter(Registry<DensityFunction> registry, boolean bool, boolean bool2) private static DensityFunctionDensityFunctions.entryHolder(Registry<DensityFunction> registry, RegistryKey<DensityFunction> key) static RegistryEntry<? extends DensityFunction>DensityFunctions.initAndGetDefault(Registry<DensityFunction> registry) private static DensityFunctionDensityFunctions.method_41101(Registry<DensityFunction> registry, DensityFunction densityFunction) private static NoiseRouterDensityFunctions.method_41211(Registry<DensityFunction> registry, DensityFunction densityFunction) private static voidDensityFunctions.method_41548(Registry<DensityFunction> registry, DensityFunction densityFunction, RegistryEntry<DensityFunction> registryEntry, RegistryEntry<DensityFunction> registryEntry2, RegistryKey<DensityFunction> registryKey, RegistryKey<DensityFunction> registryKey2, RegistryKey<DensityFunction> registryKey3, RegistryKey<DensityFunction> registryKey4, RegistryKey<DensityFunction> registryKey5, boolean bool) private static DensityFunctionDensityFunctions.method_42363(Registry<DensityFunction> registry, int int2, int int3) private static RegistryEntry<DensityFunction>DensityFunctions.register(Registry<DensityFunction> registry, RegistryKey<DensityFunction> key, DensityFunction densityFunction) private static com.mojang.serialization.Codec<? extends DensityFunction>DensityFunctionTypes.register(Registry<com.mojang.serialization.Codec<? extends DensityFunction>> registry, String id, CodecHolder<? extends DensityFunction> codecHolder) static com.mojang.serialization.Codec<? extends DensityFunction>DensityFunctionTypes.registerAndGetDefault(Registry<com.mojang.serialization.Codec<? extends DensityFunction>> registry) private static DensityFunctionDensityFunctions.registerAndGetHolder(Registry<DensityFunction> registry, RegistryKey<DensityFunction> key, DensityFunction densityFunction) -
Uses of Registry in net.minecraft.world.gen.feature
Methods in net.minecraft.world.gen.feature with parameters of type RegistryModifier and TypeMethodDescriptionstatic RegistryEntry<? extends ConfiguredFeature<?,?>> ConfiguredFeatures.getDefaultConfiguredFeature(Registry<ConfiguredFeature<?, ?>> registry) static RegistryEntry<PlacedFeature>PlacedFeatures.getDefaultPlacedFeature(Registry<PlacedFeature> registry) -
Uses of Registry in net.minecraft.world.gen.noise
Fields in net.minecraft.world.gen.noise declared as RegistryModifier and TypeFieldDescriptionprivate final Registry<DoublePerlinNoiseSampler.NoiseParameters>NoiseConfig.noiseParametersRegistryMethods in net.minecraft.world.gen.noise with parameters of type RegistryModifier and TypeMethodDescriptionstatic NoiseConfigNoiseConfig.create(ChunkGeneratorSettings chunkGeneratorSettings, Registry<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersRegistry, long legacyWorldSeed) static DoublePerlinNoiseSamplerNoiseParametersKeys.createNoiseSampler(Registry<DoublePerlinNoiseSampler.NoiseParameters> registry, RandomSplitter randomSplitter, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> registryKey) BuiltinNoiseParameters.init(Registry<DoublePerlinNoiseSampler.NoiseParameters> registry) private static voidBuiltinNoiseParameters.register(Registry<DoublePerlinNoiseSampler.NoiseParameters> registry, int int2, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> registryKey, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> registryKey2, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> registryKey3, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> registryKey4) private static RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters>BuiltinNoiseParameters.register(Registry<DoublePerlinNoiseSampler.NoiseParameters> registry, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> registryKey, int int2, double double2, double[] double3) Constructors in net.minecraft.world.gen.noise with parameters of type RegistryModifierConstructorDescriptionprivateNoiseConfig(ChunkGeneratorSettings chunkGeneratorSettings, Registry<DoublePerlinNoiseSampler.NoiseParameters> noiseRegistry, long seed) -
Uses of Registry in net.minecraft.world.gen.structure
Methods in net.minecraft.world.gen.structure with parameters of type RegistryModifier and TypeMethodDescriptionstatic RegistryEntry<? extends Structure>Structures.getDefault(Registry<Structure> registry) -
Uses of Registry in net.minecraft.world.gen.surfacebuilder
Methods in net.minecraft.world.gen.surfacebuilder with parameters of type RegistryModifier and TypeMethodDescriptionvoidSurfaceBuilder.buildSurface(NoiseConfig noiseConfig, BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, boolean useLegacyRandom, HeightContext heightContext, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, MaterialRules.MaterialRule materialRule) (package private) static <A> com.mojang.serialization.Codec<? extends A>MaterialRules.register(Registry<com.mojang.serialization.Codec<? extends A>> registry, String id, CodecHolder<? extends A> codecHolder) static com.mojang.serialization.Codec<? extends MaterialRules.MaterialCondition>MaterialRules.MaterialCondition.registerAndGetDefault(Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialCondition>> registry) static com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>MaterialRules.MaterialRule.registerAndGetDefault(Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>> registry) Constructors in net.minecraft.world.gen.surfacebuilder with parameters of type RegistryModifierConstructorDescriptionprotectedMaterialRuleContext(SurfaceBuilder surfaceBuilder, NoiseConfig noiseConfig, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Registry<Biome> registry, HeightContext heightContext) -
Uses of Registry in net.minecraft.world.poi
Methods in net.minecraft.world.poi with parameters of type RegistryModifier and TypeMethodDescriptionprivate static PointOfInterestTypePointOfInterestTypes.register(Registry<PointOfInterestType> registry, RegistryKey<PointOfInterestType> key, Set<BlockState> states, int ticketCount, int searchDistance) static PointOfInterestTypePointOfInterestTypes.registerAndGetDefault(Registry<PointOfInterestType> registry)