Uses of Interface
net.minecraft.registry.Registry
Packages that use Registry
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of Registry in net.minecraft.block
Methods in net.minecraft.block with parameters of type RegistryModifier and TypeMethodDescriptionprivate voidNyliumBlock.generate(Registry<ConfiguredFeature<?, ?>> registry, RegistryKey<ConfiguredFeature<?, ?>> key, ServerWorld world, ChunkGenerator chunkGenerator, Random random, BlockPos pos) static StringDecoratedPotPatterns.registerAndGetDefault(Registry<String> registry) -
Uses of Registry in net.minecraft.block.entity
Methods in net.minecraft.block.entity with parameters of type RegistryModifier and TypeMethodDescriptionstatic BannerPatternBannerPatterns.registerAndGetDefault(Registry<BannerPattern> registry) -
Uses of Registry in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as Registry -
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<WorldCreator.WorldType>>WorldCreator.getWorldPresetList(Registry<WorldPreset> registry, TagKey<WorldPreset> tag) Constructors in net.minecraft.client.gui.screen.world with parameters of type RegistryModifierConstructorDescriptionprivateOptimizeWorldScreen(BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, LevelInfo levelInfo, boolean eraseCache, Registry<DimensionOptions> dimensionOptionsRegistry) -
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.client.world
Fields in net.minecraft.client.world declared as RegistryModifier and TypeFieldDescriptionprivate final Registry<DimensionOptions>GeneratorOptionsHolder.dimensionOptionsRegistryThe field for thedimensionOptionsRegistryrecord component.Methods in net.minecraft.client.world that return RegistryModifier and TypeMethodDescriptionGeneratorOptionsHolder.dimensionOptionsRegistry()Returns the value of thedimensionOptionsRegistryrecord component.Constructors in net.minecraft.client.world with parameters of type RegistryModifierConstructorDescriptionGeneratorOptionsHolder(GeneratorOptions generatorOptions, Registry<DimensionOptions> registry, DimensionOptionsRegistryHolder dimensionOptionsRegistryHolder, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration) -
Uses of Registry in net.minecraft.command
Methods in net.minecraft.command with parameters of type RegistryModifier and TypeMethodDescriptiondefault 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> RegistryWrapper<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) -
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>>RegistryEntryArgumentType.registryRef(package private) final RegistryKey<? extends Registry<T>>RegistryEntryArgumentType.Serializer.Properties.registryRef(package private) final RegistryKey<? extends Registry<T>>RegistryEntryPredicateArgumentType.registryRef(package private) final RegistryKey<? extends Registry<T>>RegistryEntryPredicateArgumentType.Serializer.Properties.registryRef(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 TypeMethodDescriptionstatic 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) static <T> RegistryEntry.Reference<T>RegistryEntryArgumentType.getRegistryEntry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef) private static <T> RegistryEntry.Reference<T>RegistryKeyArgumentType.getRegistryEntry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef, com.mojang.brigadier.exceptions.DynamicCommandExceptionType invalidException) static <T> RegistryEntryPredicateArgumentType.EntryPredicate<T>RegistryEntryPredicateArgumentType.getRegistryEntryPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef) static <T> RegistryEntryArgumentType<T>RegistryEntryArgumentType.registryEntry(CommandRegistryAccess registryAccess, RegistryKey<? extends Registry<T>> registryRef) static <T> RegistryEntryPredicateArgumentType<T>RegistryEntryPredicateArgumentType.registryEntryPredicate(CommandRegistryAccess registryRef, RegistryKey<? extends Registry<T>> registryAccess) static <T> RegistryKeyArgumentType<T>RegistryKeyArgumentType.registryKey(RegistryKey<? extends Registry<T>> registryRef) static <T> RegistryPredicateArgumentType<T>RegistryPredicateArgumentType.registryPredicate(RegistryKey<? extends Registry<T>> registryRef) RegistryEntryPredicateArgumentType.EntryBased.tryCast(RegistryKey<? extends Registry<E>> registryRef) RegistryEntryPredicateArgumentType.EntryPredicate.tryCast(RegistryKey<? extends Registry<E>> registryRef) RegistryEntryPredicateArgumentType.TagBased.tryCast(RegistryKey<? extends Registry<E>> 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) (package private)Properties(RegistryKey<? extends Registry<T>> registryRef) (package private)Properties(RegistryKey<? extends Registry<T>> registryRef) RegistryEntryArgumentType(CommandRegistryAccess registryAccess, RegistryKey<? extends Registry<T>> registryRef) RegistryEntryPredicateArgumentType(CommandRegistryAccess registryAccess, 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.tag
Fields in net.minecraft.data.server.tag with type parameters of type RegistryModifier and TypeFieldDescriptionprotected final RegistryKey<? extends Registry<T>>TagProvider.registryRefConstructor parameters in net.minecraft.data.server.tag with type arguments of type RegistryModifierConstructorDescriptionprotectedTagProvider(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture) protectedTagProvider(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, CompletableFuture<TagProvider.TagLookup<T>> parentTagLookupFuture) ValueLookupTagProvider(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, CompletableFuture<TagProvider.TagLookup<T>> parentTagLookupFuture, Function<T, RegistryKey<T>> valueToKey) ValueLookupTagProvider(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, Function<T, RegistryKey<T>> valueToKey) -
Uses of Registry in net.minecraft.entity.damage
Fields in net.minecraft.entity.damage declared as 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.entity.passive
Methods in net.minecraft.entity.passive with parameters of type RegistryModifier and TypeMethodDescriptionprivate static CatVariantCatVariant.register(Registry<CatVariant> registry, RegistryKey<CatVariant> key, String textureId) static CatVariantCatVariant.registerAndGetDefault(Registry<CatVariant> 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) static ItemGroupItemGroups.registerAndGetDefault(Registry<ItemGroup> 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.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()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
Method parameters in net.minecraft.predicate with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <T> TagPredicate<T>TagPredicate.fromJson(@Nullable JsonElement json, RegistryKey<? extends Registry<T>> registry) -
Uses of Registry in net.minecraft.predicate.entity
Methods in net.minecraft.predicate.entity with parameters of type Registry -
Uses of Registry in net.minecraft.registry
Subinterfaces of Registry in net.minecraft.registryModifier and TypeInterfaceDescriptioninterfaceinterfaceA registry that allows adding or modifying values.Classes in net.minecraft.registry that implement RegistryModifier and TypeClassDescriptionclassAn implementation ofRegistrywith a default ID and value for unknown lookups.classAn implementation of a mutable registry.Fields in net.minecraft.registry declared as RegistryModifier and TypeFieldDescriptionRegistries.ACTIVITYstatic final Registry<EntityAttribute>Registries.ATTRIBUTEstatic final Registry<BannerPattern>Registries.BANNER_PATTERNstatic final Registry<com.mojang.serialization.Codec<? extends BiomeSource>>Registries.BIOME_SOURCEstatic final Registry<BlockEntityType<?>>Registries.BLOCK_ENTITY_TYPEstatic final Registry<BlockPredicateType<?>>Registries.BLOCK_PREDICATE_TYPEstatic final Registry<BlockStateProviderType<?>>Registries.BLOCK_STATE_PROVIDER_TYPERegistries.CARVERstatic final Registry<CatVariant>Registries.CAT_VARIANTstatic final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>Registries.CHUNK_GENERATORstatic final Registry<ArgumentSerializer<?,?>> Registries.COMMAND_ARGUMENT_TYPEstatic final Registry<Identifier>Registries.CUSTOM_STATRegistries.DECORATED_POT_PATTERNstatic final Registry<com.mojang.serialization.Codec<? extends DensityFunction>>Registries.DENSITY_FUNCTION_TYPEstatic final Registry<Enchantment>Registries.ENCHANTMENTRegistries.FEATUREstatic final Registry<FeatureSizeType<?>>Registries.FEATURE_SIZE_TYPEstatic final Registry<FloatProviderType<?>>Registries.FLOAT_PROVIDER_TYPEstatic final Registry<FoliagePlacerType<?>>Registries.FOLIAGE_PLACER_TYPEstatic final Registry<FrogVariant>Registries.FROG_VARIANTstatic final Registry<HeightProviderType<?>>Registries.HEIGHT_PROVIDER_TYPEstatic final Registry<Instrument>Registries.INSTRUMENTstatic final Registry<IntProviderType<?>>Registries.INT_PROVIDER_TYPERegistries.ITEM_GROUPstatic final Registry<LootConditionType>Registries.LOOT_CONDITION_TYPEstatic final Registry<LootFunctionType>Registries.LOOT_FUNCTION_TYPEstatic final Registry<LootNbtProviderType>Registries.LOOT_NBT_PROVIDER_TYPEstatic final Registry<LootNumberProviderType>Registries.LOOT_NUMBER_PROVIDER_TYPEstatic final Registry<LootPoolEntryType>Registries.LOOT_POOL_ENTRY_TYPEstatic final Registry<LootScoreProviderType>Registries.LOOT_SCORE_PROVIDER_TYPEstatic final Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialCondition>>Registries.MATERIAL_CONDITIONstatic final Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>>Registries.MATERIAL_RULEstatic final Registry<ParticleType<?>>Registries.PARTICLE_TYPEstatic final Registry<PlacementModifierType<?>>Registries.PLACEMENT_MODIFIER_TYPEstatic final Registry<PointOfInterestType>Registries.POINT_OF_INTEREST_TYPEstatic final Registry<PosRuleTestType<?>>Registries.POS_RULE_TESTstatic final Registry<PositionSourceType<?>>Registries.POSITION_SOURCE_TYPEstatic final Registry<RecipeSerializer<?>>Registries.RECIPE_SERIALIZERstatic final Registry<RecipeType<?>>Registries.RECIPE_TYPERegistries.REGISTRIESstatic final Registry<RootPlacerType<?>>Registries.ROOT_PLACER_TYPEstatic final Registry<RuleBlockEntityModifierType<?>>Registries.RULE_BLOCK_ENTITY_MODIFIERstatic final Registry<RuleTestType<?>>Registries.RULE_TESTRegistries.SCHEDULEstatic final Registry<ScreenHandlerType<?>>Registries.SCREEN_HANDLERstatic final Registry<SoundEvent>Registries.SOUND_EVENTRegistries.STAT_TYPEstatic final Registry<StatusEffect>Registries.STATUS_EFFECTstatic final Registry<StructurePieceType>Registries.STRUCTURE_PIECEstatic final Registry<StructurePlacementType<?>>Registries.STRUCTURE_PLACEMENTstatic final Registry<StructurePoolElementType<?>>Registries.STRUCTURE_POOL_ELEMENTstatic final Registry<StructureProcessorType<?>>Registries.STRUCTURE_PROCESSORstatic final Registry<StructureType<?>>Registries.STRUCTURE_TYPEstatic final Registry<TreeDecoratorType<?>>Registries.TREE_DECORATOR_TYPEstatic final Registry<TrunkPlacerType<?>>Registries.TRUNK_PLACER_TYPEDynamicRegistryManager.Entry.valueThe field for thevaluerecord component.Fields in net.minecraft.registry with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final RegistryKey<Registry<Activity>>RegistryKeys.ACTIVITYstatic final RegistryKey<Registry<EntityAttribute>>RegistryKeys.ATTRIBUTEstatic final RegistryKey<Registry<BannerPattern>>RegistryKeys.BANNER_PATTERNstatic final RegistryKey<Registry<Biome>>RegistryKeys.BIOMEstatic final RegistryKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>RegistryKeys.BIOME_SOURCEstatic final RegistryKey<Registry<Block>>RegistryKeys.BLOCKstatic final RegistryKey<Registry<BlockEntityType<?>>>RegistryKeys.BLOCK_ENTITY_TYPEstatic final RegistryKey<Registry<BlockPredicateType<?>>>RegistryKeys.BLOCK_PREDICATE_TYPEstatic final RegistryKey<Registry<BlockStateProviderType<?>>>RegistryKeys.BLOCK_STATE_PROVIDER_TYPEstatic final RegistryKey<Registry<Carver<?>>>RegistryKeys.CARVERstatic final RegistryKey<Registry<CatVariant>>RegistryKeys.CAT_VARIANTstatic final RegistryKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>RegistryKeys.CHUNK_GENERATORstatic final RegistryKey<Registry<ChunkGeneratorSettings>>RegistryKeys.CHUNK_GENERATOR_SETTINGSstatic final RegistryKey<Registry<ChunkStatus>>RegistryKeys.CHUNK_STATUSstatic final RegistryKey<Registry<ArgumentSerializer<?,?>>> RegistryKeys.COMMAND_ARGUMENT_TYPEstatic final RegistryKey<Registry<ConfiguredCarver<?>>>RegistryKeys.CONFIGURED_CARVERstatic final RegistryKey<Registry<ConfiguredFeature<?,?>>> RegistryKeys.CONFIGURED_FEATUREstatic final RegistryKey<Registry<Identifier>>RegistryKeys.CUSTOM_STATstatic final RegistryKey<Registry<DamageType>>RegistryKeys.DAMAGE_TYPEstatic final RegistryKey<Registry<String>>RegistryKeys.DECORATED_POT_PATTERNstatic final RegistryKey<Registry<DensityFunction>>RegistryKeys.DENSITY_FUNCTIONstatic final RegistryKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>>RegistryKeys.DENSITY_FUNCTION_TYPEstatic final RegistryKey<Registry<DimensionOptions>>RegistryKeys.DIMENSIONstatic final RegistryKey<Registry<DimensionType>>RegistryKeys.DIMENSION_TYPEstatic final RegistryKey<Registry<Enchantment>>RegistryKeys.ENCHANTMENTstatic final RegistryKey<Registry<EntityType<?>>>RegistryKeys.ENTITY_TYPEstatic final RegistryKey<Registry<Feature<?>>>RegistryKeys.FEATUREstatic final RegistryKey<Registry<FeatureSizeType<?>>>RegistryKeys.FEATURE_SIZE_TYPEstatic final RegistryKey<Registry<FlatLevelGeneratorPreset>>RegistryKeys.FLAT_LEVEL_GENERATOR_PRESETstatic final RegistryKey<Registry<FloatProviderType<?>>>RegistryKeys.FLOAT_PROVIDER_TYPEstatic final RegistryKey<Registry<Fluid>>RegistryKeys.FLUIDstatic final RegistryKey<Registry<FoliagePlacerType<?>>>RegistryKeys.FOLIAGE_PLACER_TYPEstatic final RegistryKey<Registry<FrogVariant>>RegistryKeys.FROG_VARIANTstatic final RegistryKey<Registry<GameEvent>>RegistryKeys.GAME_EVENTstatic final RegistryKey<Registry<HeightProviderType<?>>>RegistryKeys.HEIGHT_PROVIDER_TYPEstatic final RegistryKey<Registry<Instrument>>RegistryKeys.INSTRUMENTstatic final RegistryKey<Registry<IntProviderType<?>>>RegistryKeys.INT_PROVIDER_TYPEstatic final RegistryKey<Registry<Item>>RegistryKeys.ITEMstatic final RegistryKey<Registry<ItemGroup>>RegistryKeys.ITEM_GROUPprivate final RegistryKey<? extends Registry<T>>DynamicRegistryManager.Entry.keyThe field for thekeyrecord component.private final RegistryKey<? extends Registry<? extends T>>RegistryBuilder.InitializedRegistry.keyThe field for thekeyrecord component.private final RegistryKey<? extends Registry<T>>RegistryBuilder.RegistryInfo.keyThe field for thekeyrecord component.private final RegistryKey<? extends Registry<T>>RegistryLoader.Entry.keyThe field for thekeyrecord component.private final RegistryKey<? extends Registry<E>>SerializableRegistries.Info.keyThe field for thekeyrecord component.(package private) final RegistryKey<? extends Registry<T>>SimpleRegistry.keystatic final RegistryKey<Registry<LootConditionType>>RegistryKeys.LOOT_CONDITION_TYPEstatic final RegistryKey<Registry<LootFunctionType>>RegistryKeys.LOOT_FUNCTION_TYPEstatic final RegistryKey<Registry<LootNbtProviderType>>RegistryKeys.LOOT_NBT_PROVIDER_TYPEstatic final RegistryKey<Registry<LootNumberProviderType>>RegistryKeys.LOOT_NUMBER_PROVIDER_TYPEstatic final RegistryKey<Registry<LootPoolEntryType>>RegistryKeys.LOOT_POOL_ENTRY_TYPEstatic final RegistryKey<Registry<LootScoreProviderType>>RegistryKeys.LOOT_SCORE_PROVIDER_TYPEstatic final RegistryKey<Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialCondition>>>RegistryKeys.MATERIAL_CONDITIONstatic final RegistryKey<Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>>>RegistryKeys.MATERIAL_RULEstatic final RegistryKey<Registry<MemoryModuleType<?>>>RegistryKeys.MEMORY_MODULE_TYPEstatic final RegistryKey<Registry<MessageType>>RegistryKeys.MESSAGE_TYPEstatic final RegistryKey<Registry<MultiNoiseBiomeSourceParameterList>>RegistryKeys.MULTI_NOISE_BIOME_SOURCE_PARAMETER_LISTstatic final RegistryKey<Registry<DoublePerlinNoiseSampler.NoiseParameters>>RegistryKeys.NOISE_PARAMETERSstatic final RegistryKey<Registry<PaintingVariant>>RegistryKeys.PAINTING_VARIANTstatic final RegistryKey<Registry<ParticleType<?>>>RegistryKeys.PARTICLE_TYPEstatic final RegistryKey<Registry<PlacedFeature>>RegistryKeys.PLACED_FEATUREstatic final RegistryKey<Registry<PlacementModifierType<?>>>RegistryKeys.PLACEMENT_MODIFIER_TYPEstatic final RegistryKey<Registry<PointOfInterestType>>RegistryKeys.POINT_OF_INTEREST_TYPEstatic final RegistryKey<Registry<PosRuleTestType<?>>>RegistryKeys.POS_RULE_TESTstatic final RegistryKey<Registry<PositionSourceType<?>>>RegistryKeys.POSITION_SOURCE_TYPEstatic final RegistryKey<Registry<Potion>>RegistryKeys.POTIONstatic final RegistryKey<Registry<StructureProcessorList>>RegistryKeys.PROCESSOR_LISTstatic final RegistryKey<Registry<RecipeSerializer<?>>>RegistryKeys.RECIPE_SERIALIZERstatic final RegistryKey<Registry<RecipeType<?>>>RegistryKeys.RECIPE_TYPEprivate final Map<? extends RegistryKey<? extends Registry<?>>,? extends Registry<?>> DynamicRegistryManager.ImmutableImpl.registriesprivate final Map<? extends RegistryKey<? extends Registry<?>>,? extends Registry<?>> DynamicRegistryManager.ImmutableImpl.registriesRegistries.REGISTRIESprivate static final Map<RegistryKey<? extends Registry<?>>,SerializableRegistries.Info<?>> SerializableRegistries.REGISTRIESstatic final RegistryKey<Registry<RootPlacerType<?>>>RegistryKeys.ROOT_PLACER_TYPEstatic final RegistryKey<Registry<RuleBlockEntityModifierType<?>>>RegistryKeys.RULE_BLOCK_ENTITY_MODIFIERstatic final RegistryKey<Registry<RuleTestType<?>>>RegistryKeys.RULE_TESTstatic final RegistryKey<Registry<Schedule>>RegistryKeys.SCHEDULEstatic final RegistryKey<Registry<ScreenHandlerType<?>>>RegistryKeys.SCREEN_HANDLERstatic final RegistryKey<Registry<SensorType<?>>>RegistryKeys.SENSOR_TYPEstatic final RegistryKey<Registry<SoundEvent>>RegistryKeys.SOUND_EVENTstatic final RegistryKey<Registry<StatType<?>>>RegistryKeys.STAT_TYPEstatic final RegistryKey<Registry<StatusEffect>>RegistryKeys.STATUS_EFFECTstatic final RegistryKey<Registry<Structure>>RegistryKeys.STRUCTUREstatic final RegistryKey<Registry<StructurePieceType>>RegistryKeys.STRUCTURE_PIECEstatic final RegistryKey<Registry<StructurePlacementType<?>>>RegistryKeys.STRUCTURE_PLACEMENTstatic final RegistryKey<Registry<StructurePoolElementType<?>>>RegistryKeys.STRUCTURE_POOL_ELEMENTstatic final RegistryKey<Registry<StructureProcessorType<?>>>RegistryKeys.STRUCTURE_PROCESSORstatic final RegistryKey<Registry<StructureSet>>RegistryKeys.STRUCTURE_SETstatic final RegistryKey<Registry<StructureType<?>>>RegistryKeys.STRUCTURE_TYPEstatic final RegistryKey<Registry<StructurePool>>RegistryKeys.TEMPLATE_POOLstatic final RegistryKey<Registry<TreeDecoratorType<?>>>RegistryKeys.TREE_DECORATOR_TYPEstatic final RegistryKey<Registry<ArmorTrimMaterial>>RegistryKeys.TRIM_MATERIALstatic final RegistryKey<Registry<ArmorTrimPattern>>RegistryKeys.TRIM_PATTERNstatic final RegistryKey<Registry<TrunkPlacerType<?>>>RegistryKeys.TRUNK_PLACER_TYPEstatic final RegistryKey<Registry<VillagerProfession>>RegistryKeys.VILLAGER_PROFESSIONstatic final RegistryKey<Registry<VillagerType>>RegistryKeys.VILLAGER_TYPEstatic final RegistryKey<Registry<World>>RegistryKeys.WORLDstatic final RegistryKey<Registry<WorldPreset>>RegistryKeys.WORLD_PRESETMethods in net.minecraft.registry with type parameters of type RegistryModifier and TypeMethodDescriptionprivate static <K extends RegistryKey<? extends Registry<?>>,V extends Registry<?>>
com.mojang.serialization.Codec<DynamicRegistryManager>SerializableRegistries.createDynamicRegistryManagerCodec(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> networkCodec) 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) 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 extends Registry<?>>
voidMethods in net.minecraft.registry that return RegistryModifier and TypeMethodDescriptionprivate static <T> Registry<T>Registries.create(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Registries.Initializer<T> initializer) private static <T> Registry<T>Registries.create(RegistryKey<? extends Registry<T>> key, Registries.Initializer<T> initializer) Registry.freeze()SimpleRegistry.freeze()default <E> Registry<E>DynamicRegistryManager.get(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.registry that return types with arguments of type RegistryModifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec<Registry<E>>RegistryCodecs.createKeyedRegistryCodec(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<E> elementCodec) 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) RegistryKey<? extends Registry<T>>Registry.getKey()Returns the registry key that identifies this registry.RegistryKey<? extends Registry<T>>SimpleRegistry.getKey()Returns the registry key that identifies this registry.DynamicRegistryManager.getOptional(RegistryKey<? extends Registry<? extends E>> key) DynamicRegistryManager.ImmutableImpl.getOptional(RegistryKey<? extends Registry<? extends E>> key) RegistryKey<? extends Registry<? extends T>>RegistryWrapper.Impl.Delegating.getRegistryKey()RegistryKey<? extends Registry<? extends T>>RegistryWrapper.Impl.getRegistryKey()RegistryKey<? extends Registry<T>>DynamicRegistryManager.Entry.key()Returns the value of thekeyrecord component.RegistryKey<? extends Registry<? extends T>>RegistryBuilder.InitializedRegistry.key()Returns the value of thekeyrecord component.RegistryKey<? extends Registry<T>>RegistryBuilder.RegistryInfo.key()Returns the value of thekeyrecord component.RegistryKey<? extends Registry<T>>RegistryLoader.Entry.key()Returns the value of thekeyrecord component.RegistryKey<? extends Registry<E>>SerializableRegistries.Info.key()Returns the value of thekeyrecord component.private static <T> RegistryKey<Registry<T>>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.private static Map<RegistryKey<? extends Registry<?>>,Registry<?>> CombinedDynamicRegistries.toRegistryMap(Stream<? extends DynamicRegistryManager> registryManagers) private static Map<RegistryKey<? extends Registry<?>>,Registry<?>> CombinedDynamicRegistries.toRegistryMap(Stream<? extends DynamicRegistryManager> registryManagers) Methods in net.minecraft.registry with parameters of type RegistryModifier and TypeMethodDescriptionprivate static <T> RegistryOps.RegistryInfo<T>RegistryLoader.createInfo(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, RegistryKey<V> key, T entry) Registersentrytoregistryunderkey.static <V,T extends V>
TRegistry.register(Registry<V> registry, Identifier id, T entry) Registersentrytoregistryunderid.static <T> RegistryEntry.Reference<T>Registry.registerReference(Registry<T> registry, RegistryKey<T> key, T entry) static <T> RegistryEntry.Reference<T>Registry.registerReference(Registry<T> registry, Identifier id, T entry) private static <T extends Registry<?>>
voidMethod parameters in net.minecraft.registry with type arguments of type RegistryModifier and TypeMethodDescriptionprivate static <E> voidSerializableRegistries.add(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, SerializableRegistries.Info<?>> builder, RegistryKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> networkCodec) private static <E> voidSerializableRegistries.add(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, SerializableRegistries.Info<?>> builder, RegistryKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> networkCodec) <T> RegistryBuilderRegistryBuilder.addRegistry(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, RegistryBuilder.BootstrapFunction<T> bootstrapFunction) <T> RegistryBuilderRegistryBuilder.addRegistry(RegistryKey<? extends Registry<T>> registryRef, RegistryBuilder.BootstrapFunction<T> bootstrapFunction) private static <T> Registry<T>Registries.create(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Registries.Initializer<T> initializer) private static <T> DefaultedRegistry<T>Registries.create(RegistryKey<? extends Registry<T>> key, String defaultId, com.mojang.serialization.Lifecycle lifecycle, Registries.Initializer<T> initializer) private static <T> DefaultedRegistry<T>Registries.create(RegistryKey<? extends Registry<T>> key, String defaultId, Registries.Initializer<T> initializer) private static <T> Registry<T>Registries.create(RegistryKey<? extends Registry<T>> key, Registries.Initializer<T> initializer) private static <T,R extends MutableRegistry<T>>
RRegistries.create(RegistryKey<? extends Registry<T>> key, R registry, Registries.Initializer<T> initializer, com.mojang.serialization.Lifecycle lifecycle) static <T> com.mojang.serialization.Codec<RegistryKey<T>>RegistryKey.createCodec(RegistryKey<? extends Registry<T>> registry) private static <T> DefaultedRegistry<T>Registries.createIntrusive(RegistryKey<? extends Registry<T>> key, String defaultId, com.mojang.serialization.Lifecycle lifecycle, Registries.Initializer<T> initializer) private static <T> DefaultedRegistry<T>Registries.createIntrusive(RegistryKey<? extends Registry<T>> key, String defaultId, Registries.Initializer<T> initializer) static <E> com.mojang.serialization.Codec<Registry<E>>RegistryCodecs.createKeyedRegistryCodec(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<E> elementCodec) 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) 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, or throws an exception when the registry does not exist.<E> Optional<RegistryEntryLookup<E>>RegistryOps.getEntryLookup(RegistryKey<? extends Registry<? extends E>> registryRef) static <E,O> com.mojang.serialization.codecs.RecordCodecBuilder<O, RegistryEntryLookup<E>> RegistryOps.getEntryLookupCodec(RegistryKey<? extends Registry<? extends E>> registryRef) private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>SerializableRegistries.getNetworkCodec(RegistryKey<? extends Registry<E>> registryRef) DynamicRegistryManager.getOptional(RegistryKey<? extends Registry<? extends E>> key) DynamicRegistryManager.ImmutableImpl.getOptional(RegistryKey<? extends Registry<? extends E>> key) <T> Optional<RegistryEntryLookup<T>>RegistryEntryLookup.RegistryLookup.getOptional(RegistryKey<? extends Registry<? extends T>> registryRef) default <T> Optional<RegistryWrapper.Impl<T>>DynamicRegistryManager.getOptionalWrapper(RegistryKey<? extends Registry<? extends T>> registryRef) <T> Optional<RegistryWrapper.Impl<T>>RegistryWrapper.WrapperLookup.getOptionalWrapper(RegistryKey<? extends Registry<? extends T>> registryRef) default <T> RegistryEntryLookup<T>RegistryEntryLookup.RegistryLookup.getOrThrow(RegistryKey<? extends Registry<? extends T>> registryRef) <E> Optional<RegistryEntryOwner<E>>RegistryOps.getOwner(RegistryKey<? extends Registry<? extends E>> registryRef) <T> Optional<RegistryOps.RegistryInfo<T>>RegistryOps.RegistryInfoGetter.getRegistryInfo(RegistryKey<? extends Registry<? extends T>> registryRef) <S> RegistryEntryLookup<S>Registerable.getRegistryLookup(RegistryKey<? extends Registry<? extends S>> registryRef) default <T> RegistryWrapper.Impl<T>RegistryWrapper.WrapperLookup.getWrapperOrThrow(RegistryKey<? extends Registry<? extends T>> registryRef) 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).(package private) static <E> voidRegistryLoader.load(RegistryOps.RegistryInfoGetter registryInfoGetter, ResourceManager resourceManager, RegistryKey<? extends Registry<E>> registryRef, MutableRegistry<E> newRegistry, com.mojang.serialization.Decoder<E> decoder, Map<RegistryKey<?>, Exception> exceptions) 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(RegistryKey<? extends Registry<?>> key, Registry<?> value) static RegistryBuilder.RegistriesRegistryBuilder.Registries.of(DynamicRegistryManager dynamicRegistryManager, Stream<RegistryKey<? extends Registry<?>>> registryRefs) 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.<E> Optional<RegistryKey<E>>RegistryKey.tryCast(RegistryKey<? extends Registry<E>> registryRef) Constructors in net.minecraft.registry with parameters of type RegistryModifierConstructorDescriptionConstructor parameters in net.minecraft.registry with type arguments of type RegistryModifierConstructorDescriptionEntry(RegistryKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec) ImmutableImpl(List<? extends Registry<?>> registries) ImmutableImpl(Map<? extends RegistryKey<? extends Registry<?>>, ? extends Registry<?>> registries) ImmutableImpl(Map<? extends RegistryKey<? extends Registry<?>>, ? extends Registry<?>> registries) (package private)Info(RegistryKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> codec) (package private)InitializedRegistry(RegistryKey<? extends Registry<? extends T>> registryKey, com.mojang.serialization.Lifecycle lifecycle, Map<RegistryKey<T>, RegistryBuilder.EntryAssociatedValue<T>> map) (package private)RegistryInfo(RegistryKey<? extends Registry<T>> registryKey, com.mojang.serialization.Lifecycle lifecycle, RegistryBuilder.BootstrapFunction<T> bootstrapFunction) SimpleDefaultedRegistry(String defaultId, RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, boolean intrusive) SimpleRegistry(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) SimpleRegistry(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, boolean intrusive) -
Uses of Registry in net.minecraft.registry.entry
Fields in net.minecraft.registry.entry with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final RegistryKey<? extends Registry<E>>RegistryEntryListCodec.registryprivate final RegistryKey<? extends Registry<E>>RegistryFixedCodec.registryprivate final RegistryKey<? extends Registry<E>>RegistryElementCodec.registryRefMethod parameters in net.minecraft.registry.entry with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec<RegistryEntryList<E>>RegistryEntryListCodec.create(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList) 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) static <E> RegistryFixedCodec<E>RegistryFixedCodec.of(RegistryKey<? extends Registry<E>> registry) Constructor parameters in net.minecraft.registry.entry with type arguments of type RegistryModifierConstructorDescriptionprivateRegistryElementCodec(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions) privateRegistryEntryListCodec(RegistryKey<? extends Registry<E>> registry, com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList) privateRegistryFixedCodec(RegistryKey<? extends Registry<E>> registry) -
Uses of Registry in net.minecraft.registry.tag
Fields in net.minecraft.registry.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.registry.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(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistryManager) Methods in net.minecraft.registry.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.registry.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.registry.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.resource.featuretoggle
Fields in net.minecraft.resource.featuretoggle with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final Set<RegistryKey<? extends Registry<? extends ToggleableFeature>>>ToggleableFeature.FEATURE_ENABLED_REGISTRY_KEYS -
Uses of Registry in net.minecraft.server
Methods in net.minecraft.server with parameters of type RegistryModifier and TypeMethodDescriptionprivate static voidMain.forceUpgradeWorld(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, boolean eraseCache, BooleanSupplier continueCheck, Registry<DimensionOptions> dimensionOptionsRegistry) -
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.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) 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.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.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) Method parameters in net.minecraft.world with type arguments of type RegistryModifier and TypeMethodDescriptiondefault <T> RegistryWrapper<T>WorldView.createCommandRegistryWrapper(RegistryKey<? extends Registry<? extends T>> registryRef) -
Uses of Registry in net.minecraft.world.biome.source
Methods in net.minecraft.world.biome.source with parameters of type RegistryModifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<? extends BiomeSource>BiomeSources.registerAndGetDefault(Registry<com.mojang.serialization.Codec<? extends BiomeSource>> registry) -
Uses of Registry in net.minecraft.world.chunk
Methods in net.minecraft.world.chunk with parameters of type RegistryModifier and TypeMethodDescriptionprivate static voidChunk.fillSectionArray(Registry<Biome> biomeRegistry, ChunkSection[] sectionArray) Constructors in net.minecraft.world.chunk with parameters of type RegistryModifierConstructorDescriptionChunk(ChunkPos pos, UpgradeData upgradeData, HeightLimitView heightLimitView, Registry<Biome> biomeRegistry, long inhabitedTime, @Nullable ChunkSection[] sectionArray, @Nullable BlendingData blendingData) ChunkSection(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
Fields in net.minecraft.world.dimension declared as RegistryModifier and TypeFieldDescriptionprivate final Registry<DimensionOptions>DimensionOptionsRegistryHolder.dimensionsThe field for thedimensionsrecord component.private final Registry<DimensionOptions>DimensionOptionsRegistryHolder.DimensionsConfig.dimensionsThe field for thedimensionsrecord component.Methods in net.minecraft.world.dimension that return RegistryModifier and TypeMethodDescriptionstatic Registry<DimensionOptions>DimensionOptionsRegistryHolder.createRegistry(Registry<DimensionOptions> currentRegistry, RegistryEntry<DimensionType> overworldEntry, ChunkGenerator chunkGenerator) static Registry<DimensionOptions>DimensionOptionsRegistryHolder.createRegistry(Registry<DimensionType> dynamicRegistry, Registry<DimensionOptions> currentRegistry, ChunkGenerator chunkGenerator) DimensionOptionsRegistryHolder.dimensions()Returns the value of thedimensionsrecord component.DimensionOptionsRegistryHolder.DimensionsConfig.dimensions()Returns the value of thedimensionsrecord component.Methods in net.minecraft.world.dimension with parameters of type RegistryModifier and TypeMethodDescriptionstatic Registry<DimensionOptions>DimensionOptionsRegistryHolder.createRegistry(Registry<DimensionOptions> currentRegistry, RegistryEntry<DimensionType> overworldEntry, ChunkGenerator chunkGenerator) static Registry<DimensionOptions>DimensionOptionsRegistryHolder.createRegistry(Registry<DimensionType> dynamicRegistry, Registry<DimensionOptions> currentRegistry, ChunkGenerator chunkGenerator) private static LevelProperties.SpecialPropertyDimensionOptionsRegistryHolder.getSpecialProperty(Registry<DimensionOptions> dimensionOptionsRegistry) DimensionOptionsRegistryHolder.toConfig(Registry<DimensionOptions> existingRegistry) Constructors in net.minecraft.world.dimension with parameters of type RegistryModifierConstructorDescriptionDimensionsConfig(Registry<DimensionOptions> registry, LevelProperties.SpecialProperty specialProperty) -
Uses of Registry in net.minecraft.world.gen
Methods in net.minecraft.world.gen that return RegistryModifier and TypeMethodDescriptionprivate Registry<DimensionOptions>WorldPreset.createDimensionOptionsRegistry()Methods in net.minecraft.world.gen with parameters of type RegistryModifier and TypeMethodDescriptionstatic Optional<RegistryKey<WorldPreset>>WorldPresets.getWorldPreset(Registry<DimensionOptions> registry) -
Uses of Registry in net.minecraft.world.gen.chunk
Methods in net.minecraft.world.gen.chunk with parameters of type RegistryModifier and TypeMethodDescriptionvoidNoiseChunkGenerator.buildSurface(Chunk chunk, HeightContext heightContext, NoiseConfig noiseConfig, StructureAccessor structureAccessor, BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, Blender blender) static com.mojang.serialization.Codec<? extends ChunkGenerator>ChunkGenerators.registerAndGetDefault(Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>> registry) -
Uses of Registry in net.minecraft.world.gen.densityfunction
Methods in net.minecraft.world.gen.densityfunction with parameters of type RegistryModifier and TypeMethodDescriptionprivate 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) -
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.level.storage
Methods in net.minecraft.world.level.storage with parameters of type RegistryModifier and TypeMethodDescription(package private) static BiFunction<Path,com.mojang.datafixers.DataFixer, com.mojang.datafixers.util.Pair<SaveProperties, DimensionOptionsRegistryHolder.DimensionsConfig>> LevelStorage.createLevelDataParser(com.mojang.serialization.DynamicOps<NbtElement> ops, DataConfiguration dataConfiguration, Registry<DimensionOptions> dimensionOptionsRegistry, com.mojang.serialization.Lifecycle lifecycle) @Nullable com.mojang.datafixers.util.Pair<SaveProperties,DimensionOptionsRegistryHolder.DimensionsConfig> LevelStorage.Session.readLevelProperties(com.mojang.serialization.DynamicOps<NbtElement> ops, DataConfiguration dataConfiguration, Registry<DimensionOptions> dimensionOptionsRegistry, com.mojang.serialization.Lifecycle lifecycle) -
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) -
Uses of Registry in net.minecraft.world.updater
Fields in net.minecraft.world.updater declared as RegistryModifier and TypeFieldDescriptionprivate final Registry<DimensionOptions>WorldUpdater.dimensionOptionsRegistryConstructors in net.minecraft.world.updater with parameters of type RegistryModifierConstructorDescriptionWorldUpdater(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, Registry<DimensionOptions> dimensionOptionsRegistry, boolean eraseCache)