Uses of Interface
net.minecraft.core.Registry
Packages that use Registry
Package
Description
-
Uses of Registry in net.minecraft
Methods in net.minecraft with parameters of type RegistryModifier and TypeMethodDescriptionstatic <T> StringUtil.getRegisteredName(Registry<T> p_331026_, T p_331334_) -
Uses of Registry in net.minecraft.advancements
Methods in net.minecraft.advancements with parameters of type RegistryModifier and TypeMethodDescriptionstatic CriterionTrigger<?> CriteriaTriggers.bootstrap(Registry<CriterionTrigger<?>> p_312285_) -
Uses of Registry in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type RegistryModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec<? extends EntitySubPredicate> EntitySubPredicates.bootstrap(Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>> p_333899_) static ItemSubPredicate.Type<?> ItemSubPredicates.bootstrap(Registry<ItemSubPredicate.Type<?>> p_333896_) static <V> EntitySubPredicates.EntityVariantPredicateType<V> EntitySubPredicates.EntityVariantPredicateType.create(Registry<V> p_333921_, Function<Entity, Optional<V>> p_334088_) Method parameters in net.minecraft.advancements.critereon with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<TagPredicate<T>> TagPredicate.codec(ResourceKey<? extends Registry<T>> p_298649_) static <V> EntitySubPredicates.EntityHolderVariantPredicateType<V> EntitySubPredicates.EntityHolderVariantPredicateType.create(ResourceKey<? extends Registry<V>> p_335749_, Function<Entity, Optional<Holder<V>>> p_336155_) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type RegistryModifierConstructorDescriptionEntityHolderVariantPredicateType(ResourceKey<? extends Registry<V>> p_336141_, Function<Entity, Optional<Holder<V>>> p_336167_) -
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<WorldCreationUiState.WorldTypeEntry>> WorldCreationUiState.getNonEmptyList(Registry<WorldPreset> p_268296_, TagKey<WorldPreset> p_268097_) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type RegistryModifierConstructorDescriptionWorldCreationContext(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
Fields in net.minecraft.client.multiplayer with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> RegistryDataCollector.ContentsCollector.elementsprivate final Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> TagCollector.tagsMethod parameters in net.minecraft.client.multiplayer with type arguments of type RegistryModifier and TypeMethodDescriptionvoidRegistryDataCollector.ContentsCollector.append(ResourceKey<? extends Registry<?>> p_321577_, List<RegistrySynchronization.PackedRegistryEntry> p_321551_) voidTagCollector.append(ResourceKey<? extends Registry<?>> p_326295_, TagNetworkSerialization.NetworkPayload p_326414_) voidRegistryDataCollector.appendContents(ResourceKey<? extends Registry<?>> p_321794_, List<RegistrySynchronization.PackedRegistryEntry> p_321772_) voidRegistryDataCollector.appendTags(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> p_321771_) private voidTagCollector.applyTags(RegistryAccess p_326395_, Predicate<ResourceKey<? extends Registry<?>>> p_326512_) CompletableFuture<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_) -
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>> 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_) protectedResourceOrIdArgument(CommandBuildContext p_335864_, ResourceKey<Registry<T>> p_335475_, com.mojang.serialization.Codec<Holder<T>> p_335632_) 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 TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>, Cloner<?>> Cloner.Factory.codecs(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<? extends T>> RegistrySetBuilder.RegistryContents.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<T>> RegistrySetBuilder.RegistryStub.keyThe field for thekeyrecord component.static final Set<ResourceKey<? extends Registry<?>>> 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 <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_) List<? extends ResourceKey<? extends Registry<?>>> RegistrySetBuilder.getEntryKeys()default 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<? extends T>> RegistrySetBuilder.RegistryContents.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<T>> RegistrySetBuilder.RegistryStub.key()Returns the value of thekeyrecord component.Stream<ResourceKey<? extends Registry<?>>> HolderLookup.Provider.listRegistries()default Stream<ResourceKey<? extends Registry<?>>> RegistryAccess.listRegistries()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_) 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_) <T> Cloner.FactoryCloner.Factory.addCodec(ResourceKey<? extends Registry<? extends T>> p_311972_, com.mojang.serialization.Codec<T> p_312658_) <T> Cloner<T> Cloner.Factory.cloner(ResourceKey<? extends Registry<? extends T>> p_312530_) RegistrySetBuilder.BuildState.create(RegistryAccess p_255995_, Stream<ResourceKey<? extends Registry<?>>> p_256495_) private <T> HolderLookup.RegistryLookup<T> RegistrySetBuilder.createLazyFullPatchedRegistries(HolderOwner<T> p_312323_, Cloner.Factory p_311780_, ResourceKey<? extends Registry<? extends T>> p_311836_, HolderLookup.Provider p_312115_, HolderLookup.Provider p_312725_, org.apache.commons.lang3.mutable.MutableObject<HolderLookup.Provider> p_311797_) private HolderLookup.ProviderRegistrySetBuilder.createLazyFullPatchedRegistries(RegistryAccess p_312301_, HolderLookup.Provider p_311942_, Cloner.Factory p_312464_, Map<ResourceKey<? extends Registry<?>>, RegistrySetBuilder.RegistryContents<?>> p_312890_, HolderLookup.Provider p_311825_) 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_) default <T> Optional<Holder.Reference<T>> HolderGetter.Provider.get(ResourceKey<? extends Registry<? extends T>> p_336145_, ResourceKey<T> p_335555_) 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_) (package private) static <T> HolderLookup.RegistryLookup<T> RegistrySetBuilder.lookupFromMap(ResourceKey<? extends Registry<? extends T>> p_312781_, com.mojang.serialization.Lifecycle p_312783_, HolderOwner<T> p_326787_, Map<ResourceKey<T>, Holder.Reference<T>> p_312180_) 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 voidRegistrySynchronization.packRegistries(com.mojang.serialization.DynamicOps<Tag> p_321796_, RegistryAccess p_321733_, Set<KnownPack> p_326143_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321539_) private static <T> voidRegistrySynchronization.packRegistry(com.mojang.serialization.DynamicOps<Tag> p_321608_, RegistryDataLoader.RegistryData<T> p_321701_, RegistryAccess p_321717_, Set<KnownPack> p_326432_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321724_) 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_) 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_) (package private)RegistryContents(ResourceKey<? extends Registry<? extends T>> key, com.mojang.serialization.Lifecycle lifecycle, Map<ResourceKey<T>, RegistrySetBuilder.ValueAndHolder<T>> values) Creates an instance of aRegistryContentsrecord 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.component
Methods in net.minecraft.core.component with parameters of type RegistryModifier and TypeMethodDescriptionstatic DataComponentType<?> DataComponents.bootstrap(Registry<DataComponentType<?>> p_330821_) -
Uses of Registry in net.minecraft.core.registries
Fields in net.minecraft.core.registries declared as RegistryModifier and TypeFieldDescriptionBuiltInRegistries.ACTIVITYstatic final Registry<ArmorMaterial> BuiltInRegistries.ARMOR_MATERIALBuiltInRegistries.ATTRIBUTEstatic final Registry<com.mojang.serialization.MapCodec<? extends BiomeSource>> BuiltInRegistries.BIOME_SOURCEstatic final Registry<BlockEntityType<?>> BuiltInRegistries.BLOCK_ENTITY_TYPEstatic final Registry<BlockPredicateType<?>> BuiltInRegistries.BLOCK_PREDICATE_TYPEBuiltInRegistries.BLOCK_TYPEstatic final Registry<BlockStateProviderType<?>> BuiltInRegistries.BLOCKSTATE_PROVIDER_TYPEstatic final Registry<WorldCarver<?>> BuiltInRegistries.CARVERstatic final Registry<CatVariant> BuiltInRegistries.CAT_VARIANTstatic final Registry<com.mojang.serialization.MapCodec<? extends ChunkGenerator>> BuiltInRegistries.CHUNK_GENERATORstatic final Registry<ArgumentTypeInfo<?, ?>> BuiltInRegistries.COMMAND_ARGUMENT_TYPEstatic final Registry<CreativeModeTab> BuiltInRegistries.CREATIVE_MODE_TABstatic final Registry<ResourceLocation> BuiltInRegistries.CUSTOM_STATstatic final Registry<DataComponentType<?>> BuiltInRegistries.DATA_COMPONENT_TYPEBuiltInRegistries.DECORATED_POT_PATTERNSstatic final Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> BuiltInRegistries.DENSITY_FUNCTION_TYPEstatic final Registry<Enchantment> BuiltInRegistries.ENCHANTMENTstatic final Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>> BuiltInRegistries.ENTITY_SUB_PREDICATE_TYPEBuiltInRegistries.FEATUREstatic final Registry<FeatureSizeType<?>> BuiltInRegistries.FEATURE_SIZE_TYPEstatic final Registry<FloatProviderType<?>> BuiltInRegistries.FLOAT_PROVIDER_TYPEstatic final Registry<FoliagePlacerType<?>> BuiltInRegistries.FOLIAGE_PLACER_TYPEstatic 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<ItemSubPredicate.Type<?>> BuiltInRegistries.ITEM_SUB_PREDICATE_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<MapDecorationType> BuiltInRegistries.MAP_DECORATION_TYPEstatic final Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource>> BuiltInRegistries.MATERIAL_CONDITIONstatic final Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.RuleSource>> BuiltInRegistries.MATERIAL_RULEBuiltInRegistries.MENUBuiltInRegistries.MOB_EFFECTstatic final Registry<NumberFormatType<?>> BuiltInRegistries.NUMBER_FORMAT_TYPEstatic final Registry<ParticleType<?>> BuiltInRegistries.PARTICLE_TYPEstatic final Registry<PlacementModifierType<?>> BuiltInRegistries.PLACEMENT_MODIFIER_TYPEBuiltInRegistries.POINT_OF_INTEREST_TYPEstatic final Registry<com.mojang.serialization.MapCodec<? extends PoolAliasBinding>> BuiltInRegistries.POOL_ALIAS_BINDING_TYPEstatic final Registry<PosRuleTestType<?>> BuiltInRegistries.POS_RULE_TESTstatic final Registry<PositionSourceType<?>> BuiltInRegistries.POSITION_SOURCE_TYPEBuiltInRegistries.POTIONstatic final Registry<RecipeSerializer<?>> BuiltInRegistries.RECIPE_SERIALIZERstatic final Registry<RecipeType<?>> BuiltInRegistries.RECIPE_TYPEBuiltInRegistries.REGISTRYstatic final Registry<RootPlacerType<?>> BuiltInRegistries.ROOT_PLACER_TYPEstatic final Registry<RuleBlockEntityModifierType<?>> BuiltInRegistries.RULE_BLOCK_ENTITY_MODIFIERstatic final Registry<RuleTestType<?>> BuiltInRegistries.RULE_TESTBuiltInRegistries.SCHEDULEstatic final Registry<SoundEvent> BuiltInRegistries.SOUND_EVENTBuiltInRegistries.STAT_TYPEstatic 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_TYPEstatic final Registry<CriterionTrigger<?>> BuiltInRegistries.TRIGGER_TYPESstatic 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<ArmorMaterial>> Registries.ARMOR_MATERIALstatic 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.MapCodec<? 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<com.mojang.serialization.MapCodec<? extends Block>>> Registries.BLOCK_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.MapCodec<? 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<CreativeModeTab>> Registries.CREATIVE_MODE_TABstatic final ResourceKey<Registry<ResourceLocation>> Registries.CUSTOM_STATstatic final ResourceKey<Registry<DamageType>> Registries.DAMAGE_TYPEstatic final ResourceKey<Registry<DataComponentType<?>>> Registries.DATA_COMPONENT_TYPEstatic final ResourceKey<Registry<String>> Registries.DECORATED_POT_PATTERNSstatic final ResourceKey<Registry<DensityFunction>> Registries.DENSITY_FUNCTIONstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? 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<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>>> Registries.ENTITY_SUB_PREDICATE_TYPEstatic 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<LootItemFunction>> Registries.ITEM_MODIFIERstatic final ResourceKey<Registry<ItemSubPredicate.Type<?>>> Registries.ITEM_SUB_PREDICATE_TYPEstatic 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<LootTable>> Registries.LOOT_TABLEstatic final ResourceKey<Registry<MapDecorationType>> Registries.MAP_DECORATION_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource>>> Registries.MATERIAL_CONDITIONstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? 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<MultiNoiseBiomeSourceParameterList>> Registries.MULTI_NOISE_BIOME_SOURCE_PARAMETER_LISTstatic final ResourceKey<Registry<NormalNoise.NoiseParameters>> Registries.NOISEstatic final ResourceKey<Registry<NoiseGeneratorSettings>> Registries.NOISE_SETTINGSstatic final ResourceKey<Registry<NumberFormatType<?>>> Registries.NUMBER_FORMAT_TYPEstatic 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<com.mojang.serialization.MapCodec<? extends PoolAliasBinding>>> Registries.POOL_ALIAS_BINDINGstatic 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<LootItemCondition>> Registries.PREDICATEstatic 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<RuleBlockEntityModifierType<?>>> Registries.RULE_BLOCK_ENTITY_MODIFIERstatic 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<CriterionTrigger<?>>> Registries.TRIGGER_TYPEstatic final ResourceKey<Registry<TrimMaterial>> Registries.TRIM_MATERIALstatic final ResourceKey<Registry<TrimPattern>> Registries.TRIM_PATTERNstatic 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<WolfVariant>> Registries.WOLF_VARIANTstatic 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.registerSimple(ResourceKey<? extends Registry<T>> p_260095_, BuiltInRegistries.RegistryBootstrap<T> p_259057_) private static <T> Registry<T> BuiltInRegistries.registerSimpleWithIntrusiveHolders(ResourceKey<? extends Registry<T>> p_298703_, BuiltInRegistries.RegistryBootstrap<T> p_298612_) 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,R extends WritableRegistry<T>>
RBuiltInRegistries.internalRegister(ResourceKey<? extends Registry<T>> p_259230_, R p_260327_, BuiltInRegistries.RegistryBootstrap<T> p_259210_) 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_259296_, String p_259101_, BuiltInRegistries.RegistryBootstrap<T> p_259485_) private static <T> Registry<T> BuiltInRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_260095_, BuiltInRegistries.RegistryBootstrap<T> p_259057_) private static <T> Registry<T> BuiltInRegistries.registerSimpleWithIntrusiveHolders(ResourceKey<? extends Registry<T>> p_298703_, BuiltInRegistries.RegistryBootstrap<T> p_298612_) -
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_275304_, ResourceKey<? extends Registry<T>> p_275709_, CompletableFuture<HolderLookup.Provider> p_275227_, CompletableFuture<TagsProvider.TagLookup<T>> p_275311_, Function<T, ResourceKey<T>> p_275566_) Deprecated.IntrinsicHolderTagsProvider(PackOutput p_275304_, ResourceKey<? extends Registry<T>> p_275709_, CompletableFuture<HolderLookup.Provider> p_275227_, CompletableFuture<TagsProvider.TagLookup<T>> p_275311_, Function<T, ResourceKey<T>> p_275566_, String modId, ExistingFileHelper existingFileHelper) IntrinsicHolderTagsProvider(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_) Deprecated.IntrinsicHolderTagsProvider(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) protectedTagsProvider(PackOutput p_275432_, ResourceKey<? extends Registry<T>> p_275476_, CompletableFuture<HolderLookup.Provider> p_275222_, CompletableFuture<TagsProvider.TagLookup<T>> p_275565_) Deprecated.Forge: Use the mod id variantprotectedTagsProvider(PackOutput p_275432_, ResourceKey<? extends Registry<T>> p_275476_, CompletableFuture<HolderLookup.Provider> p_275222_, CompletableFuture<TagsProvider.TagLookup<T>> p_275565_, 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> BootstrapContext.lookup(ResourceKey<? extends Registry<? extends S>> p_321547_) default <S> Optional<HolderLookup.RegistryLookup<S>> BootstrapContext.registryLookup(ResourceKey<? extends Registry<? extends S>> registry) -
Uses of Registry in net.minecraft.network
Methods in net.minecraft.network that return types with arguments of type RegistryModifier and TypeMethodDescription<T> ResourceKey<? extends Registry<T>> FriendlyByteBuf.readRegistryKey()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.chat.numbers
Methods in net.minecraft.network.chat.numbers with parameters of type RegistryModifier and TypeMethodDescriptionstatic NumberFormatType<?> NumberFormatTypes.bootstrap(Registry<NumberFormatType<?>> p_313781_) -
Uses of Registry in net.minecraft.network.codec
Method parameters in net.minecraft.network.codec with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder(ResourceKey<? extends Registry<T>> p_320391_, StreamCodec<? super RegistryFriendlyByteBuf, T> p_320595_) static <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holderRegistry(ResourceKey<? extends Registry<T>> p_320387_) static <T> StreamCodec<RegistryFriendlyByteBuf, HolderSet<T>> ByteBufCodecs.holderSet(ResourceKey<? extends Registry<T>> p_332137_) static <T> StreamCodec<RegistryFriendlyByteBuf, T> ByteBufCodecs.registry(ResourceKey<? extends Registry<T>> p_320404_) private static <T,R> StreamCodec <RegistryFriendlyByteBuf, R> ByteBufCodecs.registry(ResourceKey<? extends Registry<T>> p_319942_, Function<Registry<T>, IdMap<R>> p_320353_) private static <T,R> StreamCodec <RegistryFriendlyByteBuf, R> ByteBufCodecs.registry(ResourceKey<? extends Registry<T>> p_319942_, Function<Registry<T>, IdMap<R>> p_320353_) -
Uses of Registry in net.minecraft.network.protocol.common
Fields in net.minecraft.network.protocol.common with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.tagsMethods in net.minecraft.network.protocol.common that return types with arguments of type RegistryModifier and TypeMethodDescriptionMap<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.getTags()Constructor parameters in net.minecraft.network.protocol.common with type arguments of type RegistryModifierConstructorDescriptionClientboundUpdateTagsPacket(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> p_296316_) -
Uses of Registry in net.minecraft.network.protocol.configuration
Fields in net.minecraft.network.protocol.configuration with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final ResourceKey<? extends Registry<?>> ClientboundRegistryDataPacket.registryThe field for theregistryrecord component.private static final StreamCodec<io.netty.buffer.ByteBuf, ResourceKey<? extends Registry<?>>> ClientboundRegistryDataPacket.REGISTRY_KEY_STREAM_CODECMethods in net.minecraft.network.protocol.configuration that return types with arguments of type RegistryModifier and TypeMethodDescriptionResourceKey<? extends Registry<?>> ClientboundRegistryDataPacket.registry()Returns the value of theregistryrecord component.Constructor parameters in net.minecraft.network.protocol.configuration with type arguments of type RegistryModifierConstructorDescriptionClientboundRegistryDataPacket(ResourceKey<? extends Registry<?>> registry, List<RegistrySynchronization.PackedRegistryEntry> entries) Creates an instance of aClientboundRegistryDataPacketrecord class. -
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 Map<ResourceKey<? extends Registry<?>>, Optional<? extends RegistryOps.RegistryInfo<?>>> RegistryOps.HolderLookupAdapter.lookupsprivate 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.ResourceKey.registryKey()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_) private Optional<RegistryOps.RegistryInfo<Object>> RegistryOps.HolderLookupAdapter.createLookup(ResourceKey<? extends Registry<?>> p_341910_) <E> Optional<HolderGetter<E>> RegistryOps.getter(ResourceKey<? extends Registry<? extends E>> p_256031_) booleanResourceKey.isFor(ResourceKey<? extends Registry<?>> p_135784_) static RegistryAccess.FrozenRegistryDataLoader.load(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321642_, ResourceProvider p_326068_, RegistryAccess p_321850_, List<RegistryDataLoader.RegistryData<?>> p_321716_) (package private) static <E> voidRegistryDataLoader.loadContentsFromNetwork(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321633_, ResourceProvider p_326020_, RegistryOps.RegistryInfoLookup p_321801_, WritableRegistry<E> p_321671_, com.mojang.serialization.Decoder<E> p_321718_, Map<ResourceKey<?>, Exception> p_321625_) voidRegistryDataLoader.Loader.loadFromNetwork(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321562_, ResourceProvider p_326419_, RegistryOps.RegistryInfoLookup p_321617_) <E> Optional<RegistryOps.RegistryInfo<E>> RegistryOps.HolderLookupAdapter.lookup(ResourceKey<? extends Registry<? extends E>> p_341913_) <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) voidRegistryDataLoader.RegistryData.runWithArguments(BiConsumer<ResourceKey<? extends Registry<T>>, com.mojang.serialization.Codec<T>> p_312899_) static <T> StreamCodec<io.netty.buffer.ByteBuf, ResourceKey<T>> ResourceKey.streamCodec(ResourceKey<? extends Registry<T>> p_320330_) 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 that return types with arguments of type RegistryModifier and TypeMethodDescriptionStream<ResourceKey<? extends Registry<?>>> ReloadableServerRegistries.EmptyTagLookupWrapper.listRegistries()Stream<ResourceKey<? extends Registry<?>>> ReloadableServerResources.ConfigurableRegistryLookup.listRegistries()Method parameters in net.minecraft.server with type arguments of type RegistryModifier and TypeMethodDescriptionReloadableServerRegistries.Holder.getKeys(ResourceKey<? extends Registry<?>> p_335695_) <T> Optional<HolderLookup.RegistryLookup<T>> ReloadableServerRegistries.EmptyTagLookupWrapper.lookup(ResourceKey<? extends Registry<? extends T>> p_335976_) <T> Optional<HolderLookup.RegistryLookup<T>> ReloadableServerResources.ConfigurableRegistryLookup.lookup(ResourceKey<? extends Registry<? extends T>> p_323818_) -
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 TypeMethodDescription<T> voidTagNetworkSerialization.NetworkPayload.applyToRegistry(Registry<T> p_321755_) (package private) static <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_) (package private) 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) Deprecated. -
Uses of Registry in net.minecraft.util.worldupdate
Fields in net.minecraft.util.worldupdate declared as Registry -
Uses of Registry in net.minecraft.world.damagesource
Fields in net.minecraft.world.damagesource declared as Registry -
Uses of Registry in net.minecraft.world.effect
Methods in net.minecraft.world.effect with parameters of type Registry -
Uses of Registry in net.minecraft.world.entity.ai.attributes
Methods in net.minecraft.world.entity.ai.attributes with parameters of type Registry -
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_) static FrogVariantFrogVariant.bootstrap(Registry<FrogVariant> p_336150_) private static CatVariantCatVariant.register(Registry<CatVariant> p_255735_, ResourceKey<CatVariant> p_256159_, String p_256466_) private static FrogVariantFrogVariant.register(Registry<FrogVariant> p_336004_, ResourceKey<FrogVariant> p_335508_, String p_218194_) -
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 Holder<ArmorMaterial> ArmorMaterials.bootstrap(Registry<ArmorMaterial> p_323827_) static CreativeModeTabCreativeModeTabs.bootstrap(Registry<CreativeModeTab> p_283144_) static InstrumentInstruments.bootstrap(Registry<Instrument> p_220149_) -
Uses of Registry in net.minecraft.world.item.alchemy
Methods in net.minecraft.world.item.alchemy with parameters of type Registry -
Uses of Registry in net.minecraft.world.item.enchantment
Method parameters in net.minecraft.world.item.enchantment with type arguments of type RegistryModifier and TypeMethodDescriptionprivate static <T> HolderSet<T> ItemEnchantments.getTagOrEmpty(HolderLookup.Provider p_341186_, ResourceKey<Registry<T>> p_341113_, TagKey<T> p_341409_) -
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.MapCodec<? extends BiomeSource> BiomeSources.bootstrap(Registry<com.mojang.serialization.MapCodec<? 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 TypeMethodDescriptionstatic com.mojang.serialization.MapCodec<? extends Block> private 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 Registry -
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.MapCodec<? extends ChunkGenerator> ChunkGenerators.bootstrap(Registry<com.mojang.serialization.MapCodec<? extends ChunkGenerator>> p_223243_) private static voidChunkAccess.replaceMissingSections(Registry<Biome> p_281389_, LevelChunkSection[] p_282796_) 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(Registry<Biome> p_282873_) 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.gameevent
Methods in net.minecraft.world.level.gameevent 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 TypeFieldDescriptionWorldDimensions.Complete.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.Methods in net.minecraft.world.level.levelgen with parameters of type RegistryModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec<? extends DensityFunction> DensityFunctions.bootstrap(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> p_208343_) static com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource> SurfaceRules.ConditionSource.bootstrap(Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource>> p_204625_) static com.mojang.serialization.MapCodec<? extends SurfaceRules.RuleSource> SurfaceRules.RuleSource.bootstrap(Registry<com.mojang.serialization.MapCodec<? 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.MapCodec<? extends DensityFunction> DensityFunctions.register(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> p_224035_, String p_224036_, KeyDispatchDataCodec<? extends DensityFunction> p_224037_) (package private) static <A> com.mojang.serialization.MapCodec<? extends A> SurfaceRules.register(Registry<com.mojang.serialization.MapCodec<? extends A>> p_224604_, String p_224605_, KeyDispatchDataCodec<? extends A> p_224606_) private static PrimaryLevelData.SpecialWorldPropertyWorldDimensions.specialWorldProperty(Registry<LevelStem> p_251549_) static Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld(Registry<DimensionType> p_248907_, Map<ResourceKey<LevelStem>, LevelStem> p_326250_, 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> p_251356_) -
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_, PoolAliasLookup p_307210_) 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.levelgen.structure.pools.alias
Methods in net.minecraft.world.level.levelgen.structure.pools.alias with parameters of type RegistryModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec<? extends PoolAliasBinding> PoolAliasBindings.bootstrap(Registry<com.mojang.serialization.MapCodec<? extends PoolAliasBinding>> p_307584_) -
Uses of Registry in net.minecraft.world.level.saveddata.maps
Methods in net.minecraft.world.level.saveddata.maps with parameters of type RegistryModifier and TypeMethodDescriptionstatic Holder<MapDecorationType> MapDecorationTypes.bootstrap(Registry<MapDecorationType> p_336048_) -
Uses of Registry in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage with parameters of type RegistryModifier and TypeMethodDescriptionstatic LevelDataAndDimensionsLevelStorageSource.getLevelDataAndDimensions(com.mojang.serialization.Dynamic<?> p_307313_, WorldDataConfiguration p_307486_, Registry<LevelStem> p_307597_, RegistryAccess.Frozen p_307648_) -
Uses of Registry in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final ResourceKey<Registry<T>> LootDataType.registryKeyThe field for theregistryKeyrecord component.Methods in net.minecraft.world.level.storage.loot that return types with arguments of type RegistryModifier and TypeMethodDescriptionLootDataType.registryKey()Returns the value of theregistryKeyrecord component.Constructor parameters in net.minecraft.world.level.storage.loot with type arguments of type RegistryModifierConstructorDescriptionprivateLootDataType(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, String directory, LootDataType.Validator<T> validator) Deprecated.Neo: use the constructorto support conditionsinvalid reference
with a default value and id setterLootDataType(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, String directory, LootDataType.Validator<T> validator, T defaultValue, com.mojang.serialization.Codec<Optional<T>> conditionalCodec, BiConsumer<T, ResourceLocation> idSetter) Creates an instance of aLootDataTyperecord class.privateLootDataType(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, String directory, LootDataType.Validator<T> validator, T defaultValue, BiConsumer<T, ResourceLocation> idSetter) -
Uses of Registry in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type RegistryModifier and TypeMethodDescriptionprivate static voidTagConventionLogWarningClient.extractUnregisteredModdedTags(Registry<?> registry, List<TagKey<?>> untranslatedTags) -
Uses of Registry in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type RegistryModifier and TypeMethodDescriptionprivate <T> voidNeoForgeEventHandler.handleSync(ServerPlayer player, Registry<T> registry, Collection<ResourceLocation> attachments) Method parameters in net.neoforged.neoforge.common with type arguments of type RegistryModifier and TypeMethodDescriptionprivate static <T> AbstractMap.SimpleEntry<TagKey<T>, String> TagConventionLogWarning.createForgeMapEntry(ResourceKey<Registry<T>> registryKey, String tagId1, String tagId2) private static <T,R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createForgeMapEntry(ResourceKey<Registry<T>> registryKey, String tagId1, TagKey<R> tag2) private static <T,R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createMapEntry(ResourceKey<Registry<T>> registryKey, String tagNamespace1, String tagId1, TagKey<R> tag2) private static <T,R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createMapEntry(ResourceKey<Registry<T>> registryKey, String tagNamespace1, String tagId1, TagKey<R>... replacementTags) private static <T> TagKey<T> TagConventionLogWarning.createTagKey(ResourceKey<Registry<T>> registryKey, String namespace, String tagId) -
Uses of Registry in net.neoforged.neoforge.common.conditions
Method parameters in net.neoforged.neoforge.common.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.neoforged.neoforge.common.data
Fields in net.neoforged.neoforge.common.data with type parameters of type RegistryModifier and TypeFieldDescriptionprotected final ResourceKey<Registry<R>> DataMapProvider.Builder.registryKey -
Uses of Registry in net.neoforged.neoforge.network.codec
Methods in net.neoforged.neoforge.network.codec that return types with arguments of type RegistryModifier and TypeMethodDescriptionstatic <B extends FriendlyByteBuf>
StreamCodec<B, ResourceKey<? extends Registry<?>>> NeoForgeStreamCodecs.registryKey()Creates a stream codec to encode and decode aResourceKeythat identifies a registry. -
Uses of Registry in net.neoforged.neoforge.network.payload
Fields in net.neoforged.neoforge.network.payload with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>, List<KnownRegistryDataMapsPayload.KnownDataMap>> KnownRegistryDataMapsPayload.dataMapsThe field for thedataMapsrecord component.private final Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> KnownRegistryDataMapsReplyPayload.dataMapsThe field for thedataMapsrecord component.private final ResourceKey<? extends Registry<T>> RegistryDataMapSyncPayload.registryKeyThe field for theregistryKeyrecord component.Methods in net.neoforged.neoforge.network.payload that return types with arguments of type RegistryModifier and TypeMethodDescriptionMap<ResourceKey<? extends Registry<?>>, List<KnownRegistryDataMapsPayload.KnownDataMap>> KnownRegistryDataMapsPayload.dataMaps()Returns the value of thedataMapsrecord component.Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> KnownRegistryDataMapsReplyPayload.dataMaps()Returns the value of thedataMapsrecord component.ResourceKey<? extends Registry<T>> RegistryDataMapSyncPayload.registryKey()Returns the value of theregistryKeyrecord component.Constructor parameters in net.neoforged.neoforge.network.payload with type arguments of type RegistryModifierConstructorDescriptionKnownRegistryDataMapsPayload(Map<ResourceKey<? extends Registry<?>>, List<KnownRegistryDataMapsPayload.KnownDataMap>> dataMaps) Creates an instance of aKnownRegistryDataMapsPayloadrecord class.KnownRegistryDataMapsReplyPayload(Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> dataMaps) Creates an instance of aKnownRegistryDataMapsReplyPayloadrecord class.RegistryDataMapSyncPayload(ResourceKey<? extends Registry<T>> registryKey, Map<ResourceLocation, Map<ResourceKey<T>, ?>> dataMaps) Creates an instance of aRegistryDataMapSyncPayloadrecord class. -
Uses of Registry in net.neoforged.neoforge.oldtest
Fields in net.neoforged.neoforge.oldtest declared as RegistryModifier and TypeFieldDescriptionprivate static final Registry<DeferredRegistryTest.Custom> DeferredRegistryTest.CUSTOM_REGFields in net.neoforged.neoforge.oldtest with type parameters of type RegistryModifier and TypeFieldDescriptionprivate static final ResourceKey<Registry<DeferredRegistryTest.Custom>> DeferredRegistryTest.CUSTOM_REGISTRY_KEY -
Uses of Registry in net.neoforged.neoforge.oldtest.misc
Fields in net.neoforged.neoforge.oldtest.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.neoforged.neoforge.oldtest.world
Fields in net.neoforged.neoforge.oldtest.world with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<LoginPacketSplitTest.BigData>> LoginPacketSplitTest.BIG_DATA -
Uses of Registry in net.neoforged.neoforge.registries
Classes in net.neoforged.neoforge.registries that implement RegistryFields in net.neoforged.neoforge.registries declared as RegistryModifier and TypeFieldDescriptionstatic final Registry<AttachmentType<?>> NeoForgeRegistries.ATTACHMENT_TYPESstatic final Registry<com.mojang.serialization.MapCodec<? extends BiomeModifier>> NeoForgeRegistries.BIOME_MODIFIER_SERIALIZERSstatic final Registry<com.mojang.serialization.MapCodec<? extends ICondition>> NeoForgeRegistries.CONDITION_SERIALIZERSDeferredRegister.customRegistrystatic final Registry<ItemDisplayContext> NeoForgeRegistries.DISPLAY_CONTEXTSstatic final Registry<EntityDataSerializer<?>> NeoForgeRegistries.ENTITY_DATA_SERIALIZERSstatic final Registry<FluidIngredientType<?>> NeoForgeRegistries.FLUID_INGREDIENT_TYPESNeoForgeRegistries.FLUID_TYPESprivate final @Nullable Registry<?> RegistrySnapshot.fullBackupstatic final Registry<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>> NeoForgeRegistries.GLOBAL_LOOT_MODIFIER_SERIALIZERSstatic final Registry<HolderSetType> NeoForgeRegistries.HOLDER_SET_TYPESstatic final Registry<IngredientType<?>> NeoForgeRegistries.INGREDIENT_TYPESDeferredRegister.RegistryHolder.registryprivate final Registry<?> RegisterEvent.registrystatic final Registry<com.mojang.serialization.MapCodec<? extends StructureModifier>> NeoForgeRegistries.STRUCTURE_MODIFIER_SERIALIZERSFields in net.neoforged.neoforge.registries with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<AttachmentType<?>>> NeoForgeRegistries.Keys.ATTACHMENT_TYPESstatic final io.netty.util.AttributeKey<Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>>> RegistryManager.ATTRIBUTE_KNOWN_DATA_MAPSstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends BiomeModifier>>> NeoForgeRegistries.Keys.BIOME_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<BiomeModifier>> NeoForgeRegistries.Keys.BIOME_MODIFIERSstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends ICondition>>> NeoForgeRegistries.Keys.CONDITION_CODECSprivate static Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegistryManager.dataMapsstatic final ResourceKey<Registry<ItemDisplayContext>> NeoForgeRegistries.Keys.DISPLAY_CONTEXTSstatic final ResourceKey<Registry<EntityDataSerializer<?>>> NeoForgeRegistries.Keys.ENTITY_DATA_SERIALIZERSstatic final ResourceKey<Registry<FluidIngredientType<?>>> NeoForgeRegistries.Keys.FLUID_INGREDIENT_TYPESstatic final ResourceKey<Registry<FluidType>> NeoForgeRegistries.Keys.FLUID_TYPESstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>>> NeoForgeRegistries.Keys.GLOBAL_LOOT_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<HolderSetType>> NeoForgeRegistries.Keys.HOLDER_SET_TYPESstatic final ResourceKey<Registry<IngredientType<?>>> NeoForgeRegistries.Keys.INGREDIENT_TYPESNewRegistryEvent.registriesprivate final ResourceKey<? extends Registry<V>> DeferredRegister.RegistryHolder.registryKeyprivate final ResourceKey<? extends Registry<T>> DeferredRegister.registryKeyprivate final ResourceKey<? extends Registry<?>> RegisterEvent.registryKeyprivate final ResourceKey<? extends Registry<T>> RegistryBuilder.registryKeyprivate Map<ResourceKey<? extends Registry<?>>, DataMapLoader.LoadResult<?>> DataMapLoader.resultsstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends StructureModifier>>> NeoForgeRegistries.Keys.STRUCTURE_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<StructureModifier>> NeoForgeRegistries.Keys.STRUCTURE_MODIFIERSprivate static final Set<ResourceKey<? extends Registry<?>>> DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIESprivate static final Set<ResourceKey<? extends Registry<?>>> DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIES_VIEWNeoForgeRegistriesSetup.VANILLA_SYNC_REGISTRIESThe set of vanilla registries which should be synced to the client.Methods in net.neoforged.neoforge.registries that return RegistryModifier and TypeMethodDescription<T> Registry<T> NewRegistryEvent.create(RegistryBuilder<T> builder) Creates a registry using thebuilderand registers it.RegistryBuilder.create()Creates a new registry from this builder.DeferredRegister.RegistryHolder.get()<T> @Nullable Registry<T> RegistrySnapshot.getFullBackup()DeferredHolder.getRegistry()Returns the registry that this DeferredHolder is pointing at, ornullif it doesn't exist.<T> Registry<T> ModifyRegistriesEvent.getRegistry(ResourceKey<? extends Registry<T>> key) Retrieve a builtin registry by its key.Registry<?> RegisterEvent.getRegistry()<T> @Nullable Registry<T> RegisterEvent.getRegistry(ResourceKey<? extends Registry<T>> key) DeferredRegister.makeRegistry(Consumer<RegistryBuilder<T>> consumer) This method is used to configure a custom modded registry.DeferredRegister.makeRegistry(ResourceLocation registryName, Consumer<RegistryBuilder<T>> consumer) Methods in net.neoforged.neoforge.registries that return types with arguments of type RegistryModifier and TypeMethodDescriptionstatic Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegistryManager.getDataMaps()Returns a view of all registered data maps.ModifyRegistriesEvent.getRegistries()Returns all builtin registries.DeferredRegister.getRegistry()Returns a supplier for theRegistrylinked to this deferred register.ResourceKey<? extends Registry<T>> DeferredRegister.getRegistryKey()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.private static <T> ResourceKey<Registry<T>> private CompletableFuture<Map<ResourceKey<? extends Registry<?>>, DataMapLoader.LoadResult<?>>> DataMapLoader.load(ResourceManager manager, Executor executor, ProfilerFiller profiler) private static Map<ResourceKey<? extends Registry<?>>, DataMapLoader.LoadResult<?>> DataMapLoader.load(ResourceManager manager, ProfilerFiller profiler, RegistryAccess access, ICondition.IContext context) Methods in net.neoforged.neoforge.registries with parameters of type RegistryModifier and TypeMethodDescriptionprivate <T,R> Map <ResourceKey<R>, T> DataMapLoader.buildDataMap(Registry<R> registry, DataMapType<R, T> attachment, List<DataMapFile<T, R>> entries) static <T> DeferredRegister<T> DeferredRegister factory for modded registries or vanilla registries.static booleanRegistryManager.isNonSyncedBuiltInRegistry(Registry<?> registry) voidNeoForgeRegistryCallbacks.BlockCallbacks.onAdd(Registry<Block> registry, int id, ResourceKey<Block> key, Block value) voidNeoForgeRegistryCallbacks.ItemCallbacks.onAdd(Registry<Item> registry, int id, ResourceKey<Item> key, Item item) voidNeoForgeRegistryCallbacks.PoiTypeCallbacks.onAdd(Registry<PoiType> registry, int id, ResourceKey<PoiType> key, PoiType value) voidvoidvoidvoidvoid<T> voidRegisters an already-created registry.private voidNewRegistryEvent.registerToRootRegistry(Registry<?> registry) Method parameters in net.neoforged.neoforge.registries with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <R,T extends R>
DeferredHolder<R, T> DeferredHolder.create(ResourceKey<? extends Registry<R>> registryKey, ResourceLocation valueName) Creates a new DeferredHolder targeting the value with the specified name in the specified registry.static <T> DeferredRegister<T> DeferredRegister.create(ResourceKey<? extends Registry<T>> key, String namespace) DeferredRegister factory for modded registries or vanilla registries to lookup based on the provided registry key.protected <I extends Block>
DeferredBlock<I> DeferredRegister.Blocks.createHolder(ResourceKey<? extends Registry<Block>> registryKey, ResourceLocation key) protected <I extends T>
DeferredHolder<T, I> DeferredRegister.createHolder(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation key) Create aDeferredHolderor an inheriting type to be stored.protected <I extends Item>
DeferredItem<I> DeferredRegister.Items.createHolder(ResourceKey<? extends Registry<Item>> registryKey, ResourceLocation 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.static <R> @Nullable DataMapType<R, ?> RegistryManager.getDataMap(ResourceKey<? extends Registry<R>> registry, ResourceLocation key) <T> Registry<T> ModifyRegistriesEvent.getRegistry(ResourceKey<? extends Registry<T>> key) Retrieve a builtin registry by its key.<T> @Nullable Registry<T> RegisterEvent.getRegistry(ResourceKey<? extends Registry<T>> key) static <T> RegistryDataLoader.RegistryData<T> DataPackRegistriesHooks.getSyncedRegistry(ResourceKey<? extends Registry<T>> registry) private static <A,T> List <DataMapFile<A, T>> DataMapLoader.readData(RegistryOps<com.google.gson.JsonElement> ops, DataMapType<T, A> attachmentType, ResourceKey<Registry<T>> registryKey, List<Resource> resources) <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.neoforged.neoforge.registries with parameters of type RegistryModifierConstructorDescription(package private)RegisterEvent(ResourceKey<? extends Registry<?>> registryKey, Registry<?> registry) RegistrySnapshot(Registry<T> registry, boolean full) Creates a registry snapshot based on the given registry.Constructor parameters in net.neoforged.neoforge.registries with type arguments of type RegistryModifierConstructorDescriptionprotectedDeferredRegister(ResourceKey<? extends Registry<T>> registryKey, String namespace) (package private)RegisterEvent(ResourceKey<? extends Registry<?>> registryKey, Registry<?> registry) RegistryBuilder(ResourceKey<? extends Registry<T>> registryKey) privateRegistryHolder(ResourceKey<? extends Registry<V>> registryKey) -
Uses of Registry in net.neoforged.neoforge.registries.callback
Methods in net.neoforged.neoforge.registries.callback with parameters of type RegistryModifier and TypeMethodDescriptionvoidCalled when an entry is added to the registry.voidCalled when the registry is frozen, and all registration is finished.voidCalled when the registry is cleared before anything is done to the registry. -
Uses of Registry in net.neoforged.neoforge.registries.datamaps
Fields in net.neoforged.neoforge.registries.datamaps declared as RegistryFields in net.neoforged.neoforge.registries.datamaps with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegisterDataMapTypesEvent.attachmentsprotected final ResourceKey<Registry<R>> DataMapType.Builder.registryKeyprivate final ResourceKey<Registry<R>> DataMapType.registryKeyMethods in net.neoforged.neoforge.registries.datamaps that return RegistryModifier and TypeMethodDescriptionRegistry<?> DataMapsUpdatedEvent.getRegistry()Returns the registry that had its data maps updated.Methods in net.neoforged.neoforge.registries.datamaps that return types with arguments of type RegistryModifier and TypeMethodDescriptionResourceKey<? extends Registry<?>> DataMapsUpdatedEvent.getRegistryKey()Returns the key of the registry that had its data maps updated.DataMapType.registryKey()Returns the key of the registry this data map is for.Methods in net.neoforged.neoforge.registries.datamaps with parameters of type RegistryModifier and TypeMethodDescriptionDataMapValueMerger.merge(Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> first, T firstValue, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> second, T secondValue) Merge two conflicting data map values.DataMapValueRemover.Default.remove(T value, Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> source, R object) DataMapValueRemover.remove(T value, Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> source, R object) Remove the entry specified in this remover from thevalue.Method parameters in net.neoforged.neoforge.registries.datamaps with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <T,R> AdvancedDataMapType.Builder <T, R, DataMapValueRemover.Default<T, R>> AdvancedDataMapType.builder(ResourceLocation id, ResourceKey<Registry<R>> registry, com.mojang.serialization.Codec<T> codec) Returns an advanced data map type builder.static <T,R> DataMapType.Builder <T, R> DataMapType.builder(ResourceLocation id, ResourceKey<Registry<R>> registry, com.mojang.serialization.Codec<T> codec) Returns a data map type builder.static <T,R> com.mojang.serialization.Codec <DataMapFile<T, R>> DataMapFile.codec(ResourceKey<Registry<R>> registryKey, DataMapType<R, T> dataMap) <T> voidDataMapsUpdatedEvent.ifRegistry(ResourceKey<Registry<T>> type, Consumer<Registry<T>> consumer) Runs the givenconsumerif the registry is of the giventype.<T> voidDataMapsUpdatedEvent.ifRegistry(ResourceKey<Registry<T>> type, Consumer<Registry<T>> consumer) Runs the givenconsumerif the registry is of the giventype.Constructors in net.neoforged.neoforge.registries.datamaps with parameters of type RegistryModifierConstructorDescriptionDataMapsUpdatedEvent(RegistryAccess registryAccess, Registry<?> registry, DataMapsUpdatedEvent.UpdateCause cause) Constructor parameters in net.neoforged.neoforge.registries.datamaps with type arguments of type RegistryModifierConstructorDescriptionprivateAdvancedDataMapType(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, boolean mandatorySync, com.mojang.serialization.Codec<VR> remover, DataMapValueMerger<R, T> merger) (package private)Builder(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec) (package private)Builder(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec) (package private)DataMapType(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, boolean mandatorySync) RegisterDataMapTypesEvent(Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> attachments) -
Uses of Registry in net.neoforged.neoforge.registries.holdersets
Method parameters in net.neoforged.neoforge.registries.holdersets with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> AndHolderSet.codec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> AnyHolderSet.codec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> NotHolderSet.codec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> OrHolderSet.codec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> HolderSetType.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) -
Uses of Registry in net.neoforged.neoforge.server.command
Fields in net.neoforged.neoforge.server.command with type parameters of type RegistryModifier and TypeFieldDescriptionprivate static final ResourceKey<Registry<Registry<?>>> DumpCommand.ROOT_REGISTRY_KEYprivate static final ResourceKey<Registry<Registry<?>>> DumpCommand.ROOT_REGISTRY_KEYprivate static final ResourceKey<Registry<Registry<?>>> TagsCommand.ROOT_REGISTRY_KEYprivate static final ResourceKey<Registry<Registry<?>>> TagsCommand.ROOT_REGISTRY_KEYMethods in net.neoforged.neoforge.server.command with type parameters of type RegistryModifier and TypeMethodDescriptionstatic <T extends Registry<?>>
com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> CommandUtils.suggestFromRegistry(Function<Registry<?>, Iterable<ResourceLocation>> namesFunction, String argumentString, ResourceKey<Registry<T>> registryKey) Methods in net.neoforged.neoforge.server.command with parameters of type RegistryModifier and TypeMethodDescriptionprivate static List<ResourceLocation> DumpCommand.getSortedRegistryKeys(boolean alphabeticalSort, boolean printNumericIds, Registry<?> registry) Method parameters in net.neoforged.neoforge.server.command with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <T> Optional<ResourceKey<T>> CommandUtils.getResourceKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name, ResourceKey<Registry<T>> registryKey) static <T extends Registry<?>>
com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> CommandUtils.suggestFromRegistry(Function<Registry<?>, Iterable<ResourceLocation>> namesFunction, String argumentString, ResourceKey<Registry<T>> registryKey) static <T extends Registry<?>>
com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> CommandUtils.suggestFromRegistry(Function<Registry<?>, Iterable<ResourceLocation>> namesFunction, String argumentString, ResourceKey<Registry<T>> registryKey) -
Uses of Registry in net.neoforged.testframework.impl.reg
Fields in net.neoforged.testframework.impl.reg with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>, DeferredRegister<?>> RegistrationHelperImpl.registrarsMethod parameters in net.neoforged.testframework.impl.reg with type arguments of type RegistryModifier and TypeMethodDescription<T> DeferredRegister<T> RegistrationHelperImpl.registrar(ResourceKey<Registry<T>> registry) -
Uses of Registry in net.neoforged.testframework.registration
Method parameters in net.neoforged.testframework.registration with type arguments of type RegistryModifier and TypeMethodDescriptionprotected <I extends Block>
DeferredBlockBuilder<I> DeferredBlocks.createHolder(ResourceKey<? extends Registry<Block>> registryKey, ResourceLocation key) protected <I extends EntityType<?>>
DeferredEntityTypeBuilderDeferredEntityTypes.createHolder(ResourceKey<? extends Registry<EntityType<?>>> registryKey, ResourceLocation key) protected <I extends Item>
DeferredItemBuilder<I> DeferredItems.createHolder(ResourceKey<? extends Registry<Item>> registryKey, ResourceLocation key) <T> DeferredRegister<T> RegistrationHelper.registrar(ResourceKey<Registry<T>> registry) Returns a deferred register for the givenregistry.