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> pRegistry, T pValue) -
Uses of Registry in net.minecraft.advancements
Methods in net.minecraft.advancements with parameters of type RegistryModifier and TypeMethodDescriptionstatic CriterionTrigger<?> CriteriaTriggers.bootstrap(Registry<CriterionTrigger<?>> pRegistry) -
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>> pRegistry) 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>> pRegistryKey) -
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> pRegistry, TagKey<WorldPreset> pKey) 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, InitialWorldCreationOptions initialWorldCreationOptions) 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 TypeFieldDescription(package private) final Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> RegistryDataCollector.ContentsCollector.elementsprivate final Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> RegistryDataCollector.TagCollector.tagsMethod parameters in net.minecraft.client.multiplayer with type arguments of type RegistryModifier and TypeMethodDescriptionprivate static voidRegistryDataCollector.addCrashDetails(CrashReport pCrashReport, Map<ResourceKey<? extends Registry<?>>, RegistryDataLoader.NetworkedRegistryData> pDynamicRegistries, List<Registry.PendingTags<?>> pStaticRegistries) voidRegistryDataCollector.ContentsCollector.append(ResourceKey<? extends Registry<?>> pRegistryKey, List<RegistrySynchronization.PackedRegistryEntry> pEntries) voidRegistryDataCollector.TagCollector.append(ResourceKey<? extends Registry<?>> pRegistryKey, TagNetworkSerialization.NetworkPayload pPayload) voidRegistryDataCollector.appendContents(ResourceKey<? extends Registry<?>> pRegistryKey, List<RegistrySynchronization.PackedRegistryEntry> pRegistryEntries) voidRegistryDataCollector.appendTags(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> pTags) voidRegistryDataCollector.TagCollector.forEach(BiConsumer<? super ResourceKey<? extends Registry<?>>, ? super TagNetworkSerialization.NetworkPayload> pAction) private static <T> Registry.PendingTags<T> RegistryDataCollector.resolveRegistryTags(RegistryAccess.Frozen pRegistryAccess, ResourceKey<? extends Registry<? extends T>> pRegistryKey, TagNetworkSerialization.NetworkPayload pPayload) 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_) private <T> Registry.PendingTags<T> ClientPacketListener.updateTags(ResourceKey<? extends Registry<? extends T>> pRegistryKey, TagNetworkSerialization.NetworkPayload pPayload) -
Uses of Registry in net.minecraft.commands
Methods in net.minecraft.commands with parameters of type RegistryModifier and TypeMethodDescriptiondefault voidSharedSuggestionProvider.suggestRegistryElements(Registry<?> pRegistry, SharedSuggestionProvider.ElementSuggestionType pType, com.mojang.brigadier.suggestion.SuggestionsBuilder pBuilder) 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<?>> pResourceKey, SharedSuggestionProvider.ElementSuggestionType pRegistryKey, com.mojang.brigadier.suggestion.SuggestionsBuilder pBuilder, com.mojang.brigadier.context.CommandContext<?> pContext) -
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.registryKey(package private) final ResourceKey<? extends Registry<T>> ResourceSelectorArgument.Info.Template.registryKey(package private) final ResourceKey<? extends Registry<T>> ResourceSelectorArgument.registryKeyMethods in net.minecraft.commands.arguments that return RegistryModifier and TypeMethodDescriptionprivate static <T> Registry<T> ResourceKeyArgument.getRegistry(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, ResourceKey<? extends Registry<T>> pRegistryKey) 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>> pRegistryKey) <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>> pRegistryKey) ResourceOrTagKeyArgument.TagResult.cast(ResourceKey<? extends Registry<E>> p_251833_) private static <T> Registry<T> ResourceKeyArgument.getRegistry(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, ResourceKey<? extends Registry<T>> pRegistryKey) static <T> ResourceKey<T> ResourceKeyArgument.getRegistryKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType pException) static <T> Holder.Reference<T> ResourceArgument.getResource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey) static <T> ResourceOrTagArgument.Result<T> ResourceOrTagArgument.getResourceOrTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey) static <T> ResourceOrTagKeyArgument.Result<T> ResourceOrTagKeyArgument.getResourceOrTagKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType pDynamicCommandExceptionType) static <T> Collection<Holder.Reference<T>> ResourceSelectorArgument.getSelectedResources(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<? extends Registry<T>> pRegistryKey) static <T> ResourceKeyArgument<T> ResourceKeyArgument.key(ResourceKey<? extends Registry<T>> pRegistryKey) private static <T> Holder.Reference<T> ResourceKeyArgument.resolveKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType pException) static <T> ResourceArgument<T> ResourceArgument.resource(CommandBuildContext pContext, ResourceKey<? extends Registry<T>> pRegistryKey) static <T> ResourceOrTagArgument<T> ResourceOrTagArgument.resourceOrTag(CommandBuildContext pContext, ResourceKey<? extends Registry<T>> pRegistryKey) static <T> ResourceOrTagKeyArgument<T> ResourceOrTagKeyArgument.resourceOrTagKey(ResourceKey<? extends Registry<T>> pRegistryKey) static <T> ResourceSelectorArgument<T> ResourceSelectorArgument.resourceSelector(CommandBuildContext pBuildContext, ResourceKey<? extends Registry<T>> pRegistryKey) Constructor parameters in net.minecraft.commands.arguments with type arguments of type RegistryModifierConstructorDescriptionResourceArgument(CommandBuildContext pContext, ResourceKey<? extends Registry<T>> pRegistryKey) ResourceKeyArgument(ResourceKey<? extends Registry<T>> pRegistryKey) protectedResourceOrIdArgument(CommandBuildContext pRegistryLookup, ResourceKey<Registry<T>> pRegistryKey, com.mojang.serialization.Codec<Holder<T>> pCodec) ResourceOrTagArgument(CommandBuildContext pContext, ResourceKey<? extends Registry<T>> pRegistryKey) ResourceOrTagKeyArgument(ResourceKey<? extends Registry<T>> pRegistryKey) (package private)ResourceSelectorArgument(CommandBuildContext pBuildContext, ResourceKey<? extends Registry<T>> pRegistryKey) (package private)Template(ResourceKey<? extends Registry<T>> pRegistryKey) (package private)Template(ResourceKey<? extends Registry<T>> pRegistryKey) (package private)Template(ResourceKey<? extends Registry<T>> pRegistryKey) (package private)Template(ResourceKey<? extends Registry<T>> pRegistryKey) (package private)Template(ResourceKey<? extends Registry<T>> pRegistryKey) -
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<?, ?>> pRegistry) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,T extends ArgumentTypeInfo.Template<A>>
ArgumentTypeInfo<A, T> ArgumentTypeInfos.register(Registry<ArgumentTypeInfo<?, ?>> pRegistry, String pId, Class<? extends A> pArgumentClass, ArgumentTypeInfo<A, T> pInfo) -
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.codecsprivate 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.private 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> pMapEntry) Methods in net.minecraft.core that return RegistryModifier and TypeMethodDescriptionMappedRegistry.freeze()Registry.freeze()default <E> Registry<E> RegistryAccess.lookupOrThrow(ResourceKey<? extends Registry<? extends E>> p_368620_) 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> pAccesses) private static Map<ResourceKey<? extends Registry<?>>, Registry<?>> LayeredRegistryAccess.collectRegistries(Stream<? extends RegistryAccess> pAccesses) 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<? extends T>> Registry.PendingTags.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.listRegistryKeys()default Stream<ResourceKey<? extends Registry<?>>> RegistryAccess.listRegistryKeys()RegistryAccess.ImmutableRegistryAccess.lookup(ResourceKey<? extends Registry<? extends E>> p_206229_) RegistryAccess.lookup(ResourceKey<? extends Registry<? extends E>> p_256275_) Methods in net.minecraft.core with parameters of type RegistryModifier and TypeMethodDescriptionstatic RegistryAccess.FrozenRegistryAccess.fromRegistryOfRegistries(Registry<? extends Registry<?>> pRegistryOfRegistries) private static <T> RegistryAccess.RegistryEntry<T> RegistryAccess.RegistryEntry.fromUntyped(ResourceKey<? extends Registry<?>> pKey, Registry<?> pValue) static <T> Tstatic <V,T extends V>
TRegistry.register(Registry<V> pRegistry, ResourceKey<V> pKey, T pValue) static <V,T extends V>
TRegistry.register(Registry<V> pRegistry, ResourceLocation pName, T pValue) static <T> Holder.Reference<T> Registry.registerForHolder(Registry<T> pRegistry, ResourceKey<T> pKey, T pValue) static <T> Holder.Reference<T> Registry.registerForHolder(Registry<T> pRegistry, ResourceLocation pName, T pValue) Method parameters in net.minecraft.core with type arguments of type RegistryModifier and TypeMethodDescriptionRegistrySetBuilder.add(ResourceKey<? extends Registry<T>> pKey, com.mojang.serialization.Lifecycle pLifecycle, RegistrySetBuilder.RegistryBootstrap<T> pBootstrap) RegistrySetBuilder.add(ResourceKey<? extends Registry<T>> pKey, RegistrySetBuilder.RegistryBootstrap<T> pBootstrap) <T> Cloner.FactoryCloner.Factory.addCodec(ResourceKey<? extends Registry<? extends T>> pRegistryKey, com.mojang.serialization.Codec<T> pCodec) <T> Cloner<T> Cloner.Factory.cloner(ResourceKey<? extends Registry<? extends T>> pRegistryKey) RegistrySetBuilder.BuildState.create(RegistryAccess pRegistryAccess, Stream<ResourceKey<? extends Registry<?>>> pRegistries) private <T> HolderLookup.RegistryLookup<T> RegistrySetBuilder.createLazyFullPatchedRegistries(HolderOwner<T> pOwner, Cloner.Factory pClonerFactory, ResourceKey<? extends Registry<? extends T>> pRegistryKey, HolderLookup.Provider pRegistryLookupProvider, HolderLookup.Provider pLookupProvider, org.apache.commons.lang3.mutable.MutableObject<HolderLookup.Provider> pObject) private HolderLookup.ProviderRegistrySetBuilder.createLazyFullPatchedRegistries(RegistryAccess pRegistry, HolderLookup.Provider pLookupProvider, Cloner.Factory pClonerFactory, Map<ResourceKey<? extends Registry<?>>, RegistrySetBuilder.RegistryContents<?>> pRegistries, HolderLookup.Provider pRegistryLookupProvider) private static <T,R extends Registry<? extends T>>
RegistryAccess.RegistryEntry<T> RegistryAccess.RegistryEntry.fromMapEntry(Map.Entry<? extends ResourceKey<? extends Registry<?>>, R> pMapEntry) static RegistryAccess.FrozenRegistryAccess.fromRegistryOfRegistries(Registry<? extends Registry<?>> pRegistryOfRegistries) private static <T> RegistryAccess.RegistryEntry<T> RegistryAccess.RegistryEntry.fromUntyped(ResourceKey<? extends Registry<?>> pKey, Registry<?> pValue) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> pRegistryKey) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> pRegistryKey, boolean pDisallowInline) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> pRegistryKey, com.mojang.serialization.Codec<E> pElementCodec) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> pRegistryKey, com.mojang.serialization.Codec<E> pElementCodec, boolean pDisallowInline) static booleanRegistrySynchronization.isNetworkable(ResourceKey<? extends Registry<?>> pRegistryKey) <T> Optional<? extends HolderGetter<T>> HolderGetter.Provider.lookup(ResourceKey<? extends Registry<? extends T>> pRegistryKey) <T> Optional<? extends HolderLookup.RegistryLookup<T>> HolderLookup.Provider.lookup(ResourceKey<? extends Registry<? extends T>> pRegistryKey) RegistryAccess.ImmutableRegistryAccess.lookup(ResourceKey<? extends Registry<? extends E>> p_206229_) RegistryAccess.lookup(ResourceKey<? extends Registry<? extends E>> p_256275_) (package private) static <T> HolderLookup.RegistryLookup<T> RegistrySetBuilder.lookupFromMap(ResourceKey<? extends Registry<? extends T>> pRegistryKey, com.mojang.serialization.Lifecycle pRegistryLifecycle, HolderOwner<T> pOwner, Map<ResourceKey<T>, Holder.Reference<T>> pElements) default <T> HolderGetter<T> HolderGetter.Provider.lookupOrThrow(ResourceKey<? extends Registry<? extends T>> pRegistryKey) default <T> HolderLookup.RegistryLookup<T> HolderLookup.Provider.lookupOrThrow(ResourceKey<? extends Registry<? extends T>> pRegistryKey) default <E> Registry<E> RegistryAccess.lookupOrThrow(ResourceKey<? extends Registry<? extends E>> p_368620_) static voidRegistrySynchronization.packRegistries(com.mojang.serialization.DynamicOps<Tag> pOps, RegistryAccess pRegistryAccess, Set<KnownPack> pPacks, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> pPacketSender) private static <T> voidRegistrySynchronization.packRegistry(com.mojang.serialization.DynamicOps<Tag> pOps, RegistryDataLoader.RegistryData<T> pRegistryData, RegistryAccess pRegistryAccess, Set<KnownPack> pPacks, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> pPacketSender) 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 pDefaultKey, ResourceKey<? extends Registry<T>> pKey, com.mojang.serialization.Lifecycle pRegistryLifecycle, boolean pHasIntrusiveHolders) ImmutableRegistryAccess(List<? extends Registry<?>> pRegistries) ImmutableRegistryAccess(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> pRegistries) ImmutableRegistryAccess(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> pRegistries) MappedRegistry(ResourceKey<? extends Registry<T>> pKey, com.mojang.serialization.Lifecycle pRegistryLifecycle) MappedRegistry(ResourceKey<? extends Registry<T>> pKey, com.mojang.serialization.Lifecycle pRegistryLifecycle, boolean pHasIntrusiveHolders) (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<?>> pRegistry) -
Uses of Registry in net.minecraft.core.component.predicates
Methods in net.minecraft.core.component.predicates with parameters of type RegistryModifier and TypeMethodDescriptionstatic DataComponentPredicate.Type<?> DataComponentPredicates.bootstrap(Registry<DataComponentPredicate.Type<?>> pRegistry) -
Uses of Registry in net.minecraft.core.registries
Fields in net.minecraft.core.registries declared as RegistryModifier and TypeFieldDescriptionBuiltInRegistries.ACTIVITYBuiltInRegistries.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<com.mojang.serialization.MapCodec<? extends ChunkGenerator>> BuiltInRegistries.CHUNK_GENERATORstatic final Registry<ArgumentTypeInfo<?, ?>> BuiltInRegistries.COMMAND_ARGUMENT_TYPEstatic final Registry<ConsumeEffect.Type<?>> BuiltInRegistries.CONSUME_EFFECT_TYPEstatic final Registry<CreativeModeTab> BuiltInRegistries.CREATIVE_MODE_TABstatic final Registry<ResourceLocation> BuiltInRegistries.CUSTOM_STATstatic final Registry<DataComponentPredicate.Type<?>> BuiltInRegistries.DATA_COMPONENT_PREDICATE_TYPEstatic final Registry<DataComponentType<?>> BuiltInRegistries.DATA_COMPONENT_TYPEstatic final Registry<DecoratedPotPattern> BuiltInRegistries.DECORATED_POT_PATTERNstatic final Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> BuiltInRegistries.DENSITY_FUNCTION_TYPEstatic final Registry<DataComponentType<?>> BuiltInRegistries.ENCHANTMENT_EFFECT_COMPONENT_TYPEstatic final Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>> BuiltInRegistries.ENCHANTMENT_ENTITY_EFFECT_TYPEstatic final Registry<com.mojang.serialization.MapCodec<? extends LevelBasedValue>> BuiltInRegistries.ENCHANTMENT_LEVEL_BASED_VALUE_TYPEstatic final Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>> BuiltInRegistries.ENCHANTMENT_LOCATION_BASED_EFFECT_TYPEstatic final Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>> BuiltInRegistries.ENCHANTMENT_PROVIDER_TYPEstatic final Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>> BuiltInRegistries.ENCHANTMENT_VALUE_EFFECT_TYPEstatic 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<HeightProviderType<?>> BuiltInRegistries.HEIGHT_PROVIDER_TYPEstatic 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<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<RecipeBookCategory> BuiltInRegistries.RECIPE_BOOK_CATEGORYstatic final Registry<RecipeDisplay.Type<?>> BuiltInRegistries.RECIPE_DISPLAYstatic 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<SlotDisplay.Type<?>> BuiltInRegistries.SLOT_DISPLAYstatic final Registry<SoundEvent> BuiltInRegistries.SOUND_EVENTstatic final Registry<com.mojang.serialization.MapCodec<? extends SpawnCondition>> BuiltInRegistries.SPAWN_CONDITION_TYPEBuiltInRegistries.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<com.mojang.serialization.MapCodec<? extends TestEnvironmentDefinition>> BuiltInRegistries.TEST_ENVIRONMENT_DEFINITION_TYPEstatic final Registry<Consumer<GameTestHelper>> BuiltInRegistries.TEST_FUNCTIONstatic final Registry<com.mojang.serialization.MapCodec<? extends GameTestInstance>> BuiltInRegistries.TEST_INSTANCE_TYPEstatic final Registry<TicketType> BuiltInRegistries.TICKET_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<Advancement>> Registries.ADVANCEMENTstatic 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<ChickenVariant>> Registries.CHICKEN_VARIANTstatic 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<ConsumeEffect.Type<?>>> Registries.CONSUME_EFFECT_TYPEstatic final ResourceKey<Registry<CowVariant>> Registries.COW_VARIANTstatic 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<DataComponentPredicate.Type<?>>> Registries.DATA_COMPONENT_PREDICATE_TYPEstatic final ResourceKey<Registry<DataComponentType<?>>> Registries.DATA_COMPONENT_TYPEstatic final ResourceKey<Registry<DecoratedPotPattern>> Registries.DECORATED_POT_PATTERNstatic 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<DataComponentType<?>>> Registries.ENCHANTMENT_EFFECT_COMPONENT_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>>> Registries.ENCHANTMENT_ENTITY_EFFECT_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends LevelBasedValue>>> Registries.ENCHANTMENT_LEVEL_BASED_VALUE_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>>> Registries.ENCHANTMENT_LOCATION_BASED_EFFECT_TYPEstatic final ResourceKey<Registry<EnchantmentProvider>> Registries.ENCHANTMENT_PROVIDERstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>>> Registries.ENCHANTMENT_PROVIDER_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>>> Registries.ENCHANTMENT_VALUE_EFFECT_TYPEstatic 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<JukeboxSong>> Registries.JUKEBOX_SONGstatic 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<PigVariant>> Registries.PIG_VARIANTstatic 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<Recipe<?>>> Registries.RECIPEstatic final ResourceKey<Registry<RecipeBookCategory>> Registries.RECIPE_BOOK_CATEGORYstatic final ResourceKey<Registry<RecipeDisplay.Type<?>>> Registries.RECIPE_DISPLAYstatic 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<SlotDisplay.Type<?>>> Registries.SLOT_DISPLAYstatic final ResourceKey<Registry<SoundEvent>> Registries.SOUND_EVENTstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends SpawnCondition>>> Registries.SPAWN_CONDITION_TYPEstatic 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<TestEnvironmentDefinition>> Registries.TEST_ENVIRONMENTstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends TestEnvironmentDefinition>>> Registries.TEST_ENVIRONMENT_DEFINITION_TYPEstatic final ResourceKey<Registry<Consumer<GameTestHelper>>> Registries.TEST_FUNCTIONstatic final ResourceKey<Registry<GameTestInstance>> Registries.TEST_INSTANCEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends GameTestInstance>>> Registries.TEST_INSTANCE_TYPEstatic final ResourceKey<Registry<TicketType>> Registries.TICKET_TYPEstatic final ResourceKey<Registry<TreeDecoratorType<?>>> Registries.TREE_DECORATOR_TYPEstatic final ResourceKey<Registry<TrialSpawnerConfig>> Registries.TRIAL_SPAWNER_CONFIGstatic 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<WolfSoundVariant>> Registries.WOLF_SOUND_VARIANTstatic 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>> pKey, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) private static <T> Registry<T> BuiltInRegistries.registerSimpleWithIntrusiveHolders(ResourceKey<? extends Registry<T>> pKey, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) Methods in net.minecraft.core.registries that return types with arguments of type RegistryModifier and TypeMethodDescriptionprivate static <T> ResourceKey<Registry<T>> Registries.createRegistryKey(String pName) Methods in net.minecraft.core.registries with parameters of type RegistryModifier and TypeMethodDescriptionstatic <T> HolderGetter<T> BuiltInRegistries.acquireBootstrapRegistrationLookup(Registry<T> pRegistry) private static voidBuiltInRegistries.bindBootstrappedTagsToEmpty(Registry<?> pRegistry) private static <T extends Registry<?>>
voidMethod parameters in net.minecraft.core.registries with type arguments of type RegistryModifier and TypeMethodDescriptionstatic StringRegistries.elementsDirPath(ResourceKey<? extends Registry<?>> pRegistryKey) private static <T,R extends WritableRegistry<T>>
RBuiltInRegistries.internalRegister(ResourceKey<? extends Registry<T>> pKey, R pRegistry, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) private static <T> DefaultedRegistry<T> BuiltInRegistries.registerDefaulted(ResourceKey<? extends Registry<T>> pKey, String pDefaultKey, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) private static <T> DefaultedRegistry<T> BuiltInRegistries.registerDefaultedWithIntrusiveHolders(ResourceKey<? extends Registry<T>> pKey, String pDefaultKey, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) private static <T> Registry<T> BuiltInRegistries.registerSimple(ResourceKey<? extends Registry<T>> pKey, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) private static <T> Registry<T> BuiltInRegistries.registerSimpleWithIntrusiveHolders(ResourceKey<? extends Registry<T>> pKey, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) static StringRegistries.tagsDirPath(ResourceKey<? extends Registry<?>> pRegistryKey) -
Uses of Registry in net.minecraft.data
Method parameters in net.minecraft.data with type arguments of type RegistryModifier and TypeMethodDescriptionPackOutput.createRegistryElementsPathProvider(ResourceKey<? extends Registry<?>> pRegistryKey) PackOutput.createRegistryTagsPathProvider(ResourceKey<? extends Registry<?>> pRegistryKey) -
Uses of Registry in net.minecraft.data.info
Fields in net.minecraft.data.info with type parameters of type RegistryModifier and TypeFieldDescriptionprivate static final Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> DatapackStructureReport.MANUAL_ENTRIESprivate final Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> DatapackStructureReport.Report.registriesThe field for theregistriesrecord component.(package private) static final com.mojang.serialization.Codec<ResourceKey<? extends Registry<?>>> DatapackStructureReport.REGISTRY_KEY_CODECMethods in net.minecraft.data.info that return types with arguments of type RegistryModifier and TypeMethodDescriptionprivate Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> DatapackStructureReport.listRegistries()Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> DatapackStructureReport.Report.registries()Returns the value of theregistriesrecord component.Methods in net.minecraft.data.info with parameters of type RegistryModifier and TypeMethodDescriptionprivate static <T> JsonElementRegistryDumpReport.dumpRegistry(Registry<T> pRegistry) Method parameters in net.minecraft.data.info with type arguments of type RegistryModifier and TypeMethodDescriptionprivate voidDatapackStructureReport.putIfNotPresent(Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> pMap, ResourceKey<? extends Registry<?>> pRegistryKey, DatapackStructureReport.Entry pEntry) private voidDatapackStructureReport.putIfNotPresent(Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> pMap, ResourceKey<? extends Registry<?>> pRegistryKey, DatapackStructureReport.Entry pEntry) Constructor parameters in net.minecraft.data.info with type arguments of type RegistryModifierConstructorDescription(package private)Report(Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> registries, Map<String, DatapackStructureReport.CustomPackEntry> others) Creates an instance of aReportrecord class. -
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 pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> pParentProvider, Function<T, ResourceKey<T>> pKeyExtractor) Deprecated.IntrinsicHolderTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> pParentProvider, Function<T, ResourceKey<T>> pKeyExtractor, String modId) IntrinsicHolderTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, Function<T, ResourceKey<T>> pKeyExtractor) Deprecated.IntrinsicHolderTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, Function<T, ResourceKey<T>> pKeyExtractor, String modId) protectedTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider) Deprecated.Forge: Use the mod id variantprotectedTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, String modId) protectedTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> pParentProvider) Deprecated.Forge: Use the mod id variantprotectedTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> pParentProvider, String modId) -
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>> pRegistryKey) default <S> Optional<HolderLookup.RegistryLookup<S>> BootstrapContext.registryLookup(ResourceKey<? extends Registry<? extends S>> registry) -
Uses of Registry in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework with parameters of type RegistryModifier and TypeMethodDescriptionstatic Consumer<GameTestHelper> BuiltinTestFunctions.bootstrap(Registry<Consumer<GameTestHelper>> pRegistry) static com.mojang.serialization.MapCodec<? extends GameTestInstance> GameTestInstance.bootstrap(Registry<com.mojang.serialization.MapCodec<? extends GameTestInstance>> pRegistry) static com.mojang.serialization.MapCodec<? extends TestEnvironmentDefinition> TestEnvironmentDefinition.bootstrap(Registry<com.mojang.serialization.MapCodec<? extends TestEnvironmentDefinition>> pRegistry) private static com.mojang.serialization.MapCodec<? extends GameTestInstance> GameTestInstance.register(Registry<com.mojang.serialization.MapCodec<? extends GameTestInstance>> pRegistry, String pName, com.mojang.serialization.MapCodec<? extends GameTestInstance> pCodec) static voidTestFunctionLoader.runLoaders(Registry<Consumer<GameTestHelper>> pRegistry) -
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>> pRegistryKey) -
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<?>> pRegsitry) -
Uses of Registry in net.minecraft.network.codec
Methods in net.minecraft.network.codec that return RegistryModifier and TypeMethodDescriptionprivate static <T> Registry<T> ByteBufCodecs.getSyncableRegistryOrThrow(RegistryFriendlyByteBuf buffer, ResourceKey<? extends Registry<T>> registryKey) Method parameters in net.minecraft.network.codec with type arguments of type RegistryModifier and TypeMethodDescriptionprivate static <T> Registry<T> ByteBufCodecs.getSyncableRegistryOrThrow(RegistryFriendlyByteBuf buffer, ResourceKey<? extends Registry<T>> registryKey) static <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder(ResourceKey<? extends Registry<T>> pRegistryKey, StreamCodec<? super RegistryFriendlyByteBuf, T> pCodec) static <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holderRegistry(ResourceKey<? extends Registry<T>> pRegistryKey) static <T> StreamCodec<RegistryFriendlyByteBuf, HolderSet<T>> ByteBufCodecs.holderSet(ResourceKey<? extends Registry<T>> pRegistryKey) static <T> StreamCodec<RegistryFriendlyByteBuf, T> ByteBufCodecs.registry(ResourceKey<? extends Registry<T>> pRegistryKey) private static <T,R> StreamCodec <RegistryFriendlyByteBuf, R> ByteBufCodecs.registry(ResourceKey<? extends Registry<T>> pRegistryKey, Function<Registry<T>, IdMap<R>> pIdGetter) private static <T,R> StreamCodec <RegistryFriendlyByteBuf, R> ByteBufCodecs.registry(ResourceKey<? extends Registry<T>> pRegistryKey, Function<Registry<T>, IdMap<R>> pIdGetter) -
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> pTags) -
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 pLocation) ResourceKey<? extends Registry<T>> RegistryDataLoader.RegistryData.key()Returns the value of thekeyrecord component.ResourceKey.registryKey()Method parameters in net.minecraft.resources with type arguments of type RegistryModifier and TypeMethodDescription<E> Optional<ResourceKey<E>> ResourceKey.cast(ResourceKey<? extends Registry<E>> pRegistryKey) static <T> com.mojang.serialization.Codec<ResourceKey<T>> ResourceKey.codec(ResourceKey<? extends Registry<T>> pRegistryKey) static <E> com.mojang.serialization.Codec<HolderSet<E>> HolderSetCodec.create(ResourceKey<? extends Registry<E>> pRegistryKey, com.mojang.serialization.Codec<Holder<E>> pHolderCodec, boolean pDisallowInline) static <E> RegistryFileCodec<E> RegistryFileCodec.create(ResourceKey<? extends Registry<E>> pRegistryKey, com.mojang.serialization.Codec<E> pElementCodec) Creates a codec for a single registry element, which is held as an un-resolvedSupplier<E>.static <E> RegistryFileCodec<E> RegistryFileCodec.create(ResourceKey<? extends Registry<E>> pRegistryKey, com.mojang.serialization.Codec<E> pElementCodec, boolean pAllowInline) static <E> RegistryFixedCodec<E> RegistryFixedCodec.create(ResourceKey<? extends Registry<E>> pRegistryKey) static <T> ResourceKey<T> ResourceKey.create(ResourceKey<? extends Registry<T>> pRegistryKey, ResourceLocation pLocation) Constructs a newResourceKeyfor a resource with the specifiedlocationwithin the registry specified by the givenregistryKey.private Optional<RegistryOps.RegistryInfo<Object>> RegistryOps.HolderLookupAdapter.createLookup(ResourceKey<? extends Registry<?>> pRegistryKey) <E> Optional<HolderGetter<E>> RegistryOps.getter(ResourceKey<? extends Registry<? extends E>> pRegistryKey) booleanResourceKey.isFor(ResourceKey<? extends Registry<?>> pRegistryKey) static RegistryAccess.FrozenRegistryDataLoader.load(Map<ResourceKey<? extends Registry<?>>, RegistryDataLoader.NetworkedRegistryData> pElements, ResourceProvider pResourceProvider, List<HolderLookup.RegistryLookup<?>> pRegistryLookups, List<RegistryDataLoader.RegistryData<?>> pRegistryData) (package private) static <E> voidRegistryDataLoader.loadContentsFromNetwork(Map<ResourceKey<? extends Registry<?>>, RegistryDataLoader.NetworkedRegistryData> pElements, ResourceProvider pResourceProvider, RegistryOps.RegistryInfoLookup pRegistryInfoLookup, WritableRegistry<E> pRegistry, com.mojang.serialization.Decoder<E> pCodec, Map<ResourceKey<?>, Exception> pLoadingErrors) voidRegistryDataLoader.Loader.loadFromNetwork(Map<ResourceKey<? extends Registry<?>>, RegistryDataLoader.NetworkedRegistryData> pElements, ResourceProvider pResourceProvider, RegistryOps.RegistryInfoLookup pRegistryInfoLookup) <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>> pRegistryKey) <E> Optional<HolderOwner<E>> RegistryOps.owner(ResourceKey<? extends Registry<? extends E>> pRegistryKey) static FileToIdConverterFileToIdConverter.registry(ResourceKey<? extends Registry<?>> pRegistryKey) static <E,O> com.mojang.serialization.codecs.RecordCodecBuilder <O, HolderGetter<E>> RegistryOps.retrieveGetter(ResourceKey<? extends Registry<? extends E>> pRegistryOps) 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>> pRunner) static <T> StreamCodec<io.netty.buffer.ByteBuf, ResourceKey<T>> ResourceKey.streamCodec(ResourceKey<? extends Registry<T>> pRegistryKey) Constructor parameters in net.minecraft.resources with type arguments of type RegistryModifierConstructorDescriptionprivateHolderSetCodec(ResourceKey<? extends Registry<E>> pRegistryKey, com.mojang.serialization.Codec<Holder<E>> pElementCodec, boolean pDisallowInline) (package private)RegistryData(ResourceKey<? extends Registry<T>> p_251360_, com.mojang.serialization.Codec<T> p_248976_) RegistryData(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec, boolean requiredNonEmpty) RegistryData(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec, boolean requiredNonEmpty, Consumer<RegistryBuilder<T>> registryBuilderConsumer) Creates an instance of aRegistryDatarecord class.privateRegistryFileCodec(ResourceKey<? extends Registry<E>> pRegistryKey, com.mojang.serialization.Codec<E> pElementCodec, boolean pAllowInline) privateRegistryFixedCodec(ResourceKey<? extends Registry<E>> pRegistryKey) -
Uses of Registry in net.minecraft.server
Fields in net.minecraft.server with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<CommandFunction<CommandSourceStack>>> ServerFunctionLibrary.TYPE_KEYMethod parameters in net.minecraft.server with type arguments of type RegistryModifier and TypeMethodDescriptionReloadableServerRegistries.Holder.getKeys(ResourceKey<? extends Registry<?>> pRegistryKey) -
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> pStructure, Registry<Structure> pStructureRegistry) -
Uses of Registry in net.minecraft.server.packs.resources
Method parameters in net.minecraft.server.packs.resources with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <T> voidSimpleJsonResourceReloadListener.scanDirectory(ResourceManager pResourceManager, ResourceKey<? extends Registry<T>> pRegistryKey, com.mojang.serialization.DynamicOps<JsonElement> pOps, com.mojang.serialization.Codec<T> pCodec, Map<ResourceLocation, T> pOutput) static <T> voidSimpleJsonResourceReloadListener.scanDirectoryWithOptionalValues(ResourceManager p_386974_, ResourceKey<? extends Registry<T>> p_388878_, com.mojang.serialization.DynamicOps<JsonElement> p_388402_, com.mojang.serialization.Codec<Optional<T>> p_387608_, Map<ResourceLocation, Optional<T>> p_386495_) Constructor parameters in net.minecraft.server.packs.resources with type arguments of type RegistryModifierConstructorDescriptionprotectedSimpleJsonResourceReloadListener(HolderLookup.Provider pProvider, com.mojang.serialization.Codec<T> pCodec, ResourceKey<? extends Registry<T>> pRegistryKey) -
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 pKey, Registry<T> pRegistry) 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 final ResourceKey<? extends Registry<T>> TagLoader.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>> TagLoader.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> pRegistryAccess) Methods in net.minecraft.tags with parameters of type RegistryModifier and TypeMethodDescription(package private) static <T> TagLoader.LoadResult<T> TagNetworkSerialization.deserializeTagsFromNetwork(Registry<T> pRegistry, TagNetworkSerialization.NetworkPayload pPayload) static <T> TagLoader.ElementLookup<? extends Holder<T>> TagLoader.ElementLookup.fromFrozenRegistry(Registry<T> pRegistry) private static <T> Optional<Registry.PendingTags<T>> TagLoader.loadPendingTags(ResourceManager pResourceManager, Registry<T> pRegistry) <T> TagLoader.LoadResult<T> private static <T> TagNetworkSerialization.NetworkPayloadTagNetworkSerialization.serializeToNetwork(Registry<T> pRegistry) Method parameters in net.minecraft.tags with type arguments of type RegistryModifier and TypeMethodDescriptionTagKey.cast(ResourceKey<? extends Registry<E>> pRegistry) static <T> com.mojang.serialization.Codec<TagKey<T>> TagKey.codec(ResourceKey<? extends Registry<T>> pRegistry) static <T> TagKey<T> TagKey.create(ResourceKey<? extends Registry<T>> pRegistry, ResourceLocation pLocation) private static Registry.PendingTags<?> TagLoader.findTagsForRegistry(List<Registry.PendingTags<?>> pTags, ResourceKey<? extends Registry<?>> pRegistryKey) static <T> com.mojang.serialization.Codec<TagKey<T>> TagKey.hashedCodec(ResourceKey<? extends Registry<T>> pRegistry) booleanTagKey.isFor(ResourceKey<? extends Registry<?>> pRegistry) static <T> StreamCodec<io.netty.buffer.ByteBuf, TagKey<T>> TagKey.streamCodec(ResourceKey<? extends Registry<T>> pRegistry) TagLoader.wrapTags(ResourceKey<? extends Registry<T>> pRegistryKey, Map<ResourceLocation, List<Holder<T>>> pTags) Constructor parameters in net.minecraft.tags with type arguments of type RegistryModifierConstructorDescriptionLoadResult(ResourceKey<? extends Registry<T>> key, Map<TagKey<T>, List<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
Method parameters in net.minecraft.util with type arguments of type RegistryModifier and TypeMethodDescription<T> Optional<? extends HolderGetter<T>> PlaceholderLookupProvider.lookup(ResourceKey<? extends Registry<? extends T>> p_399488_) -
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.npc
Methods in net.minecraft.world.entity.npc with parameters of type RegistryModifier and TypeMethodDescriptionstatic VillagerProfessionVillagerProfession.bootstrap(Registry<VillagerProfession> pRegistry) static VillagerTypeVillagerType.bootstrap(Registry<VillagerType> pRegistry) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pName, Predicate<Holder<PoiType>> pHeldJobSite, Predicate<Holder<PoiType>> pAcquirableJobSite, ImmutableSet<Item> pRequestedItems, ImmutableSet<Block> pSecondaryPoi, SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pName, Predicate<Holder<PoiType>> pHeldJobSite, Predicate<Holder<PoiType>> pAcquirableJobSite, SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pName, ResourceKey<PoiType> pJobSite, ImmutableSet<Item> pRequestedItems, ImmutableSet<Block> pSecondaryPoi, SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pName, ResourceKey<PoiType> pPoiType, SoundEvent pWorkSound) private static VillagerTypeVillagerType.register(Registry<VillagerType> pRegistry, ResourceKey<VillagerType> pKey) -
Uses of Registry in net.minecraft.world.entity.variant
Methods in net.minecraft.world.entity.variant with parameters of type RegistryModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec<? extends SpawnCondition> SpawnConditions.bootstrap(Registry<com.mojang.serialization.MapCodec<? extends SpawnCondition>> pRegistry) Method parameters in net.minecraft.world.entity.variant with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <T> Holder<T> VariantUtils.getAny(RegistryAccess pRegistryAccess, ResourceKey<? extends Registry<T>> pRegistryKey) VariantUtils.readVariant(CompoundTag pTag, RegistryAccess pRegistryAccess, ResourceKey<? extends Registry<T>> pRegistryKey) -
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 CreativeModeTabCreativeModeTabs.bootstrap(Registry<CreativeModeTab> pRegistry) Method parameters in net.minecraft.world.item with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<EitherHolder<T>> EitherHolder.codec(ResourceKey<Registry<T>> pRegistryKey, com.mojang.serialization.Codec<Holder<T>> pCodec) static <T> StreamCodec<RegistryFriendlyByteBuf, EitherHolder<T>> EitherHolder.streamCodec(ResourceKey<Registry<T>> pRegistryKey, StreamCodec<RegistryFriendlyByteBuf, Holder<T>> pStreamCodec) -
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.component
Method parameters in net.minecraft.world.item.component with type arguments of type RegistryModifier and TypeMethodDescription<T> TCustomData.parseEntityType(HolderLookup.Provider pRegistries, ResourceKey<? extends Registry<T>> pRegistryKey) -
Uses of Registry in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final ResourceKey<? extends Registry<RecipePropertySet>> RecipePropertySet.TYPE_KEYMethods in net.minecraft.world.item.crafting with parameters of type RegistryModifier and TypeMethodDescriptionstatic RecipeBookCategoryRecipeBookCategories.bootstrap(Registry<RecipeBookCategory> pRegistry) -
Uses of Registry in net.minecraft.world.item.crafting.display
Methods in net.minecraft.world.item.crafting.display with parameters of type RegistryModifier and TypeMethodDescriptionstatic RecipeDisplay.Type<?> RecipeDisplays.bootstrap(Registry<RecipeDisplay.Type<?>> pRegistry) static SlotDisplay.Type<?> SlotDisplays.bootstrap(Registry<SlotDisplay.Type<?>> pRegistry) -
Uses of Registry in net.minecraft.world.item.enchantment
Methods in net.minecraft.world.item.enchantment with parameters of type RegistryModifier and TypeMethodDescriptionstatic DataComponentType<?> EnchantmentEffectComponents.bootstrap(Registry<DataComponentType<?>> pRegistry) static com.mojang.serialization.MapCodec<? extends LevelBasedValue> LevelBasedValue.bootstrap(Registry<com.mojang.serialization.MapCodec<? extends LevelBasedValue>> pRegistry) Method parameters in net.minecraft.world.item.enchantment with type arguments of type RegistryModifier and TypeMethodDescriptionprivate static <T> HolderSet<T> ItemEnchantments.getTagOrEmpty(HolderLookup.Provider pRegistries, ResourceKey<Registry<T>> pRegistryKey, TagKey<T> pKey) -
Uses of Registry in net.minecraft.world.item.enchantment.effects
Methods in net.minecraft.world.item.enchantment.effects with parameters of type RegistryModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect> EnchantmentEntityEffect.bootstrap(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>> pRegistry) static com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect> EnchantmentLocationBasedEffect.bootstrap(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>> pRegistry) static com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect> EnchantmentValueEffect.bootstrap(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>> pRegistry) -
Uses of Registry in net.minecraft.world.item.enchantment.providers
Methods in net.minecraft.world.item.enchantment.providers with parameters of type RegistryModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec<? extends EnchantmentProvider> EnchantmentProviderTypes.bootstrap(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>> pRegistry) -
Uses of Registry in net.minecraft.world.item.equipment
Fields in net.minecraft.world.item.equipment with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final ResourceKey<? extends Registry<EquipmentAsset>> EquipmentAssets.ROOT_ID -
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>> pRegistryKey) -
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>> pRegistry) -
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<?, ?>> pFeatureRegistry, ResourceKey<ConfiguredFeature<?, ?>> pFeatureKey, ServerLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) -
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 DecoratedPotPatternDecoratedPotPatterns.bootstrap(Registry<DecoratedPotPattern> pRegistry) private static DecoratedPotPatternDecoratedPotPatterns.register(Registry<DecoratedPotPattern> pRegistry, ResourceKey<DecoratedPotPattern> pKey, String pAssetId) -
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>> pRegistry) private static voidChunkAccess.replaceMissingSections(Registry<Biome> pBiomeRegistry, LevelChunkSection[] pSections) Constructors in net.minecraft.world.level.chunk with parameters of type RegistryModifierConstructorDescriptionChunkAccess(ChunkPos pChunkPos, UpgradeData pUpgradeData, LevelHeightAccessor pLevelHeightAccessor, Registry<Biome> pBiomeRegistry, long pInhabitedTime, LevelChunkSection[] pSections, BlendingData pBlendingData) LevelChunkSection(Registry<Biome> pBiomeRegistry) ProtoChunk(ChunkPos pChunkPos, UpgradeData pUpgradeData, LevelChunkSection[] pSections, ProtoChunkTicks<Block> pBlockTicks, ProtoChunkTicks<Fluid> pLiquidTicks, LevelHeightAccessor pLevelHeightAccessor, Registry<Biome> pBiomeRegistry, BlendingData pBlendingData) ProtoChunk(ChunkPos pChunkPos, UpgradeData pUpgradeData, LevelHeightAccessor pLevelHeightAccessor, Registry<Biome> pBiomeRegistry, BlendingData pBlendingData) -
Uses of Registry in net.minecraft.world.level.chunk.storage
Fields in net.minecraft.world.level.chunk.storage declared as RegistryModifier and TypeFieldDescriptionSerializableChunkData.biomeRegistryThe field for thebiomeRegistryrecord component.Methods in net.minecraft.world.level.chunk.storage that return RegistryModifier and TypeMethodDescriptionSerializableChunkData.biomeRegistry()Returns the value of thebiomeRegistryrecord component.Methods in net.minecraft.world.level.chunk.storage with parameters of type RegistryModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<PalettedContainerRO<Holder<Biome>>> SerializableChunkData.makeBiomeCodec(Registry<Biome> pBiomeRegistry) Constructors in net.minecraft.world.level.chunk.storage with parameters of type RegistryModifierConstructorDescription(package private)SerializableChunkData(Registry<Biome> biomeRegistry, ChunkPos chunkPos, int minSectionY, long lastUpdateTime, long inhabitedTime, ChunkStatus chunkStatus, BlendingData.Packed blendingData, BelowZeroRetrogen belowZeroRetrogen, UpgradeData upgradeData, long[] carvingMask, Map<Heightmap.Types, long[]> heightmaps, ChunkAccess.PackedTicks packedTicks, it.unimi.dsi.fastutil.shorts.ShortList[] postProcessingSections, boolean lightCorrect, List<SerializableChunkData.SectionData> sectionData, List<CompoundTag> entities, List<CompoundTag> blockEntities, CompoundTag structureData) Deprecated.Neo: use constructor with additional data insteadSerializableChunkData(Registry<Biome> biomeRegistry, ChunkPos chunkPos, int minSectionY, long lastUpdateTime, long inhabitedTime, ChunkStatus chunkStatus, BlendingData.Packed blendingData, BelowZeroRetrogen belowZeroRetrogen, UpgradeData upgradeData, long[] carvingMask, Map<Heightmap.Types, long[]> heightmaps, ChunkAccess.PackedTicks packedTicks, it.unimi.dsi.fastutil.shorts.ShortList[] postProcessingSections, boolean lightCorrect, List<SerializableChunkData.SectionData> sectionData, List<CompoundTag> entities, List<CompoundTag> blockEntities, CompoundTag structureData, CompoundTag attachmentData, ListTag auxLightData) Creates an instance of aSerializableChunkDatarecord class. -
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>> pRegistry) static com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource> SurfaceRules.ConditionSource.bootstrap(Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource>> pRegistry) static com.mojang.serialization.MapCodec<? extends SurfaceRules.RuleSource> SurfaceRules.RuleSource.bootstrap(Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.RuleSource>> pRegistry) voidNoiseBasedChunkGenerator.buildSurface(ChunkAccess pChunk, WorldGenerationContext pContext, RandomState pRandom, StructureManager pStructureManager, BiomeManager pBiomeManager, Registry<Biome> pBiomes, Blender pBlender) voidSurfaceSystem.buildSurface(RandomState pRandomState, BiomeManager pBiomeManager, Registry<Biome> pBiomes, boolean pUseLegacyRandomSource, WorldGenerationContext pContext, ChunkAccess pChunk, NoiseChunk pNoiseChunk, SurfaceRules.RuleSource pRuleSource) private static com.mojang.serialization.MapCodec<? extends DensityFunction> DensityFunctions.register(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> pRegistry, String pName, KeyDispatchDataCodec<? extends DensityFunction> pCodec) (package private) static <A> com.mojang.serialization.MapCodec<? extends A> SurfaceRules.register(Registry<com.mojang.serialization.MapCodec<? extends A>> pRegistry, String pName, KeyDispatchDataCodec<? extends A> pCodec) private static PrimaryLevelData.SpecialWorldPropertyWorldDimensions.specialWorldProperty(Registry<LevelStem> pStemRegistry) 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 pSystem, RandomState pRandomState, ChunkAccess pChunk, NoiseChunk pNoiseChunk, Function<BlockPos, Holder<Biome>> pBiomeGetter, Registry<Biome> pBiomeRegistry, WorldGenerationContext pContext) 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 pRandomState, int pMaxDepth, boolean pUseExpansionHack, ChunkGenerator pChunkGenerator, StructureTemplateManager pStructureTemplateManager, LevelHeightAccessor pLevel, RandomSource pRandom, Registry<StructureTemplatePool> pPools, PoolElementStructurePiece pStartPiece, List<PoolElementStructurePiece> pPieces, VoxelShape pFree, PoolAliasLookup pAliasLookup, LiquidSettings pLiquidSettings) Constructors in net.minecraft.world.level.levelgen.structure.pools with parameters of type RegistryModifierConstructorDescription(package private)Placer(Registry<StructureTemplatePool> pPools, int pMaxDepth, ChunkGenerator pChunkGenerator, StructureTemplateManager pStructureTemplateManager, List<? super PoolElementStructurePiece> pPieces, RandomSource pRandom) -
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>> pRegistry) -
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> pRegistry) -
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<?> pLevelData, WorldDataConfiguration pDataConfiguration, Registry<LevelStem> pLevelStemRegistry, HolderLookup.Provider pRegistries) -
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, 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, 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, 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) Method parameters in net.neoforged.neoforge.client with type arguments of type RegistryModifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions> ClientCommandSourceStack.suggestRegistryElements(ResourceKey<? extends Registry<?>> registry, SharedSuggestionProvider.ElementSuggestionType suggestionType, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, com.mojang.brigadier.context.CommandContext<?> context) -
Uses of Registry in net.neoforged.neoforge.client.internal
Method parameters in net.neoforged.neoforge.client.internal with type arguments of type RegistryModifier and TypeMethodDescription<T> HolderLookup.RegistryLookup<T> NeoForgeClientProxy.resolveLookup(ResourceKey<? extends Registry<T>> key) -
Uses of Registry in net.neoforged.neoforge.client.pipeline
Fields in net.neoforged.neoforge.client.pipeline with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<PipelineModifier>> PipelineModifier.MODIFIERS_KEY -
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) static <T> @Nullable HolderLookup.RegistryLookup<T> CommonHooks.resolveLookup(ResourceKey<? extends Registry<T>> key) Attempts to resolve aHolderLookup.RegistryLookupusing the current global state. -
Uses of Registry in net.neoforged.neoforge.common.conditions
Fields in net.neoforged.neoforge.common.conditions with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>, HolderLookup.RegistryLookup<?>> ConditionContext.pendingTagsMethod parameters in net.neoforged.neoforge.common.conditions with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <TRegistry>
IConditionNeoForgeConditions.registered(ResourceKey<? extends Registry<TRegistry>> registryType, ResourceLocation registryName) static <TRegistry>
IConditionNeoForgeConditions.tagEmpty(ResourceKey<? extends Registry<TRegistry>> tagType, ResourceLocation tagName) -
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.internal
Method parameters in net.neoforged.neoforge.internal with type arguments of type RegistryModifier and TypeMethodDescription<T> HolderLookup.RegistryLookup<T> NeoForgeProxy.resolveLookup(ResourceKey<? extends Registry<T>> key) -
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.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<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<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) IRegistryExtension.self()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) private <R> voidDataMapLoader.resolve(Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> value, boolean required, Consumer<Holder<R>> consumer) 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.DeferredRegister.createDataComponents(ResourceKey<Registry<DataComponentType<?>>> registryKey, String modid) Factory for a specialized DeferredRegister forDataComponentTypes.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.<T> voidDataPackRegistryEvent.NewRegistry.dataPackRegistry(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, Consumer<RegistryBuilder<T>> consumer) Registers the registry key as a datapack registry with aRegistryBuilderconfigurator, 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<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 RegistryModifierConstructorDescriptionprotectedDataComponents(ResourceKey<Registry<DataComponentType<?>>> registryKey, String namespace) protectedDeferredRegister(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 TypeMethodDescription<T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> AndHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> AnyHolderSet.Type.makeCodec(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) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> NotHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> OrHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> AndHolderSet.Type.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> AnyHolderSet.Type.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> HolderSetType.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> NotHolderSet.Type.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> OrHolderSet.Type.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) -
Uses of Registry in net.neoforged.neoforge.server
Methods in net.neoforged.neoforge.server with parameters of type RegistryModifier and TypeMethodDescriptionprivate static <T> voidServerLifecycleHooks.ensureProperSync(boolean modified, Holder.Reference<T> holder, Registry<T> registry) -
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)