Uses of Interface
net.minecraft.core.Registry
Package
Description
-
Uses of Registry in net.minecraft.advancements.critereon
Modifier and TypeMethodDescriptionstatic <T> TagPredicate<T>
TagPredicate.fromJson
(com.google.gson.JsonElement p_270982_, ResourceKey<? extends Registry<T>> p_270978_) -
Uses of Registry in net.minecraft.client.gui.screens
-
Uses of Registry in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionWorldCreationContext.datapackDimensions
The field for thedatapackDimensions
record component.Modifier and TypeMethodDescriptionWorldCreationContext.datapackDimensions()
Returns the value of thedatapackDimensions
record component.Modifier and TypeMethodDescriptionprivate static Optional<List<WorldCreationUiState.WorldTypeEntry>>
WorldCreationUiState.getNonEmptyList
(Registry<WorldPreset> p_268296_, TagKey<WorldPreset> p_268097_) ModifierConstructorDescriptionprivate
OptimizeWorldScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_251295_, com.mojang.datafixers.DataFixer p_250489_, LevelStorageSource.LevelStorageAccess p_248781_, LevelSettings p_251180_, boolean p_250358_, Registry<LevelStem> p_248690_) WorldCreationContext
(WorldOptions options, Registry<LevelStem> datapackDimensions, WorldDimensions selectedDimensions, LayeredRegistryAccess<RegistryLayer> worldgenRegistries, ReloadableServerResources dataPackResources, WorldDataConfiguration dataConfiguration) Creates an instance of aWorldCreationContext
record class. -
Uses of Registry in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ClientSuggestionProvider.suggestRegistryElements
(ResourceKey<? extends Registry<?>> p_212429_, SharedSuggestionProvider.ElementSuggestionType p_212430_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212431_, com.mojang.brigadier.context.CommandContext<?> p_212432_) private <T> void
ClientPacketListener.updateTagsForRegistry
(ResourceKey<? extends Registry<? extends T>> p_205561_, TagNetworkSerialization.NetworkPayload p_205562_) -
Uses of Registry in net.minecraft.commands
Modifier and TypeMethodDescriptiondefault void
SharedSuggestionProvider.suggestRegistryElements
(Registry<?> p_212336_, SharedSuggestionProvider.ElementSuggestionType p_212337_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212338_) Modifier and TypeMethodDescription<T> HolderLookup<T>
CommandBuildContext.holderLookup
(ResourceKey<? extends Registry<T>> p_227134_) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
CommandSourceStack.suggestRegistryElements
(ResourceKey<? extends Registry<?>> p_212330_, SharedSuggestionProvider.ElementSuggestionType p_212331_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212332_, com.mojang.brigadier.context.CommandContext<?> p_212333_) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
SharedSuggestionProvider.suggestRegistryElements
(ResourceKey<? extends Registry<?>> p_212339_, SharedSuggestionProvider.ElementSuggestionType p_212340_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212341_, com.mojang.brigadier.context.CommandContext<?> p_212342_) -
Uses of Registry in net.minecraft.commands.arguments
Modifier 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
Modifier and TypeMethodDescriptionprivate static <T> Registry<T>
ResourceKeyArgument.getRegistry
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212379_, ResourceKey<? extends Registry<T>> p_212380_) Modifier and TypeMethodDescription<E> Optional<ResourceOrTagArgument.Result<E>>
ResourceOrTagArgument.ResourceResult.cast
(ResourceKey<? extends Registry<E>> p_250007_) <E> Optional<ResourceOrTagArgument.Result<E>>
ResourceOrTagArgument.Result.cast
(ResourceKey<? extends Registry<E>> p_249572_) <E> Optional<ResourceOrTagArgument.Result<E>>
ResourceOrTagArgument.TagResult.cast
(ResourceKey<? extends Registry<E>> p_250945_) ResourceOrTagKeyArgument.ResourceResult.cast
(ResourceKey<? extends Registry<E>> p_251369_) ResourceOrTagKeyArgument.Result.cast
(ResourceKey<? extends Registry<E>> p_251612_) ResourceOrTagKeyArgument.TagResult.cast
(ResourceKey<? extends Registry<E>> p_251833_) private static <T> Registry<T>
ResourceKeyArgument.getRegistry
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212379_, ResourceKey<? extends Registry<T>> p_212380_) private static <T> ResourceKey<T>
ResourceKeyArgument.getRegistryKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212374_, String p_212375_, ResourceKey<Registry<T>> p_212376_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_212377_) static <T> Holder.Reference<T>
ResourceArgument.getResource
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_251788_, String p_251996_, ResourceKey<Registry<T>> p_250077_) static <T> ResourceOrTagArgument.Result<T>
ResourceOrTagArgument.getResourceOrTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_249001_, String p_251520_, ResourceKey<Registry<T>> p_250370_) static <T> ResourceOrTagKeyArgument.Result<T>
ResourceOrTagKeyArgument.getResourceOrTagKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_252162_, String p_248628_, ResourceKey<Registry<T>> p_249008_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_251387_) static <T> ResourceKeyArgument<T>
ResourceKeyArgument.key
(ResourceKey<? extends Registry<T>> p_212387_) private static <T> Holder.Reference<T>
ResourceKeyArgument.resolveKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_248662_, String p_252172_, ResourceKey<Registry<T>> p_249701_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_249790_) static <T> ResourceArgument<T>
ResourceArgument.resource
(CommandBuildContext p_249973_, ResourceKey<? extends Registry<T>> p_251405_) static <T> ResourceOrTagArgument<T>
ResourceOrTagArgument.resourceOrTag
(CommandBuildContext p_251101_, ResourceKey<? extends Registry<T>> p_248888_) static <T> ResourceOrTagKeyArgument<T>
ResourceOrTagKeyArgument.resourceOrTagKey
(ResourceKey<? extends Registry<T>> p_249175_) ModifierConstructorDescriptionResourceArgument
(CommandBuildContext p_248597_, ResourceKey<? extends Registry<T>> p_251778_) ResourceKeyArgument
(ResourceKey<? extends Registry<T>> p_212367_) ResourceOrTagArgument
(CommandBuildContext p_249382_, ResourceKey<? extends Registry<T>> p_251209_) ResourceOrTagKeyArgument
(ResourceKey<? extends Registry<T>> p_248579_) (package private)
Template
(ResourceKey<? extends Registry<T>> p_250598_) (package private)
Template
(ResourceKey<? extends Registry<T>> p_233296_) (package private)
Template
(ResourceKey<? extends Registry<T>> p_250107_) (package private)
Template
(ResourceKey<? extends Registry<T>> p_251992_) -
Uses of Registry in net.minecraft.commands.synchronization
Modifier and TypeMethodDescriptionstatic ArgumentTypeInfo<?,
?> ArgumentTypeInfos.bootstrap
(Registry<ArgumentTypeInfo<?, ?>> p_235385_) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends ArgumentTypeInfo.Template<A>>
ArgumentTypeInfo<A,T> ArgumentTypeInfos.register
(Registry<ArgumentTypeInfo<?, ?>> p_235387_, String p_235388_, Class<? extends A> p_235389_, ArgumentTypeInfo<A, T> p_235390_) -
Uses of Registry in net.minecraft.core
Modifier and TypeInterfaceDescriptioninterface
interface
Modifier and TypeFieldDescriptionRegistryAccess.RegistryEntry.value
The field for thevalue
record component.Modifier and TypeFieldDescription(package private) final ResourceKey<? extends Registry<T>>
MappedRegistry.key
private final ResourceKey<? extends Registry<T>>
RegistryAccess.RegistryEntry.key
The field for thekey
record component.private final ResourceKey<? extends Registry<? extends T>>
RegistrySetBuilder.RegistryContents.key
The field for thekey
record component.private final ResourceKey<? extends Registry<T>>
RegistrySetBuilder.RegistryStub.key
The field for thekey
record component.private final ResourceKey<? extends Registry<E>>
RegistrySynchronization.NetworkedRegistryData.key
The field for thekey
record component.private static final Map<ResourceKey<? extends Registry<?>>,
RegistrySynchronization.NetworkedRegistryData<?>> RegistrySynchronization.NETWORKABLE_REGISTRIES
private final Map<? extends ResourceKey<? extends Registry<?>>,
? extends Registry<?>> RegistryAccess.ImmutableRegistryAccess.registries
private final Map<? extends ResourceKey<? extends Registry<?>>,
? extends Registry<?>> RegistryAccess.ImmutableRegistryAccess.registries
Modifier and TypeMethodDescriptionprivate static <K extends ResourceKey<? extends Registry<?>>,
V extends Registry<?>>
com.mojang.serialization.Codec<RegistryAccess>RegistrySynchronization.captureMap
(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_249934_) private static <K extends ResourceKey<? extends Registry<?>>,
V extends Registry<?>>
com.mojang.serialization.Codec<RegistryAccess>RegistrySynchronization.captureMap
(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_249934_) private static <T,
R extends Registry<? extends T>>
RegistryAccess.RegistryEntry<T>RegistryAccess.RegistryEntry.fromMapEntry
(Map.Entry<? extends ResourceKey<? extends Registry<?>>, R> p_206242_) Modifier and TypeMethodDescriptionMappedRegistry.freeze()
Registry.freeze()
default <E> Registry<E>
RegistryAccess.registryOrThrow
(ResourceKey<? extends Registry<? extends E>> p_175516_) RegistryAccess.RegistryEntry.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptionprivate static Map<ResourceKey<? extends Registry<?>>,
Registry<?>> LayeredRegistryAccess.collectRegistries
(Stream<? extends RegistryAccess> p_248595_) private static Map<ResourceKey<? extends Registry<?>>,
Registry<?>> LayeredRegistryAccess.collectRegistries
(Stream<? extends RegistryAccess> p_248595_) static <E> com.mojang.serialization.Codec<Registry<E>>
RegistryCodecs.fullCodec
(ResourceKey<? extends Registry<E>> p_248884_, com.mojang.serialization.Lifecycle p_251810_, com.mojang.serialization.Codec<E> p_250169_) List<? extends ResourceKey<? extends Registry<?>>>
RegistrySetBuilder.getEntryKeys()
ResourceKey<? extends Registry<? extends T>>
HolderLookup.RegistryLookup.Delegate.key()
ResourceKey<? extends Registry<? extends T>>
HolderLookup.RegistryLookup.key()
ResourceKey<? extends Registry<T>>
MappedRegistry.key()
ResourceKey<? extends Registry<T>>
Registry.key()
ResourceKey<? extends Registry<T>>
RegistryAccess.RegistryEntry.key()
Returns the value of thekey
record component.ResourceKey<? extends Registry<? extends T>>
RegistrySetBuilder.RegistryContents.key()
Returns the value of thekey
record component.ResourceKey<? extends Registry<T>>
RegistrySetBuilder.RegistryStub.key()
Returns the value of thekey
record component.ResourceKey<? extends Registry<E>>
RegistrySynchronization.NetworkedRegistryData.key()
Returns the value of thekey
record component.static <T> com.mojang.serialization.Codec<Registry<T>>
RegistryCodecs.networkCodec
(ResourceKey<? extends Registry<T>> p_206292_, com.mojang.serialization.Lifecycle p_206293_, com.mojang.serialization.Codec<T> p_206294_) RegistryAccess.ImmutableRegistryAccess.registry
(ResourceKey<? extends Registry<? extends E>> p_206229_) RegistryAccess.registry
(ResourceKey<? extends Registry<? extends E>> p_123085_) Modifier and TypeMethodDescriptionstatic RegistryAccess.Frozen
RegistryAccess.fromRegistryOfRegistries
(Registry<? extends Registry<?>> p_206166_) private static <T> RegistryAccess.RegistryEntry<T>
RegistryAccess.RegistryEntry.fromUntyped
(ResourceKey<? extends Registry<?>> p_206244_, Registry<?> p_206245_) static <T> T
static <V,
T extends V>
TRegistry.register
(Registry<V> p_194580_, ResourceKey<V> p_194581_, T p_194582_) static <V,
T extends V>
TRegistry.register
(Registry<V> p_122966_, ResourceLocation p_122967_, T p_122968_) static <T> Holder.Reference<T>
Registry.registerForHolder
(Registry<T> p_263347_, ResourceKey<T> p_263355_, T p_263428_) static <T> Holder.Reference<T>
Registry.registerForHolder
(Registry<T> p_263351_, ResourceLocation p_263363_, T p_263423_) static <V,
T extends V>
TRegistry.registerMapping
(Registry<V> p_122957_, int p_122958_, String p_122959_, T p_122960_) Modifier and TypeMethodDescriptionRegistrySetBuilder.add
(ResourceKey<? extends Registry<T>> p_256446_, com.mojang.serialization.Lifecycle p_256394_, RegistrySetBuilder.RegistryBootstrap<T> p_256638_) RegistrySetBuilder.add
(ResourceKey<? extends Registry<T>> p_256261_, RegistrySetBuilder.RegistryBootstrap<T> p_256010_) RegistrySetBuilder.BuildState.create
(RegistryAccess p_255995_, Stream<ResourceKey<? extends Registry<?>>> p_256495_) private static <T,
R extends Registry<? extends T>>
RegistryAccess.RegistryEntry<T>RegistryAccess.RegistryEntry.fromMapEntry
(Map.Entry<? extends ResourceKey<? extends Registry<?>>, R> p_206242_) static RegistryAccess.Frozen
RegistryAccess.fromRegistryOfRegistries
(Registry<? extends Registry<?>> p_206166_) private static <T> RegistryAccess.RegistryEntry<T>
RegistryAccess.RegistryEntry.fromUntyped
(ResourceKey<? extends Registry<?>> p_206244_, Registry<?> p_206245_) static <E> com.mojang.serialization.Codec<Registry<E>>
RegistryCodecs.fullCodec
(ResourceKey<? extends Registry<E>> p_248884_, com.mojang.serialization.Lifecycle p_251810_, com.mojang.serialization.Codec<E> p_250169_) private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>
RegistrySynchronization.getNetworkCodec
(ResourceKey<? extends Registry<E>> p_252190_) static <E> com.mojang.serialization.Codec<HolderSet<E>>
RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206278_) static <E> com.mojang.serialization.Codec<HolderSet<E>>
RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206311_, boolean p_206312_) static <E> com.mojang.serialization.Codec<HolderSet<E>>
RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206280_, com.mojang.serialization.Codec<E> p_206281_) static <E> com.mojang.serialization.Codec<HolderSet<E>>
RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206288_, com.mojang.serialization.Codec<E> p_206289_, boolean p_206290_) <T> Optional<HolderGetter<T>>
HolderGetter.Provider.lookup
(ResourceKey<? extends Registry<? extends T>> p_256648_) <T> Optional<HolderLookup.RegistryLookup<T>>
HolderLookup.Provider.lookup
(ResourceKey<? extends Registry<? extends T>> p_256285_) default <T> Optional<HolderLookup.RegistryLookup<T>>
RegistryAccess.lookup
(ResourceKey<? extends Registry<? extends T>> p_256275_) default <T> HolderGetter<T>
HolderGetter.Provider.lookupOrThrow
(ResourceKey<? extends Registry<? extends T>> p_255881_) default <T> HolderLookup.RegistryLookup<T>
HolderLookup.Provider.lookupOrThrow
(ResourceKey<? extends Registry<? extends T>> p_255957_) static <T> com.mojang.serialization.Codec<Registry<T>>
RegistryCodecs.networkCodec
(ResourceKey<? extends Registry<T>> p_206292_, com.mojang.serialization.Lifecycle p_206293_, com.mojang.serialization.Codec<T> p_206294_) private static <E> void
RegistrySynchronization.put
(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistrySynchronization.NetworkedRegistryData<?>> p_251643_, ResourceKey<? extends Registry<E>> p_249195_, com.mojang.serialization.Codec<E> p_249212_) private static <E> void
RegistrySynchronization.put
(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistrySynchronization.NetworkedRegistryData<?>> p_251643_, ResourceKey<? extends Registry<E>> p_249195_, com.mojang.serialization.Codec<E> p_249212_) RegistryAccess.ImmutableRegistryAccess.registry
(ResourceKey<? extends Registry<? extends E>> p_206229_) RegistryAccess.registry
(ResourceKey<? extends Registry<? extends E>> p_123085_) default <E> Registry<E>
RegistryAccess.registryOrThrow
(ResourceKey<? extends Registry<? extends E>> p_175516_) private static <T> com.mojang.serialization.MapCodec<RegistryCodecs.RegistryEntry<T>>
RegistryCodecs.withNameAndId
(ResourceKey<? extends Registry<T>> p_206304_, com.mojang.serialization.MapCodec<T> p_206305_) ModifierConstructorDescriptionRegistryEntry
(ResourceKey<? extends Registry<T>> key, Registry<T> value) Creates an instance of aRegistryEntry
record class.ModifierConstructorDescriptionDefaultedMappedRegistry
(String p_260196_, ResourceKey<? extends Registry<T>> p_259440_, com.mojang.serialization.Lifecycle p_260260_, boolean p_259808_) ImmutableRegistryAccess
(List<? extends Registry<?>> p_248540_) ImmutableRegistryAccess
(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> p_206225_) ImmutableRegistryAccess
(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> p_206225_) MappedRegistry
(ResourceKey<? extends Registry<T>> p_249899_, com.mojang.serialization.Lifecycle p_252249_) MappedRegistry
(ResourceKey<? extends Registry<T>> p_252132_, com.mojang.serialization.Lifecycle p_249215_, boolean p_251014_) NetworkedRegistryData
(ResourceKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> networkCodec) Creates an instance of aNetworkedRegistryData
record class.(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 aRegistryContents
record class.RegistryEntry
(ResourceKey<? extends Registry<T>> key, Registry<T> value) Creates an instance of aRegistryEntry
record class.(package private)
RegistryStub
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, RegistrySetBuilder.RegistryBootstrap<T> bootstrap) Creates an instance of aRegistryStub
record class. -
Uses of Registry in net.minecraft.core.registries
Modifier and TypeFieldDescriptionBuiltInRegistries.ACTIVITY
Deprecated.BuiltInRegistries.ATTRIBUTE
Deprecated.Forge: UseForgeRegistries.ATTRIBUTES
instead.static final Registry<BannerPattern>
BuiltInRegistries.BANNER_PATTERN
static final Registry<com.mojang.serialization.Codec<? extends BiomeSource>>
BuiltInRegistries.BIOME_SOURCE
static final Registry<BlockEntityType<?>>
BuiltInRegistries.BLOCK_ENTITY_TYPE
Deprecated.Forge: UseForgeRegistries.BLOCK_ENTITY_TYPES
instead.static final Registry<BlockPredicateType<?>>
BuiltInRegistries.BLOCK_PREDICATE_TYPE
static final Registry<BlockStateProviderType<?>>
BuiltInRegistries.BLOCKSTATE_PROVIDER_TYPE
Deprecated.Forge: UseForgeRegistries.BLOCK_STATE_PROVIDER_TYPES
instead.static final Registry<WorldCarver<?>>
BuiltInRegistries.CARVER
Deprecated.Forge: UseForgeRegistries.WORLD_CARVERS
instead.static final Registry<CatVariant>
BuiltInRegistries.CAT_VARIANT
static final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>
BuiltInRegistries.CHUNK_GENERATOR
static final Registry<ArgumentTypeInfo<?,
?>> BuiltInRegistries.COMMAND_ARGUMENT_TYPE
Deprecated.Forge: UseForgeRegistries.COMMAND_ARGUMENT_TYPES
instead.static final Registry<CreativeModeTab>
BuiltInRegistries.CREATIVE_MODE_TAB
static final Registry<ResourceLocation>
BuiltInRegistries.CUSTOM_STAT
BuiltInRegistries.DECORATED_POT_PATTERNS
static final Registry<com.mojang.serialization.Codec<? extends DensityFunction>>
BuiltInRegistries.DENSITY_FUNCTION_TYPE
static final Registry<Enchantment>
BuiltInRegistries.ENCHANTMENT
Deprecated.Forge: UseForgeRegistries.ENCHANTMENTS
instead.BuiltInRegistries.FEATURE
Deprecated.Forge: UseForgeRegistries.FEATURES
instead.static final Registry<FeatureSizeType<?>>
BuiltInRegistries.FEATURE_SIZE_TYPE
static final Registry<FloatProviderType<?>>
BuiltInRegistries.FLOAT_PROVIDER_TYPE
static final Registry<FoliagePlacerType<?>>
BuiltInRegistries.FOLIAGE_PLACER_TYPE
Deprecated.Forge: UseForgeRegistries.FOLIAGE_PLACER_TYPES
instead.static final Registry<FrogVariant>
BuiltInRegistries.FROG_VARIANT
static final Registry<HeightProviderType<?>>
BuiltInRegistries.HEIGHT_PROVIDER_TYPE
static final Registry<Instrument>
BuiltInRegistries.INSTRUMENT
static final Registry<IntProviderType<?>>
BuiltInRegistries.INT_PROVIDER_TYPE
static final Registry<LootItemConditionType>
BuiltInRegistries.LOOT_CONDITION_TYPE
static final Registry<LootItemFunctionType>
BuiltInRegistries.LOOT_FUNCTION_TYPE
static final Registry<LootNbtProviderType>
BuiltInRegistries.LOOT_NBT_PROVIDER_TYPE
static final Registry<LootNumberProviderType>
BuiltInRegistries.LOOT_NUMBER_PROVIDER_TYPE
static final Registry<LootPoolEntryType>
BuiltInRegistries.LOOT_POOL_ENTRY_TYPE
static final Registry<LootScoreProviderType>
BuiltInRegistries.LOOT_SCORE_PROVIDER_TYPE
static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>>
BuiltInRegistries.MATERIAL_CONDITION
static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>>
BuiltInRegistries.MATERIAL_RULE
BuiltInRegistries.MENU
Deprecated.Forge: UseForgeRegistries.MENU_TYPES
instead.BuiltInRegistries.MOB_EFFECT
Deprecated.Forge: UseForgeRegistries.MOB_EFFECTS
instead.static final Registry<ParticleType<?>>
BuiltInRegistries.PARTICLE_TYPE
Deprecated.Forge: UseForgeRegistries.PARTICLE_TYPES
instead.static final Registry<PlacementModifierType<?>>
BuiltInRegistries.PLACEMENT_MODIFIER_TYPE
BuiltInRegistries.POINT_OF_INTEREST_TYPE
Deprecated.Forge: UseForgeRegistries.POI_TYPES
instead.static final Registry<PosRuleTestType<?>>
BuiltInRegistries.POS_RULE_TEST
static final Registry<PositionSourceType<?>>
BuiltInRegistries.POSITION_SOURCE_TYPE
static final Registry<RecipeSerializer<?>>
BuiltInRegistries.RECIPE_SERIALIZER
Deprecated.Forge: UseForgeRegistries.RECIPE_SERIALIZERS
instead.static final Registry<RecipeType<?>>
BuiltInRegistries.RECIPE_TYPE
Deprecated.Forge: UseForgeRegistries.RECIPE_TYPES
instead.BuiltInRegistries.REGISTRY
static final Registry<RootPlacerType<?>>
BuiltInRegistries.ROOT_PLACER_TYPE
static final Registry<RuleBlockEntityModifierType<?>>
BuiltInRegistries.RULE_BLOCK_ENTITY_MODIFIER
static final Registry<RuleTestType<?>>
BuiltInRegistries.RULE_TEST
BuiltInRegistries.SCHEDULE
Deprecated.Forge: UseForgeRegistries.SCHEDULES
instead.static final Registry<SoundEvent>
BuiltInRegistries.SOUND_EVENT
Deprecated.Forge: UseForgeRegistries.SOUND_EVENTS
instead.BuiltInRegistries.STAT_TYPE
Deprecated.Forge: UseForgeRegistries.STAT_TYPES
instead.static final Registry<StructurePieceType>
BuiltInRegistries.STRUCTURE_PIECE
static final Registry<StructurePlacementType<?>>
BuiltInRegistries.STRUCTURE_PLACEMENT
static final Registry<StructurePoolElementType<?>>
BuiltInRegistries.STRUCTURE_POOL_ELEMENT
static final Registry<StructureProcessorType<?>>
BuiltInRegistries.STRUCTURE_PROCESSOR
static final Registry<StructureType<?>>
BuiltInRegistries.STRUCTURE_TYPE
static final Registry<TreeDecoratorType<?>>
BuiltInRegistries.TREE_DECORATOR_TYPE
Deprecated.Forge: UseForgeRegistries.TREE_DECORATOR_TYPES
instead.static final Registry<TrunkPlacerType<?>>
BuiltInRegistries.TRUNK_PLACER_TYPE
Modifier and TypeFieldDescriptionstatic final ResourceKey<Registry<Activity>>
Registries.ACTIVITY
static final ResourceKey<Registry<Attribute>>
Registries.ATTRIBUTE
static final ResourceKey<Registry<BannerPattern>>
Registries.BANNER_PATTERN
static final ResourceKey<Registry<Biome>>
Registries.BIOME
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>
Registries.BIOME_SOURCE
static final ResourceKey<Registry<Block>>
Registries.BLOCK
static final ResourceKey<Registry<BlockEntityType<?>>>
Registries.BLOCK_ENTITY_TYPE
static final ResourceKey<Registry<BlockPredicateType<?>>>
Registries.BLOCK_PREDICATE_TYPE
static final ResourceKey<Registry<BlockStateProviderType<?>>>
Registries.BLOCK_STATE_PROVIDER_TYPE
static final ResourceKey<Registry<WorldCarver<?>>>
Registries.CARVER
static final ResourceKey<Registry<CatVariant>>
Registries.CAT_VARIANT
static final ResourceKey<Registry<ChatType>>
Registries.CHAT_TYPE
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
Registries.CHUNK_GENERATOR
static final ResourceKey<Registry<ChunkStatus>>
Registries.CHUNK_STATUS
static final ResourceKey<Registry<ArgumentTypeInfo<?,
?>>> Registries.COMMAND_ARGUMENT_TYPE
static final ResourceKey<Registry<ConfiguredWorldCarver<?>>>
Registries.CONFIGURED_CARVER
static final ResourceKey<Registry<ConfiguredFeature<?,
?>>> Registries.CONFIGURED_FEATURE
static final ResourceKey<Registry<CreativeModeTab>>
Registries.CREATIVE_MODE_TAB
static final ResourceKey<Registry<ResourceLocation>>
Registries.CUSTOM_STAT
static final ResourceKey<Registry<DamageType>>
Registries.DAMAGE_TYPE
static final ResourceKey<Registry<String>>
Registries.DECORATED_POT_PATTERNS
static final ResourceKey<Registry<DensityFunction>>
Registries.DENSITY_FUNCTION
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>>
Registries.DENSITY_FUNCTION_TYPE
static final ResourceKey<Registry<Level>>
Registries.DIMENSION
static final ResourceKey<Registry<DimensionType>>
Registries.DIMENSION_TYPE
static final ResourceKey<Registry<Enchantment>>
Registries.ENCHANTMENT
static final ResourceKey<Registry<EntityType<?>>>
Registries.ENTITY_TYPE
static final ResourceKey<Registry<Feature<?>>>
Registries.FEATURE
static final ResourceKey<Registry<FeatureSizeType<?>>>
Registries.FEATURE_SIZE_TYPE
static final ResourceKey<Registry<FlatLevelGeneratorPreset>>
Registries.FLAT_LEVEL_GENERATOR_PRESET
static final ResourceKey<Registry<FloatProviderType<?>>>
Registries.FLOAT_PROVIDER_TYPE
static final ResourceKey<Registry<Fluid>>
Registries.FLUID
static final ResourceKey<Registry<FoliagePlacerType<?>>>
Registries.FOLIAGE_PLACER_TYPE
static final ResourceKey<Registry<FrogVariant>>
Registries.FROG_VARIANT
static final ResourceKey<Registry<GameEvent>>
Registries.GAME_EVENT
static final ResourceKey<Registry<HeightProviderType<?>>>
Registries.HEIGHT_PROVIDER_TYPE
static final ResourceKey<Registry<Instrument>>
Registries.INSTRUMENT
static final ResourceKey<Registry<IntProviderType<?>>>
Registries.INT_PROVIDER_TYPE
static final ResourceKey<Registry<Item>>
Registries.ITEM
static final ResourceKey<Registry<LevelStem>>
Registries.LEVEL_STEM
static final ResourceKey<Registry<LootItemConditionType>>
Registries.LOOT_CONDITION_TYPE
static final ResourceKey<Registry<LootItemFunctionType>>
Registries.LOOT_FUNCTION_TYPE
static final ResourceKey<Registry<LootNbtProviderType>>
Registries.LOOT_NBT_PROVIDER_TYPE
static final ResourceKey<Registry<LootNumberProviderType>>
Registries.LOOT_NUMBER_PROVIDER_TYPE
static final ResourceKey<Registry<LootPoolEntryType>>
Registries.LOOT_POOL_ENTRY_TYPE
static final ResourceKey<Registry<LootScoreProviderType>>
Registries.LOOT_SCORE_PROVIDER_TYPE
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>>>
Registries.MATERIAL_CONDITION
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>>>
Registries.MATERIAL_RULE
static final ResourceKey<Registry<MemoryModuleType<?>>>
Registries.MEMORY_MODULE_TYPE
static final ResourceKey<Registry<MenuType<?>>>
Registries.MENU
static final ResourceKey<Registry<MobEffect>>
Registries.MOB_EFFECT
static final ResourceKey<Registry<MultiNoiseBiomeSourceParameterList>>
Registries.MULTI_NOISE_BIOME_SOURCE_PARAMETER_LIST
static final ResourceKey<Registry<NormalNoise.NoiseParameters>>
Registries.NOISE
static final ResourceKey<Registry<NoiseGeneratorSettings>>
Registries.NOISE_SETTINGS
static final ResourceKey<Registry<PaintingVariant>>
Registries.PAINTING_VARIANT
static final ResourceKey<Registry<ParticleType<?>>>
Registries.PARTICLE_TYPE
static final ResourceKey<Registry<PlacedFeature>>
Registries.PLACED_FEATURE
static final ResourceKey<Registry<PlacementModifierType<?>>>
Registries.PLACEMENT_MODIFIER_TYPE
static final ResourceKey<Registry<PoiType>>
Registries.POINT_OF_INTEREST_TYPE
static final ResourceKey<Registry<PosRuleTestType<?>>>
Registries.POS_RULE_TEST
static final ResourceKey<Registry<PositionSourceType<?>>>
Registries.POSITION_SOURCE_TYPE
static final ResourceKey<Registry<Potion>>
Registries.POTION
static final ResourceKey<Registry<StructureProcessorList>>
Registries.PROCESSOR_LIST
static final ResourceKey<Registry<RecipeSerializer<?>>>
Registries.RECIPE_SERIALIZER
static final ResourceKey<Registry<RecipeType<?>>>
Registries.RECIPE_TYPE
BuiltInRegistries.REGISTRY
static final ResourceKey<Registry<RootPlacerType<?>>>
Registries.ROOT_PLACER_TYPE
static final ResourceKey<Registry<RuleBlockEntityModifierType<?>>>
Registries.RULE_BLOCK_ENTITY_MODIFIER
static final ResourceKey<Registry<RuleTestType<?>>>
Registries.RULE_TEST
static final ResourceKey<Registry<Schedule>>
Registries.SCHEDULE
static final ResourceKey<Registry<SensorType<?>>>
Registries.SENSOR_TYPE
static final ResourceKey<Registry<SoundEvent>>
Registries.SOUND_EVENT
static final ResourceKey<Registry<StatType<?>>>
Registries.STAT_TYPE
static final ResourceKey<Registry<Structure>>
Registries.STRUCTURE
static final ResourceKey<Registry<StructurePieceType>>
Registries.STRUCTURE_PIECE
static final ResourceKey<Registry<StructurePlacementType<?>>>
Registries.STRUCTURE_PLACEMENT
static final ResourceKey<Registry<StructurePoolElementType<?>>>
Registries.STRUCTURE_POOL_ELEMENT
static final ResourceKey<Registry<StructureProcessorType<?>>>
Registries.STRUCTURE_PROCESSOR
static final ResourceKey<Registry<StructureSet>>
Registries.STRUCTURE_SET
static final ResourceKey<Registry<StructureType<?>>>
Registries.STRUCTURE_TYPE
static final ResourceKey<Registry<StructureTemplatePool>>
Registries.TEMPLATE_POOL
static final ResourceKey<Registry<TreeDecoratorType<?>>>
Registries.TREE_DECORATOR_TYPE
static final ResourceKey<Registry<TrimMaterial>>
Registries.TRIM_MATERIAL
static final ResourceKey<Registry<TrimPattern>>
Registries.TRIM_PATTERN
static final ResourceKey<Registry<TrunkPlacerType<?>>>
Registries.TRUNK_PLACER_TYPE
static final ResourceKey<Registry<VillagerProfession>>
Registries.VILLAGER_PROFESSION
static final ResourceKey<Registry<VillagerType>>
Registries.VILLAGER_TYPE
static final ResourceKey<Registry<WorldPreset>>
Registries.WORLD_PRESET
Modifier and TypeMethodDescriptionprivate static <T> Registry<T>
BuiltInRegistries.forge
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, BuiltInRegistries.RegistryBootstrap<T> def) private static <T> Registry<T>
BuiltInRegistries.forge
(ResourceKey<? extends Registry<T>> key, BuiltInRegistries.RegistryBootstrap<T> def) private static <T> Registry<T>
BuiltInRegistries.registerSimple
(ResourceKey<? extends Registry<T>> p_259121_, com.mojang.serialization.Lifecycle p_259977_, BuiltInRegistries.RegistryBootstrap<T> p_259874_) private static <T> Registry<T>
BuiltInRegistries.registerSimple
(ResourceKey<? extends Registry<T>> p_260095_, BuiltInRegistries.RegistryBootstrap<T> p_259057_) Modifier and TypeMethodDescriptionprivate static <T> ResourceKey<Registry<T>>
Registries.createRegistryKey
(String p_259572_) Modifier and TypeMethodDescriptionprivate static <T> Registry<T>
BuiltInRegistries.forge
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, BuiltInRegistries.RegistryBootstrap<T> def) private static <T> DefaultedRegistry<T>
BuiltInRegistries.forge
(ResourceKey<? extends Registry<T>> key, String defKey, com.mojang.serialization.Lifecycle cycle, BuiltInRegistries.RegistryBootstrap<T> def) private static <T> DefaultedRegistry<T>
BuiltInRegistries.forge
(ResourceKey<? extends Registry<T>> key, String defKey, BuiltInRegistries.RegistryBootstrap<T> def) private static <T> Registry<T>
BuiltInRegistries.forge
(ResourceKey<? extends Registry<T>> key, BuiltInRegistries.RegistryBootstrap<T> def) private static <T,
R extends WritableRegistry<T>>
RBuiltInRegistries.internalRegister
(ResourceKey<? extends Registry<T>> p_259230_, R p_260327_, BuiltInRegistries.RegistryBootstrap<T> p_259210_, com.mojang.serialization.Lifecycle p_259258_) private static <T> DefaultedRegistry<T>
BuiltInRegistries.registerDefaulted
(ResourceKey<? extends Registry<T>> p_259400_, String p_259678_, com.mojang.serialization.Lifecycle p_259157_, BuiltInRegistries.RegistryBootstrap<T> p_259806_) private static <T> DefaultedRegistry<T>
BuiltInRegistries.registerDefaulted
(ResourceKey<? extends Registry<T>> p_259887_, String p_259325_, BuiltInRegistries.RegistryBootstrap<T> p_259759_) private static <T> DefaultedRegistry<T>
BuiltInRegistries.registerDefaultedWithIntrusiveHolders
(ResourceKey<? extends Registry<T>> p_260010_, String p_260220_, com.mojang.serialization.Lifecycle p_260139_, BuiltInRegistries.RegistryBootstrap<T> p_260185_) private static <T> DefaultedRegistry<T>
BuiltInRegistries.registerDefaultedWithIntrusiveHolders
(ResourceKey<? extends Registry<T>> p_259296_, String p_259101_, BuiltInRegistries.RegistryBootstrap<T> p_259485_) private static <T> Registry<T>
BuiltInRegistries.registerSimple
(ResourceKey<? extends Registry<T>> p_259121_, com.mojang.serialization.Lifecycle p_259977_, BuiltInRegistries.RegistryBootstrap<T> p_259874_) private static <T> Registry<T>
BuiltInRegistries.registerSimple
(ResourceKey<? extends Registry<T>> p_260095_, BuiltInRegistries.RegistryBootstrap<T> p_259057_) -
Uses of Registry in net.minecraft.data.info
Modifier and TypeMethodDescriptionprivate static <T> com.google.gson.JsonElement
RegistryDumpReport.dumpRegistry
(Registry<T> p_124059_) -
Uses of Registry in net.minecraft.data.registries
Modifier and TypeFieldDescriptionstatic final List<? extends ResourceKey<? extends Registry<?>>>
VanillaRegistries.DATAPACK_REGISTRY_KEYS
-
Uses of Registry in net.minecraft.data.tags
Modifier and TypeFieldDescriptionprotected final ResourceKey<? extends Registry<T>>
TagsProvider.registryKey
ModifierConstructorDescriptionIntrinsicHolderTagsProvider
(PackOutput p_275304_, ResourceKey<? extends Registry<T>> p_275709_, CompletableFuture<HolderLookup.Provider> p_275227_, CompletableFuture<TagsProvider.TagLookup<T>> p_275311_, Function<T, ResourceKey<T>> p_275566_) Deprecated.Forge: Use the mod id variantIntrinsicHolderTagsProvider
(PackOutput p_275304_, ResourceKey<? extends Registry<T>> p_275709_, CompletableFuture<HolderLookup.Provider> p_275227_, CompletableFuture<TagsProvider.TagLookup<T>> p_275311_, Function<T, ResourceKey<T>> p_275566_, String modId, ExistingFileHelper existingFileHelper) IntrinsicHolderTagsProvider
(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_) Deprecated.Forge: Use the mod id variantIntrinsicHolderTagsProvider
(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_, String modId, ExistingFileHelper existingFileHelper) protected
TagsProvider
(PackOutput p_256596_, ResourceKey<? extends Registry<T>> p_255886_, CompletableFuture<HolderLookup.Provider> p_256513_) Deprecated.Forge: Use the mod id variantprotected
TagsProvider
(PackOutput p_256596_, ResourceKey<? extends Registry<T>> p_255886_, CompletableFuture<HolderLookup.Provider> p_256513_, String modId, ExistingFileHelper existingFileHelper) protected
TagsProvider
(PackOutput p_275432_, ResourceKey<? extends Registry<T>> p_275476_, CompletableFuture<HolderLookup.Provider> p_275222_, CompletableFuture<TagsProvider.TagLookup<T>> p_275565_) Deprecated.Forge: Use the mod id variantprotected
TagsProvider
(PackOutput p_275432_, ResourceKey<? extends Registry<T>> p_275476_, CompletableFuture<HolderLookup.Provider> p_275222_, CompletableFuture<TagsProvider.TagLookup<T>> p_275565_, String modId, ExistingFileHelper existingFileHelper) -
Uses of Registry in net.minecraft.data.worldgen
Modifier and TypeMethodDescription<S> HolderGetter<S>
BootstapContext.lookup
(ResourceKey<? extends Registry<? extends S>> p_256410_) default <S> Optional<HolderLookup.RegistryLookup<S>>
BootstapContext.registryLookup
(ResourceKey<? extends Registry<? extends S>> registry) -
Uses of Registry in net.minecraft.network
Modifier and TypeMethodDescription<T> ResourceKey<T>
FriendlyByteBuf.readResourceKey
(ResourceKey<? extends Registry<T>> p_236802_) -
Uses of Registry in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>,
TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.tags
Modifier and TypeMethodDescriptionMap<ResourceKey<? extends Registry<?>>,
TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.getTags()
ModifierConstructorDescriptionClientboundUpdateTagsPacket
(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> p_179473_) -
Uses of Registry in net.minecraft.resources
Modifier and TypeFieldDescriptionprivate final ResourceKey<? extends Registry<T>>
RegistryDataLoader.RegistryData.key
The field for thekey
record component.private final ResourceKey<? extends Registry<E>>
HolderSetCodec.registryKey
private final ResourceKey<? extends Registry<E>>
RegistryFileCodec.registryKey
private final ResourceKey<? extends Registry<E>>
RegistryFixedCodec.registryKey
Modifier and TypeMethodDescriptionstatic <T> ResourceKey<Registry<T>>
ResourceKey.createRegistryKey
(ResourceLocation p_135789_) ResourceKey<? extends Registry<T>>
RegistryDataLoader.RegistryData.key()
Returns the value of thekey
record component.Modifier and TypeMethodDescriptionprivate static <T> RegistryOps.RegistryInfo<T>
RegistryDataLoader.createInfoForContextRegistry
(Registry<T> p_256230_) Modifier and TypeMethodDescription<E> Optional<ResourceKey<E>>
ResourceKey.cast
(ResourceKey<? extends Registry<E>> p_195976_) static <T> com.mojang.serialization.Codec<ResourceKey<T>>
ResourceKey.codec
(ResourceKey<? extends Registry<T>> p_195967_) static <E> com.mojang.serialization.Codec<HolderSet<E>>
HolderSetCodec.create
(ResourceKey<? extends Registry<E>> p_206686_, com.mojang.serialization.Codec<Holder<E>> p_206687_, boolean p_206688_) static <E> RegistryFileCodec<E>
RegistryFileCodec.create
(ResourceKey<? extends Registry<E>> p_135590_, com.mojang.serialization.Codec<E> p_135591_) static <E> RegistryFileCodec<E>
RegistryFileCodec.create
(ResourceKey<? extends Registry<E>> p_135593_, com.mojang.serialization.Codec<E> p_135594_, boolean p_135595_) static <E> RegistryFixedCodec<E>
RegistryFixedCodec.create
(ResourceKey<? extends Registry<E>> p_206741_) static <T> ResourceKey<T>
ResourceKey.create
(ResourceKey<? extends Registry<T>> p_135786_, ResourceLocation p_135787_) <E> Optional<HolderGetter<E>>
RegistryOps.getter
(ResourceKey<? extends Registry<? extends E>> p_256031_) boolean
ResourceKey.isFor
(ResourceKey<? extends Registry<?>> p_135784_) (package private) static <E> void
RegistryDataLoader.loadRegistryContents
(RegistryOps.RegistryInfoLookup p_256369_, ResourceManager p_256349_, ResourceKey<? extends Registry<E>> p_255792_, WritableRegistry<E> p_256211_, com.mojang.serialization.Decoder<E> p_256232_, Map<ResourceKey<?>, Exception> p_255884_) <T> Optional<RegistryOps.RegistryInfo<T>>
RegistryOps.RegistryInfoLookup.lookup
(ResourceKey<? extends Registry<? extends T>> p_256623_) <E> Optional<HolderOwner<E>>
RegistryOps.owner
(ResourceKey<? extends Registry<? extends E>> p_255757_) static <E,
O> com.mojang.serialization.codecs.RecordCodecBuilder<O, HolderGetter<E>> RegistryOps.retrieveGetter
(ResourceKey<? extends Registry<? extends E>> p_206833_) static <E> com.mojang.serialization.MapCodec<HolderLookup.RegistryLookup<E>>
RegistryOps.retrieveRegistryLookup
(ResourceKey<? extends Registry<? extends E>> resourceKey) ModifierConstructorDescriptionprivate
HolderSetCodec
(ResourceKey<? extends Registry<E>> p_206660_, com.mojang.serialization.Codec<Holder<E>> p_206661_, boolean p_206662_) RegistryData
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec) Creates an instance of aRegistryData
record class.private
RegistryFileCodec
(ResourceKey<? extends Registry<E>> p_135574_, com.mojang.serialization.Codec<E> p_135575_, boolean p_135576_) private
RegistryFixedCodec
(ResourceKey<? extends Registry<E>> p_206723_) -
Uses of Registry in net.minecraft.server
Modifier and TypeMethodDescriptionprivate static void
Main.forceUpgrade
(LevelStorageSource.LevelStorageAccess p_195489_, com.mojang.datafixers.DataFixer p_195490_, boolean p_195491_, BooleanSupplier p_195492_, Registry<LevelStem> p_250443_) -
Uses of Registry in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static Optional<? extends HolderSet.ListBacked<Structure>>
LocateCommand.getHolders
(ResourceOrTagKeyArgument.Result<Structure> p_251212_, Registry<Structure> p_249691_) -
Uses of Registry in net.minecraft.stats
Modifier and TypeMethodDescriptionprivate static <T> StatType<T>
Stats.makeRegistryStatType
(String p_13011_, Registry<T> p_13012_) -
Uses of Registry in net.minecraft.tags
Modifier and TypeFieldDescriptionprivate static final Map<ResourceKey<? extends Registry<?>>,
String> TagManager.CUSTOM_REGISTRY_DIRECTORIES
private final ResourceKey<? extends Registry<T>>
TagManager.LoadResult.key
The field for thekey
record component.private final ResourceKey<? extends Registry<T>>
TagKey.registry
The field for theregistry
record component.Modifier and TypeMethodDescriptionResourceKey<? extends Registry<T>>
TagManager.LoadResult.key()
Returns the value of thekey
record component.ResourceKey<? extends Registry<T>>
TagKey.registry()
Returns the value of theregistry
record component.static Map<ResourceKey<? extends Registry<?>>,
TagNetworkSerialization.NetworkPayload> TagNetworkSerialization.serializeTagsToNetwork
(LayeredRegistryAccess<RegistryLayer> p_251774_) Modifier and TypeMethodDescriptionstatic <T> void
TagNetworkSerialization.deserializeTagsFromNetwork
(ResourceKey<? extends Registry<T>> p_203953_, Registry<T> p_203954_, TagNetworkSerialization.NetworkPayload p_203955_, TagNetworkSerialization.TagOutput<T> p_203956_) private static <T> TagNetworkSerialization.NetworkPayload
TagNetworkSerialization.serializeToNetwork
(Registry<T> p_203943_) Modifier and TypeMethodDescriptionTagKey.cast
(ResourceKey<? extends Registry<E>> p_207648_) static <T> com.mojang.serialization.Codec<TagKey<T>>
TagKey.codec
(ResourceKey<? extends Registry<T>> p_203878_) static <T> TagKey<T>
TagKey.create
(ResourceKey<? extends Registry<T>> p_203883_, ResourceLocation p_203884_) static <T> void
TagNetworkSerialization.deserializeTagsFromNetwork
(ResourceKey<? extends Registry<T>> p_203953_, Registry<T> p_203954_, TagNetworkSerialization.NetworkPayload p_203955_, TagNetworkSerialization.TagOutput<T> p_203956_) static String
TagManager.getTagDir
(ResourceKey<? extends Registry<?>> p_203919_) static <T> com.mojang.serialization.Codec<TagKey<T>>
TagKey.hashedCodec
(ResourceKey<? extends Registry<T>> p_203887_) boolean
TagKey.isFor
(ResourceKey<? extends Registry<?>> p_207646_) ModifierConstructorDescriptionLoadResult
(ResourceKey<? extends Registry<T>> key, Map<ResourceLocation, Collection<Holder<T>>> tags) Creates an instance of aLoadResult
record class.TagKey
(ResourceKey<? extends Registry<T>> registry, ResourceLocation location) Creates an instance of aTagKey
record class. -
Uses of Registry in net.minecraft.util.worldupdate
ModifierConstructorDescriptionWorldUpgrader
(LevelStorageSource.LevelStorageAccess p_249922_, com.mojang.datafixers.DataFixer p_250273_, Registry<LevelStem> p_252191_, boolean p_250738_) -
Uses of Registry in net.minecraft.world.damagesource
-
Uses of Registry in net.minecraft.world.entity.ai.village.poi
-
Uses of Registry in net.minecraft.world.entity.animal
Modifier and TypeMethodDescriptionstatic CatVariant
CatVariant.bootstrap
(Registry<CatVariant> p_256435_) private static CatVariant
CatVariant.register
(Registry<CatVariant> p_255735_, ResourceKey<CatVariant> p_256159_, String p_256466_) -
Uses of Registry in net.minecraft.world.entity.decoration
Modifier and TypeMethodDescriptionstatic PaintingVariant
PaintingVariants.bootstrap
(Registry<PaintingVariant> p_218943_) -
Uses of Registry in net.minecraft.world.flag
Modifier and TypeFieldDescriptionstatic final Set<ResourceKey<? extends Registry<? extends FeatureElement>>>
FeatureElement.FILTERED_REGISTRIES
-
Uses of Registry in net.minecraft.world.item
Modifier and TypeMethodDescriptionstatic CreativeModeTab
CreativeModeTabs.bootstrap
(Registry<CreativeModeTab> p_283144_) static Instrument
Instruments.bootstrap
(Registry<Instrument> p_220149_) boolean
ItemStack.hasAdventureModeBreakTagForBlock
(Registry<Block> p_204129_, BlockInWorld p_204130_) boolean
ItemStack.hasAdventureModePlaceTagForBlock
(Registry<Block> p_204122_, BlockInWorld p_204123_) boolean
AdventureModeCheck.test
(ItemStack p_204086_, Registry<Block> p_204087_, BlockInWorld p_204088_) -
Uses of Registry in net.minecraft.world.level
Modifier and TypeMethodDescriptiondefault <T> HolderLookup<T>
LevelReader.holderLookup
(ResourceKey<? extends Registry<? extends T>> p_249578_) -
Uses of Registry in net.minecraft.world.level.biome
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<? extends BiomeSource>
BiomeSources.bootstrap
(Registry<com.mojang.serialization.Codec<? extends BiomeSource>> p_220587_) -
Uses of Registry in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionprivate void
NyliumBlock.place
(Registry<ConfiguredFeature<?, ?>> p_255879_, ResourceKey<ConfiguredFeature<?, ?>> p_256032_, ServerLevel p_255631_, ChunkGenerator p_256445_, RandomSource p_255709_, BlockPos p_256019_) -
Uses of Registry in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionstatic BannerPattern
BannerPatterns.bootstrap
(Registry<BannerPattern> p_222755_) static String
-
Uses of Registry in net.minecraft.world.level.chunk
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<? extends ChunkGenerator>
ChunkGenerators.bootstrap
(Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>> p_223243_) private static void
ChunkAccess.replaceMissingSections
(Registry<Biome> p_281389_, LevelChunkSection[] p_282796_) ModifierConstructorDescriptionChunkAccess
(ChunkPos p_187621_, UpgradeData p_187622_, LevelHeightAccessor p_187623_, Registry<Biome> p_187624_, long p_187625_, LevelChunkSection[] p_187626_, BlendingData p_187627_) LevelChunkSection
(Registry<Biome> p_282873_) ProtoChunk
(ChunkPos p_188173_, UpgradeData p_188174_, LevelChunkSection[] p_188175_, ProtoChunkTicks<Block> p_188176_, ProtoChunkTicks<Fluid> p_188177_, LevelHeightAccessor p_188178_, Registry<Biome> p_188179_, BlendingData p_188180_) ProtoChunk
(ChunkPos p_188167_, UpgradeData p_188168_, LevelHeightAccessor p_188169_, Registry<Biome> p_188170_, BlendingData p_188171_) -
Uses of Registry in net.minecraft.world.level.chunk.storage
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<PalettedContainerRO<Holder<Biome>>>
ChunkSerializer.makeBiomeCodec
(Registry<Biome> p_188261_) -
Uses of Registry in net.minecraft.world.level.levelgen
Modifier and TypeFieldDescriptionWorldDimensions.Complete.dimensions
The field for thedimensions
record component.WorldDimensions.dimensions
The field for thedimensions
record component.Modifier and TypeMethodDescriptionWorldDimensions.Complete.dimensions()
Returns the value of thedimensions
record component.WorldDimensions.dimensions()
Returns the value of thedimensions
record component.WorldDimensions.withOverworld
(Registry<DimensionType> p_248853_, Registry<LevelStem> p_251908_, ChunkGenerator p_251737_) WorldDimensions.withOverworld
(Registry<LevelStem> p_248907_, Holder<DimensionType> p_251895_, ChunkGenerator p_250220_) Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<? extends DensityFunction>
DensityFunctions.bootstrap
(Registry<com.mojang.serialization.Codec<? extends DensityFunction>> p_208343_) static com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>
SurfaceRules.ConditionSource.bootstrap
(Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>> p_204625_) static com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>
SurfaceRules.RuleSource.bootstrap
(Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>> p_204631_) void
NoiseBasedChunkGenerator.buildSurface
(ChunkAccess p_224262_, WorldGenerationContext p_224263_, RandomState p_224264_, StructureManager p_224265_, BiomeManager p_224266_, Registry<Biome> p_224267_, Blender p_224268_) void
SurfaceSystem.buildSurface
(RandomState p_224649_, BiomeManager p_224650_, Registry<Biome> p_224651_, boolean p_224652_, WorldGenerationContext p_224653_, ChunkAccess p_224654_, NoiseChunk p_224655_, SurfaceRules.RuleSource p_224656_) private static com.mojang.serialization.Codec<? extends DensityFunction>
DensityFunctions.register
(Registry<com.mojang.serialization.Codec<? extends DensityFunction>> p_224035_, String p_224036_, KeyDispatchDataCodec<? extends DensityFunction> p_224037_) (package private) static <A> com.mojang.serialization.Codec<? extends A>
SurfaceRules.register
(Registry<com.mojang.serialization.Codec<? extends A>> p_224604_, String p_224605_, KeyDispatchDataCodec<? extends A> p_224606_) private static PrimaryLevelData.SpecialWorldProperty
WorldDimensions.specialWorldProperty
(Registry<LevelStem> p_251549_) WorldDimensions.withOverworld
(Registry<DimensionType> p_248853_, Registry<LevelStem> p_251908_, ChunkGenerator p_251737_) WorldDimensions.withOverworld
(Registry<LevelStem> p_248907_, Holder<DimensionType> p_251895_, ChunkGenerator p_250220_) ModifierConstructorDescriptionComplete
(Registry<LevelStem> dimensions, PrimaryLevelData.SpecialWorldProperty specialWorldProperty) Creates an instance of aComplete
record class.protected
Context
(SurfaceSystem p_224616_, RandomState p_224617_, ChunkAccess p_224618_, NoiseChunk p_224619_, Function<BlockPos, Holder<Biome>> p_224620_, Registry<Biome> p_224621_, WorldGenerationContext p_224622_) WorldDimensions
(Registry<LevelStem> dimensions) Creates an instance of aWorldDimensions
record class. -
Uses of Registry in net.minecraft.world.level.levelgen.presets
Modifier and TypeMethodDescriptionstatic Optional<ResourceKey<WorldPreset>>
WorldPresets.fromSettings
(Registry<LevelStem> p_249784_) -
Uses of Registry in net.minecraft.world.level.levelgen.structure
-
Uses of Registry in net.minecraft.world.level.levelgen.structure.pools
Modifier and TypeFieldDescriptionprivate final Registry<StructureTemplatePool>
JigsawPlacement.Placer.pools
Modifier and TypeMethodDescriptionprivate static void
JigsawPlacement.addPieces
(RandomState p_227211_, int p_227212_, boolean p_227213_, ChunkGenerator p_227214_, StructureTemplateManager p_227215_, LevelHeightAccessor p_227216_, RandomSource p_227217_, Registry<StructureTemplatePool> p_227218_, PoolElementStructurePiece p_227219_, List<PoolElementStructurePiece> p_227220_, VoxelShape p_227221_) ModifierConstructorDescription(package private)
Placer
(Registry<StructureTemplatePool> p_227258_, int p_227259_, ChunkGenerator p_227260_, StructureTemplateManager p_227261_, List<? super PoolElementStructurePiece> p_227262_, RandomSource p_227263_) -
Uses of Registry in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<WorldData,
WorldDimensions.Complete> LevelStorageSource.LevelStorageAccess.getDataTag
(com.mojang.serialization.DynamicOps<Tag> p_248747_, WorldDataConfiguration p_251873_, Registry<LevelStem> p_249187_, com.mojang.serialization.Lifecycle p_249736_) (package private) static BiFunction<Path,
com.mojang.datafixers.DataFixer, com.mojang.datafixers.util.Pair<WorldData, WorldDimensions.Complete>> LevelStorageSource.getLevelData
(com.mojang.serialization.DynamicOps<Tag> p_250592_, WorldDataConfiguration p_249054_, Registry<LevelStem> p_249363_, com.mojang.serialization.Lifecycle p_251214_) -
Uses of Registry in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescriptionGsonAdapterFactory.Builder.registry
GsonAdapterFactory.JsonAdapter.registry
Modifier and TypeMethodDescriptionstatic <E,
T extends SerializerType<E>>
GsonAdapterFactory.Builder<E,T> GsonAdapterFactory.builder
(Registry<T> p_78802_, String p_78803_, String p_78804_, Function<E, T> p_78805_) -
Uses of Registry in net.minecraftforge.common.crafting.conditions
Modifier and TypeMethodDescription<T> Map<ResourceLocation,
Collection<Holder<T>>> ConditionContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) <T> Map<ResourceLocation,
Collection<Holder<T>>> ICondition.IContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) Return all the loaded tags for the passed registry, or an empty map if none is available. -
Uses of Registry in net.minecraftforge.debug.misc
Modifier and TypeFieldDescriptionstatic final ResourceKey<Registry<DataPackRegistriesTest.Syncable>>
DataPackRegistriesTest.Syncable.REGISTRY_KEY
static final ResourceKey<Registry<DataPackRegistriesTest.Unsyncable>>
DataPackRegistriesTest.Unsyncable.REGISTRY_KEY
-
Uses of Registry in net.minecraftforge.debug.world
Modifier and TypeFieldDescriptionstatic final ResourceKey<Registry<LoginPacketSplitTest.BigData>>
LoginPacketSplitTest.BIG_DATA
-
Uses of Registry in net.minecraftforge.network
Modifier and TypeFieldDescriptionprivate final List<ResourceKey<? extends Registry<?>>>
HandshakeMessages.S2CModList.dataPackRegistries
Modifier and TypeMethodDescriptionList<ResourceKey<? extends Registry<?>>>
HandshakeMessages.S2CModList.getCustomDataPackRegistries()
-
Uses of Registry in net.minecraftforge.registries
Modifier and TypeClassDescription(package private) class
(package private) class
Modifier and TypeFieldDescriptionprivate final @Nullable Registry<?>
RegisterEvent.vanillaRegistry
Modifier and TypeFieldDescriptionstatic final ResourceKey<Registry<Activity>>
ForgeRegistries.Keys.ACTIVITIES
static final ResourceKey<Registry<Attribute>>
ForgeRegistries.Keys.ATTRIBUTES
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeModifier>>>
ForgeRegistries.Keys.BIOME_MODIFIER_SERIALIZERS
static final ResourceKey<Registry<BiomeModifier>>
ForgeRegistries.Keys.BIOME_MODIFIERS
static final ResourceKey<Registry<Biome>>
ForgeRegistries.Keys.BIOMES
static final ResourceKey<Registry<BlockEntityType<?>>>
ForgeRegistries.Keys.BLOCK_ENTITY_TYPES
static final ResourceKey<Registry<BlockStateProviderType<?>>>
ForgeRegistries.Keys.BLOCK_STATE_PROVIDER_TYPES
static final ResourceKey<Registry<Block>>
ForgeRegistries.Keys.BLOCKS
static final ResourceKey<Registry<ChunkStatus>>
ForgeRegistries.Keys.CHUNK_STATUS
static final ResourceKey<Registry<ArgumentTypeInfo<?,
?>>> ForgeRegistries.Keys.COMMAND_ARGUMENT_TYPES
static final ResourceKey<Registry<ItemDisplayContext>>
ForgeRegistries.Keys.DISPLAY_CONTEXTS
static final ResourceKey<Registry<Enchantment>>
ForgeRegistries.Keys.ENCHANTMENTS
static final ResourceKey<Registry<EntityDataSerializer<?>>>
ForgeRegistries.Keys.ENTITY_DATA_SERIALIZERS
static final ResourceKey<Registry<EntityType<?>>>
ForgeRegistries.Keys.ENTITY_TYPES
static final ResourceKey<Registry<Feature<?>>>
ForgeRegistries.Keys.FEATURES
static final ResourceKey<Registry<FluidType>>
ForgeRegistries.Keys.FLUID_TYPES
static final ResourceKey<Registry<Fluid>>
ForgeRegistries.Keys.FLUIDS
static final ResourceKey<Registry<FoliagePlacerType<?>>>
ForgeRegistries.Keys.FOLIAGE_PLACER_TYPES
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends IGlobalLootModifier>>>
ForgeRegistries.Keys.GLOBAL_LOOT_MODIFIER_SERIALIZERS
static final ResourceKey<Registry<HolderSetType>>
ForgeRegistries.Keys.HOLDER_SET_TYPES
static final ResourceKey<Registry<Item>>
ForgeRegistries.Keys.ITEMS
private final ResourceKey<Registry<V>>
ForgeRegistry.key
private final ResourceKey<? extends Registry<?>>
MissingMappingsEvent.key
static final ResourceKey<Registry<MemoryModuleType<?>>>
ForgeRegistries.Keys.MEMORY_MODULE_TYPES
static final ResourceKey<Registry<MenuType<?>>>
ForgeRegistries.Keys.MENU_TYPES
static final ResourceKey<Registry<MobEffect>>
ForgeRegistries.Keys.MOB_EFFECTS
private static final Map<ResourceKey<? extends Registry<?>>,
RegistrySynchronization.NetworkedRegistryData<?>> DataPackRegistriesHooks.NETWORKABLE_REGISTRIES
static final ResourceKey<Registry<PaintingVariant>>
ForgeRegistries.Keys.PAINTING_VARIANTS
static final ResourceKey<Registry<ParticleType<?>>>
ForgeRegistries.Keys.PARTICLE_TYPES
static final ResourceKey<Registry<PoiType>>
ForgeRegistries.Keys.POI_TYPES
static final ResourceKey<Registry<Potion>>
ForgeRegistries.Keys.POTIONS
static final ResourceKey<Registry<RecipeSerializer<?>>>
ForgeRegistries.Keys.RECIPE_SERIALIZERS
static final ResourceKey<Registry<RecipeType<?>>>
ForgeRegistries.Keys.RECIPE_TYPES
private final ResourceKey<? extends Registry<V>>
DeferredRegister.RegistryHolder.registryKey
private final ResourceKey<? extends Registry<T>>
DeferredRegister.registryKey
private final @NotNull ResourceKey<? extends Registry<?>>
RegisterEvent.registryKey
static final ResourceKey<Registry<Schedule>>
ForgeRegistries.Keys.SCHEDULES
static final ResourceKey<Registry<SensorType<?>>>
ForgeRegistries.Keys.SENSOR_TYPES
static final ResourceKey<Registry<SoundEvent>>
ForgeRegistries.Keys.SOUND_EVENTS
static final ResourceKey<Registry<StatType<?>>>
ForgeRegistries.Keys.STAT_TYPES
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends StructureModifier>>>
ForgeRegistries.Keys.STRUCTURE_MODIFIER_SERIALIZERS
static final ResourceKey<Registry<StructureModifier>>
ForgeRegistries.Keys.STRUCTURE_MODIFIERS
private static final Set<ResourceKey<? extends Registry<?>>>
DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIES
private static final Set<ResourceKey<? extends Registry<?>>>
DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIES_VIEW
static final ResourceKey<Registry<TreeDecoratorType<?>>>
ForgeRegistries.Keys.TREE_DECORATOR_TYPES
static final ResourceKey<Registry<VillagerProfession>>
ForgeRegistries.Keys.VILLAGER_PROFESSIONS
static final ResourceKey<Registry<WorldCarver<?>>>
ForgeRegistries.Keys.WORLD_CARVERS
Modifier and TypeMethodDescriptionNamespacedWrapper.freeze()
<T> @Nullable Registry<T>
RegisterEvent.getVanillaRegistry()
Modifier and TypeMethodDescriptionResourceKey<? extends Registry<?>>
MissingMappingsEvent.getKey()
ResourceKey<? extends Registry<T>>
DeferredRegister.getRegistryKey()
ForgeRegistry.getRegistryKey()
IForgeRegistry.getRegistryKey()
@NotNull ResourceKey<? extends Registry<?>>
RegisterEvent.getRegistryKey()
static Set<ResourceKey<? extends Registry<?>>>
DataPackRegistriesHooks.getSyncedCustomRegistries()
Returns An unmodifiable view of the set of synced non-vanilla datapack registry IDs.static Map<ResourceKey<? extends Registry<?>>,
RegistrySynchronization.NetworkedRegistryData<?>> DataPackRegistriesHooks.grabNetworkableRegistries
(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistrySynchronization.NetworkedRegistryData<?>> builder) private static <T> ResourceKey<Registry<T>>
Modifier and TypeMethodDescriptionprivate static <V> void
RegistryManager.injectForgeRegistry
(ForgeRegistry<V> forgeReg, Registry<? extends Registry<?>> rootRegistry) (package private) void
RegistryObject.updateReference
(Registry<? extends T> registry) Modifier and TypeMethodDescriptionstatic <B> DeferredRegister<B>
DeferredRegister.create
(ResourceKey<? extends Registry<B>> key, String modid) DeferredRegister factory for custom forge registries orvanilla registries
to lookup based on the provided registry key.static <T,
U extends T>
RegistryObject<U>RegistryObject.create
(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Factory for aRegistryObject
that stores the value of an object from a registry once it is ready based on a lookup of the provided registry key.static <B> DeferredRegister<B>
DeferredRegister.createOptional
(ResourceKey<? extends Registry<B>> key, String modid) DeferredRegister factory for the optional existence of custom forge registries orvanilla registries
to lookup based on the provided registry key.static <T,
U extends T>
RegistryObject<U>RegistryObject.createOptional
(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Factory for aRegistryObject
that optionally stores the value of an object from a registry once it is ready if the registry exists based on a lookup of the provided registry key.<T> void
DataPackRegistryEvent.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> void
DataPackRegistryEvent.NewRegistry.dataPackRegistry
(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec) Registers the registry key as a datapack registry, which will cause data to be loaded from a datapack folder based on the registry's name.<T> List<MissingMappingsEvent.Mapping<T>>
MissingMappingsEvent.getAllMappings
(ResourceKey<? extends Registry<T>> registryKey) <T> List<MissingMappingsEvent.Mapping<T>>
MissingMappingsEvent.getMappings
(ResourceKey<? extends Registry<T>> registryKey, String namespace) <V> ForgeRegistry<V>
RegistryManager.getRegistry
(ResourceKey<? extends Registry<V>> key) static <T> MappedRegistry<T>
GameData.getWrapper
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) static <T> MappedRegistry<T>
GameData.getWrapper
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, String defKey) static Map<ResourceKey<? extends Registry<?>>,
RegistrySynchronization.NetworkedRegistryData<?>> DataPackRegistriesHooks.grabNetworkableRegistries
(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistrySynchronization.NetworkedRegistryData<?>> builder) private static <V> void
RegistryManager.injectForgeRegistry
(ForgeRegistry<V> forgeReg, Registry<? extends Registry<?>> rootRegistry) private static <T> RegistryBuilder<T>
GameData.makeRegistry
(ResourceKey<? extends Registry<T>> key) private static <T> RegistryBuilder<T>
GameData.makeRegistry
(ResourceKey<? extends Registry<T>> key, int min, int max) private static <T> RegistryBuilder<T>
GameData.makeRegistry
(ResourceKey<? extends Registry<T>> key, String _default) <T> void
RegisterEvent.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> void
RegisterEvent.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.ModifierConstructorDescription(package private)
RegisterEvent
(@NotNull ResourceKey<? extends Registry<?>> registryKey, @Nullable ForgeRegistry<?> forgeRegistry, @Nullable Registry<?> vanillaRegistry) ModifierConstructorDescriptionprivate
DeferredRegister
(ResourceKey<? extends Registry<T>> registryKey, String modid, boolean optionalRegistry) MissingMappingsEvent
(ResourceKey<? extends Registry<?>> key, IForgeRegistry<?> registry, Collection<MissingMappingsEvent.Mapping<?>> missed) (package private)
RegisterEvent
(@NotNull ResourceKey<? extends Registry<?>> registryKey, @Nullable ForgeRegistry<?> forgeRegistry, @Nullable Registry<?> vanillaRegistry) private
RegistryHolder
(ResourceKey<? extends Registry<V>> registryKey) -
Uses of Registry in net.minecraftforge.registries.holdersets
Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>
AndHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>
AnyHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>
NotHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>
OrHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>
HolderSetType.makeCodec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) -
Uses of Registry in net.minecraftforge.server.command
Modifier and TypeFieldDescriptionprivate static final ResourceKey<Registry<Registry<?>>>
TagsCommand.ROOT_REGISTRY_KEY
private static final ResourceKey<Registry<Registry<?>>>
TagsCommand.ROOT_REGISTRY_KEY
Modifier and TypeMethodDescriptionprivate static <T> Optional<ResourceKey<T>>
TagsCommand.getResourceKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name, ResourceKey<Registry<T>> registryKey) private static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
TagsCommand.suggestFromRegistry
(Function<Registry<?>, Iterable<ResourceLocation>> namesFunction)
ForgeRegistries.ACTIVITIES
instead.