Uses of Class
net.minecraft.core.Registry
Package
Description
-
Uses of Registry in net.minecraft.client.gui.screens
Modifier and TypeMethodDescriptionstatic FlatLevelGeneratorSettings
PresetFlatWorldScreen.fromString
(Registry<Biome> p_211772_, Registry<StructureSet> p_211773_, String p_211774_, FlatLevelGeneratorSettings p_211775_) -
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 TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
CommandSourceStack.suggestRegistryElements
(ResourceKey<? extends Registry<?>> p_212330_, SharedSuggestionProvider.ElementSuggestionType p_212331_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212332_, com.mojang.brigadier.context.CommandContext<?> p_212333_) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
SharedSuggestionProvider.suggestRegistryElements
(ResourceKey<? extends Registry<?>> p_212339_, SharedSuggestionProvider.ElementSuggestionType p_212340_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212341_, com.mojang.brigadier.context.CommandContext<?> p_212342_) -
Uses of Registry in net.minecraft.commands.arguments
Modifier and TypeFieldDescription(package private) final ResourceKey<? extends Registry<T>>
ResourceKeyArgument.registryKey
(package private) final ResourceKey<? extends Registry<T>>
ResourceOrTagLocationArgument.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 TypeMethodDescriptionResourceOrTagLocationArgument.ResourceResult.cast
(ResourceKey<? extends Registry<E>> p_210988_) ResourceOrTagLocationArgument.Result.cast
(ResourceKey<? extends Registry<E>> p_210997_) ResourceOrTagLocationArgument.TagResult.cast
(ResourceKey<? extends Registry<E>> p_211022_) private static <T> Registry<T>
ResourceKeyArgument.getRegistry
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212379_, ResourceKey<? extends Registry<T>> p_212380_) private static <T> ResourceKey<T>
ResourceKeyArgument.getRegistryType
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212374_, String p_212375_, ResourceKey<Registry<T>> p_212376_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_212377_) private static <T> ResourceOrTagLocationArgument.Result<T>
ResourceOrTagLocationArgument.getRegistryType
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_210956_, String p_210957_, ResourceKey<Registry<T>> p_210958_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_210959_) static <T> ResourceKeyArgument<T>
ResourceKeyArgument.key
(ResourceKey<? extends Registry<T>> p_212387_) static <T> ResourceOrTagLocationArgument<T>
ResourceOrTagLocationArgument.resourceOrTag
(ResourceKey<? extends Registry<T>> p_210969_) ModifierConstructorDescriptionResourceKeyArgument
(ResourceKey<? extends Registry<T>> p_212367_) ResourceOrTagLocationArgument
(ResourceKey<? extends Registry<T>> p_210949_) -
Uses of Registry in net.minecraft.commands.arguments.blocks
Modifier and TypeFieldDescriptionprivate static final BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,
Registry<Block>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> BlockStateParser.SUGGEST_NOTHING
private BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,
Registry<Block>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> BlockStateParser.suggestions
Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockStateParser.fillSuggestions
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205595_, Registry<Block> p_205596_) private boolean
BlockStateParser.hasBlockEntity
(Registry<Block> p_205606_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockStateParser.suggestBlockIdOrTag
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205643_, Registry<Block> p_205644_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockStateParser.suggestEquals
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205628_, Registry<Block> p_205629_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockStateParser.suggestNextPropertyOrEnd
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205631_, Registry<Block> p_205632_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockStateParser.suggestOpenNbt
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205625_, Registry<Block> p_205626_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockStateParser.suggestOpenPropertiesOrNbt
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205637_, Registry<Block> p_205638_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockStateParser.suggestOpenVaguePropertiesOrNbt
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205634_, Registry<Block> p_205635_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockStateParser.suggestPropertyName
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205619_, Registry<Block> p_205620_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockStateParser.suggestPropertyNameOrEnd
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205612_, Registry<Block> p_205613_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockStateParser.suggestTag
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205640_, Registry<Block> p_205641_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockStateParser.suggestVaguePropertyName
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205622_, Registry<Block> p_205623_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockStateParser.suggestVaguePropertyNameOrEnd
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205615_, Registry<Block> p_205616_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockStateParser.suggestVaguePropertyValue
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205598_, Registry<Block> p_205599_, String p_205600_) -
Uses of Registry in net.minecraft.commands.arguments.item
Modifier and TypeFieldDescriptionprivate static final BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,
Registry<Item>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> ItemParser.SUGGEST_NOTHING
private BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,
Registry<Item>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> ItemParser.suggestions
Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemParser.fillSuggestions
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205666_, Registry<Item> p_205667_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemParser.suggestItemIdOrTag
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205676_, Registry<Item> p_205677_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemParser.suggestOpenNbt
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205669_, Registry<Item> p_205670_) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemParser.suggestTag
(com.mojang.brigadier.suggestion.SuggestionsBuilder p_205673_, Registry<Item> p_205674_) -
Uses of Registry in net.minecraft.core
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeFieldDescriptionRegistry.ACTIVITY
Deprecated.Registry.ATTRIBUTE
Deprecated.static final Registry<com.mojang.serialization.Codec<? extends BiomeSource>>
Registry.BIOME_SOURCE
static final Registry<BlockEntityType<?>>
Registry.BLOCK_ENTITY_TYPE
Deprecated.static final Registry<BlockPredicateType<?>>
Registry.BLOCK_PREDICATE_TYPES
static final Registry<BlockStateProviderType<?>>
Registry.BLOCKSTATE_PROVIDER_TYPES
Deprecated.static final Registry<WorldCarver<?>>
Registry.CARVER
Deprecated.static final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>
Registry.CHUNK_GENERATOR
static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>>
Registry.CONDITION
static final Registry<ResourceLocation>
Registry.CUSTOM_STAT
static final Registry<com.mojang.serialization.Codec<? extends DensityFunction>>
Registry.DENSITY_FUNCTION_TYPES
static final Registry<Enchantment>
Registry.ENCHANTMENT
Deprecated.Registry.FEATURE
Deprecated.static final Registry<FeatureSizeType<?>>
Registry.FEATURE_SIZE_TYPES
static final Registry<FloatProviderType<?>>
Registry.FLOAT_PROVIDER_TYPES
static final Registry<FoliagePlacerType<?>>
Registry.FOLIAGE_PLACER_TYPES
Deprecated.static final Registry<HeightProviderType<?>>
Registry.HEIGHT_PROVIDER_TYPES
static final Registry<IntProviderType<?>>
Registry.INT_PROVIDER_TYPES
static final Registry<LootItemConditionType>
Registry.LOOT_CONDITION_TYPE
static final Registry<LootItemFunctionType>
Registry.LOOT_FUNCTION_TYPE
static final Registry<LootNbtProviderType>
Registry.LOOT_NBT_PROVIDER_TYPE
static final Registry<LootNumberProviderType>
Registry.LOOT_NUMBER_PROVIDER_TYPE
static final Registry<LootPoolEntryType>
Registry.LOOT_POOL_ENTRY_TYPE
static final Registry<LootScoreProviderType>
Registry.LOOT_SCORE_PROVIDER_TYPE
Registry.MENU
Deprecated.Registry.MOB_EFFECT
Deprecated.static final Registry<ParticleType<?>>
Registry.PARTICLE_TYPE
Deprecated.static final Registry<PlacementModifierType<?>>
Registry.PLACEMENT_MODIFIERS
static final Registry<PosRuleTestType<?>>
Registry.POS_RULE_TEST
static final Registry<PositionSourceType<?>>
Registry.POSITION_SOURCE_TYPE
static final Registry<RecipeSerializer<?>>
Registry.RECIPE_SERIALIZER
Deprecated.static final Registry<RecipeType<?>>
Registry.RECIPE_TYPE
Holder.Reference.registry
HolderSet.Named.registry
Registry.REGISTRY
static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>>
Registry.RULE
static final Registry<RuleTestType<?>>
Registry.RULE_TEST
Registry.SCHEDULE
Deprecated.static final Registry<SoundEvent>
Registry.SOUND_EVENT
Deprecated.Registry.STAT_TYPE
Deprecated.static final Registry<StructureFeature<?>>
Registry.STRUCTURE_FEATURE
Deprecated.static final Registry<StructurePieceType>
Registry.STRUCTURE_PIECE
static final Registry<StructurePlacementType<?>>
Registry.STRUCTURE_PLACEMENT_TYPE
static final Registry<StructurePoolElementType<?>>
Registry.STRUCTURE_POOL_ELEMENT
static final Registry<StructureProcessorType<?>>
Registry.STRUCTURE_PROCESSOR
static final Registry<TreeDecoratorType<?>>
Registry.TREE_DECORATOR_TYPES
Deprecated.static final Registry<TrunkPlacerType<?>>
Registry.TRUNK_PLACER_TYPES
RegistryAccess.RegistryEntry.value
The field for thevalue
record component.Modifier and TypeFieldDescriptionstatic final ResourceKey<Registry<Activity>>
Registry.ACTIVITY_REGISTRY
static final ResourceKey<Registry<Attribute>>
Registry.ATTRIBUTE_REGISTRY
static final ResourceKey<Registry<Biome>>
Registry.BIOME_REGISTRY
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>
Registry.BIOME_SOURCE_REGISTRY
static final ResourceKey<Registry<BlockEntityType<?>>>
Registry.BLOCK_ENTITY_TYPE_REGISTRY
static final ResourceKey<Registry<BlockPredicateType<?>>>
Registry.BLOCK_PREDICATE_TYPE_REGISTRY
static final ResourceKey<Registry<Block>>
Registry.BLOCK_REGISTRY
static final ResourceKey<Registry<BlockStateProviderType<?>>>
Registry.BLOCK_STATE_PROVIDER_TYPE_REGISTRY
static final ResourceKey<Registry<WorldCarver<?>>>
Registry.CARVER_REGISTRY
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
Registry.CHUNK_GENERATOR_REGISTRY
static final ResourceKey<Registry<ChunkStatus>>
Registry.CHUNK_STATUS_REGISTRY
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>>>
Registry.CONDITION_REGISTRY
static final ResourceKey<Registry<ConfiguredWorldCarver<?>>>
Registry.CONFIGURED_CARVER_REGISTRY
static final ResourceKey<Registry<ConfiguredFeature<?,
?>>> Registry.CONFIGURED_FEATURE_REGISTRY
static final ResourceKey<Registry<ConfiguredStructureFeature<?,
?>>> static final ResourceKey<Registry<ResourceLocation>>
Registry.CUSTOM_STAT_REGISTRY
static final ResourceKey<Registry<DensityFunction>>
Registry.DENSITY_FUNCTION_REGISTRY
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>>
Registry.DENSITY_FUNCTION_TYPE_REGISTRY
static final ResourceKey<Registry<Level>>
Registry.DIMENSION_REGISTRY
static final ResourceKey<Registry<DimensionType>>
Registry.DIMENSION_TYPE_REGISTRY
static final ResourceKey<Registry<Enchantment>>
Registry.ENCHANTMENT_REGISTRY
static final ResourceKey<Registry<EntityType<?>>>
Registry.ENTITY_TYPE_REGISTRY
static final ResourceKey<Registry<Feature<?>>>
Registry.FEATURE_REGISTRY
static final ResourceKey<Registry<FeatureSizeType<?>>>
Registry.FEATURE_SIZE_TYPE_REGISTRY
static final ResourceKey<Registry<FloatProviderType<?>>>
Registry.FLOAT_PROVIDER_TYPE_REGISTRY
static final ResourceKey<Registry<Fluid>>
Registry.FLUID_REGISTRY
static final ResourceKey<Registry<FoliagePlacerType<?>>>
Registry.FOLIAGE_PLACER_TYPE_REGISTRY
static final ResourceKey<Registry<GameEvent>>
Registry.GAME_EVENT_REGISTRY
static final ResourceKey<Registry<HeightProviderType<?>>>
Registry.HEIGHT_PROVIDER_TYPE_REGISTRY
static final ResourceKey<Registry<IntProviderType<?>>>
Registry.INT_PROVIDER_TYPE_REGISTRY
static final ResourceKey<Registry<Item>>
Registry.ITEM_REGISTRY
private final ResourceKey<? extends Registry<T>>
Registry.key
private final ResourceKey<? extends Registry<E>>
RegistryAccess.RegistryData.key
The field for thekey
record component.private final ResourceKey<? extends Registry<T>>
RegistryAccess.RegistryEntry.key
The field for thekey
record component.static final ResourceKey<Registry<LevelStem>>
Registry.LEVEL_STEM_REGISTRY
static final ResourceKey<Registry<LootPoolEntryType>>
Registry.LOOT_ENTRY_REGISTRY
static final ResourceKey<Registry<LootItemFunctionType>>
Registry.LOOT_FUNCTION_REGISTRY
static final ResourceKey<Registry<LootItemConditionType>>
Registry.LOOT_ITEM_REGISTRY
static final ResourceKey<Registry<LootNbtProviderType>>
Registry.LOOT_NBT_PROVIDER_REGISTRY
static final ResourceKey<Registry<LootNumberProviderType>>
Registry.LOOT_NUMBER_PROVIDER_REGISTRY
static final ResourceKey<Registry<LootScoreProviderType>>
Registry.LOOT_SCORE_PROVIDER_REGISTRY
static final ResourceKey<Registry<MemoryModuleType<?>>>
Registry.MEMORY_MODULE_TYPE_REGISTRY
static final ResourceKey<Registry<MenuType<?>>>
Registry.MENU_REGISTRY
static final ResourceKey<Registry<MobEffect>>
Registry.MOB_EFFECT_REGISTRY
static final ResourceKey<Registry<Motive>>
Registry.MOTIVE_REGISTRY
static final ResourceKey<Registry<NoiseGeneratorSettings>>
Registry.NOISE_GENERATOR_SETTINGS_REGISTRY
static final ResourceKey<Registry<NormalNoise.NoiseParameters>>
Registry.NOISE_REGISTRY
static final ResourceKey<Registry<ParticleType<?>>>
Registry.PARTICLE_TYPE_REGISTRY
static final ResourceKey<Registry<PlacedFeature>>
Registry.PLACED_FEATURE_REGISTRY
static final ResourceKey<Registry<PlacementModifierType<?>>>
Registry.PLACEMENT_MODIFIER_REGISTRY
static final ResourceKey<Registry<PoiType>>
Registry.POINT_OF_INTEREST_TYPE_REGISTRY
static final ResourceKey<Registry<PosRuleTestType<?>>>
Registry.POS_RULE_TEST_REGISTRY
static final ResourceKey<Registry<PositionSourceType<?>>>
Registry.POSITION_SOURCE_TYPE_REGISTRY
static final ResourceKey<Registry<Potion>>
Registry.POTION_REGISTRY
static final ResourceKey<Registry<StructureProcessorList>>
Registry.PROCESSOR_LIST_REGISTRY
static final ResourceKey<Registry<RecipeSerializer<?>>>
Registry.RECIPE_SERIALIZER_REGISTRY
static final ResourceKey<Registry<RecipeType<?>>>
Registry.RECIPE_TYPE_REGISTRY
private final Map<? extends ResourceKey<? extends Registry<?>>,
? extends Registry<?>> RegistryAccess.ImmutableRegistryAccess.registries
private final Map<? extends ResourceKey<? extends Registry<?>>,
? extends Registry<?>> RegistryAccess.ImmutableRegistryAccess.registries
private final Map<? extends ResourceKey<? extends Registry<?>>,
? extends WritableRegistry<?>> RegistryAccess.WritableRegistryAccess.registries
static final Map<ResourceKey<? extends Registry<?>>,
RegistryAccess.RegistryData<?>> RegistryAccess.REGISTRIES
Registry.REGISTRY
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>>>
Registry.RULE_REGISTRY
static final ResourceKey<Registry<RuleTestType<?>>>
Registry.RULE_TEST_REGISTRY
static final ResourceKey<Registry<Schedule>>
Registry.SCHEDULE_REGISTRY
static final ResourceKey<Registry<SensorType<?>>>
Registry.SENSOR_TYPE_REGISTRY
static final ResourceKey<Registry<SoundEvent>>
Registry.SOUND_EVENT_REGISTRY
static final ResourceKey<Registry<StatType<?>>>
Registry.STAT_TYPE_REGISTRY
static final ResourceKey<Registry<StructureFeature<?>>>
Registry.STRUCTURE_FEATURE_REGISTRY
static final ResourceKey<Registry<StructurePieceType>>
Registry.STRUCTURE_PIECE_REGISTRY
static final ResourceKey<Registry<StructurePlacementType<?>>>
Registry.STRUCTURE_PLACEMENT_TYPE_REGISTRY
static final ResourceKey<Registry<StructurePoolElementType<?>>>
Registry.STRUCTURE_POOL_ELEMENT_REGISTRY
static final ResourceKey<Registry<StructureProcessorType<?>>>
Registry.STRUCTURE_PROCESSOR_REGISTRY
static final ResourceKey<Registry<StructureSet>>
Registry.STRUCTURE_SET_REGISTRY
static final ResourceKey<Registry<StructureTemplatePool>>
Registry.TEMPLATE_POOL_REGISTRY
static final ResourceKey<Registry<TreeDecoratorType<?>>>
Registry.TREE_DECORATOR_TYPE_REGISTRY
static final ResourceKey<Registry<TrunkPlacerType<?>>>
Registry.TRUNK_PLACER_TYPE_REGISTRY
static final ResourceKey<Registry<VillagerProfession>>
Registry.VILLAGER_PROFESSION_REGISTRY
static final ResourceKey<Registry<VillagerType>>
Registry.VILLAGER_TYPE_REGISTRY
Modifier and TypeMethodDescriptionprivate static <K extends ResourceKey<? extends Registry<?>>,
V extends Registry<?>>
com.mojang.serialization.Codec<RegistryAccess>RegistryAccess.captureMap
(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_206164_) private static <K extends ResourceKey<? extends Registry<?>>,
V extends Registry<?>>
com.mojang.serialization.Codec<RegistryAccess>RegistryAccess.captureMap
(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_206164_) static <T extends Registry<?>>
voidRegistry.checkRegistry
(Registry<T> p_205993_) private static <T,
R extends Registry<? extends T>>
RegistryAccess.RegistryEntry<T>RegistryAccess.RegistryEntry.fromMapEntry
(Map.Entry<? extends ResourceKey<? extends Registry<?>>, R> p_206242_) Modifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, Registry.RegistryBootstrap<T> def) private static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge
(ResourceKey<? extends Registry<T>> key, Registry.RegistryBootstrap<T> def) MappedRegistry.freeze()
Registry.freeze()
default <E> Registry<E>
RegistryAccess.ownedRegistryOrThrow
(ResourceKey<? extends Registry<? extends E>> p_206192_) private static <T> Registry<T>
Registry.registerSimple
(ResourceKey<? extends Registry<T>> p_206004_, com.mojang.serialization.Lifecycle p_206005_, Function<T, Holder.Reference<T>> p_206006_, Registry.RegistryBootstrap<T> p_206007_) private static <T> Registry<T>
Registry.registerSimple
(ResourceKey<? extends Registry<T>> p_206000_, com.mojang.serialization.Lifecycle p_206001_, Registry.RegistryBootstrap<T> p_206002_) private static <T> Registry<T>
Registry.registerSimple
(ResourceKey<? extends Registry<T>> p_206009_, Registry.RegistryBootstrap<T> p_206010_) default <E> Registry<E>
RegistryAccess.registryOrThrow
(ResourceKey<? extends Registry<? extends E>> p_175516_) static <E> Registry<E>
RegistryAccess.retrieveRegistry
(ResourceKey<? extends Registry<? extends E>> p_206185_, com.mojang.serialization.Dynamic<?> p_206186_) RegistryAccess.RegistryEntry.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptionprivate static Map<ResourceKey<? extends Registry<?>>,
? extends WritableRegistry<?>> RegistryAccess.createFreshRegistries()
private static <T> ResourceKey<Registry<T>>
Registry.createRegistryKey
(String p_122979_) static <E> com.mojang.serialization.Codec<Registry<E>>
RegistryCodecs.dataPackAwareCodec
(ResourceKey<? extends Registry<E>> p_206319_, com.mojang.serialization.Lifecycle p_206320_, com.mojang.serialization.Codec<E> p_206321_) private static <E> com.mojang.serialization.Decoder<Registry<E>>
RegistryCodecs.dataPackAwareDecoder
(ResourceKey<? extends Registry<E>> p_206283_, com.mojang.serialization.Codec<E> p_206284_, com.mojang.serialization.Decoder<Map<ResourceKey<E>, E>> p_206285_, com.mojang.serialization.Lifecycle p_206286_) ResourceKey<? extends Registry<T>>
Registry.key()
ResourceKey<? extends Registry<E>>
RegistryAccess.RegistryData.key()
Returns the value of thekey
record component.ResourceKey<? extends Registry<T>>
RegistryAccess.RegistryEntry.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.ownedRegistry
(ResourceKey<? extends Registry<? extends E>> p_206229_) RegistryAccess.ownedRegistry
(ResourceKey<? extends Registry<? extends E>> p_175507_) RegistryAccess.WritableRegistryAccess.ownedRegistry
(ResourceKey<? extends Registry<? extends E>> p_206263_) RegistryAccess.registry
(ResourceKey<? extends Registry<? extends E>> p_123085_) Modifier and TypeMethodDescriptionstatic <T extends Registry<?>>
voidRegistry.checkRegistry
(Registry<T> p_205993_) static <T> Holder.Reference<T>
Holder.Reference.createIntrusive
(Registry<T> p_205764_, T p_205765_) Deprecated.static <T> Holder.Reference<T>
Holder.Reference.createStandAlone
(Registry<T> p_205767_, ResourceKey<T> p_205768_) static RegistryAccess.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_) boolean
Holder.Direct.isValidInRegistry
(Registry<T> p_205721_) boolean
Holder.isValidInRegistry
(Registry<T> p_205708_) boolean
Holder.Reference.isValidInRegistry
(Registry<T> p_205762_) boolean
HolderSet.isValidInRegistry
(Registry<T> p_211041_) boolean
HolderSet.ListBacked.isValidInRegistry
(Registry<T> p_211043_) boolean
HolderSet.Named.isValidInRegistry
(Registry<T> p_211049_) 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 <V,
T extends V>
TRegistry.registerMapping
(Registry<V> p_122957_, int p_122958_, String p_122959_, T p_122960_) Modifier and TypeMethodDescriptionstatic <E> WritableRegistry<?>
RegistryAccess.createRegistry
(ResourceKey<? extends Registry<?>> p_206201_) static <E> com.mojang.serialization.Codec<Registry<E>>
RegistryCodecs.dataPackAwareCodec
(ResourceKey<? extends Registry<E>> p_206319_, com.mojang.serialization.Lifecycle p_206320_, com.mojang.serialization.Codec<E> p_206321_) private static <E> com.mojang.serialization.Decoder<Registry<E>>
RegistryCodecs.dataPackAwareDecoder
(ResourceKey<? extends Registry<E>> p_206283_, com.mojang.serialization.Codec<E> p_206284_, com.mojang.serialization.Decoder<Map<ResourceKey<E>, E>> p_206285_, com.mojang.serialization.Lifecycle p_206286_) private static <T> com.mojang.serialization.Codec<Map<ResourceKey<T>,
T>> RegistryCodecs.directCodec
(ResourceKey<? extends Registry<T>> p_206316_, com.mojang.serialization.Codec<T> p_206317_) private static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, Registry.RegistryBootstrap<T> def) private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>Registry.forge
(ResourceKey<? extends Registry<T>> key, String defKey, com.mojang.serialization.Lifecycle cycle, Registry.RegistryBootstrap<T> def) private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>Registry.forge
(ResourceKey<? extends Registry<T>> key, String defKey, Registry.RegistryBootstrap<T> def) private static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge
(ResourceKey<? extends Registry<T>> key, Registry.RegistryBootstrap<T> def) private static <T> RegistryAccess.RegistryEntry<T>
RegistryAccess.RegistryEntry.fromHolder
(Holder.Reference<? extends Registry<? extends T>> p_206240_) private static <T,
R extends Registry<? extends T>>
RegistryAccess.RegistryEntry<T>RegistryAccess.RegistryEntry.fromMapEntry
(Map.Entry<? extends ResourceKey<? extends Registry<?>>, R> p_206242_) static RegistryAccess.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_) private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>
RegistryAccess.getNetworkCodec
(ResourceKey<? extends Registry<E>> p_206204_) static <E> com.mojang.serialization.Codec<HolderSet<E>>
RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206278_) static <E> com.mojang.serialization.Codec<HolderSet<E>>
RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206311_, boolean p_206312_) static <E> com.mojang.serialization.Codec<HolderSet<E>>
RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206280_, com.mojang.serialization.Codec<E> p_206281_) static <E> com.mojang.serialization.Codec<HolderSet<E>>
RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206288_, com.mojang.serialization.Codec<E> p_206289_, boolean p_206290_) private static <T,
R extends WritableRegistry<T>>
RRegistry.internalRegister
(ResourceKey<? extends Registry<T>> p_206012_, R p_206013_, Registry.RegistryBootstrap<T> p_206014_, com.mojang.serialization.Lifecycle p_206015_) static <T> com.mojang.serialization.Codec<Registry<T>>
RegistryCodecs.networkCodec
(ResourceKey<? extends Registry<T>> p_206292_, com.mojang.serialization.Lifecycle p_206293_, com.mojang.serialization.Codec<T> p_206294_) RegistryAccess.ImmutableRegistryAccess.ownedRegistry
(ResourceKey<? extends Registry<? extends E>> p_206229_) RegistryAccess.ownedRegistry
(ResourceKey<? extends Registry<? extends E>> p_175507_) RegistryAccess.WritableRegistryAccess.ownedRegistry
(ResourceKey<? extends Registry<? extends E>> p_206263_) default <E> Registry<E>
RegistryAccess.ownedRegistryOrThrow
(ResourceKey<? extends Registry<? extends E>> p_206192_) <E> Optional<WritableRegistry<E>>
RegistryAccess.Writable.ownedWritableRegistry
(ResourceKey<? extends Registry<? extends E>> p_206252_) <E> Optional<WritableRegistry<E>>
RegistryAccess.WritableRegistryAccess.ownedWritableRegistry
(ResourceKey<? extends Registry<? extends E>> p_206268_) default <E> WritableRegistry<E>
RegistryAccess.Writable.ownedWritableRegistryOrThrow
(ResourceKey<? extends Registry<? extends E>> p_206254_) private static <E> void
RegistryAccess.put
(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> p_123054_, ResourceKey<? extends Registry<E>> p_123055_, com.mojang.serialization.Codec<E> p_123056_) private static <E> void
RegistryAccess.put
(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> p_123054_, ResourceKey<? extends Registry<E>> p_123055_, com.mojang.serialization.Codec<E> p_123056_) private static <E> void
RegistryAccess.put
(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> p_123058_, ResourceKey<? extends Registry<E>> p_123059_, com.mojang.serialization.Codec<E> p_123060_, com.mojang.serialization.Codec<E> p_123061_) private static <E> void
RegistryAccess.put
(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> p_123058_, ResourceKey<? extends Registry<E>> p_123059_, com.mojang.serialization.Codec<E> p_123060_, com.mojang.serialization.Codec<E> p_123061_) private static <T> DefaultedRegistry<T>
Registry.registerDefaulted
(ResourceKey<? extends Registry<T>> p_206022_, String p_206023_, com.mojang.serialization.Lifecycle p_206024_, Function<T, Holder.Reference<T>> p_206025_, Registry.RegistryBootstrap<T> p_206026_) private static <T> DefaultedRegistry<T>
Registry.registerDefaulted
(ResourceKey<? extends Registry<T>> p_206017_, String p_206018_, com.mojang.serialization.Lifecycle p_206019_, Registry.RegistryBootstrap<T> p_206020_) private static <T> DefaultedRegistry<T>
Registry.registerDefaulted
(ResourceKey<? extends Registry<T>> p_206032_, String p_206033_, Function<T, Holder.Reference<T>> p_206034_, Registry.RegistryBootstrap<T> p_206035_) private static <T> DefaultedRegistry<T>
Registry.registerDefaulted
(ResourceKey<? extends Registry<T>> p_206028_, String p_206029_, Registry.RegistryBootstrap<T> p_206030_) private static <T> Registry<T>
Registry.registerSimple
(ResourceKey<? extends Registry<T>> p_206004_, com.mojang.serialization.Lifecycle p_206005_, Function<T, Holder.Reference<T>> p_206006_, Registry.RegistryBootstrap<T> p_206007_) private static <T> Registry<T>
Registry.registerSimple
(ResourceKey<? extends Registry<T>> p_206000_, com.mojang.serialization.Lifecycle p_206001_, Registry.RegistryBootstrap<T> p_206002_) private static <T> Registry<T>
Registry.registerSimple
(ResourceKey<? extends Registry<T>> p_206009_, Registry.RegistryBootstrap<T> p_206010_) RegistryAccess.registry
(ResourceKey<? extends Registry<? extends E>> p_123085_) default <E> Registry<E>
RegistryAccess.registryOrThrow
(ResourceKey<? extends Registry<? extends E>> p_175516_) static <E> Registry<E>
RegistryAccess.retrieveRegistry
(ResourceKey<? extends Registry<? extends E>> p_206185_, com.mojang.serialization.Dynamic<?> p_206186_) private static <T> com.mojang.serialization.MapCodec<RegistryCodecs.RegistryEntry<T>>
RegistryCodecs.withNameAndId
(ResourceKey<? extends Registry<T>> p_206304_, com.mojang.serialization.MapCodec<T> p_206305_) ModifierConstructorDescriptionprivate
Reference
(Holder.Reference.Type p_205754_, Registry<T> p_205755_, ResourceKey<T> p_205756_, T p_205757_) RegistryEntry
(ResourceKey<? extends Registry<T>> key, Registry<T> value) Creates an instance of aRegistryEntry
record class.ModifierConstructorDescriptionDefaultedRegistry
(String p_205693_, ResourceKey<? extends Registry<T>> p_205694_, com.mojang.serialization.Lifecycle p_205695_, Function<T, Holder.Reference<T>> p_205696_) ImmutableRegistryAccess
(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> p_206225_) ImmutableRegistryAccess
(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> p_206225_) MappedRegistry
(ResourceKey<? extends Registry<T>> p_205849_, com.mojang.serialization.Lifecycle p_205850_, Function<T, Holder.Reference<T>> p_205851_) protected
Registry
(ResourceKey<? extends Registry<T>> p_122920_, com.mojang.serialization.Lifecycle p_122921_) RegistryData
(ResourceKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.Codec<E> networkCodec) Creates an instance of aRegistryData
record class.RegistryEntry
(ResourceKey<? extends Registry<T>> key, Registry<T> value) Creates an instance of aRegistryEntry
record class.WritableRegistry
(ResourceKey<? extends Registry<T>> p_123346_, com.mojang.serialization.Lifecycle p_123347_) (package private)
WritableRegistryAccess
(Map<? extends ResourceKey<? extends Registry<?>>, ? extends WritableRegistry<?>> p_206259_) -
Uses of Registry in net.minecraft.data
Modifier and TypeFieldDescriptionBuiltinRegistries.BIOME
Deprecated.static final Registry<ConfiguredWorldCarver<?>>
BuiltinRegistries.CONFIGURED_CARVER
static final Registry<ConfiguredFeature<?,
?>> BuiltinRegistries.CONFIGURED_FEATURE
static final Registry<ConfiguredStructureFeature<?,
?>> BuiltinRegistries.CONFIGURED_STRUCTURE_FEATURE
static final Registry<DensityFunction>
BuiltinRegistries.DENSITY_FUNCTION
static final Registry<NormalNoise.NoiseParameters>
BuiltinRegistries.NOISE
static final Registry<NoiseGeneratorSettings>
BuiltinRegistries.NOISE_GENERATOR_SETTINGS
static final Registry<PlacedFeature>
BuiltinRegistries.PLACED_FEATURE
static final Registry<StructureProcessorList>
BuiltinRegistries.PROCESSOR_LIST
BuiltinRegistries.REGISTRY
static final Registry<StructureSet>
BuiltinRegistries.STRUCTURE_SETS
static final Registry<StructureTemplatePool>
BuiltinRegistries.TEMPLATE_POOL
Modifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
Registry<T>BuiltinRegistries.forge
(ResourceKey<? extends Registry<T>> key, Supplier<? extends Holder<? extends T>> holderSupplier) private static <T> Registry<T>
BuiltinRegistries.registerSimple
(ResourceKey<? extends Registry<T>> p_123885_, com.mojang.serialization.Lifecycle p_123886_, Supplier<? extends Holder<? extends T>> p_123887_) private static <T> Registry<T>
BuiltinRegistries.registerSimple
(ResourceKey<? extends Registry<T>> p_123894_, Supplier<? extends Holder<? extends T>> p_123895_) Modifier and TypeMethodDescriptionstatic <T> Holder<T>
static <T> Holder<T>
BuiltinRegistries.register
(Registry<T> p_206385_, ResourceKey<T> p_206386_, T p_206387_) static <T> Holder<T>
BuiltinRegistries.register
(Registry<T> p_206389_, ResourceLocation p_206390_, T p_206391_) static <V extends T,
T>
Holder<V>BuiltinRegistries.registerExact
(Registry<T> p_206381_, String p_206382_, V p_206383_) Modifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
Registry<T>BuiltinRegistries.forge
(ResourceKey<? extends Registry<T>> key, Supplier<? extends Holder<? extends T>> holderSupplier) private static <T,
R extends WritableRegistry<T>>
RBuiltinRegistries.internalRegister
(ResourceKey<? extends Registry<T>> p_123889_, R p_123890_, Supplier<? extends Holder<? extends T>> p_123891_, com.mojang.serialization.Lifecycle p_123892_) private static <T> Registry<T>
BuiltinRegistries.registerSimple
(ResourceKey<? extends Registry<T>> p_123885_, com.mojang.serialization.Lifecycle p_123886_, Supplier<? extends Holder<? extends T>> p_123887_) private static <T> Registry<T>
BuiltinRegistries.registerSimple
(ResourceKey<? extends Registry<T>> p_123894_, Supplier<? extends Holder<? extends T>> p_123895_) -
Uses of Registry in net.minecraft.data.info
Modifier and TypeMethodDescriptionprivate static <E,
T extends Registry<E>>
voidWorldgenRegistryDumpReport.dumpRegistry
(Path p_194698_, HashCache p_194699_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_194700_, ResourceKey<? extends T> p_194701_, T p_194702_, com.mojang.serialization.Encoder<E> p_194703_) Modifier and TypeMethodDescriptionprivate static <T> com.google.gson.JsonElement
RegistryDumpReport.dumpRegistry
(Registry<T> p_124059_) -
Uses of Registry in net.minecraft.data.tags
ModifierConstructorDescription(package private)
TagAppender
(Tag.Builder p_126572_, Registry<T> p_126573_, String p_126574_) protected
TagsProvider
(DataGenerator p_126546_, Registry<T> p_126547_) Deprecated.Forge: Use the mod id variantprotected
TagsProvider
(DataGenerator p_126546_, Registry<T> p_126547_, String modId, ExistingFileHelper existingFileHelper) -
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 Map<ResourceKey<? extends Registry<?>>,
RegistryLoader.ReadCache<?>> RegistryLoader.readCache
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_) <E> com.mojang.serialization.DataResult<? extends Registry<E>>
RegistryLoader.Bound.overrideRegistryFromResources
(ResourceKey<? extends Registry<E>> p_206790_, com.mojang.serialization.Codec<E> p_206791_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206792_) <E> com.mojang.serialization.DataResult<? extends Registry<E>>
RegistryLoader.overrideRegistryFromResources
(WritableRegistry<E> p_206763_, ResourceKey<? extends Registry<E>> p_206764_, com.mojang.serialization.Codec<E> p_206765_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206766_) RegistryOps.registry
(ResourceKey<? extends Registry<? extends E>> p_206827_) static <E> com.mojang.serialization.MapCodec<Registry<E>>
RegistryOps.retrieveRegistry
(ResourceKey<? extends Registry<? extends E>> p_206833_) 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_) private static <E> RegistryFileCodec<E>
RegistryFileCodec.create
(ResourceKey<? extends Registry<E>> p_135593_, com.mojang.serialization.Codec<E> p_135594_, boolean p_135595_) static <E> RegistryFixedCodec<E>
RegistryFixedCodec.create
(ResourceKey<? extends Registry<E>> p_206741_) static <T> ResourceKey<T>
ResourceKey.create
(ResourceKey<? extends Registry<T>> p_135786_, ResourceLocation p_135787_) static <T> Function<ResourceLocation,
ResourceKey<T>> ResourceKey.elementKey
(ResourceKey<? extends Registry<T>> p_135798_) boolean
ResourceKey.isFor
(ResourceKey<? extends Registry<?>> p_135784_) <E> Collection<ResourceKey<E>>
RegistryResourceAccess.InMemoryStorage.listResources
(ResourceKey<? extends Registry<E>> p_195932_) <E> Collection<ResourceKey<E>>
RegistryResourceAccess.listResources
(ResourceKey<? extends Registry<E>> p_195887_) <E> com.mojang.serialization.DataResult<Holder<E>>
RegistryLoader.Bound.overrideElementFromResources
(ResourceKey<? extends Registry<E>> p_206794_, com.mojang.serialization.Codec<E> p_206795_, ResourceKey<E> p_206796_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206797_) (package private) <E> com.mojang.serialization.DataResult<Holder<E>>
RegistryLoader.overrideElementFromResources
(WritableRegistry<E> p_206768_, ResourceKey<? extends Registry<E>> p_206769_, com.mojang.serialization.Codec<E> p_206770_, ResourceKey<E> p_206771_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206772_) <E> com.mojang.serialization.DataResult<? extends Registry<E>>
RegistryLoader.Bound.overrideRegistryFromResources
(ResourceKey<? extends Registry<E>> p_206790_, com.mojang.serialization.Codec<E> p_206791_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206792_) <E> com.mojang.serialization.DataResult<? extends Registry<E>>
RegistryLoader.overrideRegistryFromResources
(WritableRegistry<E> p_206763_, ResourceKey<? extends Registry<E>> p_206764_, com.mojang.serialization.Codec<E> p_206765_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206766_) <E> Optional<com.mojang.serialization.DataResult<RegistryResourceAccess.ParsedEntry<E>>>
RegistryResourceAccess.InMemoryStorage.parseElement
(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_195917_, ResourceKey<? extends Registry<E>> p_195918_, ResourceKey<E> p_195919_, com.mojang.serialization.Decoder<E> p_195920_) <E> Optional<com.mojang.serialization.DataResult<RegistryResourceAccess.ParsedEntry<E>>>
RegistryResourceAccess.parseElement
(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_195883_, ResourceKey<? extends Registry<E>> p_195884_, ResourceKey<E> p_195885_, com.mojang.serialization.Decoder<E> p_195886_) private <E> RegistryLoader.ReadCache<E>
RegistryLoader.readCache
(ResourceKey<? extends Registry<E>> p_206774_) RegistryOps.registry
(ResourceKey<? extends Registry<? extends E>> p_206827_) static <E> com.mojang.serialization.MapCodec<Registry<E>>
RegistryOps.retrieveRegistry
(ResourceKey<? extends Registry<? extends E>> p_206833_) ModifierConstructorDescriptionprivate
HolderSetCodec
(ResourceKey<? extends Registry<E>> p_206660_, com.mojang.serialization.Codec<Holder<E>> p_206661_, boolean p_206662_) 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.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
(RegistryAccess p_203951_) 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, Tag<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.world.item
Modifier and TypeMethodDescriptionboolean
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.biome
Modifier and TypeFieldDescriptionMultiNoiseBiomeSource.PresetInstance.biomes
The field for thebiomes
record component.Modifier and TypeMethodDescriptionMultiNoiseBiomeSource.PresetInstance.biomes()
Returns the value of thebiomes
record component.Modifier and TypeMethodDescriptionMultiNoiseBiomeSource.Preset.biomeSource
(Registry<Biome> p_187100_) MultiNoiseBiomeSource.Preset.biomeSource
(Registry<Biome> p_187105_, boolean p_187106_) ModifierConstructorDescription(package private)
PresetInstance
(MultiNoiseBiomeSource.Preset preset, Registry<Biome> biomes) Creates an instance of aPresetInstance
record class.TheEndBiomeSource
(Registry<Biome> p_48628_, long p_48629_) ModifierConstructorDescriptionPreset
(ResourceLocation p_187090_, Function<Registry<Biome>, Climate.ParameterList<Holder<Biome>>> p_187091_) -
Uses of Registry in net.minecraft.world.level.chunk
Modifier and TypeFieldDescriptionprotected final Registry<StructureSet>
ChunkGenerator.structureSets
Modifier and TypeMethodDescriptionprotected static final <T extends ChunkGenerator>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>,Registry<StructureSet>> ChunkGenerator.commonCodec
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> p_208006_) Modifier and TypeMethodDescriptionstatic Stream<ConfiguredStructureFeature<?,
?>> ChunkGenerator.allConfigurations
(Registry<ConfiguredStructureFeature<?, ?>> p_208045_, StructureFeature<?> p_208046_) ChunkGenerator.createBiomes
(Registry<Biome> p_196743_, Executor p_196744_, Blender p_196745_, StructureFeatureManager p_196746_, ChunkAccess p_196747_) private static void
ChunkAccess.replaceMissingSections
(LevelHeightAccessor p_187635_, Registry<Biome> p_187636_, LevelChunkSection[] p_187637_) ModifierConstructorDescriptionChunkAccess
(ChunkPos p_187621_, UpgradeData p_187622_, LevelHeightAccessor p_187623_, Registry<Biome> p_187624_, long p_187625_, LevelChunkSection[] p_187626_, BlendingData p_187627_) ChunkGenerator
(Registry<StructureSet> p_207960_, Optional<HolderSet<StructureSet>> p_207961_, BiomeSource p_207962_) ChunkGenerator
(Registry<StructureSet> p_207964_, Optional<HolderSet<StructureSet>> p_207965_, BiomeSource p_207966_, BiomeSource p_207967_, long p_207968_) LevelChunkSection
(int p_188001_, Registry<Biome> p_188002_) ProtoChunk
(ChunkPos p_188173_, UpgradeData p_188174_, LevelChunkSection[] p_188175_, ProtoChunkTicks<Block> p_188176_, ProtoChunkTicks<Fluid> p_188177_, LevelHeightAccessor p_188178_, Registry<Biome> p_188179_, BlendingData p_188180_) ProtoChunk
(ChunkPos p_188167_, UpgradeData p_188168_, LevelHeightAccessor p_188169_, Registry<Biome> p_188170_, BlendingData p_188171_) -
Uses of Registry in net.minecraft.world.level.chunk.storage
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<PalettedContainer<Holder<Biome>>>
ChunkSerializer.makeBiomeCodec
(Registry<Biome> p_188261_) -
Uses of Registry in net.minecraft.world.level.dimension
Modifier and TypeMethodDescriptionDimensionType.defaultDimensions
(RegistryAccess p_204491_, long p_204492_) DimensionType.defaultDimensions
(RegistryAccess p_204494_, long p_204495_, boolean p_204496_) -
Uses of Registry in net.minecraft.world.level.levelgen
Modifier and TypeFieldDescriptionDebugLevelSource.biomes
WorldGenSettings.dimensions
private final Registry<NormalNoise.NoiseParameters>
NoiseBasedChunkGenerator.noises
private final Registry<NormalNoise.NoiseParameters>
SurfaceSystem.noises
Modifier and TypeMethodDescriptionDebugLevelSource.biomes()
WorldGenSettings.dimensions()
WorldGenSettings.withOverworld
(Registry<DimensionType> p_204650_, Registry<LevelStem> p_204651_, ChunkGenerator p_204652_) WorldGenSettings.withOverworld
(Registry<LevelStem> p_204646_, Holder<DimensionType> p_204647_, ChunkGenerator p_204648_) 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
SurfaceSystem.buildSurface
(BiomeManager p_189945_, Registry<Biome> p_189946_, boolean p_189947_, WorldGenerationContext p_189948_, ChunkAccess p_189949_, NoiseChunk p_189950_, SurfaceRules.RuleSource p_189951_) NoiseBasedChunkGenerator.createBiomes
(Registry<Biome> p_197005_, Executor p_197006_, Blender p_197007_, StructureFeatureManager p_197008_, ChunkAccess p_197009_) NoiseGeneratorSettings.createNoiseRouter
(Registry<NormalNoise.NoiseParameters> p_209367_, long p_209368_) static NoiseRouter
NoiseRouterData.createNoiseRouter
(NoiseSettings p_209503_, long p_209504_, Registry<NormalNoise.NoiseParameters> p_209505_, WorldgenRandom.Algorithm p_209506_, NoiseRouterWithOnlyNoises p_209507_) static NormalNoise
Noises.instantiate
(Registry<NormalNoise.NoiseParameters> p_189306_, PositionalRandomFactory p_189307_, ResourceKey<NormalNoise.NoiseParameters> p_189308_) private static com.mojang.serialization.Codec<? extends DensityFunction>
DensityFunctions.register
(Registry<com.mojang.serialization.Codec<? extends DensityFunction>> p_208345_, String p_208346_, com.mojang.serialization.Codec<? extends DensityFunction> p_208347_) private static NormalNoise
NoiseRouterData.seedNoise
(PositionalRandomFactory p_209525_, Registry<NormalNoise.NoiseParameters> p_209526_, Holder<NormalNoise.NoiseParameters> p_209527_) WorldGenSettings.withOverworld
(Registry<DimensionType> p_204650_, Registry<LevelStem> p_204651_, ChunkGenerator p_204652_) WorldGenSettings.withOverworld
(Registry<LevelStem> p_204646_, Holder<DimensionType> p_204647_, ChunkGenerator p_204648_) ModifierConstructorDescriptionprotected
Context
(SurfaceSystem p_189562_, ChunkAccess p_189563_, NoiseChunk p_189564_, Function<BlockPos, Holder<Biome>> p_189565_, Registry<Biome> p_189566_, WorldGenerationContext p_189567_) DebugLevelSource
(Registry<StructureSet> p_208205_, Registry<Biome> p_208206_) FlatLevelSource
(Registry<StructureSet> p_209099_, FlatLevelGeneratorSettings p_209100_) NoiseBasedChunkGenerator
(Registry<StructureSet> p_209106_, Registry<NormalNoise.NoiseParameters> p_209107_, BiomeSource p_209108_, long p_209109_, Holder<NoiseGeneratorSettings> p_209110_) private
NoiseBasedChunkGenerator
(Registry<StructureSet> p_209112_, Registry<NormalNoise.NoiseParameters> p_209113_, BiomeSource p_209114_, BiomeSource p_209115_, long p_209116_, Holder<NoiseGeneratorSettings> p_209117_) SurfaceSystem
(Registry<NormalNoise.NoiseParameters> p_198285_, BlockState p_198286_, int p_198287_, long p_198288_, WorldgenRandom.Algorithm p_198289_) WorldGenSettings
(long p_204633_, boolean p_204634_, boolean p_204635_, Registry<LevelStem> p_204636_) WorldGenSettings
(long p_204638_, boolean p_204639_, boolean p_204640_, Registry<LevelStem> p_204641_, Optional<String> p_204642_) -
Uses of Registry in net.minecraft.world.level.levelgen.flat
Modifier and TypeMethodDescriptionstatic FlatLevelGeneratorSettings
FlatLevelGeneratorSettings.getDefault
(Registry<Biome> p_211735_, Registry<StructureSet> p_211736_) ModifierConstructorDescriptionFlatLevelGeneratorSettings
(Optional<HolderSet<StructureSet>> p_209797_, Registry<Biome> p_209798_) private
FlatLevelGeneratorSettings
(Registry<Biome> p_209790_, Optional<HolderSet<StructureSet>> p_209791_, List<FlatLayerInfo> p_209792_, boolean p_209793_, boolean p_209794_, Optional<Holder<Biome>> p_209795_) -
Uses of Registry in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionStructureCheck.biomes
private final Registry<ConfiguredStructureFeature<?,
?>> StructureCheck.structureConfigs
-
Uses of Registry in net.minecraft.world.level.levelgen.structure.pools
Modifier and TypeFieldDescriptionprivate final Registry<StructureTemplatePool>
JigsawPlacement.Placer.pools
ModifierConstructorDescription(package private)
Placer
(Registry<StructureTemplatePool> p_210323_, int p_210324_, JigsawPlacement.PieceFactory p_210325_, ChunkGenerator p_210326_, StructureManager p_210327_, List<? super PoolElementStructurePiece> p_210328_, Random p_210329_) -
Uses of Registry in net.minecraft.world.level.storage.loot
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
-
Uses of Registry in net.minecraftforge.common.crafting.conditions
Modifier and TypeMethodDescription<T> Map<ResourceLocation,
Tag<Holder<T>>> ConditionContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) <T> Map<ResourceLocation,
Tag<Holder<T>>> ICondition.IContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) Return all the loaded tags for the passed registry, or an empty map if none is available. -
Uses of Registry in net.minecraftforge.common.data
Modifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
Registry<T>ForgeRegistryTagsProvider.wrapRegistry
(IForgeRegistry<T> forgeRegistry) -
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.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
NamespacedDefaultedWrapper<T extends IForgeRegistryEntry<T>>
(package private) class
NamespacedWrapper<T extends IForgeRegistryEntry<T>>
Modifier and TypeFieldDescriptionNamespacedHolderHelper.self
(package private) final @NotNull Registry<?>
VanillaRegisterEvent.vanillaRegistry
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeFieldDescriptionstatic final ResourceKey<Registry<Activity>>
ForgeRegistries.Keys.ACTIVITIES
static final ResourceKey<Registry<Attribute>>
ForgeRegistries.Keys.ATTRIBUTES
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<MenuType<?>>>
ForgeRegistries.Keys.CONTAINER_TYPES
static final ResourceKey<Registry<DataSerializerEntry>>
ForgeRegistries.Keys.DATA_SERIALIZERS
static final ResourceKey<Registry<Enchantment>>
ForgeRegistries.Keys.ENCHANTMENTS
static final ResourceKey<Registry<EntityType<?>>>
ForgeRegistries.Keys.ENTITY_TYPES
static final ResourceKey<Registry<Feature<?>>>
ForgeRegistries.Keys.FEATURES
static final ResourceKey<Registry<Fluid>>
ForgeRegistries.Keys.FLUIDS
static final ResourceKey<Registry<FoliagePlacerType<?>>>
ForgeRegistries.Keys.FOLIAGE_PLACER_TYPES
static final ResourceKey<Registry<Item>>
ForgeRegistries.Keys.ITEMS
private final ResourceKey<Registry<V>>
ForgeRegistry.key
static final ResourceKey<Registry<GlobalLootModifierSerializer<?>>>
ForgeRegistries.Keys.LOOT_MODIFIER_SERIALIZERS
static final ResourceKey<Registry<MemoryModuleType<?>>>
ForgeRegistries.Keys.MEMORY_MODULE_TYPES
static final ResourceKey<Registry<MobEffect>>
ForgeRegistries.Keys.MOB_EFFECTS
static final ResourceKey<Registry<Motive>>
ForgeRegistries.Keys.PAINTING_TYPES
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
private static Map<ResourceKey<? extends Registry<?>>,
RegistryAccess.RegistryData<?>> DataPackRegistriesHooks.REGISTRY_ACCESS_REGISTRIES_COPY
private final @Nullable ResourceKey<? extends Registry<T>>
DeferredRegister.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<StructureFeature<?>>>
ForgeRegistries.Keys.STRUCTURE_FEATURES
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
static final ResourceKey<Registry<ForgeWorldPreset>>
ForgeRegistries.Keys.WORLD_TYPES
Modifier and TypeMethodDescriptionNamespacedDefaultedWrapper.freeze()
NamespacedHolderHelper.freeze()
NamespacedWrapper.freeze()
ForgeRegistry.getWrapper()
Modifier and TypeMethodDescriptionForgeRegistry.getRegistryKey()
IForgeRegistry.getRegistryKey()
static Set<ResourceKey<? extends Registry<?>>>
DataPackRegistriesHooks.getSyncedCustomRegistries()
Returns unmodifiable view of the set of synced non-vanilla datapack registry IDs.static Map<ResourceKey<? extends Registry<?>>,
RegistryAccess.RegistryData<?>> DataPackRegistriesHooks.grabBuiltinRegistries
(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> builder) private static <T> ResourceKey<Registry<T>>
Modifier and TypeMethodDescriptionprivate static <V extends IForgeRegistryEntry<V>>
voidRegistryManager.injectForgeRegistry
(ForgeRegistry<V> forgeReg, Registry<? extends Registry<?>> rootRegistry) private static void
GameData.postVanillaRegisterEvent
(Registry<?> registry) (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,vanilla registries
, orbuilt-in 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,vanilla registries
, orbuilt-in 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.<V extends IForgeRegistryEntry<V>>
ForgeRegistry<V>RegistryManager.getRegistry
(ResourceKey<? extends Registry<V>> key) static <T extends IForgeRegistryEntry<T>>
MappedRegistry<T>GameData.getWrapper
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>GameData.getWrapper
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, String defKey) static Map<ResourceKey<? extends Registry<?>>,
RegistryAccess.RegistryData<?>> DataPackRegistriesHooks.grabBuiltinRegistries
(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> builder) private static <V extends IForgeRegistryEntry<V>>
voidRegistryManager.injectForgeRegistry
(ForgeRegistry<V> forgeReg, Registry<? extends Registry<?>> rootRegistry) private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData.makeRegistry
(ResourceKey<? extends Registry<T>> key, Class<T> type) private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData.makeRegistry
(ResourceKey<? extends Registry<T>> key, Class<T> type, int min, int max) private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData.makeRegistry
(ResourceKey<? extends Registry<T>> key, Class<T> type, String _default) static <T,
U extends T>
RegistryObject<U>RegistryObject.of
(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Deprecated, for removal: This API element is subject to removal in a future version.ModifierConstructorDescription(package private)
NamespacedHolderHelper
(ForgeRegistry<T> owner, Registry<T> self, ResourceLocation defaultKey, Function<T, Holder.Reference<T>> holderLookup) (package private)
VanillaRegisterEvent
(@NotNull Registry<?> vanillaRegistry) Deprecated, for removal: This API element is subject to removal in a future version.ModifierConstructorDescriptionprivate
DeferredRegister
(@Nullable ResourceKey<? extends Registry<T>> registryKey, @Nullable Class<E> base, String modid, boolean optionalRegistry) -
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)