Uses of Class
net.minecraft.core.Registry
Package
Description
-
Uses of Registry in net.minecraft.advancements.critereon
-
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.gui.screens.worldselection
Modifier and TypeMethodDescriptionprivate static Optional<List<Holder<WorldPreset>>>
WorldGenSettingsComponent.getNonEmptyList
(Registry<WorldPreset> p_233060_, TagKey<WorldPreset> p_233061_) -
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>>
ResourceKeyArgument.Info.Template.registryKey
(package private) final ResourceKey<? extends Registry<T>>
ResourceKeyArgument.registryKey
(package private) final ResourceKey<? extends Registry<T>>
ResourceOrTagLocationArgument.Info.Template.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> Holder<T>
ResourceKeyArgument.getRegistryKeyType
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_233256_, String p_233257_, ResourceKey<Registry<T>> p_233258_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_233259_) 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_) 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_) (package private)
Template
(ResourceKey<? extends Registry<T>> p_233296_) (package private)
Template
(ResourceKey<? extends Registry<T>> p_233432_) -
Uses of Registry in net.minecraft.commands.arguments.blocks
Modifier and TypeMethodDescriptionstatic BlockStateParser.BlockResult
BlockStateParser.parseForBlock
(Registry<Block> p_234701_, com.mojang.brigadier.StringReader p_234702_, boolean p_234703_) static BlockStateParser.BlockResult
BlockStateParser.parseForBlock
(Registry<Block> p_234705_, String p_234706_, boolean p_234707_) static com.mojang.datafixers.util.Either<BlockStateParser.BlockResult,
BlockStateParser.TagResult> BlockStateParser.parseForTesting
(Registry<Block> p_234721_, com.mojang.brigadier.StringReader p_234722_, boolean p_234723_) static com.mojang.datafixers.util.Either<BlockStateParser.BlockResult,
BlockStateParser.TagResult> BlockStateParser.parseForTesting
(Registry<Block> p_234725_, String p_234726_, boolean p_234727_) -
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 TypeClassDescriptionclass
class
class
Modifier and TypeFieldDescriptionRegistry.ACTIVITY
Deprecated.Registry.ATTRIBUTE
Deprecated.static final Registry<BannerPattern>
Registry.BANNER_PATTERN
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<CatVariant>
Registry.CAT_VARIANT
static final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>
Registry.CHUNK_GENERATOR
static final Registry<ArgumentTypeInfo<?,
?>> Registry.COMMAND_ARGUMENT_TYPE
Deprecated.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<FrogVariant>
Registry.FROG_VARIANT
static final Registry<HeightProviderType<?>>
Registry.HEIGHT_PROVIDER_TYPES
static final Registry<Instrument>
Registry.INSTRUMENT
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
Registry.POINT_OF_INTEREST_TYPE
Deprecated.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
Deprecated.Holder.Reference.registry
HolderLookup.RegistryLookup.registry
HolderSet.Named.registry
Registry.REGISTRY
static final Registry<RootPlacerType<?>>
Registry.ROOT_PLACER_TYPES
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<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<StructureType<?>>
Registry.STRUCTURE_TYPES
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<BannerPattern>>
Registry.BANNER_PATTERN_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<CatVariant>>
Registry.CAT_VARIANT_REGISTRY
static final ResourceKey<Registry<ChatType>>
Registry.CHAT_TYPE_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<ArgumentTypeInfo<?,
?>>> Registry.COMMAND_ARGUMENT_TYPE_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<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<FlatLevelGeneratorPreset>>
Registry.FLAT_LEVEL_GENERATOR_PRESET_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<FrogVariant>>
Registry.FROG_VARIANT_REGISTRY
static final ResourceKey<Registry<GameEvent>>
Registry.GAME_EVENT_REGISTRY
static final ResourceKey<Registry<HeightProviderType<?>>>
Registry.HEIGHT_PROVIDER_TYPE_REGISTRY
static final ResourceKey<Registry<Instrument>>
Registry.INSTRUMENT_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<NoiseGeneratorSettings>>
Registry.NOISE_GENERATOR_SETTINGS_REGISTRY
static final ResourceKey<Registry<NormalNoise.NoiseParameters>>
Registry.NOISE_REGISTRY
static final ResourceKey<Registry<PaintingVariant>>
Registry.PAINTING_VARIANT_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<RootPlacerType<?>>>
Registry.ROOT_PLACER_TYPE_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<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<Structure>>
Registry.STRUCTURE_REGISTRY
static final ResourceKey<Registry<StructureSet>>
Registry.STRUCTURE_SET_REGISTRY
static final ResourceKey<Registry<StructureType<?>>>
Registry.STRUCTURE_TYPE_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
static final ResourceKey<Registry<WorldPreset>>
Registry.WORLD_PRESET_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> Registry<T>
Registry.forge
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, Registry.RegistryBootstrap<T> def) private static <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 <T> HolderLookup<T>
HolderLookup.forRegistry
(Registry<T> p_235702_) 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> Registry<T>
Registry.forge
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, Registry.RegistryBootstrap<T> def) private static <T> DefaultedRegistry<T>
Registry.forge
(ResourceKey<? extends Registry<T>> key, String defKey, com.mojang.serialization.Lifecycle cycle, Registry.RegistryBootstrap<T> def) private static <T> DefaultedRegistry<T>
Registry.forge
(ResourceKey<? extends Registry<T>> key, String defKey, Registry.RegistryBootstrap<T> def) private static <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.RegistryLookup
(Registry<T> p_235705_) 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.BuiltinRegistries.CHAT_TYPE
static final Registry<ConfiguredWorldCarver<?>>
BuiltinRegistries.CONFIGURED_CARVER
static final Registry<ConfiguredFeature<?,
?>> BuiltinRegistries.CONFIGURED_FEATURE
static final Registry<DensityFunction>
BuiltinRegistries.DENSITY_FUNCTION
static final Registry<DimensionType>
BuiltinRegistries.DIMENSION_TYPE
static final Registry<FlatLevelGeneratorPreset>
BuiltinRegistries.FLAT_LEVEL_GENERATOR_PRESET
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
BuiltinRegistries.STRUCTURES
static final Registry<StructureTemplatePool>
BuiltinRegistries.TEMPLATE_POOL
static final Registry<WorldPreset>
BuiltinRegistries.WORLD_PRESET
Modifier and TypeMethodDescriptionprivate static <T> Registry<T>
BuiltinRegistries.forge
(ResourceKey<? extends Registry<T>> key, BuiltinRegistries.RegistryBootstrap<T> bootstrap) private static <T> Registry<T>
BuiltinRegistries.registerSimple
(ResourceKey<? extends Registry<T>> p_235993_, com.mojang.serialization.Lifecycle p_235994_, BuiltinRegistries.RegistryBootstrap<T> p_235995_) private static <T> Registry<T>
BuiltinRegistries.registerSimple
(ResourceKey<? extends Registry<T>> p_236002_, BuiltinRegistries.RegistryBootstrap<T> p_236003_) 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> Registry<T>
BuiltinRegistries.forge
(ResourceKey<? extends Registry<T>> key, BuiltinRegistries.RegistryBootstrap<T> bootstrap) private static <T,
R extends WritableRegistry<T>>
RBuiltinRegistries.internalRegister
(ResourceKey<? extends Registry<T>> p_235997_, R p_235998_, BuiltinRegistries.RegistryBootstrap<T> p_235999_, com.mojang.serialization.Lifecycle p_236000_) private static <T> Registry<T>
BuiltinRegistries.registerSimple
(ResourceKey<? extends Registry<T>> p_235993_, com.mojang.serialization.Lifecycle p_235994_, BuiltinRegistries.RegistryBootstrap<T> p_235995_) private static <T> Registry<T>
BuiltinRegistries.registerSimple
(ResourceKey<? extends Registry<T>> p_236002_, BuiltinRegistries.RegistryBootstrap<T> p_236003_) -
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.tags
ModifierConstructorDescription(package private)
TagAppender
(TagBuilder p_236454_, Registry<T> p_236455_, String modId) 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.data.worldgen
Modifier and TypeMethodDescriptionstatic Holder<DimensionType>
DimensionTypes.bootstrap
(Registry<DimensionType> p_236474_) static Holder<NormalNoise.NoiseParameters>
NoiseData.bootstrap
(Registry<NormalNoise.NoiseParameters> p_236476_) static Holder<StructureTemplatePool>
Pools.bootstrap
(Registry<StructureTemplatePool> p_236492_) static Holder<StructureSet>
StructureSets.bootstrap
(Registry<StructureSet> p_236498_) private static Holder<NormalNoise.NoiseParameters>
NoiseData.register
(Registry<NormalNoise.NoiseParameters> p_236485_, ResourceKey<NormalNoise.NoiseParameters> p_236486_, int p_236487_, double p_236488_, double... p_236489_) private static void
NoiseData.registerBiomeNoises
(Registry<NormalNoise.NoiseParameters> p_236478_, int p_236479_, ResourceKey<NormalNoise.NoiseParameters> p_236480_, ResourceKey<NormalNoise.NoiseParameters> p_236481_, ResourceKey<NormalNoise.NoiseParameters> p_236482_, ResourceKey<NormalNoise.NoiseParameters> p_236483_) -
Uses of Registry in net.minecraft.data.worldgen.biome
-
Uses of Registry in net.minecraft.data.worldgen.features
Modifier and TypeMethodDescriptionstatic Holder<? extends ConfiguredFeature<?,
?>> FeatureUtils.bootstrap
(Registry<ConfiguredFeature<?, ?>> p_236678_) -
Uses of Registry in net.minecraft.data.worldgen.placement
Modifier and TypeMethodDescriptionstatic Holder<PlacedFeature>
PlacementUtils.bootstrap
(Registry<PlacedFeature> p_236770_) -
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.chat
-
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_) 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_) boolean
ResourceKey.isFor
(ResourceKey<? extends Registry<?>> p_135784_) <E> Map<ResourceKey<E>,
RegistryResourceAccess.EntryThunk<E>> RegistryResourceAccess.InMemoryStorage.listResources
(ResourceKey<? extends Registry<E>> p_214274_) <E> Map<ResourceKey<E>,
RegistryResourceAccess.EntryThunk<E>> RegistryResourceAccess.listResources
(ResourceKey<? extends Registry<E>> p_214235_) <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_) private <E> com.mojang.serialization.DataResult<Holder<E>>
RegistryLoader.overrideElementFromResources
(WritableRegistry<E> p_214229_, ResourceKey<? extends Registry<E>> p_214230_, com.mojang.serialization.Codec<E> p_214231_, ResourceKey<E> p_214232_, Optional<RegistryResourceAccess.EntryThunk<E>> p_214233_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_214234_) <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_) 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.server.commands
Modifier and TypeMethodDescriptionprivate static Optional<? extends HolderSet.ListBacked<Structure>>
LocateCommand.getHolders
(ResourceOrTagLocationArgument.Result<Structure> p_214484_, Registry<Structure> p_214485_) -
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, 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.world.entity.ai.village.poi
-
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.item
Modifier and TypeMethodDescriptionstatic 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.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_) static com.mojang.serialization.Codec<? extends BiomeSource>
BiomeSources.bootstrap
(Registry<com.mojang.serialization.Codec<? extends BiomeSource>> p_220587_) ModifierConstructorDescription(package private)
PresetInstance
(MultiNoiseBiomeSource.Preset preset, Registry<Biome> biomes) Creates an instance of aPresetInstance
record class.TheEndBiomeSource
(Registry<Biome> p_220684_) ModifierConstructorDescriptionPreset
(ResourceLocation p_187090_, Function<Registry<Biome>, Climate.ParameterList<Holder<Biome>>> p_187091_) -
Uses of Registry in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionstatic BannerPattern
BannerPatterns.bootstrap
(Registry<BannerPattern> p_222755_) -
Uses of Registry in net.minecraft.world.level.chunk
Modifier and TypeFieldDescriptionprotected final Registry<StructureSet>
ChunkGenerator.structureSets
Modifier and TypeMethodDescriptionprotected static <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 com.mojang.serialization.Codec<? extends ChunkGenerator>
ChunkGenerators.bootstrap
(Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>> p_223243_) ChunkGenerator.createBiomes
(Registry<Biome> p_223158_, Executor p_223159_, RandomState p_223160_, Blender p_223161_, StructureManager p_223162_, ChunkAccess p_223163_) 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_223024_, Optional<HolderSet<StructureSet>> p_223025_, BiomeSource p_223026_, Function<Holder<Biome>, BiomeGenerationSettings> p_223027_) 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<PalettedContainerRO<Holder<Biome>>>
ChunkSerializer.makeBiomeCodec
(Registry<Biome> p_188261_) -
Uses of Registry in net.minecraft.world.level.dimension
Modifier and TypeMethodDescription -
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>
RandomState.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 Holder<NoiseGeneratorSettings>
NoiseGeneratorSettings.bootstrap
(Registry<NoiseGeneratorSettings> p_224384_) static Holder<? extends DensityFunction>
NoiseRouterData.bootstrap
(Registry<DensityFunction> p_224459_) 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_) protected static NoiseRouter
NoiseRouterData.caves
(Registry<DensityFunction> p_224508_) static RandomState
RandomState.create
(NoiseGeneratorSettings p_224571_, Registry<NormalNoise.NoiseParameters> p_224572_, long p_224573_) NoiseBasedChunkGenerator.createBiomes
(Registry<Biome> p_224297_, Executor p_224298_, RandomState p_224299_, Blender p_224300_, StructureManager p_224301_, ChunkAccess p_224302_) protected static NoiseRouter
NoiseRouterData.end
(Registry<DensityFunction> p_224512_) private static DensityFunction
NoiseRouterData.entrances
(Registry<DensityFunction> p_224514_) protected static NoiseRouter
NoiseRouterData.floatingIslands
(Registry<DensityFunction> p_224510_) private static DensityFunction
NoiseRouterData.getFunction
(Registry<DensityFunction> p_224465_, ResourceKey<DensityFunction> p_224466_) static NormalNoise
Noises.instantiate
(Registry<NormalNoise.NoiseParameters> p_189306_, PositionalRandomFactory p_189307_, ResourceKey<NormalNoise.NoiseParameters> p_189308_) protected static NoiseRouter
NoiseRouterData.nether
(Registry<DensityFunction> p_224497_) private static NoiseRouter
NoiseRouterData.noNewCaves
(Registry<DensityFunction> p_224503_, DensityFunction p_224504_) private static DensityFunction
NoiseRouterData.noodle
(Registry<DensityFunction> p_224516_) protected static NoiseRouter
NoiseRouterData.overworld
(Registry<DensityFunction> p_224486_, boolean p_224487_, boolean p_224488_) 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_) static Holder<NoiseGeneratorSettings>
NoiseGeneratorSettings.register
(Registry<NoiseGeneratorSettings> p_224386_, ResourceKey<NoiseGeneratorSettings> p_224387_, NoiseGeneratorSettings p_224388_) private static Holder<DensityFunction>
NoiseRouterData.register
(Registry<DensityFunction> p_224499_, ResourceKey<DensityFunction> p_224500_, DensityFunction p_224501_) (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 DensityFunction
NoiseRouterData.registerAndWrap
(Registry<DensityFunction> p_224468_, ResourceKey<DensityFunction> p_224469_, DensityFunction p_224470_) private static void
NoiseRouterData.registerTerrainNoises
(Registry<DensityFunction> p_224475_, DensityFunction p_224476_, Holder<DensityFunction> p_224477_, Holder<DensityFunction> p_224478_, ResourceKey<DensityFunction> p_224479_, ResourceKey<DensityFunction> p_224480_, ResourceKey<DensityFunction> p_224481_, ResourceKey<DensityFunction> p_224482_, ResourceKey<DensityFunction> p_224483_, boolean p_224484_) private static DensityFunction
NoiseRouterData.slideNetherLike
(Registry<DensityFunction> p_224461_, int p_224462_, int p_224463_) private static DensityFunction
NoiseRouterData.spaghetti2D
(Registry<DensityFunction> p_224518_) private static DensityFunction
NoiseRouterData.underground
(Registry<DensityFunction> p_224472_, DensityFunction p_224473_) 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_224616_, RandomState p_224617_, ChunkAccess p_224618_, NoiseChunk p_224619_, Function<BlockPos, Holder<Biome>> p_224620_, Registry<Biome> p_224621_, WorldGenerationContext p_224622_) DebugLevelSource
(Registry<StructureSet> p_208205_, Registry<Biome> p_208206_) FlatLevelSource
(Registry<StructureSet> p_209099_, FlatLevelGeneratorSettings p_209100_) NoiseBasedChunkGenerator
(Registry<StructureSet> p_224206_, Registry<NormalNoise.NoiseParameters> p_224207_, BiomeSource p_224208_, Holder<NoiseGeneratorSettings> p_224209_) private
RandomState
(NoiseGeneratorSettings p_224556_, Registry<NormalNoise.NoiseParameters> p_224557_, long p_224558_) 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 TypeFieldDescriptionFlatLevelGeneratorPresets.Bootstrap.biomes
FlatLevelGeneratorSettings.biomes
private final Registry<FlatLevelGeneratorPreset>
FlatLevelGeneratorPresets.Bootstrap.presets
private final Registry<StructureSet>
FlatLevelGeneratorPresets.Bootstrap.structureSets
Modifier and TypeMethodDescriptionstatic Holder<FlatLevelGeneratorPreset>
FlatLevelGeneratorPresets.bootstrap
(Registry<FlatLevelGeneratorPreset> p_226275_) static FlatLevelGeneratorSettings
FlatLevelGeneratorSettings.getDefault
(Registry<Biome> p_211735_, Registry<StructureSet> p_211736_) ModifierConstructorDescription(package private)
Bootstrap
(Registry<FlatLevelGeneratorPreset> p_226282_) FlatLevelGeneratorSettings
(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.presets
Modifier and TypeFieldDescriptionWorldPresets.Bootstrap.biomes
private final Registry<DimensionType>
WorldPresets.Bootstrap.dimensionTypes
private final Registry<NormalNoise.NoiseParameters>
WorldPresets.Bootstrap.noises
private final Registry<NoiseGeneratorSettings>
WorldPresets.Bootstrap.noiseSettings
private final Registry<WorldPreset>
WorldPresets.Bootstrap.presets
private final Registry<StructureSet>
WorldPresets.Bootstrap.structureSets
Modifier and TypeMethodDescriptionstatic Holder<WorldPreset>
WorldPresets.bootstrap
(Registry<WorldPreset> p_226448_) -
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.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,
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.common.data
Modifier and TypeMethodDescriptionprivate static <T> Registry<T>
ForgeRegistryTagsProvider.wrapRegistry
(IForgeRegistry<T> forgeRegistry) Modifier and TypeMethodDescriptionstatic <T> JsonCodecProvider<T>
JsonCodecProvider.forDatapackRegistry
(DataGenerator dataGenerator, ExistingFileHelper existingFileHelper, String modid, RegistryOps<com.google.gson.JsonElement> registryOps, ResourceKey<Registry<T>> registryKey, Map<ResourceLocation, T> entries) Returns DatapackRegistryProvider that encodes using the registered loading codec for the provided registry key. -
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
(package private) class
Modifier and TypeFieldDescriptionNamespacedHolderHelper.self
private 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<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
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 static Map<ResourceKey<? extends Registry<?>>,
RegistryAccess.RegistryData<?>> DataPackRegistriesHooks.REGISTRY_ACCESS_REGISTRIES_COPY
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 TypeMethodDescriptionNamespacedDefaultedWrapper.freeze()
NamespacedHolderHelper.freeze()
NamespacedWrapper.freeze()
<T> @Nullable Registry<T>
RegisterEvent.getVanillaRegistry()
ForgeRegistry.getWrapper()
ForgeRegistry.getWrapperOrThrow()
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 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> 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,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.<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> 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> 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)
NamespacedHolderHelper
(ForgeRegistry<T> owner, Registry<T> self, @Nullable ResourceLocation defaultKey, @Nullable Function<T, Holder.Reference<T>> holderLookup) (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 TypeFieldDescriptionAnyHolderSet.registry
The field for theregistry
record component.NotHolderSet.registry
Modifier and TypeMethodDescriptionAnyHolderSet.registry()
Returns the value of theregistry
record component.NotHolderSet.registry()
Modifier and TypeMethodDescriptionboolean
AnyHolderSet.isValidInRegistry
(Registry<T> registry) boolean
CompositeHolderSet.isValidInRegistry
(Registry<T> registry) boolean
NotHolderSet.isValidInRegistry
(Registry<T> registry) 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) ModifierConstructorDescriptionAnyHolderSet
(Registry<T> registry) Creates an instance of aAnyHolderSet
record class.NotHolderSet
(Registry<T> registry, HolderSet<T> value) -
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)