Uses of Interface
net.minecraft.core.Registry
Packages that use Registry
Package
Description
-
Uses of Registry in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type Registry -
Uses of Registry in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens declared as Registry -
Uses of Registry in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as RegistryModifier and TypeFieldDescriptionWorldCreationContext.datapackDimensionsThe field for thedatapackDimensionsrecord component.Methods in net.minecraft.client.gui.screens.worldselection that return RegistryModifier and TypeMethodDescriptionWorldCreationContext.datapackDimensions()Returns the value of thedatapackDimensionsrecord component.Methods in net.minecraft.client.gui.screens.worldselection with parameters of type RegistryModifier and TypeMethodDescriptionprivate static Optional<List<Holder<WorldPreset>>>WorldGenSettingsComponent.getNonEmptyList(Registry<WorldPreset> p_233060_, TagKey<WorldPreset> p_233061_) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type RegistryModifierConstructorDescriptionprivateOptimizeWorldScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_251295_, com.mojang.datafixers.DataFixer p_250489_, LevelStorageSource.LevelStorageAccess p_248781_, LevelSettings p_251180_, boolean p_250358_, Registry<LevelStem> p_248690_) WorldCreationContext(WorldOptions options, Registry<LevelStem> datapackDimensions, WorldDimensions selectedDimensions, LayeredRegistryAccess<RegistryLayer> worldgenRegistries, ReloadableServerResources dataPackResources, WorldDataConfiguration dataConfiguration) Creates an instance of aWorldCreationContextrecord class. -
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 TypeMethodDescription<T> HolderLookup<T>CommandBuildContext.holderLookup(ResourceKey<? extends Registry<T>> p_227134_) CompletableFuture<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>>ResourceArgument.Info.Template.registryKey(package private) final ResourceKey<? extends Registry<T>>ResourceArgument.registryKey(package private) final ResourceKey<? extends Registry<T>>ResourceKeyArgument.Info.Template.registryKey(package private) final ResourceKey<? extends Registry<T>>ResourceKeyArgument.registryKey(package private) final ResourceKey<? extends Registry<T>>ResourceOrTagArgument.Info.Template.registryKey(package private) final ResourceKey<? extends Registry<T>>ResourceOrTagArgument.registryKey(package private) final ResourceKey<? extends Registry<T>>ResourceOrTagKeyArgument.Info.Template.registryKey(package private) final ResourceKey<? extends Registry<T>>ResourceOrTagKeyArgument.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 TypeMethodDescription<E> Optional<ResourceOrTagArgument.Result<E>>ResourceOrTagArgument.ResourceResult.cast(ResourceKey<? extends Registry<E>> p_250007_) <E> Optional<ResourceOrTagArgument.Result<E>>ResourceOrTagArgument.Result.cast(ResourceKey<? extends Registry<E>> p_249572_) <E> Optional<ResourceOrTagArgument.Result<E>>ResourceOrTagArgument.TagResult.cast(ResourceKey<? extends Registry<E>> p_250945_) ResourceOrTagKeyArgument.ResourceResult.cast(ResourceKey<? extends Registry<E>> p_251369_) ResourceOrTagKeyArgument.Result.cast(ResourceKey<? extends Registry<E>> p_251612_) ResourceOrTagKeyArgument.TagResult.cast(ResourceKey<? extends Registry<E>> p_251833_) 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.getRegistryKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212374_, String p_212375_, ResourceKey<Registry<T>> p_212376_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_212377_) static <T> Holder.Reference<T>ResourceArgument.getResource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_251788_, String p_251996_, ResourceKey<Registry<T>> p_250077_) static <T> ResourceOrTagArgument.Result<T>ResourceOrTagArgument.getResourceOrTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_249001_, String p_251520_, ResourceKey<Registry<T>> p_250370_) static <T> ResourceOrTagKeyArgument.Result<T>ResourceOrTagKeyArgument.getResourceOrTagKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_252162_, String p_248628_, ResourceKey<Registry<T>> p_249008_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_251387_) static <T> ResourceKeyArgument<T>ResourceKeyArgument.key(ResourceKey<? extends Registry<T>> p_212387_) private static <T> Holder.Reference<T>ResourceKeyArgument.resolveKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_248662_, String p_252172_, ResourceKey<Registry<T>> p_249701_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_249790_) static <T> ResourceArgument<T>ResourceArgument.resource(CommandBuildContext p_249973_, ResourceKey<? extends Registry<T>> p_251405_) static <T> ResourceOrTagArgument<T>ResourceOrTagArgument.resourceOrTag(CommandBuildContext p_251101_, ResourceKey<? extends Registry<T>> p_248888_) static <T> ResourceOrTagKeyArgument<T>ResourceOrTagKeyArgument.resourceOrTagKey(ResourceKey<? extends Registry<T>> p_249175_) Constructor parameters in net.minecraft.commands.arguments with type arguments of type RegistryModifierConstructorDescriptionResourceArgument(CommandBuildContext p_248597_, ResourceKey<? extends Registry<T>> p_251778_) ResourceKeyArgument(ResourceKey<? extends Registry<T>> p_212367_) ResourceOrTagArgument(CommandBuildContext p_249382_, ResourceKey<? extends Registry<T>> p_251209_) ResourceOrTagKeyArgument(ResourceKey<? extends Registry<T>> p_248579_) (package private)Template(ResourceKey<? extends Registry<T>> p_250598_) (package private)Template(ResourceKey<? extends Registry<T>> p_233296_) (package private)Template(ResourceKey<? extends Registry<T>> p_250107_) (package private)Template(ResourceKey<? extends Registry<T>> p_251992_) -
Uses of Registry in net.minecraft.commands.synchronization
Methods in net.minecraft.commands.synchronization with parameters of type RegistryModifier and TypeMethodDescriptionstatic ArgumentTypeInfo<?,?> ArgumentTypeInfos.bootstrap(Registry<ArgumentTypeInfo<?, ?>> p_235385_) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,T extends ArgumentTypeInfo.Template<A>>
ArgumentTypeInfo<A,T> ArgumentTypeInfos.register(Registry<ArgumentTypeInfo<?, ?>> p_235387_, String p_235388_, Class<? extends A> p_235389_, ArgumentTypeInfo<A, T> p_235390_) -
Uses of Registry in net.minecraft.core
Subinterfaces of Registry in net.minecraft.coreModifier and TypeInterfaceDescriptioninterfaceinterfaceClasses in net.minecraft.core that implement RegistryFields in net.minecraft.core declared as RegistryModifier and TypeFieldDescriptionRegistryAccess.RegistryEntry.valueThe field for thevaluerecord component.Fields in net.minecraft.core with type parameters of type RegistryModifier and TypeFieldDescription(package private) final ResourceKey<? extends Registry<T>>MappedRegistry.keyprivate final ResourceKey<? extends Registry<T>>RegistryAccess.RegistryEntry.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<T>>RegistrySetBuilder.RegistryStub.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<E>>RegistrySynchronization.NetworkedRegistryData.keyThe field for thekeyrecord component.private static final Map<ResourceKey<? extends Registry<?>>,RegistrySynchronization.NetworkedRegistryData<?>> RegistrySynchronization.NETWORKABLE_REGISTRIESprivate final Map<? extends ResourceKey<? extends Registry<?>>,? extends Registry<?>> RegistryAccess.ImmutableRegistryAccess.registriesprivate final Map<? extends ResourceKey<? extends Registry<?>>,? extends Registry<?>> RegistryAccess.ImmutableRegistryAccess.registriesMethods 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>RegistrySynchronization.captureMap(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_249934_) private static <K extends ResourceKey<? extends Registry<?>>,V extends Registry<?>>
com.mojang.serialization.Codec<RegistryAccess>RegistrySynchronization.captureMap(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_249934_) 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 TypeMethodDescriptionMappedRegistry.freeze()Registry.freeze()default <E> Registry<E>RegistryAccess.registryOrThrow(ResourceKey<? extends Registry<? extends E>> p_175516_) 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<?>>,Registry<?>> LayeredRegistryAccess.collectRegistries(Stream<? extends RegistryAccess> p_248595_) private static Map<ResourceKey<? extends Registry<?>>,Registry<?>> LayeredRegistryAccess.collectRegistries(Stream<? extends RegistryAccess> p_248595_) static <E> com.mojang.serialization.Codec<Registry<E>>RegistryCodecs.fullCodec(ResourceKey<? extends Registry<E>> p_248884_, com.mojang.serialization.Lifecycle p_251810_, com.mojang.serialization.Codec<E> p_250169_) List<? extends ResourceKey<? extends Registry<?>>>RegistrySetBuilder.getEntryKeys()ResourceKey<? extends Registry<? extends T>>HolderLookup.RegistryLookup.Delegate.key()ResourceKey<? extends Registry<? extends T>>HolderLookup.RegistryLookup.key()ResourceKey<? extends Registry<T>>MappedRegistry.key()ResourceKey<? extends Registry<T>>Registry.key()ResourceKey<? extends Registry<T>>RegistryAccess.RegistryEntry.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<T>>RegistrySetBuilder.RegistryStub.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<E>>RegistrySynchronization.NetworkedRegistryData.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.registry(ResourceKey<? extends Registry<? extends E>> p_206229_) RegistryAccess.registry(ResourceKey<? extends Registry<? extends E>> p_123085_) Methods in net.minecraft.core with parameters of type RegistryModifier and TypeMethodDescriptionstatic 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_) 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 <T> Holder.Reference<T>Registry.registerForHolder(Registry<T> p_263347_, ResourceKey<T> p_263355_, T p_263428_) static <T> Holder.Reference<T>Registry.registerForHolder(Registry<T> p_263351_, ResourceLocation p_263363_, T p_263423_) 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 TypeMethodDescriptionRegistrySetBuilder.add(ResourceKey<? extends Registry<T>> p_256446_, com.mojang.serialization.Lifecycle p_256394_, RegistrySetBuilder.RegistryBootstrap<T> p_256638_) RegistrySetBuilder.add(ResourceKey<? extends Registry<T>> p_256261_, RegistrySetBuilder.RegistryBootstrap<T> p_256010_) RegistrySetBuilder.BuildState.create(RegistryAccess p_255995_, Stream<ResourceKey<? extends Registry<?>>> p_256495_) 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_) static <E> com.mojang.serialization.Codec<Registry<E>>RegistryCodecs.fullCodec(ResourceKey<? extends Registry<E>> p_248884_, com.mojang.serialization.Lifecycle p_251810_, com.mojang.serialization.Codec<E> p_250169_) private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>RegistrySynchronization.getNetworkCodec(ResourceKey<? extends Registry<E>> p_252190_) 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_) <T> Optional<HolderGetter<T>>HolderGetter.Provider.lookup(ResourceKey<? extends Registry<? extends T>> p_256648_) <T> Optional<HolderLookup.RegistryLookup<T>>HolderLookup.Provider.lookup(ResourceKey<? extends Registry<? extends T>> p_256285_) default <T> Optional<HolderLookup.RegistryLookup<T>>RegistryAccess.lookup(ResourceKey<? extends Registry<? extends T>> p_256275_) default <T> HolderGetter<T>HolderGetter.Provider.lookupOrThrow(ResourceKey<? extends Registry<? extends T>> p_255881_) default <T> HolderLookup.RegistryLookup<T>HolderLookup.Provider.lookupOrThrow(ResourceKey<? extends Registry<? extends T>> p_255957_) 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_) private static <E> voidRegistrySynchronization.put(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistrySynchronization.NetworkedRegistryData<?>> p_251643_, ResourceKey<? extends Registry<E>> p_249195_, com.mojang.serialization.Codec<E> p_249212_) private static <E> voidRegistrySynchronization.put(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistrySynchronization.NetworkedRegistryData<?>> p_251643_, ResourceKey<? extends Registry<E>> p_249195_, com.mojang.serialization.Codec<E> p_249212_) RegistryAccess.ImmutableRegistryAccess.registry(ResourceKey<? extends Registry<? extends E>> p_206229_) RegistryAccess.registry(ResourceKey<? extends Registry<? extends E>> p_123085_) default <E> Registry<E>RegistryAccess.registryOrThrow(ResourceKey<? extends Registry<? extends E>> p_175516_) 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 RegistryModifierConstructorDescriptionRegistryEntry(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 RegistryModifierConstructorDescriptionDefaultedMappedRegistry(String p_260196_, ResourceKey<? extends Registry<T>> p_259440_, com.mojang.serialization.Lifecycle p_260260_, boolean p_259808_) ImmutableRegistryAccess(List<? extends Registry<?>> p_248540_) 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_249899_, com.mojang.serialization.Lifecycle p_252249_) MappedRegistry(ResourceKey<? extends Registry<T>> p_252132_, com.mojang.serialization.Lifecycle p_249215_, boolean p_251014_) NetworkedRegistryData(ResourceKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> networkCodec) Creates an instance of aNetworkedRegistryDatarecord class.RegistryEntry(ResourceKey<? extends Registry<T>> key, Registry<T> value) Creates an instance of aRegistryEntryrecord class.(package private)RegistryStub(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, RegistrySetBuilder.RegistryBootstrap<T> bootstrap) Creates an instance of aRegistryStubrecord class. -
Uses of Registry in net.minecraft.core.registries
Fields in net.minecraft.core.registries declared as RegistryModifier and TypeFieldDescriptionBuiltInRegistries.ACTIVITYDeprecated.BuiltInRegistries.ATTRIBUTEDeprecated.Forge: UseForgeRegistries.ATTRIBUTESinstead.static final Registry<BannerPattern>BuiltInRegistries.BANNER_PATTERNstatic final Registry<com.mojang.serialization.Codec<? extends BiomeSource>>BuiltInRegistries.BIOME_SOURCEstatic final Registry<BlockEntityType<?>>BuiltInRegistries.BLOCK_ENTITY_TYPEDeprecated.Forge: UseForgeRegistries.BLOCK_ENTITY_TYPESinstead.static final Registry<BlockPredicateType<?>>BuiltInRegistries.BLOCK_PREDICATE_TYPEstatic final Registry<BlockStateProviderType<?>>BuiltInRegistries.BLOCKSTATE_PROVIDER_TYPEDeprecated.Forge: UseForgeRegistries.BLOCK_STATE_PROVIDER_TYPESinstead.static final Registry<WorldCarver<?>>BuiltInRegistries.CARVERDeprecated.Forge: UseForgeRegistries.WORLD_CARVERSinstead.static final Registry<CatVariant>BuiltInRegistries.CAT_VARIANTstatic final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>BuiltInRegistries.CHUNK_GENERATORstatic final Registry<ArgumentTypeInfo<?,?>> BuiltInRegistries.COMMAND_ARGUMENT_TYPEDeprecated.Forge: UseForgeRegistries.COMMAND_ARGUMENT_TYPESinstead.static final Registry<ResourceLocation>BuiltInRegistries.CUSTOM_STATstatic final Registry<com.mojang.serialization.Codec<? extends DensityFunction>>BuiltInRegistries.DENSITY_FUNCTION_TYPEstatic final Registry<Enchantment>BuiltInRegistries.ENCHANTMENTDeprecated.Forge: UseForgeRegistries.ENCHANTMENTSinstead.BuiltInRegistries.FEATUREDeprecated.Forge: UseForgeRegistries.FEATURESinstead.static final Registry<FeatureSizeType<?>>BuiltInRegistries.FEATURE_SIZE_TYPEstatic final Registry<FloatProviderType<?>>BuiltInRegistries.FLOAT_PROVIDER_TYPEstatic final Registry<FoliagePlacerType<?>>BuiltInRegistries.FOLIAGE_PLACER_TYPEDeprecated.Forge: UseForgeRegistries.FOLIAGE_PLACER_TYPESinstead.static final Registry<FrogVariant>BuiltInRegistries.FROG_VARIANTstatic final Registry<HeightProviderType<?>>BuiltInRegistries.HEIGHT_PROVIDER_TYPEstatic final Registry<Instrument>BuiltInRegistries.INSTRUMENTstatic final Registry<IntProviderType<?>>BuiltInRegistries.INT_PROVIDER_TYPEstatic final Registry<LootItemConditionType>BuiltInRegistries.LOOT_CONDITION_TYPEstatic final Registry<LootItemFunctionType>BuiltInRegistries.LOOT_FUNCTION_TYPEstatic final Registry<LootNbtProviderType>BuiltInRegistries.LOOT_NBT_PROVIDER_TYPEstatic final Registry<LootNumberProviderType>BuiltInRegistries.LOOT_NUMBER_PROVIDER_TYPEstatic final Registry<LootPoolEntryType>BuiltInRegistries.LOOT_POOL_ENTRY_TYPEstatic final Registry<LootScoreProviderType>BuiltInRegistries.LOOT_SCORE_PROVIDER_TYPEstatic final Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>>BuiltInRegistries.MATERIAL_CONDITIONstatic final Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>>BuiltInRegistries.MATERIAL_RULEBuiltInRegistries.MENUDeprecated.Forge: UseForgeRegistries.MENU_TYPESinstead.BuiltInRegistries.MOB_EFFECTDeprecated.Forge: UseForgeRegistries.MOB_EFFECTSinstead.static final Registry<ParticleType<?>>BuiltInRegistries.PARTICLE_TYPEDeprecated.Forge: UseForgeRegistries.PARTICLE_TYPESinstead.static final Registry<PlacementModifierType<?>>BuiltInRegistries.PLACEMENT_MODIFIER_TYPEBuiltInRegistries.POINT_OF_INTEREST_TYPEDeprecated.Forge: UseForgeRegistries.POI_TYPESinstead.static final Registry<PosRuleTestType<?>>BuiltInRegistries.POS_RULE_TESTstatic final Registry<PositionSourceType<?>>BuiltInRegistries.POSITION_SOURCE_TYPEstatic final Registry<RecipeSerializer<?>>BuiltInRegistries.RECIPE_SERIALIZERDeprecated.Forge: UseForgeRegistries.RECIPE_SERIALIZERSinstead.static final Registry<RecipeType<?>>BuiltInRegistries.RECIPE_TYPEDeprecated.Forge: UseForgeRegistries.RECIPE_TYPESinstead.BuiltInRegistries.REGISTRYstatic final Registry<RootPlacerType<?>>BuiltInRegistries.ROOT_PLACER_TYPEstatic final Registry<RuleTestType<?>>BuiltInRegistries.RULE_TESTBuiltInRegistries.SCHEDULEDeprecated.Forge: UseForgeRegistries.SCHEDULESinstead.static final Registry<SoundEvent>BuiltInRegistries.SOUND_EVENTDeprecated.Forge: UseForgeRegistries.SOUND_EVENTSinstead.BuiltInRegistries.STAT_TYPEDeprecated.Forge: UseForgeRegistries.STAT_TYPESinstead.static final Registry<StructurePieceType>BuiltInRegistries.STRUCTURE_PIECEstatic final Registry<StructurePlacementType<?>>BuiltInRegistries.STRUCTURE_PLACEMENTstatic final Registry<StructurePoolElementType<?>>BuiltInRegistries.STRUCTURE_POOL_ELEMENTstatic final Registry<StructureProcessorType<?>>BuiltInRegistries.STRUCTURE_PROCESSORstatic final Registry<StructureType<?>>BuiltInRegistries.STRUCTURE_TYPEstatic final Registry<TreeDecoratorType<?>>BuiltInRegistries.TREE_DECORATOR_TYPEDeprecated.Forge: UseForgeRegistries.TREE_DECORATOR_TYPESinstead.static final Registry<TrunkPlacerType<?>>BuiltInRegistries.TRUNK_PLACER_TYPEFields in net.minecraft.core.registries with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<Activity>>Registries.ACTIVITYstatic final ResourceKey<Registry<Attribute>>Registries.ATTRIBUTEstatic final ResourceKey<Registry<BannerPattern>>Registries.BANNER_PATTERNstatic final ResourceKey<Registry<Biome>>Registries.BIOMEstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>Registries.BIOME_SOURCEstatic final ResourceKey<Registry<Block>>Registries.BLOCKstatic final ResourceKey<Registry<BlockEntityType<?>>>Registries.BLOCK_ENTITY_TYPEstatic final ResourceKey<Registry<BlockPredicateType<?>>>Registries.BLOCK_PREDICATE_TYPEstatic final ResourceKey<Registry<BlockStateProviderType<?>>>Registries.BLOCK_STATE_PROVIDER_TYPEstatic final ResourceKey<Registry<WorldCarver<?>>>Registries.CARVERstatic final ResourceKey<Registry<CatVariant>>Registries.CAT_VARIANTstatic final ResourceKey<Registry<ChatType>>Registries.CHAT_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>Registries.CHUNK_GENERATORstatic final ResourceKey<Registry<ChunkStatus>>Registries.CHUNK_STATUSstatic final ResourceKey<Registry<ArgumentTypeInfo<?,?>>> Registries.COMMAND_ARGUMENT_TYPEstatic final ResourceKey<Registry<ConfiguredWorldCarver<?>>>Registries.CONFIGURED_CARVERstatic final ResourceKey<Registry<ConfiguredFeature<?,?>>> Registries.CONFIGURED_FEATUREstatic final ResourceKey<Registry<ResourceLocation>>Registries.CUSTOM_STATstatic final ResourceKey<Registry<DensityFunction>>Registries.DENSITY_FUNCTIONstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>>Registries.DENSITY_FUNCTION_TYPEstatic final ResourceKey<Registry<Level>>Registries.DIMENSIONstatic final ResourceKey<Registry<DimensionType>>Registries.DIMENSION_TYPEstatic final ResourceKey<Registry<Enchantment>>Registries.ENCHANTMENTstatic final ResourceKey<Registry<EntityType<?>>>Registries.ENTITY_TYPEstatic final ResourceKey<Registry<Feature<?>>>Registries.FEATUREstatic final ResourceKey<Registry<FeatureSizeType<?>>>Registries.FEATURE_SIZE_TYPEstatic final ResourceKey<Registry<FlatLevelGeneratorPreset>>Registries.FLAT_LEVEL_GENERATOR_PRESETstatic final ResourceKey<Registry<FloatProviderType<?>>>Registries.FLOAT_PROVIDER_TYPEstatic final ResourceKey<Registry<Fluid>>Registries.FLUIDstatic final ResourceKey<Registry<FoliagePlacerType<?>>>Registries.FOLIAGE_PLACER_TYPEstatic final ResourceKey<Registry<FrogVariant>>Registries.FROG_VARIANTstatic final ResourceKey<Registry<GameEvent>>Registries.GAME_EVENTstatic final ResourceKey<Registry<HeightProviderType<?>>>Registries.HEIGHT_PROVIDER_TYPEstatic final ResourceKey<Registry<Instrument>>Registries.INSTRUMENTstatic final ResourceKey<Registry<IntProviderType<?>>>Registries.INT_PROVIDER_TYPEstatic final ResourceKey<Registry<Item>>Registries.ITEMstatic final ResourceKey<Registry<LevelStem>>Registries.LEVEL_STEMstatic final ResourceKey<Registry<LootItemConditionType>>Registries.LOOT_CONDITION_TYPEstatic final ResourceKey<Registry<LootItemFunctionType>>Registries.LOOT_FUNCTION_TYPEstatic final ResourceKey<Registry<LootNbtProviderType>>Registries.LOOT_NBT_PROVIDER_TYPEstatic final ResourceKey<Registry<LootNumberProviderType>>Registries.LOOT_NUMBER_PROVIDER_TYPEstatic final ResourceKey<Registry<LootPoolEntryType>>Registries.LOOT_POOL_ENTRY_TYPEstatic final ResourceKey<Registry<LootScoreProviderType>>Registries.LOOT_SCORE_PROVIDER_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>>>Registries.MATERIAL_CONDITIONstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>>>Registries.MATERIAL_RULEstatic final ResourceKey<Registry<MemoryModuleType<?>>>Registries.MEMORY_MODULE_TYPEstatic final ResourceKey<Registry<MenuType<?>>>Registries.MENUstatic final ResourceKey<Registry<MobEffect>>Registries.MOB_EFFECTstatic final ResourceKey<Registry<NormalNoise.NoiseParameters>>Registries.NOISEstatic final ResourceKey<Registry<NoiseGeneratorSettings>>Registries.NOISE_SETTINGSstatic final ResourceKey<Registry<PaintingVariant>>Registries.PAINTING_VARIANTstatic final ResourceKey<Registry<ParticleType<?>>>Registries.PARTICLE_TYPEstatic final ResourceKey<Registry<PlacedFeature>>Registries.PLACED_FEATUREstatic final ResourceKey<Registry<PlacementModifierType<?>>>Registries.PLACEMENT_MODIFIER_TYPEstatic final ResourceKey<Registry<PoiType>>Registries.POINT_OF_INTEREST_TYPEstatic final ResourceKey<Registry<PosRuleTestType<?>>>Registries.POS_RULE_TESTstatic final ResourceKey<Registry<PositionSourceType<?>>>Registries.POSITION_SOURCE_TYPEstatic final ResourceKey<Registry<Potion>>Registries.POTIONstatic final ResourceKey<Registry<StructureProcessorList>>Registries.PROCESSOR_LISTstatic final ResourceKey<Registry<RecipeSerializer<?>>>Registries.RECIPE_SERIALIZERstatic final ResourceKey<Registry<RecipeType<?>>>Registries.RECIPE_TYPEBuiltInRegistries.REGISTRYstatic final ResourceKey<Registry<RootPlacerType<?>>>Registries.ROOT_PLACER_TYPEstatic final ResourceKey<Registry<RuleTestType<?>>>Registries.RULE_TESTstatic final ResourceKey<Registry<Schedule>>Registries.SCHEDULEstatic final ResourceKey<Registry<SensorType<?>>>Registries.SENSOR_TYPEstatic final ResourceKey<Registry<SoundEvent>>Registries.SOUND_EVENTstatic final ResourceKey<Registry<StatType<?>>>Registries.STAT_TYPEstatic final ResourceKey<Registry<Structure>>Registries.STRUCTUREstatic final ResourceKey<Registry<StructurePieceType>>Registries.STRUCTURE_PIECEstatic final ResourceKey<Registry<StructurePlacementType<?>>>Registries.STRUCTURE_PLACEMENTstatic final ResourceKey<Registry<StructurePoolElementType<?>>>Registries.STRUCTURE_POOL_ELEMENTstatic final ResourceKey<Registry<StructureProcessorType<?>>>Registries.STRUCTURE_PROCESSORstatic final ResourceKey<Registry<StructureSet>>Registries.STRUCTURE_SETstatic final ResourceKey<Registry<StructureType<?>>>Registries.STRUCTURE_TYPEstatic final ResourceKey<Registry<StructureTemplatePool>>Registries.TEMPLATE_POOLstatic final ResourceKey<Registry<TreeDecoratorType<?>>>Registries.TREE_DECORATOR_TYPEstatic final ResourceKey<Registry<TrunkPlacerType<?>>>Registries.TRUNK_PLACER_TYPEstatic final ResourceKey<Registry<VillagerProfession>>Registries.VILLAGER_PROFESSIONstatic final ResourceKey<Registry<VillagerType>>Registries.VILLAGER_TYPEstatic final ResourceKey<Registry<WorldPreset>>Registries.WORLD_PRESETMethods in net.minecraft.core.registries with type parameters of type RegistryMethods in net.minecraft.core.registries that return RegistryModifier and TypeMethodDescriptionprivate static <T> Registry<T>BuiltInRegistries.forge(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, BuiltInRegistries.RegistryBootstrap<T> def) private static <T> Registry<T>BuiltInRegistries.forge(ResourceKey<? extends Registry<T>> key, BuiltInRegistries.RegistryBootstrap<T> def) private static <T> Registry<T>BuiltInRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_259121_, com.mojang.serialization.Lifecycle p_259977_, BuiltInRegistries.RegistryBootstrap<T> p_259874_) private static <T> Registry<T>BuiltInRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_260095_, BuiltInRegistries.RegistryBootstrap<T> p_259057_) Methods in net.minecraft.core.registries that return types with arguments of type RegistryModifier and TypeMethodDescriptionprivate static <T> ResourceKey<Registry<T>>Registries.createRegistryKey(String p_259572_) Methods in net.minecraft.core.registries with parameters of type RegistryMethod parameters in net.minecraft.core.registries with type arguments of type RegistryModifier and TypeMethodDescriptionprivate static <T> Registry<T>BuiltInRegistries.forge(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, BuiltInRegistries.RegistryBootstrap<T> def) private static <T> DefaultedRegistry<T>BuiltInRegistries.forge(ResourceKey<? extends Registry<T>> key, String defKey, com.mojang.serialization.Lifecycle cycle, BuiltInRegistries.RegistryBootstrap<T> def) private static <T> DefaultedRegistry<T>BuiltInRegistries.forge(ResourceKey<? extends Registry<T>> key, String defKey, BuiltInRegistries.RegistryBootstrap<T> def) private static <T> Registry<T>BuiltInRegistries.forge(ResourceKey<? extends Registry<T>> key, BuiltInRegistries.RegistryBootstrap<T> def) private static <T,R extends WritableRegistry<T>>
RBuiltInRegistries.internalRegister(ResourceKey<? extends Registry<T>> p_259230_, R p_260327_, BuiltInRegistries.RegistryBootstrap<T> p_259210_, com.mojang.serialization.Lifecycle p_259258_) private static <T> DefaultedRegistry<T>BuiltInRegistries.registerDefaulted(ResourceKey<? extends Registry<T>> p_259400_, String p_259678_, com.mojang.serialization.Lifecycle p_259157_, BuiltInRegistries.RegistryBootstrap<T> p_259806_) private static <T> DefaultedRegistry<T>BuiltInRegistries.registerDefaulted(ResourceKey<? extends Registry<T>> p_259887_, String p_259325_, BuiltInRegistries.RegistryBootstrap<T> p_259759_) private static <T> DefaultedRegistry<T>BuiltInRegistries.registerDefaultedWithIntrusiveHolders(ResourceKey<? extends Registry<T>> p_260010_, String p_260220_, com.mojang.serialization.Lifecycle p_260139_, BuiltInRegistries.RegistryBootstrap<T> p_260185_) private static <T> DefaultedRegistry<T>BuiltInRegistries.registerDefaultedWithIntrusiveHolders(ResourceKey<? extends Registry<T>> p_259296_, String p_259101_, BuiltInRegistries.RegistryBootstrap<T> p_259485_) private static <T> Registry<T>BuiltInRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_259121_, com.mojang.serialization.Lifecycle p_259977_, BuiltInRegistries.RegistryBootstrap<T> p_259874_) private static <T> Registry<T>BuiltInRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_260095_, BuiltInRegistries.RegistryBootstrap<T> p_259057_) -
Uses of Registry in net.minecraft.data.info
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.registries
Fields in net.minecraft.data.registries with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final List<? extends ResourceKey<? extends Registry<?>>>VanillaRegistries.DATAPACK_REGISTRY_KEYS -
Uses of Registry in net.minecraft.data.tags
Fields in net.minecraft.data.tags with type parameters of type RegistryModifier and TypeFieldDescriptionprotected final ResourceKey<? extends Registry<T>>TagsProvider.registryKeyConstructor parameters in net.minecraft.data.tags with type arguments of type RegistryModifierConstructorDescriptionIntrinsicHolderTagsProvider(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_) Deprecated.Forge: Use the mod id variantIntrinsicHolderTagsProvider(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_, String modId, ExistingFileHelper existingFileHelper) protectedTagsProvider(PackOutput p_256596_, ResourceKey<? extends Registry<T>> p_255886_, CompletableFuture<HolderLookup.Provider> p_256513_) Deprecated.Forge: Use the mod id variantprotectedTagsProvider(PackOutput p_256596_, ResourceKey<? extends Registry<T>> p_255886_, CompletableFuture<HolderLookup.Provider> p_256513_, String modId, ExistingFileHelper existingFileHelper) -
Uses of Registry in net.minecraft.data.worldgen
Method parameters in net.minecraft.data.worldgen with type arguments of type RegistryModifier and TypeMethodDescription<S> HolderGetter<S>BootstapContext.lookup(ResourceKey<? extends Registry<? extends S>> p_256410_) default <S> Optional<HolderLookup.RegistryLookup<S>>BootstapContext.registryLookup(ResourceKey<? extends Registry<? extends S>> registry) -
Uses of Registry in net.minecraft.network
Method parameters in net.minecraft.network with type arguments of type RegistryModifier and TypeMethodDescription<T> ResourceKey<T>FriendlyByteBuf.readResourceKey(ResourceKey<? extends Registry<T>> p_236802_) -
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 ResourceKey<? extends Registry<T>>RegistryDataLoader.RegistryData.keyThe field for thekeyrecord component.private 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_) ResourceKey<? extends Registry<T>>RegistryDataLoader.RegistryData.key()Returns the value of thekeyrecord component.Methods in net.minecraft.resources with parameters of type RegistryModifier and TypeMethodDescriptionprivate static <T> RegistryOps.RegistryInfo<T>RegistryDataLoader.createInfoForContextRegistry(Registry<T> p_256230_) 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_) 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_) <E> Optional<HolderGetter<E>>RegistryOps.getter(ResourceKey<? extends Registry<? extends E>> p_256031_) booleanResourceKey.isFor(ResourceKey<? extends Registry<?>> p_135784_) (package private) static <E> voidRegistryDataLoader.loadRegistryContents(RegistryOps.RegistryInfoLookup p_256369_, ResourceManager p_256349_, ResourceKey<? extends Registry<E>> p_255792_, WritableRegistry<E> p_256211_, com.mojang.serialization.Decoder<E> p_256232_, Map<ResourceKey<?>, Exception> p_255884_) <T> Optional<RegistryOps.RegistryInfo<T>>RegistryOps.RegistryInfoLookup.lookup(ResourceKey<? extends Registry<? extends T>> p_256623_) <E> Optional<HolderOwner<E>>RegistryOps.owner(ResourceKey<? extends Registry<? extends E>> p_255757_) static <E,O> com.mojang.serialization.codecs.RecordCodecBuilder<O, HolderGetter<E>> RegistryOps.retrieveGetter(ResourceKey<? extends Registry<? extends E>> p_206833_) static <E> com.mojang.serialization.MapCodec<HolderLookup.RegistryLookup<E>>RegistryOps.retrieveRegistryLookup(ResourceKey<? extends Registry<? extends E>> resourceKey) 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_) RegistryData(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec) Creates an instance of aRegistryDatarecord class.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.server
Methods in net.minecraft.server with parameters of type RegistryModifier and TypeMethodDescriptionprivate static voidMain.forceUpgrade(LevelStorageSource.LevelStorageAccess p_195489_, com.mojang.datafixers.DataFixer p_195490_, boolean p_195491_, BooleanSupplier p_195492_, Registry<LevelStem> p_250443_) -
Uses of Registry in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type RegistryModifier and TypeMethodDescriptionprivate static Optional<? extends HolderSet.ListBacked<Structure>>LocateCommand.getHolders(ResourceOrTagKeyArgument.Result<Structure> p_251212_, Registry<Structure> p_249691_) -
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(LayeredRegistryAccess<RegistryLayer> p_251774_) 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, Collection<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.util.worldupdate
Fields in net.minecraft.util.worldupdate declared as RegistryConstructors in net.minecraft.util.worldupdate with parameters of type RegistryModifierConstructorDescriptionWorldUpgrader(LevelStorageSource.LevelStorageAccess p_249922_, com.mojang.datafixers.DataFixer p_250273_, Registry<LevelStem> p_252191_, boolean p_250738_) -
Uses of Registry in net.minecraft.world.entity.ai.village.poi
Methods in net.minecraft.world.entity.ai.village.poi with parameters of type Registry -
Uses of Registry in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal with parameters of type RegistryModifier and TypeMethodDescriptionstatic CatVariantCatVariant.bootstrap(Registry<CatVariant> p_256435_) private static CatVariantCatVariant.register(Registry<CatVariant> p_255735_, ResourceKey<CatVariant> p_256159_, String p_256466_) -
Uses of Registry in net.minecraft.world.entity.decoration
Methods in net.minecraft.world.entity.decoration with parameters of type RegistryModifier and TypeMethodDescriptionstatic PaintingVariantPaintingVariants.bootstrap(Registry<PaintingVariant> p_218943_) -
Uses of Registry in net.minecraft.world.flag
Fields in net.minecraft.world.flag with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final Set<ResourceKey<? extends Registry<? extends FeatureElement>>>FeatureElement.FILTERED_REGISTRIES -
Uses of Registry in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type RegistryModifier and TypeMethodDescriptionstatic InstrumentInstruments.bootstrap(Registry<Instrument> p_220149_) booleanItemStack.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
Method parameters in net.minecraft.world.level with type arguments of type RegistryModifier and TypeMethodDescriptiondefault <T> HolderLookup<T>LevelReader.holderLookup(ResourceKey<? extends Registry<? extends T>> p_249578_) -
Uses of Registry in net.minecraft.world.level.biome
Methods in net.minecraft.world.level.biome with parameters of type RegistryModifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<? extends BiomeSource>BiomeSources.bootstrap(Registry<com.mojang.serialization.Codec<? extends BiomeSource>> p_220587_) -
Uses of Registry in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type RegistryModifier and TypeMethodDescriptionprivate voidNyliumBlock.place(Registry<ConfiguredFeature<?, ?>> p_255879_, ResourceKey<ConfiguredFeature<?, ?>> p_256032_, ServerLevel p_255631_, ChunkGenerator p_256445_, RandomSource p_255709_, BlockPos p_256019_) -
Uses of Registry in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity with parameters of type RegistryModifier and TypeMethodDescriptionstatic BannerPatternBannerPatterns.bootstrap(Registry<BannerPattern> p_222755_) -
Uses of Registry in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk with parameters of type RegistryModifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<? extends ChunkGenerator>ChunkGenerators.bootstrap(Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>> p_223243_) 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_) 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<PalettedContainerRO<Holder<Biome>>>ChunkSerializer.makeBiomeCodec(Registry<Biome> p_188261_) -
Uses of Registry in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as RegistryModifier and TypeFieldDescriptionWorldDimensions.Complete.dimensionsThe field for thedimensionsrecord component.WorldDimensions.dimensionsThe field for thedimensionsrecord component.Methods in net.minecraft.world.level.levelgen that return RegistryModifier and TypeMethodDescriptionWorldDimensions.Complete.dimensions()Returns the value of thedimensionsrecord component.WorldDimensions.dimensions()Returns the value of thedimensionsrecord component.WorldDimensions.withOverworld(Registry<DimensionType> p_248853_, Registry<LevelStem> p_251908_, ChunkGenerator p_251737_) WorldDimensions.withOverworld(Registry<LevelStem> p_248907_, Holder<DimensionType> p_251895_, ChunkGenerator p_250220_) 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_) voidNoiseBasedChunkGenerator.buildSurface(ChunkAccess p_224262_, WorldGenerationContext p_224263_, RandomState p_224264_, StructureManager p_224265_, BiomeManager p_224266_, Registry<Biome> p_224267_, Blender p_224268_) voidSurfaceSystem.buildSurface(RandomState p_224649_, BiomeManager p_224650_, Registry<Biome> p_224651_, boolean p_224652_, WorldGenerationContext p_224653_, ChunkAccess p_224654_, NoiseChunk p_224655_, SurfaceRules.RuleSource p_224656_) private static com.mojang.serialization.Codec<? extends DensityFunction>DensityFunctions.register(Registry<com.mojang.serialization.Codec<? extends DensityFunction>> p_224035_, String p_224036_, KeyDispatchDataCodec<? extends DensityFunction> p_224037_) (package private) static <A> com.mojang.serialization.Codec<? extends A>SurfaceRules.register(Registry<com.mojang.serialization.Codec<? extends A>> p_224604_, String p_224605_, KeyDispatchDataCodec<? extends A> p_224606_) private static PrimaryLevelData.SpecialWorldPropertyWorldDimensions.specialWorldProperty(Registry<LevelStem> p_251549_) WorldDimensions.withOverworld(Registry<DimensionType> p_248853_, Registry<LevelStem> p_251908_, ChunkGenerator p_251737_) WorldDimensions.withOverworld(Registry<LevelStem> p_248907_, Holder<DimensionType> p_251895_, ChunkGenerator p_250220_) Constructors in net.minecraft.world.level.levelgen with parameters of type RegistryModifierConstructorDescriptionComplete(Registry<LevelStem> dimensions, PrimaryLevelData.SpecialWorldProperty specialWorldProperty) Creates an instance of aCompleterecord class.protectedContext(SurfaceSystem p_224616_, RandomState p_224617_, ChunkAccess p_224618_, NoiseChunk p_224619_, Function<BlockPos, Holder<Biome>> p_224620_, Registry<Biome> p_224621_, WorldGenerationContext p_224622_) WorldDimensions(Registry<LevelStem> dimensions) Creates an instance of aWorldDimensionsrecord class. -
Uses of Registry in net.minecraft.world.level.levelgen.presets
Methods in net.minecraft.world.level.levelgen.presets that return RegistryMethods in net.minecraft.world.level.levelgen.presets with parameters of type RegistryModifier and TypeMethodDescriptionstatic Optional<ResourceKey<WorldPreset>>WorldPresets.fromSettings(Registry<LevelStem> p_249784_) -
Uses of Registry in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as Registry -
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.poolsMethods in net.minecraft.world.level.levelgen.structure.pools with parameters of type RegistryModifier and TypeMethodDescriptionprivate static voidJigsawPlacement.addPieces(RandomState p_227211_, int p_227212_, boolean p_227213_, ChunkGenerator p_227214_, StructureTemplateManager p_227215_, LevelHeightAccessor p_227216_, RandomSource p_227217_, Registry<StructureTemplatePool> p_227218_, PoolElementStructurePiece p_227219_, List<PoolElementStructurePiece> p_227220_, VoxelShape p_227221_) Constructors in net.minecraft.world.level.levelgen.structure.pools with parameters of type RegistryModifierConstructorDescription(package private)Placer(Registry<StructureTemplatePool> p_227258_, int p_227259_, ChunkGenerator p_227260_, StructureTemplateManager p_227261_, List<? super PoolElementStructurePiece> p_227262_, RandomSource p_227263_) -
Uses of Registry in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage with parameters of type RegistryModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<WorldData,WorldDimensions.Complete> LevelStorageSource.LevelStorageAccess.getDataTag(com.mojang.serialization.DynamicOps<Tag> p_248747_, WorldDataConfiguration p_251873_, Registry<LevelStem> p_249187_, com.mojang.serialization.Lifecycle p_249736_) (package private) static BiFunction<Path,com.mojang.datafixers.DataFixer, com.mojang.datafixers.util.Pair<WorldData, WorldDimensions.Complete>> LevelStorageSource.getLevelData(com.mojang.serialization.DynamicOps<Tag> p_250592_, WorldDataConfiguration p_249054_, Registry<LevelStem> p_249363_, com.mojang.serialization.Lifecycle p_251214_) -
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.crafting.conditions
Method parameters in net.minecraftforge.common.crafting.conditions with type arguments of type RegistryModifier and TypeMethodDescription<T> Map<ResourceLocation,Collection<Holder<T>>> ConditionContext.getAllTags(ResourceKey<? extends Registry<T>> registry) <T> Map<ResourceLocation,Collection<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.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
Classes in net.minecraftforge.registries that implement RegistryModifier and TypeClassDescription(package private) class(package private) classFields in net.minecraftforge.registries declared as RegistryModifier and TypeFieldDescriptionprivate final @Nullable Registry<?>RegisterEvent.vanillaRegistryFields 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<com.mojang.serialization.Codec<? extends BiomeModifier>>>ForgeRegistries.Keys.BIOME_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<BiomeModifier>>ForgeRegistries.Keys.BIOME_MODIFIERSstatic 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<ArgumentTypeInfo<?,?>>> ForgeRegistries.Keys.COMMAND_ARGUMENT_TYPESstatic final ResourceKey<Registry<Enchantment>>ForgeRegistries.Keys.ENCHANTMENTSstatic final ResourceKey<Registry<EntityDataSerializer<?>>>ForgeRegistries.Keys.ENTITY_DATA_SERIALIZERSstatic final ResourceKey<Registry<EntityType<?>>>ForgeRegistries.Keys.ENTITY_TYPESstatic final ResourceKey<Registry<Feature<?>>>ForgeRegistries.Keys.FEATURESstatic final ResourceKey<Registry<FluidType>>ForgeRegistries.Keys.FLUID_TYPESstatic final ResourceKey<Registry<Fluid>>ForgeRegistries.Keys.FLUIDSstatic final ResourceKey<Registry<FoliagePlacerType<?>>>ForgeRegistries.Keys.FOLIAGE_PLACER_TYPESstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends IGlobalLootModifier>>>ForgeRegistries.Keys.GLOBAL_LOOT_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<HolderSetType>>ForgeRegistries.Keys.HOLDER_SET_TYPESstatic final ResourceKey<Registry<Item>>ForgeRegistries.Keys.ITEMSprivate final ResourceKey<Registry<V>>ForgeRegistry.keyprivate final ResourceKey<? extends Registry<?>>MissingMappingsEvent.keystatic final ResourceKey<Registry<MemoryModuleType<?>>>ForgeRegistries.Keys.MEMORY_MODULE_TYPESstatic final ResourceKey<Registry<MenuType<?>>>ForgeRegistries.Keys.MENU_TYPESstatic final ResourceKey<Registry<MobEffect>>ForgeRegistries.Keys.MOB_EFFECTSprivate static final Map<ResourceKey<? extends Registry<?>>,RegistrySynchronization.NetworkedRegistryData<?>> DataPackRegistriesHooks.NETWORKABLE_REGISTRIESstatic final ResourceKey<Registry<PaintingVariant>>ForgeRegistries.Keys.PAINTING_VARIANTSstatic 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_SERIALIZERSstatic final ResourceKey<Registry<RecipeType<?>>>ForgeRegistries.Keys.RECIPE_TYPESprivate final ResourceKey<? extends Registry<V>>DeferredRegister.RegistryHolder.registryKeyprivate final ResourceKey<? extends Registry<T>>DeferredRegister.registryKeyprivate final @NotNull ResourceKey<? extends Registry<?>>RegisterEvent.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<com.mojang.serialization.Codec<? extends StructureModifier>>>ForgeRegistries.Keys.STRUCTURE_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<StructureModifier>>ForgeRegistries.Keys.STRUCTURE_MODIFIERSprivate 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_CARVERSMethods in net.minecraftforge.registries that return RegistryModifier and TypeMethodDescriptionNamespacedWrapper.freeze()<T> @Nullable Registry<T>RegisterEvent.getVanillaRegistry()Methods in net.minecraftforge.registries that return types with arguments of type RegistryModifier and TypeMethodDescriptionResourceKey<? extends Registry<?>>MissingMappingsEvent.getKey()ResourceKey<? extends Registry<T>>DeferredRegister.getRegistryKey()ForgeRegistry.getRegistryKey()IForgeRegistry.getRegistryKey()@NotNull ResourceKey<? extends Registry<?>>RegisterEvent.getRegistryKey()static Set<ResourceKey<? extends Registry<?>>>DataPackRegistriesHooks.getSyncedCustomRegistries()Returns An unmodifiable view of the set of synced non-vanilla datapack registry IDs.static Map<ResourceKey<? extends Registry<?>>,RegistrySynchronization.NetworkedRegistryData<?>> DataPackRegistriesHooks.grabNetworkableRegistries(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistrySynchronization.NetworkedRegistryData<?>> builder) private static <T> ResourceKey<Registry<T>>Methods in net.minecraftforge.registries with parameters of type RegistryModifier and TypeMethodDescriptionprivate static <V> voidRegistryManager.injectForgeRegistry(ForgeRegistry<V> forgeReg, Registry<? extends Registry<?>> rootRegistry) (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 orvanilla 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 orvanilla 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.<T> voidDataPackRegistryEvent.NewRegistry.dataPackRegistry(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec) Registers the given registry key as an unsynced datapack registry, which will cause data to be loaded from a datapack folder based on the registry's name.<T> voidDataPackRegistryEvent.NewRegistry.dataPackRegistry(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec) Registers the registry key as a datapack registry, which will cause data to be loaded from a datapack folder based on the registry's name.<T> List<MissingMappingsEvent.Mapping<T>>MissingMappingsEvent.getAllMappings(ResourceKey<? extends Registry<T>> registryKey) <T> List<MissingMappingsEvent.Mapping<T>>MissingMappingsEvent.getMappings(ResourceKey<? extends Registry<T>> registryKey, String namespace) <V> ForgeRegistry<V>RegistryManager.getRegistry(ResourceKey<? extends Registry<V>> key) static <T> MappedRegistry<T>GameData.getWrapper(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) static <T> MappedRegistry<T>GameData.getWrapper(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, String defKey) static Map<ResourceKey<? extends Registry<?>>,RegistrySynchronization.NetworkedRegistryData<?>> DataPackRegistriesHooks.grabNetworkableRegistries(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistrySynchronization.NetworkedRegistryData<?>> builder) private static <V> voidRegistryManager.injectForgeRegistry(ForgeRegistry<V> forgeReg, Registry<? extends Registry<?>> rootRegistry) private static <T> RegistryBuilder<T>GameData.makeRegistry(ResourceKey<? extends Registry<T>> key) private static <T> RegistryBuilder<T>GameData.makeRegistry(ResourceKey<? extends Registry<T>> key, int min, int max) private static <T> RegistryBuilder<T>GameData.makeRegistry(ResourceKey<? extends Registry<T>> key, String _default) <T> voidRegisterEvent.register(ResourceKey<? extends Registry<T>> registryKey, Consumer<RegisterEvent.RegisterHelper<T>> consumer) Calls the provided consumer with a register helper if the provided registry key matches this event's registry key.<T> voidRegisterEvent.register(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation name, Supplier<T> valueSupplier) Registers the value with the given name to the stored registry if the provided registry key matches this event's registry key.Constructors in net.minecraftforge.registries with parameters of type RegistryModifierConstructorDescription(package private)RegisterEvent(@NotNull ResourceKey<? extends Registry<?>> registryKey, @Nullable ForgeRegistry<?> forgeRegistry, @Nullable Registry<?> vanillaRegistry) Constructor parameters in net.minecraftforge.registries with type arguments of type RegistryModifierConstructorDescriptionprivateDeferredRegister(ResourceKey<? extends Registry<T>> registryKey, String modid, boolean optionalRegistry) MissingMappingsEvent(ResourceKey<? extends Registry<?>> key, IForgeRegistry<?> registry, Collection<MissingMappingsEvent.Mapping<?>> missed) (package private)RegisterEvent(@NotNull ResourceKey<? extends Registry<?>> registryKey, @Nullable ForgeRegistry<?> forgeRegistry, @Nullable Registry<?> vanillaRegistry) privateRegistryHolder(ResourceKey<? extends Registry<V>> registryKey) -
Uses of Registry in net.minecraftforge.registries.holdersets
Method parameters in net.minecraftforge.registries.holdersets with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>AndHolderSet.codec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>AnyHolderSet.codec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>NotHolderSet.codec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>OrHolderSet.codec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>HolderSetType.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) -
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)
ForgeRegistries.ACTIVITIESinstead.