Uses of Class
net.minecraft.core.Registry
Packages that use Registry
Package
Description
-
Uses of Registry in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens declared as RegistryMethods in net.minecraft.client.gui.screens with parameters of type RegistryModifier and TypeMethodDescriptionstatic FlatLevelGeneratorSettingsPresetFlatWorldScreen.fromString(Registry<Biome> p_211772_, Registry<StructureSet> p_211773_, String p_211774_, FlatLevelGeneratorSettings p_211775_) -
Uses of Registry in net.minecraft.client.multiplayer
Method parameters in net.minecraft.client.multiplayer with type arguments of type RegistryModifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ClientSuggestionProvider.suggestRegistryElements(ResourceKey<? extends Registry<?>> p_212429_, SharedSuggestionProvider.ElementSuggestionType p_212430_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212431_, com.mojang.brigadier.context.CommandContext<?> p_212432_) private <T> voidClientPacketListener.updateTagsForRegistry(ResourceKey<? extends Registry<? extends T>> p_205561_, TagNetworkSerialization.NetworkPayload p_205562_) -
Uses of Registry in net.minecraft.commands
Methods in net.minecraft.commands with parameters of type RegistryModifier and TypeMethodDescriptiondefault voidSharedSuggestionProvider.suggestRegistryElements(Registry<?> p_212336_, SharedSuggestionProvider.ElementSuggestionType p_212337_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212338_) Method parameters in net.minecraft.commands with type arguments of type RegistryModifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>CommandSourceStack.suggestRegistryElements(ResourceKey<? extends Registry<?>> p_212330_, SharedSuggestionProvider.ElementSuggestionType p_212331_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212332_, com.mojang.brigadier.context.CommandContext<?> p_212333_) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>SharedSuggestionProvider.suggestRegistryElements(ResourceKey<? extends Registry<?>> p_212339_, SharedSuggestionProvider.ElementSuggestionType p_212340_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212341_, com.mojang.brigadier.context.CommandContext<?> p_212342_) -
Uses of Registry in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments with type parameters of type RegistryModifier and TypeFieldDescription(package private) final ResourceKey<? extends Registry<T>>ResourceKeyArgument.registryKey(package private) final ResourceKey<? extends Registry<T>>ResourceOrTagLocationArgument.registryKeyMethods in net.minecraft.commands.arguments that return RegistryModifier and TypeMethodDescriptionprivate static <T> Registry<T>ResourceKeyArgument.getRegistry(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212379_, ResourceKey<? extends Registry<T>> p_212380_) Method parameters in net.minecraft.commands.arguments with type arguments of type RegistryModifier and TypeMethodDescriptionResourceOrTagLocationArgument.ResourceResult.cast(ResourceKey<? extends Registry<E>> p_210988_) ResourceOrTagLocationArgument.Result.cast(ResourceKey<? extends Registry<E>> p_210997_) ResourceOrTagLocationArgument.TagResult.cast(ResourceKey<? extends Registry<E>> p_211022_) private static <T> Registry<T>ResourceKeyArgument.getRegistry(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212379_, ResourceKey<? extends Registry<T>> p_212380_) private static <T> ResourceKey<T>ResourceKeyArgument.getRegistryType(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212374_, String p_212375_, ResourceKey<Registry<T>> p_212376_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_212377_) private static <T> ResourceOrTagLocationArgument.Result<T>ResourceOrTagLocationArgument.getRegistryType(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_210956_, String p_210957_, ResourceKey<Registry<T>> p_210958_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_210959_) static <T> ResourceKeyArgument<T>ResourceKeyArgument.key(ResourceKey<? extends Registry<T>> p_212387_) static <T> ResourceOrTagLocationArgument<T>ResourceOrTagLocationArgument.resourceOrTag(ResourceKey<? extends Registry<T>> p_210969_) Constructor parameters in net.minecraft.commands.arguments with type arguments of type RegistryModifierConstructorDescriptionResourceKeyArgument(ResourceKey<? extends Registry<T>> p_212367_) ResourceOrTagLocationArgument(ResourceKey<? extends Registry<T>> p_210949_) -
Uses of Registry in net.minecraft.commands.arguments.blocks
Fields in net.minecraft.commands.arguments.blocks with type parameters of type RegistryModifier and TypeFieldDescriptionprivate static final BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,Registry<Block>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> BlockStateParser.SUGGEST_NOTHINGprivate BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,Registry<Block>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> BlockStateParser.suggestionsMethods in net.minecraft.commands.arguments.blocks with parameters of type RegistryModifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockStateParser.fillSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205595_, Registry<Block> p_205596_) private booleanBlockStateParser.hasBlockEntity(Registry<Block> p_205606_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockStateParser.suggestBlockIdOrTag(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205643_, Registry<Block> p_205644_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockStateParser.suggestEquals(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205628_, Registry<Block> p_205629_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockStateParser.suggestNextPropertyOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205631_, Registry<Block> p_205632_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockStateParser.suggestOpenNbt(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205625_, Registry<Block> p_205626_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockStateParser.suggestOpenPropertiesOrNbt(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205637_, Registry<Block> p_205638_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockStateParser.suggestOpenVaguePropertiesOrNbt(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205634_, Registry<Block> p_205635_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockStateParser.suggestPropertyName(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205619_, Registry<Block> p_205620_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockStateParser.suggestPropertyNameOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205612_, Registry<Block> p_205613_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockStateParser.suggestTag(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205640_, Registry<Block> p_205641_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockStateParser.suggestVaguePropertyName(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205622_, Registry<Block> p_205623_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockStateParser.suggestVaguePropertyNameOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205615_, Registry<Block> p_205616_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>BlockStateParser.suggestVaguePropertyValue(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205598_, Registry<Block> p_205599_, String p_205600_) -
Uses of Registry in net.minecraft.commands.arguments.item
Fields in net.minecraft.commands.arguments.item with type parameters of type RegistryModifier and TypeFieldDescriptionprivate static final BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,Registry<Item>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> ItemParser.SUGGEST_NOTHINGprivate BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,Registry<Item>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> ItemParser.suggestionsMethods in net.minecraft.commands.arguments.item with parameters of type RegistryModifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ItemParser.fillSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205666_, Registry<Item> p_205667_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ItemParser.suggestItemIdOrTag(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205676_, Registry<Item> p_205677_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ItemParser.suggestOpenNbt(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205669_, Registry<Item> p_205670_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ItemParser.suggestTag(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205673_, Registry<Item> p_205674_) -
Uses of Registry in net.minecraft.core
Subclasses of Registry in net.minecraft.coreModifier and TypeClassDescriptionclassclassclassFields in net.minecraft.core declared as RegistryModifier and TypeFieldDescriptionRegistry.ACTIVITYDeprecated.Registry.ATTRIBUTEDeprecated.static final Registry<com.mojang.serialization.Codec<? extends BiomeSource>>Registry.BIOME_SOURCEstatic final Registry<BlockEntityType<?>>Registry.BLOCK_ENTITY_TYPEDeprecated.static final Registry<BlockPredicateType<?>>Registry.BLOCK_PREDICATE_TYPESstatic final Registry<BlockStateProviderType<?>>Registry.BLOCKSTATE_PROVIDER_TYPESDeprecated.static final Registry<WorldCarver<?>>Registry.CARVERDeprecated.static final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>Registry.CHUNK_GENERATORstatic final Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>>Registry.CONDITIONstatic final Registry<ResourceLocation>Registry.CUSTOM_STATstatic final Registry<com.mojang.serialization.Codec<? extends DensityFunction>>Registry.DENSITY_FUNCTION_TYPESstatic final Registry<Enchantment>Registry.ENCHANTMENTDeprecated.Registry.FEATUREDeprecated.static final Registry<FeatureSizeType<?>>Registry.FEATURE_SIZE_TYPESstatic final Registry<FloatProviderType<?>>Registry.FLOAT_PROVIDER_TYPESstatic final Registry<FoliagePlacerType<?>>Registry.FOLIAGE_PLACER_TYPESDeprecated.static final Registry<HeightProviderType<?>>Registry.HEIGHT_PROVIDER_TYPESstatic final Registry<IntProviderType<?>>Registry.INT_PROVIDER_TYPESstatic final Registry<LootItemConditionType>Registry.LOOT_CONDITION_TYPEstatic final Registry<LootItemFunctionType>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_TYPERegistry.MENUDeprecated.Registry.MOB_EFFECTDeprecated.static final Registry<ParticleType<?>>Registry.PARTICLE_TYPEDeprecated.static final Registry<PlacementModifierType<?>>Registry.PLACEMENT_MODIFIERSstatic final Registry<PosRuleTestType<?>>Registry.POS_RULE_TESTstatic final Registry<PositionSourceType<?>>Registry.POSITION_SOURCE_TYPEstatic final Registry<RecipeSerializer<?>>Registry.RECIPE_SERIALIZERDeprecated.static final Registry<RecipeType<?>>Registry.RECIPE_TYPEHolder.Reference.registryHolderSet.Named.registryRegistry.REGISTRYstatic final Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>>Registry.RULEstatic final Registry<RuleTestType<?>>Registry.RULE_TESTRegistry.SCHEDULEDeprecated.static final Registry<SoundEvent>Registry.SOUND_EVENTDeprecated.Registry.STAT_TYPEDeprecated.static final Registry<StructureFeature<?>>Registry.STRUCTURE_FEATUREDeprecated.static final Registry<StructurePieceType>Registry.STRUCTURE_PIECEstatic final Registry<StructurePlacementType<?>>Registry.STRUCTURE_PLACEMENT_TYPEstatic final Registry<StructurePoolElementType<?>>Registry.STRUCTURE_POOL_ELEMENTstatic final Registry<StructureProcessorType<?>>Registry.STRUCTURE_PROCESSORstatic final Registry<TreeDecoratorType<?>>Registry.TREE_DECORATOR_TYPESDeprecated.static final Registry<TrunkPlacerType<?>>Registry.TRUNK_PLACER_TYPESRegistryAccess.RegistryEntry.valueThe field for thevaluerecord component.Fields in net.minecraft.core with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<Activity>>Registry.ACTIVITY_REGISTRYstatic final ResourceKey<Registry<Attribute>>Registry.ATTRIBUTE_REGISTRYstatic final ResourceKey<Registry<Biome>>Registry.BIOME_REGISTRYstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>Registry.BIOME_SOURCE_REGISTRYstatic final ResourceKey<Registry<BlockEntityType<?>>>Registry.BLOCK_ENTITY_TYPE_REGISTRYstatic final ResourceKey<Registry<BlockPredicateType<?>>>Registry.BLOCK_PREDICATE_TYPE_REGISTRYstatic final ResourceKey<Registry<Block>>Registry.BLOCK_REGISTRYstatic final ResourceKey<Registry<BlockStateProviderType<?>>>Registry.BLOCK_STATE_PROVIDER_TYPE_REGISTRYstatic final ResourceKey<Registry<WorldCarver<?>>>Registry.CARVER_REGISTRYstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>Registry.CHUNK_GENERATOR_REGISTRYstatic final ResourceKey<Registry<ChunkStatus>>Registry.CHUNK_STATUS_REGISTRYstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>>>Registry.CONDITION_REGISTRYstatic final ResourceKey<Registry<ConfiguredWorldCarver<?>>>Registry.CONFIGURED_CARVER_REGISTRYstatic final ResourceKey<Registry<ConfiguredFeature<?,?>>> Registry.CONFIGURED_FEATURE_REGISTRYstatic final ResourceKey<Registry<ConfiguredStructureFeature<?,?>>> static final ResourceKey<Registry<ResourceLocation>>Registry.CUSTOM_STAT_REGISTRYstatic final ResourceKey<Registry<DensityFunction>>Registry.DENSITY_FUNCTION_REGISTRYstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>>Registry.DENSITY_FUNCTION_TYPE_REGISTRYstatic final ResourceKey<Registry<Level>>Registry.DIMENSION_REGISTRYstatic final ResourceKey<Registry<DimensionType>>Registry.DIMENSION_TYPE_REGISTRYstatic final ResourceKey<Registry<Enchantment>>Registry.ENCHANTMENT_REGISTRYstatic final ResourceKey<Registry<EntityType<?>>>Registry.ENTITY_TYPE_REGISTRYstatic final ResourceKey<Registry<Feature<?>>>Registry.FEATURE_REGISTRYstatic final ResourceKey<Registry<FeatureSizeType<?>>>Registry.FEATURE_SIZE_TYPE_REGISTRYstatic final ResourceKey<Registry<FloatProviderType<?>>>Registry.FLOAT_PROVIDER_TYPE_REGISTRYstatic final ResourceKey<Registry<Fluid>>Registry.FLUID_REGISTRYstatic final ResourceKey<Registry<FoliagePlacerType<?>>>Registry.FOLIAGE_PLACER_TYPE_REGISTRYstatic final ResourceKey<Registry<GameEvent>>Registry.GAME_EVENT_REGISTRYstatic final ResourceKey<Registry<HeightProviderType<?>>>Registry.HEIGHT_PROVIDER_TYPE_REGISTRYstatic final ResourceKey<Registry<IntProviderType<?>>>Registry.INT_PROVIDER_TYPE_REGISTRYstatic final ResourceKey<Registry<Item>>Registry.ITEM_REGISTRYprivate final ResourceKey<? extends Registry<T>>Registry.keyprivate final ResourceKey<? extends Registry<E>>RegistryAccess.RegistryData.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<T>>RegistryAccess.RegistryEntry.keyThe field for thekeyrecord component.static final ResourceKey<Registry<LevelStem>>Registry.LEVEL_STEM_REGISTRYstatic final ResourceKey<Registry<LootPoolEntryType>>Registry.LOOT_ENTRY_REGISTRYstatic final ResourceKey<Registry<LootItemFunctionType>>Registry.LOOT_FUNCTION_REGISTRYstatic final ResourceKey<Registry<LootItemConditionType>>Registry.LOOT_ITEM_REGISTRYstatic final ResourceKey<Registry<LootNbtProviderType>>Registry.LOOT_NBT_PROVIDER_REGISTRYstatic final ResourceKey<Registry<LootNumberProviderType>>Registry.LOOT_NUMBER_PROVIDER_REGISTRYstatic final ResourceKey<Registry<LootScoreProviderType>>Registry.LOOT_SCORE_PROVIDER_REGISTRYstatic final ResourceKey<Registry<MemoryModuleType<?>>>Registry.MEMORY_MODULE_TYPE_REGISTRYstatic final ResourceKey<Registry<MenuType<?>>>Registry.MENU_REGISTRYstatic final ResourceKey<Registry<MobEffect>>Registry.MOB_EFFECT_REGISTRYstatic final ResourceKey<Registry<Motive>>Registry.MOTIVE_REGISTRYstatic final ResourceKey<Registry<NoiseGeneratorSettings>>Registry.NOISE_GENERATOR_SETTINGS_REGISTRYstatic final ResourceKey<Registry<NormalNoise.NoiseParameters>>Registry.NOISE_REGISTRYstatic final ResourceKey<Registry<ParticleType<?>>>Registry.PARTICLE_TYPE_REGISTRYstatic final ResourceKey<Registry<PlacedFeature>>Registry.PLACED_FEATURE_REGISTRYstatic final ResourceKey<Registry<PlacementModifierType<?>>>Registry.PLACEMENT_MODIFIER_REGISTRYstatic final ResourceKey<Registry<PoiType>>Registry.POINT_OF_INTEREST_TYPE_REGISTRYstatic final ResourceKey<Registry<PosRuleTestType<?>>>Registry.POS_RULE_TEST_REGISTRYstatic final ResourceKey<Registry<PositionSourceType<?>>>Registry.POSITION_SOURCE_TYPE_REGISTRYstatic final ResourceKey<Registry<Potion>>Registry.POTION_REGISTRYstatic final ResourceKey<Registry<StructureProcessorList>>Registry.PROCESSOR_LIST_REGISTRYstatic final ResourceKey<Registry<RecipeSerializer<?>>>Registry.RECIPE_SERIALIZER_REGISTRYstatic final ResourceKey<Registry<RecipeType<?>>>Registry.RECIPE_TYPE_REGISTRYprivate final Map<? extends ResourceKey<? extends Registry<?>>,? extends Registry<?>> RegistryAccess.ImmutableRegistryAccess.registriesprivate final Map<? extends ResourceKey<? extends Registry<?>>,? extends Registry<?>> RegistryAccess.ImmutableRegistryAccess.registriesprivate final Map<? extends ResourceKey<? extends Registry<?>>,? extends WritableRegistry<?>> RegistryAccess.WritableRegistryAccess.registriesstatic final Map<ResourceKey<? extends Registry<?>>,RegistryAccess.RegistryData<?>> RegistryAccess.REGISTRIESRegistry.REGISTRYstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>>>Registry.RULE_REGISTRYstatic final ResourceKey<Registry<RuleTestType<?>>>Registry.RULE_TEST_REGISTRYstatic final ResourceKey<Registry<Schedule>>Registry.SCHEDULE_REGISTRYstatic final ResourceKey<Registry<SensorType<?>>>Registry.SENSOR_TYPE_REGISTRYstatic final ResourceKey<Registry<SoundEvent>>Registry.SOUND_EVENT_REGISTRYstatic final ResourceKey<Registry<StatType<?>>>Registry.STAT_TYPE_REGISTRYstatic final ResourceKey<Registry<StructureFeature<?>>>Registry.STRUCTURE_FEATURE_REGISTRYstatic final ResourceKey<Registry<StructurePieceType>>Registry.STRUCTURE_PIECE_REGISTRYstatic final ResourceKey<Registry<StructurePlacementType<?>>>Registry.STRUCTURE_PLACEMENT_TYPE_REGISTRYstatic final ResourceKey<Registry<StructurePoolElementType<?>>>Registry.STRUCTURE_POOL_ELEMENT_REGISTRYstatic final ResourceKey<Registry<StructureProcessorType<?>>>Registry.STRUCTURE_PROCESSOR_REGISTRYstatic final ResourceKey<Registry<StructureSet>>Registry.STRUCTURE_SET_REGISTRYstatic final ResourceKey<Registry<StructureTemplatePool>>Registry.TEMPLATE_POOL_REGISTRYstatic final ResourceKey<Registry<TreeDecoratorType<?>>>Registry.TREE_DECORATOR_TYPE_REGISTRYstatic final ResourceKey<Registry<TrunkPlacerType<?>>>Registry.TRUNK_PLACER_TYPE_REGISTRYstatic final ResourceKey<Registry<VillagerProfession>>Registry.VILLAGER_PROFESSION_REGISTRYstatic final ResourceKey<Registry<VillagerType>>Registry.VILLAGER_TYPE_REGISTRYMethods in net.minecraft.core with type parameters of type RegistryModifier and TypeMethodDescriptionprivate static <K extends ResourceKey<? extends Registry<?>>,V extends Registry<?>>
com.mojang.serialization.Codec<RegistryAccess>RegistryAccess.captureMap(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_206164_) private static <K extends ResourceKey<? extends Registry<?>>,V extends Registry<?>>
com.mojang.serialization.Codec<RegistryAccess>RegistryAccess.captureMap(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_206164_) static <T extends Registry<?>>
voidRegistry.checkRegistry(Registry<T> p_205993_) private static <T,R extends Registry<? extends T>>
RegistryAccess.RegistryEntry<T>RegistryAccess.RegistryEntry.fromMapEntry(Map.Entry<? extends ResourceKey<? extends Registry<?>>, R> p_206242_) Methods in net.minecraft.core that return RegistryModifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, Registry.RegistryBootstrap<T> def) private static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, Registry.RegistryBootstrap<T> def) MappedRegistry.freeze()Registry.freeze()default <E> Registry<E>RegistryAccess.ownedRegistryOrThrow(ResourceKey<? extends Registry<? extends E>> p_206192_) private static <T> Registry<T>Registry.registerSimple(ResourceKey<? extends Registry<T>> p_206004_, com.mojang.serialization.Lifecycle p_206005_, Function<T, Holder.Reference<T>> p_206006_, Registry.RegistryBootstrap<T> p_206007_) private static <T> Registry<T>Registry.registerSimple(ResourceKey<? extends Registry<T>> p_206000_, com.mojang.serialization.Lifecycle p_206001_, Registry.RegistryBootstrap<T> p_206002_) private static <T> Registry<T>Registry.registerSimple(ResourceKey<? extends Registry<T>> p_206009_, Registry.RegistryBootstrap<T> p_206010_) default <E> Registry<E>RegistryAccess.registryOrThrow(ResourceKey<? extends Registry<? extends E>> p_175516_) static <E> Registry<E>RegistryAccess.retrieveRegistry(ResourceKey<? extends Registry<? extends E>> p_206185_, com.mojang.serialization.Dynamic<?> p_206186_) RegistryAccess.RegistryEntry.value()Returns the value of thevaluerecord component.Methods in net.minecraft.core that return types with arguments of type RegistryModifier and TypeMethodDescriptionprivate static Map<ResourceKey<? extends Registry<?>>,? extends WritableRegistry<?>> RegistryAccess.createFreshRegistries()private static <T> ResourceKey<Registry<T>>Registry.createRegistryKey(String p_122979_) static <E> com.mojang.serialization.Codec<Registry<E>>RegistryCodecs.dataPackAwareCodec(ResourceKey<? extends Registry<E>> p_206319_, com.mojang.serialization.Lifecycle p_206320_, com.mojang.serialization.Codec<E> p_206321_) private static <E> com.mojang.serialization.Decoder<Registry<E>>RegistryCodecs.dataPackAwareDecoder(ResourceKey<? extends Registry<E>> p_206283_, com.mojang.serialization.Codec<E> p_206284_, com.mojang.serialization.Decoder<Map<ResourceKey<E>, E>> p_206285_, com.mojang.serialization.Lifecycle p_206286_) ResourceKey<? extends Registry<T>>Registry.key()ResourceKey<? extends Registry<E>>RegistryAccess.RegistryData.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<T>>RegistryAccess.RegistryEntry.key()Returns the value of thekeyrecord component.static <T> com.mojang.serialization.Codec<Registry<T>>RegistryCodecs.networkCodec(ResourceKey<? extends Registry<T>> p_206292_, com.mojang.serialization.Lifecycle p_206293_, com.mojang.serialization.Codec<T> p_206294_) RegistryAccess.ImmutableRegistryAccess.ownedRegistry(ResourceKey<? extends Registry<? extends E>> p_206229_) RegistryAccess.ownedRegistry(ResourceKey<? extends Registry<? extends E>> p_175507_) RegistryAccess.WritableRegistryAccess.ownedRegistry(ResourceKey<? extends Registry<? extends E>> p_206263_) RegistryAccess.registry(ResourceKey<? extends Registry<? extends E>> p_123085_) Methods in net.minecraft.core with parameters of type RegistryModifier and TypeMethodDescriptionstatic <T extends Registry<?>>
voidRegistry.checkRegistry(Registry<T> p_205993_) static <T> Holder.Reference<T>Holder.Reference.createIntrusive(Registry<T> p_205764_, T p_205765_) Deprecated.static <T> Holder.Reference<T>Holder.Reference.createStandAlone(Registry<T> p_205767_, ResourceKey<T> p_205768_) static RegistryAccess.FrozenRegistryAccess.fromRegistryOfRegistries(Registry<? extends Registry<?>> p_206166_) private static <T> RegistryAccess.RegistryEntry<T>RegistryAccess.RegistryEntry.fromUntyped(ResourceKey<? extends Registry<?>> p_206244_, Registry<?> p_206245_) booleanHolder.Direct.isValidInRegistry(Registry<T> p_205721_) booleanHolder.isValidInRegistry(Registry<T> p_205708_) booleanHolder.Reference.isValidInRegistry(Registry<T> p_205762_) booleanHolderSet.isValidInRegistry(Registry<T> p_211041_) booleanHolderSet.ListBacked.isValidInRegistry(Registry<T> p_211043_) booleanHolderSet.Named.isValidInRegistry(Registry<T> p_211049_) static <T> Tstatic <V,T extends V>
TRegistry.register(Registry<V> p_194580_, ResourceKey<V> p_194581_, T p_194582_) static <V,T extends V>
TRegistry.register(Registry<V> p_122966_, ResourceLocation p_122967_, T p_122968_) static <V,T extends V>
TRegistry.registerMapping(Registry<V> p_122957_, int p_122958_, String p_122959_, T p_122960_) Method parameters in net.minecraft.core with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <E> WritableRegistry<?>RegistryAccess.createRegistry(ResourceKey<? extends Registry<?>> p_206201_) static <E> com.mojang.serialization.Codec<Registry<E>>RegistryCodecs.dataPackAwareCodec(ResourceKey<? extends Registry<E>> p_206319_, com.mojang.serialization.Lifecycle p_206320_, com.mojang.serialization.Codec<E> p_206321_) private static <E> com.mojang.serialization.Decoder<Registry<E>>RegistryCodecs.dataPackAwareDecoder(ResourceKey<? extends Registry<E>> p_206283_, com.mojang.serialization.Codec<E> p_206284_, com.mojang.serialization.Decoder<Map<ResourceKey<E>, E>> p_206285_, com.mojang.serialization.Lifecycle p_206286_) private static <T> com.mojang.serialization.Codec<Map<ResourceKey<T>,T>> RegistryCodecs.directCodec(ResourceKey<? extends Registry<T>> p_206316_, com.mojang.serialization.Codec<T> p_206317_) private static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, Registry.RegistryBootstrap<T> def) private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, String defKey, com.mojang.serialization.Lifecycle cycle, Registry.RegistryBootstrap<T> def) private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, String defKey, Registry.RegistryBootstrap<T> def) private static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, Registry.RegistryBootstrap<T> def) private static <T> RegistryAccess.RegistryEntry<T>RegistryAccess.RegistryEntry.fromHolder(Holder.Reference<? extends Registry<? extends T>> p_206240_) private static <T,R extends Registry<? extends T>>
RegistryAccess.RegistryEntry<T>RegistryAccess.RegistryEntry.fromMapEntry(Map.Entry<? extends ResourceKey<? extends Registry<?>>, R> p_206242_) static RegistryAccess.FrozenRegistryAccess.fromRegistryOfRegistries(Registry<? extends Registry<?>> p_206166_) private static <T> RegistryAccess.RegistryEntry<T>RegistryAccess.RegistryEntry.fromUntyped(ResourceKey<? extends Registry<?>> p_206244_, Registry<?> p_206245_) private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>RegistryAccess.getNetworkCodec(ResourceKey<? extends Registry<E>> p_206204_) static <E> com.mojang.serialization.Codec<HolderSet<E>>RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> p_206278_) static <E> com.mojang.serialization.Codec<HolderSet<E>>RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> p_206311_, boolean p_206312_) static <E> com.mojang.serialization.Codec<HolderSet<E>>RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> p_206280_, com.mojang.serialization.Codec<E> p_206281_) static <E> com.mojang.serialization.Codec<HolderSet<E>>RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> p_206288_, com.mojang.serialization.Codec<E> p_206289_, boolean p_206290_) private static <T,R extends WritableRegistry<T>>
RRegistry.internalRegister(ResourceKey<? extends Registry<T>> p_206012_, R p_206013_, Registry.RegistryBootstrap<T> p_206014_, com.mojang.serialization.Lifecycle p_206015_) static <T> com.mojang.serialization.Codec<Registry<T>>RegistryCodecs.networkCodec(ResourceKey<? extends Registry<T>> p_206292_, com.mojang.serialization.Lifecycle p_206293_, com.mojang.serialization.Codec<T> p_206294_) RegistryAccess.ImmutableRegistryAccess.ownedRegistry(ResourceKey<? extends Registry<? extends E>> p_206229_) RegistryAccess.ownedRegistry(ResourceKey<? extends Registry<? extends E>> p_175507_) RegistryAccess.WritableRegistryAccess.ownedRegistry(ResourceKey<? extends Registry<? extends E>> p_206263_) default <E> Registry<E>RegistryAccess.ownedRegistryOrThrow(ResourceKey<? extends Registry<? extends E>> p_206192_) <E> Optional<WritableRegistry<E>>RegistryAccess.Writable.ownedWritableRegistry(ResourceKey<? extends Registry<? extends E>> p_206252_) <E> Optional<WritableRegistry<E>>RegistryAccess.WritableRegistryAccess.ownedWritableRegistry(ResourceKey<? extends Registry<? extends E>> p_206268_) default <E> WritableRegistry<E>RegistryAccess.Writable.ownedWritableRegistryOrThrow(ResourceKey<? extends Registry<? extends E>> p_206254_) private static <E> voidRegistryAccess.put(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> p_123054_, ResourceKey<? extends Registry<E>> p_123055_, com.mojang.serialization.Codec<E> p_123056_) private static <E> voidRegistryAccess.put(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> p_123054_, ResourceKey<? extends Registry<E>> p_123055_, com.mojang.serialization.Codec<E> p_123056_) private static <E> voidRegistryAccess.put(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> p_123058_, ResourceKey<? extends Registry<E>> p_123059_, com.mojang.serialization.Codec<E> p_123060_, com.mojang.serialization.Codec<E> p_123061_) private static <E> voidRegistryAccess.put(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> p_123058_, ResourceKey<? extends Registry<E>> p_123059_, com.mojang.serialization.Codec<E> p_123060_, com.mojang.serialization.Codec<E> p_123061_) private static <T> DefaultedRegistry<T>Registry.registerDefaulted(ResourceKey<? extends Registry<T>> p_206022_, String p_206023_, com.mojang.serialization.Lifecycle p_206024_, Function<T, Holder.Reference<T>> p_206025_, Registry.RegistryBootstrap<T> p_206026_) private static <T> DefaultedRegistry<T>Registry.registerDefaulted(ResourceKey<? extends Registry<T>> p_206017_, String p_206018_, com.mojang.serialization.Lifecycle p_206019_, Registry.RegistryBootstrap<T> p_206020_) private static <T> DefaultedRegistry<T>Registry.registerDefaulted(ResourceKey<? extends Registry<T>> p_206032_, String p_206033_, Function<T, Holder.Reference<T>> p_206034_, Registry.RegistryBootstrap<T> p_206035_) private static <T> DefaultedRegistry<T>Registry.registerDefaulted(ResourceKey<? extends Registry<T>> p_206028_, String p_206029_, Registry.RegistryBootstrap<T> p_206030_) private static <T> Registry<T>Registry.registerSimple(ResourceKey<? extends Registry<T>> p_206004_, com.mojang.serialization.Lifecycle p_206005_, Function<T, Holder.Reference<T>> p_206006_, Registry.RegistryBootstrap<T> p_206007_) private static <T> Registry<T>Registry.registerSimple(ResourceKey<? extends Registry<T>> p_206000_, com.mojang.serialization.Lifecycle p_206001_, Registry.RegistryBootstrap<T> p_206002_) private static <T> Registry<T>Registry.registerSimple(ResourceKey<? extends Registry<T>> p_206009_, Registry.RegistryBootstrap<T> p_206010_) RegistryAccess.registry(ResourceKey<? extends Registry<? extends E>> p_123085_) default <E> Registry<E>RegistryAccess.registryOrThrow(ResourceKey<? extends Registry<? extends E>> p_175516_) static <E> Registry<E>RegistryAccess.retrieveRegistry(ResourceKey<? extends Registry<? extends E>> p_206185_, com.mojang.serialization.Dynamic<?> p_206186_) private static <T> com.mojang.serialization.MapCodec<RegistryCodecs.RegistryEntry<T>>RegistryCodecs.withNameAndId(ResourceKey<? extends Registry<T>> p_206304_, com.mojang.serialization.MapCodec<T> p_206305_) Constructors in net.minecraft.core with parameters of type RegistryModifierConstructorDescriptionprivateReference(Holder.Reference.Type p_205754_, Registry<T> p_205755_, ResourceKey<T> p_205756_, T p_205757_) RegistryEntry(ResourceKey<? extends Registry<T>> key, Registry<T> value) Creates an instance of aRegistryEntryrecord class.Constructor parameters in net.minecraft.core with type arguments of type RegistryModifierConstructorDescriptionDefaultedRegistry(String p_205693_, ResourceKey<? extends Registry<T>> p_205694_, com.mojang.serialization.Lifecycle p_205695_, Function<T, Holder.Reference<T>> p_205696_) ImmutableRegistryAccess(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> p_206225_) ImmutableRegistryAccess(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> p_206225_) MappedRegistry(ResourceKey<? extends Registry<T>> p_205849_, com.mojang.serialization.Lifecycle p_205850_, Function<T, Holder.Reference<T>> p_205851_) protectedRegistry(ResourceKey<? extends Registry<T>> p_122920_, com.mojang.serialization.Lifecycle p_122921_) RegistryData(ResourceKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.Codec<E> networkCodec) Creates an instance of aRegistryDatarecord class.RegistryEntry(ResourceKey<? extends Registry<T>> key, Registry<T> value) Creates an instance of aRegistryEntryrecord class.WritableRegistry(ResourceKey<? extends Registry<T>> p_123346_, com.mojang.serialization.Lifecycle p_123347_) (package private)WritableRegistryAccess(Map<? extends ResourceKey<? extends Registry<?>>, ? extends WritableRegistry<?>> p_206259_) -
Uses of Registry in net.minecraft.data
Fields in net.minecraft.data declared as RegistryModifier and TypeFieldDescriptionBuiltinRegistries.BIOMEDeprecated.static final Registry<ConfiguredWorldCarver<?>>BuiltinRegistries.CONFIGURED_CARVERstatic final Registry<ConfiguredFeature<?,?>> BuiltinRegistries.CONFIGURED_FEATUREstatic final Registry<ConfiguredStructureFeature<?,?>> BuiltinRegistries.CONFIGURED_STRUCTURE_FEATUREstatic final Registry<DensityFunction>BuiltinRegistries.DENSITY_FUNCTIONstatic final Registry<NormalNoise.NoiseParameters>BuiltinRegistries.NOISEstatic final Registry<NoiseGeneratorSettings>BuiltinRegistries.NOISE_GENERATOR_SETTINGSstatic final Registry<PlacedFeature>BuiltinRegistries.PLACED_FEATUREstatic final Registry<StructureProcessorList>BuiltinRegistries.PROCESSOR_LISTBuiltinRegistries.REGISTRYstatic final Registry<StructureSet>BuiltinRegistries.STRUCTURE_SETSstatic final Registry<StructureTemplatePool>BuiltinRegistries.TEMPLATE_POOLFields in net.minecraft.data with type parameters of type RegistryMethods in net.minecraft.data that return RegistryModifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
Registry<T>BuiltinRegistries.forge(ResourceKey<? extends Registry<T>> key, Supplier<? extends Holder<? extends T>> holderSupplier) private static <T> Registry<T>BuiltinRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_123885_, com.mojang.serialization.Lifecycle p_123886_, Supplier<? extends Holder<? extends T>> p_123887_) private static <T> Registry<T>BuiltinRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_123894_, Supplier<? extends Holder<? extends T>> p_123895_) Methods in net.minecraft.data with parameters of type RegistryModifier and TypeMethodDescriptionstatic <T> Holder<T>static <T> Holder<T>BuiltinRegistries.register(Registry<T> p_206385_, ResourceKey<T> p_206386_, T p_206387_) static <T> Holder<T>BuiltinRegistries.register(Registry<T> p_206389_, ResourceLocation p_206390_, T p_206391_) static <V extends T,T>
Holder<V>BuiltinRegistries.registerExact(Registry<T> p_206381_, String p_206382_, V p_206383_) Method parameters in net.minecraft.data with type arguments of type RegistryModifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
Registry<T>BuiltinRegistries.forge(ResourceKey<? extends Registry<T>> key, Supplier<? extends Holder<? extends T>> holderSupplier) private static <T,R extends WritableRegistry<T>>
RBuiltinRegistries.internalRegister(ResourceKey<? extends Registry<T>> p_123889_, R p_123890_, Supplier<? extends Holder<? extends T>> p_123891_, com.mojang.serialization.Lifecycle p_123892_) private static <T> Registry<T>BuiltinRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_123885_, com.mojang.serialization.Lifecycle p_123886_, Supplier<? extends Holder<? extends T>> p_123887_) private static <T> Registry<T>BuiltinRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_123894_, Supplier<? extends Holder<? extends T>> p_123895_) -
Uses of Registry in net.minecraft.data.info
Methods in net.minecraft.data.info with type parameters of type RegistryModifier and TypeMethodDescriptionprivate static <E,T extends Registry<E>>
voidWorldgenRegistryDumpReport.dumpRegistry(Path p_194698_, HashCache p_194699_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_194700_, ResourceKey<? extends T> p_194701_, T p_194702_, com.mojang.serialization.Encoder<E> p_194703_) Methods in net.minecraft.data.info with parameters of type RegistryModifier and TypeMethodDescriptionprivate static <T> com.google.gson.JsonElementRegistryDumpReport.dumpRegistry(Registry<T> p_124059_) -
Uses of Registry in net.minecraft.data.tags
Fields in net.minecraft.data.tags declared as RegistryConstructors in net.minecraft.data.tags with parameters of type RegistryModifierConstructorDescription(package private)TagAppender(Tag.Builder p_126572_, Registry<T> p_126573_, String p_126574_) protectedTagsProvider(DataGenerator p_126546_, Registry<T> p_126547_) Deprecated.Forge: Use the mod id variantprotectedTagsProvider(DataGenerator p_126546_, Registry<T> p_126547_, String modId, ExistingFileHelper existingFileHelper) -
Uses of Registry in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>,TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.tagsMethods in net.minecraft.network.protocol.game that return types with arguments of type RegistryModifier and TypeMethodDescriptionMap<ResourceKey<? extends Registry<?>>,TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.getTags()Constructor parameters in net.minecraft.network.protocol.game with type arguments of type RegistryModifierConstructorDescriptionClientboundUpdateTagsPacket(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> p_179473_) -
Uses of Registry in net.minecraft.resources
Fields in net.minecraft.resources with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>,RegistryLoader.ReadCache<?>> RegistryLoader.readCacheprivate final ResourceKey<? extends Registry<E>>HolderSetCodec.registryKeyprivate final ResourceKey<? extends Registry<E>>RegistryFileCodec.registryKeyprivate final ResourceKey<? extends Registry<E>>RegistryFixedCodec.registryKeyMethods in net.minecraft.resources that return types with arguments of type RegistryModifier and TypeMethodDescriptionstatic <T> ResourceKey<Registry<T>>ResourceKey.createRegistryKey(ResourceLocation p_135789_) <E> com.mojang.serialization.DataResult<? extends Registry<E>>RegistryLoader.Bound.overrideRegistryFromResources(ResourceKey<? extends Registry<E>> p_206790_, com.mojang.serialization.Codec<E> p_206791_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206792_) <E> com.mojang.serialization.DataResult<? extends Registry<E>>RegistryLoader.overrideRegistryFromResources(WritableRegistry<E> p_206763_, ResourceKey<? extends Registry<E>> p_206764_, com.mojang.serialization.Codec<E> p_206765_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206766_) RegistryOps.registry(ResourceKey<? extends Registry<? extends E>> p_206827_) static <E> com.mojang.serialization.MapCodec<Registry<E>>RegistryOps.retrieveRegistry(ResourceKey<? extends Registry<? extends E>> p_206833_) Method parameters in net.minecraft.resources with type arguments of type RegistryModifier and TypeMethodDescription<E> Optional<ResourceKey<E>>ResourceKey.cast(ResourceKey<? extends Registry<E>> p_195976_) static <T> com.mojang.serialization.Codec<ResourceKey<T>>ResourceKey.codec(ResourceKey<? extends Registry<T>> p_195967_) static <E> com.mojang.serialization.Codec<HolderSet<E>>HolderSetCodec.create(ResourceKey<? extends Registry<E>> p_206686_, com.mojang.serialization.Codec<Holder<E>> p_206687_, boolean p_206688_) static <E> RegistryFileCodec<E>RegistryFileCodec.create(ResourceKey<? extends Registry<E>> p_135590_, com.mojang.serialization.Codec<E> p_135591_) private static <E> RegistryFileCodec<E>RegistryFileCodec.create(ResourceKey<? extends Registry<E>> p_135593_, com.mojang.serialization.Codec<E> p_135594_, boolean p_135595_) static <E> RegistryFixedCodec<E>RegistryFixedCodec.create(ResourceKey<? extends Registry<E>> p_206741_) static <T> ResourceKey<T>ResourceKey.create(ResourceKey<? extends Registry<T>> p_135786_, ResourceLocation p_135787_) static <T> Function<ResourceLocation,ResourceKey<T>> ResourceKey.elementKey(ResourceKey<? extends Registry<T>> p_135798_) booleanResourceKey.isFor(ResourceKey<? extends Registry<?>> p_135784_) <E> Collection<ResourceKey<E>>RegistryResourceAccess.InMemoryStorage.listResources(ResourceKey<? extends Registry<E>> p_195932_) <E> Collection<ResourceKey<E>>RegistryResourceAccess.listResources(ResourceKey<? extends Registry<E>> p_195887_) <E> com.mojang.serialization.DataResult<Holder<E>>RegistryLoader.Bound.overrideElementFromResources(ResourceKey<? extends Registry<E>> p_206794_, com.mojang.serialization.Codec<E> p_206795_, ResourceKey<E> p_206796_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206797_) (package private) <E> com.mojang.serialization.DataResult<Holder<E>>RegistryLoader.overrideElementFromResources(WritableRegistry<E> p_206768_, ResourceKey<? extends Registry<E>> p_206769_, com.mojang.serialization.Codec<E> p_206770_, ResourceKey<E> p_206771_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206772_) <E> com.mojang.serialization.DataResult<? extends Registry<E>>RegistryLoader.Bound.overrideRegistryFromResources(ResourceKey<? extends Registry<E>> p_206790_, com.mojang.serialization.Codec<E> p_206791_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206792_) <E> com.mojang.serialization.DataResult<? extends Registry<E>>RegistryLoader.overrideRegistryFromResources(WritableRegistry<E> p_206763_, ResourceKey<? extends Registry<E>> p_206764_, com.mojang.serialization.Codec<E> p_206765_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206766_) <E> Optional<com.mojang.serialization.DataResult<RegistryResourceAccess.ParsedEntry<E>>>RegistryResourceAccess.InMemoryStorage.parseElement(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_195917_, ResourceKey<? extends Registry<E>> p_195918_, ResourceKey<E> p_195919_, com.mojang.serialization.Decoder<E> p_195920_) <E> Optional<com.mojang.serialization.DataResult<RegistryResourceAccess.ParsedEntry<E>>>RegistryResourceAccess.parseElement(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_195883_, ResourceKey<? extends Registry<E>> p_195884_, ResourceKey<E> p_195885_, com.mojang.serialization.Decoder<E> p_195886_) private <E> RegistryLoader.ReadCache<E>RegistryLoader.readCache(ResourceKey<? extends Registry<E>> p_206774_) RegistryOps.registry(ResourceKey<? extends Registry<? extends E>> p_206827_) static <E> com.mojang.serialization.MapCodec<Registry<E>>RegistryOps.retrieveRegistry(ResourceKey<? extends Registry<? extends E>> p_206833_) Constructor parameters in net.minecraft.resources with type arguments of type RegistryModifierConstructorDescriptionprivateHolderSetCodec(ResourceKey<? extends Registry<E>> p_206660_, com.mojang.serialization.Codec<Holder<E>> p_206661_, boolean p_206662_) privateRegistryFileCodec(ResourceKey<? extends Registry<E>> p_135574_, com.mojang.serialization.Codec<E> p_135575_, boolean p_135576_) privateRegistryFixedCodec(ResourceKey<? extends Registry<E>> p_206723_) -
Uses of Registry in net.minecraft.stats
Fields in net.minecraft.stats declared as RegistryMethods in net.minecraft.stats that return RegistryMethods in net.minecraft.stats with parameters of type RegistryModifier and TypeMethodDescriptionprivate static <T> StatType<T>Stats.makeRegistryStatType(String p_13011_, Registry<T> p_13012_) Constructors in net.minecraft.stats with parameters of type Registry -
Uses of Registry in net.minecraft.tags
Fields in net.minecraft.tags with type parameters of type RegistryModifier and TypeFieldDescriptionprivate static final Map<ResourceKey<? extends Registry<?>>,String> TagManager.CUSTOM_REGISTRY_DIRECTORIESprivate final ResourceKey<? extends Registry<T>>TagManager.LoadResult.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<T>>TagKey.registryThe field for theregistryrecord component.Methods in net.minecraft.tags that return types with arguments of type RegistryModifier and TypeMethodDescriptionResourceKey<? extends Registry<T>>TagManager.LoadResult.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<T>>TagKey.registry()Returns the value of theregistryrecord component.static Map<ResourceKey<? extends Registry<?>>,TagNetworkSerialization.NetworkPayload> TagNetworkSerialization.serializeTagsToNetwork(RegistryAccess p_203951_) Methods in net.minecraft.tags with parameters of type RegistryModifier and TypeMethodDescriptionstatic <T> voidTagNetworkSerialization.deserializeTagsFromNetwork(ResourceKey<? extends Registry<T>> p_203953_, Registry<T> p_203954_, TagNetworkSerialization.NetworkPayload p_203955_, TagNetworkSerialization.TagOutput<T> p_203956_) private static <T> TagNetworkSerialization.NetworkPayloadTagNetworkSerialization.serializeToNetwork(Registry<T> p_203943_) Method parameters in net.minecraft.tags with type arguments of type RegistryModifier and TypeMethodDescriptionTagKey.cast(ResourceKey<? extends Registry<E>> p_207648_) static <T> com.mojang.serialization.Codec<TagKey<T>>TagKey.codec(ResourceKey<? extends Registry<T>> p_203878_) static <T> TagKey<T>TagKey.create(ResourceKey<? extends Registry<T>> p_203883_, ResourceLocation p_203884_) static <T> voidTagNetworkSerialization.deserializeTagsFromNetwork(ResourceKey<? extends Registry<T>> p_203953_, Registry<T> p_203954_, TagNetworkSerialization.NetworkPayload p_203955_, TagNetworkSerialization.TagOutput<T> p_203956_) static StringTagManager.getTagDir(ResourceKey<? extends Registry<?>> p_203919_) static <T> com.mojang.serialization.Codec<TagKey<T>>TagKey.hashedCodec(ResourceKey<? extends Registry<T>> p_203887_) booleanTagKey.isFor(ResourceKey<? extends Registry<?>> p_207646_) Constructor parameters in net.minecraft.tags with type arguments of type RegistryModifierConstructorDescriptionLoadResult(ResourceKey<? extends Registry<T>> key, Map<ResourceLocation, Tag<Holder<T>>> tags) Creates an instance of aLoadResultrecord class.TagKey(ResourceKey<? extends Registry<T>> registry, ResourceLocation location) Creates an instance of aTagKeyrecord class. -
Uses of Registry in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type RegistryModifier and TypeMethodDescriptionbooleanItemStack.hasAdventureModeBreakTagForBlock(Registry<Block> p_204129_, BlockInWorld p_204130_) booleanItemStack.hasAdventureModePlaceTagForBlock(Registry<Block> p_204122_, BlockInWorld p_204123_) booleanAdventureModeCheck.test(ItemStack p_204086_, Registry<Block> p_204087_, BlockInWorld p_204088_) -
Uses of Registry in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as RegistryModifier and TypeFieldDescriptionMultiNoiseBiomeSource.PresetInstance.biomesThe field for thebiomesrecord component.Fields in net.minecraft.world.level.biome with type parameters of type RegistryMethods in net.minecraft.world.level.biome that return RegistryModifier and TypeMethodDescriptionMultiNoiseBiomeSource.PresetInstance.biomes()Returns the value of thebiomesrecord component.Methods in net.minecraft.world.level.biome with parameters of type RegistryModifier and TypeMethodDescriptionMultiNoiseBiomeSource.Preset.biomeSource(Registry<Biome> p_187100_) MultiNoiseBiomeSource.Preset.biomeSource(Registry<Biome> p_187105_, boolean p_187106_) Constructors in net.minecraft.world.level.biome with parameters of type RegistryModifierConstructorDescription(package private)PresetInstance(MultiNoiseBiomeSource.Preset preset, Registry<Biome> biomes) Creates an instance of aPresetInstancerecord class.TheEndBiomeSource(Registry<Biome> p_48628_, long p_48629_) Constructor parameters in net.minecraft.world.level.biome with type arguments of type RegistryModifierConstructorDescriptionPreset(ResourceLocation p_187090_, Function<Registry<Biome>, Climate.ParameterList<Holder<Biome>>> p_187091_) -
Uses of Registry in net.minecraft.world.level.chunk
Fields in net.minecraft.world.level.chunk declared as RegistryModifier and TypeFieldDescriptionprotected final Registry<StructureSet>ChunkGenerator.structureSetsMethods in net.minecraft.world.level.chunk that return types with arguments of type RegistryModifier and TypeMethodDescriptionprotected static final <T extends ChunkGenerator>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>,Registry<StructureSet>> ChunkGenerator.commonCodec(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> p_208006_) Methods in net.minecraft.world.level.chunk with parameters of type RegistryModifier and TypeMethodDescriptionstatic Stream<ConfiguredStructureFeature<?,?>> ChunkGenerator.allConfigurations(Registry<ConfiguredStructureFeature<?, ?>> p_208045_, StructureFeature<?> p_208046_) ChunkGenerator.createBiomes(Registry<Biome> p_196743_, Executor p_196744_, Blender p_196745_, StructureFeatureManager p_196746_, ChunkAccess p_196747_) private static voidChunkAccess.replaceMissingSections(LevelHeightAccessor p_187635_, Registry<Biome> p_187636_, LevelChunkSection[] p_187637_) Constructors in net.minecraft.world.level.chunk with parameters of type RegistryModifierConstructorDescriptionChunkAccess(ChunkPos p_187621_, UpgradeData p_187622_, LevelHeightAccessor p_187623_, Registry<Biome> p_187624_, long p_187625_, LevelChunkSection[] p_187626_, BlendingData p_187627_) ChunkGenerator(Registry<StructureSet> p_207960_, Optional<HolderSet<StructureSet>> p_207961_, BiomeSource p_207962_) ChunkGenerator(Registry<StructureSet> p_207964_, Optional<HolderSet<StructureSet>> p_207965_, BiomeSource p_207966_, BiomeSource p_207967_, long p_207968_) LevelChunkSection(int p_188001_, Registry<Biome> p_188002_) ProtoChunk(ChunkPos p_188173_, UpgradeData p_188174_, LevelChunkSection[] p_188175_, ProtoChunkTicks<Block> p_188176_, ProtoChunkTicks<Fluid> p_188177_, LevelHeightAccessor p_188178_, Registry<Biome> p_188179_, BlendingData p_188180_) ProtoChunk(ChunkPos p_188167_, UpgradeData p_188168_, LevelHeightAccessor p_188169_, Registry<Biome> p_188170_, BlendingData p_188171_) -
Uses of Registry in net.minecraft.world.level.chunk.storage
Methods in net.minecraft.world.level.chunk.storage with parameters of type RegistryModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<PalettedContainer<Holder<Biome>>>ChunkSerializer.makeBiomeCodec(Registry<Biome> p_188261_) -
Uses of Registry in net.minecraft.world.level.dimension
Methods in net.minecraft.world.level.dimension that return RegistryModifier and TypeMethodDescriptionDimensionType.defaultDimensions(RegistryAccess p_204491_, long p_204492_) DimensionType.defaultDimensions(RegistryAccess p_204494_, long p_204495_, boolean p_204496_) Methods in net.minecraft.world.level.dimension with parameters of type Registry -
Uses of Registry in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as RegistryModifier and TypeFieldDescriptionDebugLevelSource.biomesWorldGenSettings.dimensionsprivate final Registry<NormalNoise.NoiseParameters>NoiseBasedChunkGenerator.noisesprivate final Registry<NormalNoise.NoiseParameters>SurfaceSystem.noisesMethods in net.minecraft.world.level.levelgen that return RegistryModifier and TypeMethodDescriptionDebugLevelSource.biomes()WorldGenSettings.dimensions()WorldGenSettings.withOverworld(Registry<DimensionType> p_204650_, Registry<LevelStem> p_204651_, ChunkGenerator p_204652_) WorldGenSettings.withOverworld(Registry<LevelStem> p_204646_, Holder<DimensionType> p_204647_, ChunkGenerator p_204648_) Methods in net.minecraft.world.level.levelgen with parameters of type RegistryModifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<? extends DensityFunction>DensityFunctions.bootstrap(Registry<com.mojang.serialization.Codec<? extends DensityFunction>> p_208343_) static com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>SurfaceRules.ConditionSource.bootstrap(Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>> p_204625_) static com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>SurfaceRules.RuleSource.bootstrap(Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>> p_204631_) voidSurfaceSystem.buildSurface(BiomeManager p_189945_, Registry<Biome> p_189946_, boolean p_189947_, WorldGenerationContext p_189948_, ChunkAccess p_189949_, NoiseChunk p_189950_, SurfaceRules.RuleSource p_189951_) NoiseBasedChunkGenerator.createBiomes(Registry<Biome> p_197005_, Executor p_197006_, Blender p_197007_, StructureFeatureManager p_197008_, ChunkAccess p_197009_) NoiseGeneratorSettings.createNoiseRouter(Registry<NormalNoise.NoiseParameters> p_209367_, long p_209368_) static NoiseRouterNoiseRouterData.createNoiseRouter(NoiseSettings p_209503_, long p_209504_, Registry<NormalNoise.NoiseParameters> p_209505_, WorldgenRandom.Algorithm p_209506_, NoiseRouterWithOnlyNoises p_209507_) static NormalNoiseNoises.instantiate(Registry<NormalNoise.NoiseParameters> p_189306_, PositionalRandomFactory p_189307_, ResourceKey<NormalNoise.NoiseParameters> p_189308_) private static com.mojang.serialization.Codec<? extends DensityFunction>DensityFunctions.register(Registry<com.mojang.serialization.Codec<? extends DensityFunction>> p_208345_, String p_208346_, com.mojang.serialization.Codec<? extends DensityFunction> p_208347_) private static NormalNoiseNoiseRouterData.seedNoise(PositionalRandomFactory p_209525_, Registry<NormalNoise.NoiseParameters> p_209526_, Holder<NormalNoise.NoiseParameters> p_209527_) WorldGenSettings.withOverworld(Registry<DimensionType> p_204650_, Registry<LevelStem> p_204651_, ChunkGenerator p_204652_) WorldGenSettings.withOverworld(Registry<LevelStem> p_204646_, Holder<DimensionType> p_204647_, ChunkGenerator p_204648_) Constructors in net.minecraft.world.level.levelgen with parameters of type RegistryModifierConstructorDescriptionprotectedContext(SurfaceSystem p_189562_, ChunkAccess p_189563_, NoiseChunk p_189564_, Function<BlockPos, Holder<Biome>> p_189565_, Registry<Biome> p_189566_, WorldGenerationContext p_189567_) DebugLevelSource(Registry<StructureSet> p_208205_, Registry<Biome> p_208206_) FlatLevelSource(Registry<StructureSet> p_209099_, FlatLevelGeneratorSettings p_209100_) NoiseBasedChunkGenerator(Registry<StructureSet> p_209106_, Registry<NormalNoise.NoiseParameters> p_209107_, BiomeSource p_209108_, long p_209109_, Holder<NoiseGeneratorSettings> p_209110_) privateNoiseBasedChunkGenerator(Registry<StructureSet> p_209112_, Registry<NormalNoise.NoiseParameters> p_209113_, BiomeSource p_209114_, BiomeSource p_209115_, long p_209116_, Holder<NoiseGeneratorSettings> p_209117_) SurfaceSystem(Registry<NormalNoise.NoiseParameters> p_198285_, BlockState p_198286_, int p_198287_, long p_198288_, WorldgenRandom.Algorithm p_198289_) WorldGenSettings(long p_204633_, boolean p_204634_, boolean p_204635_, Registry<LevelStem> p_204636_) WorldGenSettings(long p_204638_, boolean p_204639_, boolean p_204640_, Registry<LevelStem> p_204641_, Optional<String> p_204642_) -
Uses of Registry in net.minecraft.world.level.levelgen.flat
Fields in net.minecraft.world.level.levelgen.flat declared as RegistryMethods in net.minecraft.world.level.levelgen.flat with parameters of type RegistryModifier and TypeMethodDescriptionstatic FlatLevelGeneratorSettingsFlatLevelGeneratorSettings.getDefault(Registry<Biome> p_211735_, Registry<StructureSet> p_211736_) Constructors in net.minecraft.world.level.levelgen.flat with parameters of type RegistryModifierConstructorDescriptionFlatLevelGeneratorSettings(Optional<HolderSet<StructureSet>> p_209797_, Registry<Biome> p_209798_) privateFlatLevelGeneratorSettings(Registry<Biome> p_209790_, Optional<HolderSet<StructureSet>> p_209791_, List<FlatLayerInfo> p_209792_, boolean p_209793_, boolean p_209794_, Optional<Holder<Biome>> p_209795_) -
Uses of Registry in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as RegistryModifier and TypeFieldDescriptionStructureCheck.biomesprivate final Registry<ConfiguredStructureFeature<?,?>> StructureCheck.structureConfigs -
Uses of Registry in net.minecraft.world.level.levelgen.structure.pools
Fields in net.minecraft.world.level.levelgen.structure.pools declared as RegistryModifier and TypeFieldDescriptionprivate final Registry<StructureTemplatePool>JigsawPlacement.Placer.poolsConstructors in net.minecraft.world.level.levelgen.structure.pools with parameters of type RegistryModifierConstructorDescription(package private)Placer(Registry<StructureTemplatePool> p_210323_, int p_210324_, JigsawPlacement.PieceFactory p_210325_, ChunkGenerator p_210326_, StructureManager p_210327_, List<? super PoolElementStructurePiece> p_210328_, Random p_210329_) -
Uses of Registry in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot declared as RegistryModifier and TypeFieldDescriptionGsonAdapterFactory.Builder.registryGsonAdapterFactory.JsonAdapter.registryMethods in net.minecraft.world.level.storage.loot with parameters of type RegistryModifier and TypeMethodDescriptionstatic <E,T extends SerializerType<E>>
GsonAdapterFactory.Builder<E,T> GsonAdapterFactory.builder(Registry<T> p_78802_, String p_78803_, String p_78804_, Function<E, T> p_78805_) Constructors in net.minecraft.world.level.storage.loot with parameters of type Registry -
Uses of Registry in net.minecraftforge.common
Fields in net.minecraftforge.common with type parameters of type Registry -
Uses of Registry in net.minecraftforge.common.crafting.conditions
Method parameters in net.minecraftforge.common.crafting.conditions with type arguments of type RegistryModifier and TypeMethodDescription<T> Map<ResourceLocation,Tag<Holder<T>>> ConditionContext.getAllTags(ResourceKey<? extends Registry<T>> registry) <T> Map<ResourceLocation,Tag<Holder<T>>> ICondition.IContext.getAllTags(ResourceKey<? extends Registry<T>> registry) Return all the loaded tags for the passed registry, or an empty map if none is available. -
Uses of Registry in net.minecraftforge.common.data
Methods in net.minecraftforge.common.data that return RegistryModifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
Registry<T>ForgeRegistryTagsProvider.wrapRegistry(IForgeRegistry<T> forgeRegistry) -
Uses of Registry in net.minecraftforge.debug.misc
Fields in net.minecraftforge.debug.misc with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<DataPackRegistriesTest.Syncable>>DataPackRegistriesTest.Syncable.REGISTRY_KEYstatic final ResourceKey<Registry<DataPackRegistriesTest.Unsyncable>>DataPackRegistriesTest.Unsyncable.REGISTRY_KEY -
Uses of Registry in net.minecraftforge.network
Fields in net.minecraftforge.network with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final List<ResourceKey<? extends Registry<?>>>HandshakeMessages.S2CModList.dataPackRegistriesMethods in net.minecraftforge.network that return types with arguments of type RegistryModifier and TypeMethodDescriptionList<ResourceKey<? extends Registry<?>>>HandshakeMessages.S2CModList.getCustomDataPackRegistries() -
Uses of Registry in net.minecraftforge.registries
Subclasses of Registry in net.minecraftforge.registriesModifier and TypeClassDescription(package private) classNamespacedDefaultedWrapper<T extends IForgeRegistryEntry<T>>(package private) classNamespacedWrapper<T extends IForgeRegistryEntry<T>>Fields in net.minecraftforge.registries declared as RegistryModifier and TypeFieldDescriptionNamespacedHolderHelper.self(package private) final @NotNull Registry<?>VanillaRegisterEvent.vanillaRegistryDeprecated, for removal: This API element is subject to removal in a future version.Fields in net.minecraftforge.registries with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<Activity>>ForgeRegistries.Keys.ACTIVITIESstatic final ResourceKey<Registry<Attribute>>ForgeRegistries.Keys.ATTRIBUTESstatic final ResourceKey<Registry<Biome>>ForgeRegistries.Keys.BIOMESstatic final ResourceKey<Registry<BlockEntityType<?>>>ForgeRegistries.Keys.BLOCK_ENTITY_TYPESstatic final ResourceKey<Registry<BlockStateProviderType<?>>>ForgeRegistries.Keys.BLOCK_STATE_PROVIDER_TYPESstatic final ResourceKey<Registry<Block>>ForgeRegistries.Keys.BLOCKSstatic final ResourceKey<Registry<ChunkStatus>>ForgeRegistries.Keys.CHUNK_STATUSstatic final ResourceKey<Registry<MenuType<?>>>ForgeRegistries.Keys.CONTAINER_TYPESstatic final ResourceKey<Registry<DataSerializerEntry>>ForgeRegistries.Keys.DATA_SERIALIZERSstatic final ResourceKey<Registry<Enchantment>>ForgeRegistries.Keys.ENCHANTMENTSstatic final ResourceKey<Registry<EntityType<?>>>ForgeRegistries.Keys.ENTITY_TYPESstatic final ResourceKey<Registry<Feature<?>>>ForgeRegistries.Keys.FEATURESstatic final ResourceKey<Registry<Fluid>>ForgeRegistries.Keys.FLUIDSstatic final ResourceKey<Registry<FoliagePlacerType<?>>>ForgeRegistries.Keys.FOLIAGE_PLACER_TYPESstatic final ResourceKey<Registry<Item>>ForgeRegistries.Keys.ITEMSprivate final ResourceKey<Registry<V>>ForgeRegistry.keystatic final ResourceKey<Registry<GlobalLootModifierSerializer<?>>>ForgeRegistries.Keys.LOOT_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<MemoryModuleType<?>>>ForgeRegistries.Keys.MEMORY_MODULE_TYPESstatic final ResourceKey<Registry<MobEffect>>ForgeRegistries.Keys.MOB_EFFECTSstatic final ResourceKey<Registry<Motive>>ForgeRegistries.Keys.PAINTING_TYPESstatic final ResourceKey<Registry<ParticleType<?>>>ForgeRegistries.Keys.PARTICLE_TYPESstatic final ResourceKey<Registry<PoiType>>ForgeRegistries.Keys.POI_TYPESstatic final ResourceKey<Registry<Potion>>ForgeRegistries.Keys.POTIONSstatic final ResourceKey<Registry<RecipeSerializer<?>>>ForgeRegistries.Keys.RECIPE_SERIALIZERSprivate static Map<ResourceKey<? extends Registry<?>>,RegistryAccess.RegistryData<?>> DataPackRegistriesHooks.REGISTRY_ACCESS_REGISTRIES_COPYprivate final @Nullable ResourceKey<? extends Registry<T>>DeferredRegister.registryKeystatic final ResourceKey<Registry<Schedule>>ForgeRegistries.Keys.SCHEDULESstatic final ResourceKey<Registry<SensorType<?>>>ForgeRegistries.Keys.SENSOR_TYPESstatic final ResourceKey<Registry<SoundEvent>>ForgeRegistries.Keys.SOUND_EVENTSstatic final ResourceKey<Registry<StatType<?>>>ForgeRegistries.Keys.STAT_TYPESstatic final ResourceKey<Registry<StructureFeature<?>>>ForgeRegistries.Keys.STRUCTURE_FEATURESprivate static final Set<ResourceKey<? extends Registry<?>>>DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIESprivate static final Set<ResourceKey<? extends Registry<?>>>DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIES_VIEWstatic final ResourceKey<Registry<TreeDecoratorType<?>>>ForgeRegistries.Keys.TREE_DECORATOR_TYPESstatic final ResourceKey<Registry<VillagerProfession>>ForgeRegistries.Keys.VILLAGER_PROFESSIONSstatic final ResourceKey<Registry<WorldCarver<?>>>ForgeRegistries.Keys.WORLD_CARVERSstatic final ResourceKey<Registry<ForgeWorldPreset>>ForgeRegistries.Keys.WORLD_TYPESMethods in net.minecraftforge.registries that return RegistryModifier and TypeMethodDescriptionNamespacedDefaultedWrapper.freeze()NamespacedHolderHelper.freeze()NamespacedWrapper.freeze()ForgeRegistry.getWrapper()Methods in net.minecraftforge.registries that return types with arguments of type RegistryModifier and TypeMethodDescriptionForgeRegistry.getRegistryKey()IForgeRegistry.getRegistryKey()static Set<ResourceKey<? extends Registry<?>>>DataPackRegistriesHooks.getSyncedCustomRegistries()Returns unmodifiable view of the set of synced non-vanilla datapack registry IDs.static Map<ResourceKey<? extends Registry<?>>,RegistryAccess.RegistryData<?>> DataPackRegistriesHooks.grabBuiltinRegistries(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> builder) private static <T> ResourceKey<Registry<T>>Methods in net.minecraftforge.registries with parameters of type RegistryModifier and TypeMethodDescriptionprivate static <V extends IForgeRegistryEntry<V>>
voidRegistryManager.injectForgeRegistry(ForgeRegistry<V> forgeReg, Registry<? extends Registry<?>> rootRegistry) private static voidGameData.postVanillaRegisterEvent(Registry<?> registry) (package private) voidRegistryObject.updateReference(Registry<? extends T> registry) Method parameters in net.minecraftforge.registries with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <B> DeferredRegister<B>DeferredRegister.create(ResourceKey<? extends Registry<B>> key, String modid) DeferredRegister factory for custom forge registries,vanilla registries, orbuilt-in registriesto lookup based on the provided registry key.static <T,U extends T>
RegistryObject<U>RegistryObject.create(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Factory for aRegistryObjectthat stores the value of an object from a registry once it is ready based on a lookup of the provided registry key.static <B> DeferredRegister<B>DeferredRegister.createOptional(ResourceKey<? extends Registry<B>> key, String modid) DeferredRegister factory for the optional existence of custom forge registries,vanilla registries, orbuilt-in registriesto lookup based on the provided registry key.static <T,U extends T>
RegistryObject<U>RegistryObject.createOptional(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Factory for aRegistryObjectthat optionally stores the value of an object from a registry once it is ready if the registry exists based on a lookup of the provided registry key.<V extends IForgeRegistryEntry<V>>
ForgeRegistry<V>RegistryManager.getRegistry(ResourceKey<? extends Registry<V>> key) static <T extends IForgeRegistryEntry<T>>
MappedRegistry<T>GameData.getWrapper(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>GameData.getWrapper(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, String defKey) static Map<ResourceKey<? extends Registry<?>>,RegistryAccess.RegistryData<?>> DataPackRegistriesHooks.grabBuiltinRegistries(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> builder) private static <V extends IForgeRegistryEntry<V>>
voidRegistryManager.injectForgeRegistry(ForgeRegistry<V> forgeReg, Registry<? extends Registry<?>> rootRegistry) private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData.makeRegistry(ResourceKey<? extends Registry<T>> key, Class<T> type) private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData.makeRegistry(ResourceKey<? extends Registry<T>> key, Class<T> type, int min, int max) private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData.makeRegistry(ResourceKey<? extends Registry<T>> key, Class<T> type, String _default) static <T,U extends T>
RegistryObject<U>RegistryObject.of(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Deprecated, for removal: This API element is subject to removal in a future version.Constructors in net.minecraftforge.registries with parameters of type RegistryModifierConstructorDescription(package private)NamespacedHolderHelper(ForgeRegistry<T> owner, Registry<T> self, ResourceLocation defaultKey, Function<T, Holder.Reference<T>> holderLookup) (package private)VanillaRegisterEvent(@NotNull Registry<?> vanillaRegistry) Deprecated, for removal: This API element is subject to removal in a future version.Constructor parameters in net.minecraftforge.registries with type arguments of type RegistryModifierConstructorDescriptionprivateDeferredRegister(@Nullable ResourceKey<? extends Registry<T>> registryKey, @Nullable Class<E> base, String modid, boolean optionalRegistry) -
Uses of Registry in net.minecraftforge.server.command
Fields in net.minecraftforge.server.command with type parameters of type RegistryModifier and TypeFieldDescriptionprivate static final ResourceKey<Registry<Registry<?>>>TagsCommand.ROOT_REGISTRY_KEYprivate static final ResourceKey<Registry<Registry<?>>>TagsCommand.ROOT_REGISTRY_KEYMethod parameters in net.minecraftforge.server.command with type arguments of type RegistryModifier and TypeMethodDescriptionprivate static <T> Optional<ResourceKey<T>>TagsCommand.getResourceKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name, ResourceKey<Registry<T>> registryKey) private static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>TagsCommand.suggestFromRegistry(Function<Registry<?>, Iterable<ResourceLocation>> namesFunction)