Uses of Class
net.minecraft.core.Registry
Packages that use Registry
Package
Description
-
Uses of Registry in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as RegistryMethods in net.minecraft.advancements.critereon with parameters of type RegistryConstructors in net.minecraft.advancements.critereon with parameters of type Registry -
Uses of Registry in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens declared as RegistryMethods in net.minecraft.client.gui.screens with parameters of type RegistryModifier and TypeMethodDescriptionstatic FlatLevelGeneratorSettingsPresetFlatWorldScreen.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
Methods in net.minecraft.client.gui.screens.worldselection with parameters of type RegistryModifier 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
Method parameters in net.minecraft.client.multiplayer with type arguments of type RegistryModifier 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> voidClientPacketListener.updateTagsForRegistry(ResourceKey<? extends Registry<? extends T>> p_205561_, TagNetworkSerialization.NetworkPayload p_205562_) -
Uses of Registry in net.minecraft.commands
Methods in net.minecraft.commands with parameters of type RegistryModifier and TypeMethodDescriptiondefault voidSharedSuggestionProvider.suggestRegistryElements(Registry<?> p_212336_, SharedSuggestionProvider.ElementSuggestionType p_212337_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212338_) Method parameters in net.minecraft.commands with type arguments of type RegistryModifier and 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
Fields in net.minecraft.commands.arguments with type parameters of type RegistryModifier 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.registryKeyMethods in net.minecraft.commands.arguments that return RegistryModifier and TypeMethodDescriptionprivate static <T> Registry<T>ResourceKeyArgument.getRegistry(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212379_, ResourceKey<? extends Registry<T>> p_212380_) Method parameters in net.minecraft.commands.arguments with type arguments of type RegistryModifier and 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_) Constructor parameters in net.minecraft.commands.arguments with type arguments of type RegistryModifierConstructorDescriptionResourceKeyArgument(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
Methods in net.minecraft.commands.arguments.blocks with parameters of type RegistryModifier and TypeMethodDescriptionstatic BlockStateParser.BlockResultBlockStateParser.parseForBlock(Registry<Block> p_234701_, com.mojang.brigadier.StringReader p_234702_, boolean p_234703_) static BlockStateParser.BlockResultBlockStateParser.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
Methods in net.minecraft.commands.synchronization with parameters of type RegistryModifier and TypeMethodDescriptionstatic ArgumentTypeInfo<?,?> ArgumentTypeInfos.bootstrap(Registry<ArgumentTypeInfo<?, ?>> p_235385_) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,T extends ArgumentTypeInfo.Template<A>>
ArgumentTypeInfo<A,T> ArgumentTypeInfos.register(Registry<ArgumentTypeInfo<?, ?>> p_235387_, String p_235388_, Class<? extends A> p_235389_, ArgumentTypeInfo<A, T> p_235390_) -
Uses of Registry in net.minecraft.core
Subclasses of Registry in net.minecraft.coreModifier and TypeClassDescriptionclassclassclassFields in net.minecraft.core declared as RegistryModifier and TypeFieldDescriptionRegistry.ACTIVITYDeprecated.Registry.ATTRIBUTEDeprecated.static final Registry<BannerPattern>Registry.BANNER_PATTERNstatic final Registry<com.mojang.serialization.Codec<? extends BiomeSource>>Registry.BIOME_SOURCEstatic final Registry<BlockEntityType<?>>Registry.BLOCK_ENTITY_TYPEDeprecated.static final Registry<BlockPredicateType<?>>Registry.BLOCK_PREDICATE_TYPESstatic final Registry<BlockStateProviderType<?>>Registry.BLOCKSTATE_PROVIDER_TYPESDeprecated.static final Registry<WorldCarver<?>>Registry.CARVERDeprecated.static final Registry<CatVariant>Registry.CAT_VARIANTstatic final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>Registry.CHUNK_GENERATORstatic final Registry<ArgumentTypeInfo<?,?>> Registry.COMMAND_ARGUMENT_TYPEDeprecated.static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>>Registry.CONDITIONstatic final Registry<ResourceLocation>Registry.CUSTOM_STATstatic final Registry<com.mojang.serialization.Codec<? extends DensityFunction>>Registry.DENSITY_FUNCTION_TYPESstatic final Registry<Enchantment>Registry.ENCHANTMENTDeprecated.Registry.FEATUREDeprecated.static final Registry<FeatureSizeType<?>>Registry.FEATURE_SIZE_TYPESstatic final Registry<FloatProviderType<?>>Registry.FLOAT_PROVIDER_TYPESstatic final Registry<FoliagePlacerType<?>>Registry.FOLIAGE_PLACER_TYPESDeprecated.static final Registry<FrogVariant>Registry.FROG_VARIANTstatic final Registry<HeightProviderType<?>>Registry.HEIGHT_PROVIDER_TYPESstatic final Registry<Instrument>Registry.INSTRUMENTstatic final Registry<IntProviderType<?>>Registry.INT_PROVIDER_TYPESstatic final Registry<LootItemConditionType>Registry.LOOT_CONDITION_TYPEstatic final Registry<LootItemFunctionType>Registry.LOOT_FUNCTION_TYPEstatic final Registry<LootNbtProviderType>Registry.LOOT_NBT_PROVIDER_TYPEstatic final Registry<LootNumberProviderType>Registry.LOOT_NUMBER_PROVIDER_TYPEstatic final Registry<LootPoolEntryType>Registry.LOOT_POOL_ENTRY_TYPEstatic final Registry<LootScoreProviderType>Registry.LOOT_SCORE_PROVIDER_TYPERegistry.MENUDeprecated.Registry.MOB_EFFECTDeprecated.static final Registry<ParticleType<?>>Registry.PARTICLE_TYPEDeprecated.static final Registry<PlacementModifierType<?>>Registry.PLACEMENT_MODIFIERSRegistry.POINT_OF_INTEREST_TYPEDeprecated.static final Registry<PosRuleTestType<?>>Registry.POS_RULE_TESTstatic final Registry<PositionSourceType<?>>Registry.POSITION_SOURCE_TYPEstatic final Registry<RecipeSerializer<?>>Registry.RECIPE_SERIALIZERDeprecated.static final Registry<RecipeType<?>>Registry.RECIPE_TYPEDeprecated.Holder.Reference.registryHolderLookup.RegistryLookup.registryHolderSet.Named.registryRegistry.REGISTRYstatic final Registry<RootPlacerType<?>>Registry.ROOT_PLACER_TYPESstatic final Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>>Registry.RULEstatic final Registry<RuleTestType<?>>Registry.RULE_TESTRegistry.SCHEDULEDeprecated.static final Registry<SoundEvent>Registry.SOUND_EVENTDeprecated.Registry.STAT_TYPEDeprecated.static final Registry<StructurePieceType>Registry.STRUCTURE_PIECEstatic final Registry<StructurePlacementType<?>>Registry.STRUCTURE_PLACEMENT_TYPEstatic final Registry<StructurePoolElementType<?>>Registry.STRUCTURE_POOL_ELEMENTstatic final Registry<StructureProcessorType<?>>Registry.STRUCTURE_PROCESSORstatic final Registry<StructureType<?>>Registry.STRUCTURE_TYPESstatic final Registry<TreeDecoratorType<?>>Registry.TREE_DECORATOR_TYPESDeprecated.static final Registry<TrunkPlacerType<?>>Registry.TRUNK_PLACER_TYPESRegistryAccess.RegistryEntry.valueThe field for thevaluerecord component.Fields in net.minecraft.core with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<Activity>>Registry.ACTIVITY_REGISTRYstatic final ResourceKey<Registry<Attribute>>Registry.ATTRIBUTE_REGISTRYstatic final ResourceKey<Registry<BannerPattern>>Registry.BANNER_PATTERN_REGISTRYstatic final ResourceKey<Registry<Biome>>Registry.BIOME_REGISTRYstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>Registry.BIOME_SOURCE_REGISTRYstatic final ResourceKey<Registry<BlockEntityType<?>>>Registry.BLOCK_ENTITY_TYPE_REGISTRYstatic final ResourceKey<Registry<BlockPredicateType<?>>>Registry.BLOCK_PREDICATE_TYPE_REGISTRYstatic final ResourceKey<Registry<Block>>Registry.BLOCK_REGISTRYstatic final ResourceKey<Registry<BlockStateProviderType<?>>>Registry.BLOCK_STATE_PROVIDER_TYPE_REGISTRYstatic final ResourceKey<Registry<WorldCarver<?>>>Registry.CARVER_REGISTRYstatic final ResourceKey<Registry<CatVariant>>Registry.CAT_VARIANT_REGISTRYstatic final ResourceKey<Registry<ChatType>>Registry.CHAT_TYPE_REGISTRYstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>Registry.CHUNK_GENERATOR_REGISTRYstatic final ResourceKey<Registry<ChunkStatus>>Registry.CHUNK_STATUS_REGISTRYstatic final ResourceKey<Registry<ArgumentTypeInfo<?,?>>> Registry.COMMAND_ARGUMENT_TYPE_REGISTRYstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>>>Registry.CONDITION_REGISTRYstatic final ResourceKey<Registry<ConfiguredWorldCarver<?>>>Registry.CONFIGURED_CARVER_REGISTRYstatic final ResourceKey<Registry<ConfiguredFeature<?,?>>> Registry.CONFIGURED_FEATURE_REGISTRYstatic final ResourceKey<Registry<ResourceLocation>>Registry.CUSTOM_STAT_REGISTRYstatic final ResourceKey<Registry<DensityFunction>>Registry.DENSITY_FUNCTION_REGISTRYstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>>Registry.DENSITY_FUNCTION_TYPE_REGISTRYstatic final ResourceKey<Registry<Level>>Registry.DIMENSION_REGISTRYstatic final ResourceKey<Registry<DimensionType>>Registry.DIMENSION_TYPE_REGISTRYstatic final ResourceKey<Registry<Enchantment>>Registry.ENCHANTMENT_REGISTRYstatic final ResourceKey<Registry<EntityType<?>>>Registry.ENTITY_TYPE_REGISTRYstatic final ResourceKey<Registry<Feature<?>>>Registry.FEATURE_REGISTRYstatic final ResourceKey<Registry<FeatureSizeType<?>>>Registry.FEATURE_SIZE_TYPE_REGISTRYstatic final ResourceKey<Registry<FlatLevelGeneratorPreset>>Registry.FLAT_LEVEL_GENERATOR_PRESET_REGISTRYstatic final ResourceKey<Registry<FloatProviderType<?>>>Registry.FLOAT_PROVIDER_TYPE_REGISTRYstatic final ResourceKey<Registry<Fluid>>Registry.FLUID_REGISTRYstatic final ResourceKey<Registry<FoliagePlacerType<?>>>Registry.FOLIAGE_PLACER_TYPE_REGISTRYstatic final ResourceKey<Registry<FrogVariant>>Registry.FROG_VARIANT_REGISTRYstatic final ResourceKey<Registry<GameEvent>>Registry.GAME_EVENT_REGISTRYstatic final ResourceKey<Registry<HeightProviderType<?>>>Registry.HEIGHT_PROVIDER_TYPE_REGISTRYstatic final ResourceKey<Registry<Instrument>>Registry.INSTRUMENT_REGISTRYstatic final ResourceKey<Registry<IntProviderType<?>>>Registry.INT_PROVIDER_TYPE_REGISTRYstatic final ResourceKey<Registry<Item>>Registry.ITEM_REGISTRYprivate final ResourceKey<? extends Registry<T>>Registry.keyprivate final ResourceKey<? extends Registry<E>>RegistryAccess.RegistryData.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<T>>RegistryAccess.RegistryEntry.keyThe field for thekeyrecord component.static final ResourceKey<Registry<LevelStem>>Registry.LEVEL_STEM_REGISTRYstatic final ResourceKey<Registry<LootPoolEntryType>>Registry.LOOT_ENTRY_REGISTRYstatic final ResourceKey<Registry<LootItemFunctionType>>Registry.LOOT_FUNCTION_REGISTRYstatic final ResourceKey<Registry<LootItemConditionType>>Registry.LOOT_ITEM_REGISTRYstatic final ResourceKey<Registry<LootNbtProviderType>>Registry.LOOT_NBT_PROVIDER_REGISTRYstatic final ResourceKey<Registry<LootNumberProviderType>>Registry.LOOT_NUMBER_PROVIDER_REGISTRYstatic final ResourceKey<Registry<LootScoreProviderType>>Registry.LOOT_SCORE_PROVIDER_REGISTRYstatic final ResourceKey<Registry<MemoryModuleType<?>>>Registry.MEMORY_MODULE_TYPE_REGISTRYstatic final ResourceKey<Registry<MenuType<?>>>Registry.MENU_REGISTRYstatic final ResourceKey<Registry<MobEffect>>Registry.MOB_EFFECT_REGISTRYstatic final ResourceKey<Registry<NoiseGeneratorSettings>>Registry.NOISE_GENERATOR_SETTINGS_REGISTRYstatic final ResourceKey<Registry<NormalNoise.NoiseParameters>>Registry.NOISE_REGISTRYstatic final ResourceKey<Registry<PaintingVariant>>Registry.PAINTING_VARIANT_REGISTRYstatic final ResourceKey<Registry<ParticleType<?>>>Registry.PARTICLE_TYPE_REGISTRYstatic final ResourceKey<Registry<PlacedFeature>>Registry.PLACED_FEATURE_REGISTRYstatic final ResourceKey<Registry<PlacementModifierType<?>>>Registry.PLACEMENT_MODIFIER_REGISTRYstatic final ResourceKey<Registry<PoiType>>Registry.POINT_OF_INTEREST_TYPE_REGISTRYstatic final ResourceKey<Registry<PosRuleTestType<?>>>Registry.POS_RULE_TEST_REGISTRYstatic final ResourceKey<Registry<PositionSourceType<?>>>Registry.POSITION_SOURCE_TYPE_REGISTRYstatic final ResourceKey<Registry<Potion>>Registry.POTION_REGISTRYstatic final ResourceKey<Registry<StructureProcessorList>>Registry.PROCESSOR_LIST_REGISTRYstatic final ResourceKey<Registry<RecipeSerializer<?>>>Registry.RECIPE_SERIALIZER_REGISTRYstatic final ResourceKey<Registry<RecipeType<?>>>Registry.RECIPE_TYPE_REGISTRYprivate final Map<? extends ResourceKey<? extends Registry<?>>,? extends Registry<?>> RegistryAccess.ImmutableRegistryAccess.registriesprivate final Map<? extends ResourceKey<? extends Registry<?>>,? extends Registry<?>> RegistryAccess.ImmutableRegistryAccess.registriesprivate final Map<? extends ResourceKey<? extends Registry<?>>,? extends WritableRegistry<?>> RegistryAccess.WritableRegistryAccess.registriesstatic final Map<ResourceKey<? extends Registry<?>>,RegistryAccess.RegistryData<?>> RegistryAccess.REGISTRIESRegistry.REGISTRYstatic final ResourceKey<Registry<RootPlacerType<?>>>Registry.ROOT_PLACER_TYPE_REGISTRYstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>>>Registry.RULE_REGISTRYstatic final ResourceKey<Registry<RuleTestType<?>>>Registry.RULE_TEST_REGISTRYstatic final ResourceKey<Registry<Schedule>>Registry.SCHEDULE_REGISTRYstatic final ResourceKey<Registry<SensorType<?>>>Registry.SENSOR_TYPE_REGISTRYstatic final ResourceKey<Registry<SoundEvent>>Registry.SOUND_EVENT_REGISTRYstatic final ResourceKey<Registry<StatType<?>>>Registry.STAT_TYPE_REGISTRYstatic final ResourceKey<Registry<StructurePieceType>>Registry.STRUCTURE_PIECE_REGISTRYstatic final ResourceKey<Registry<StructurePlacementType<?>>>Registry.STRUCTURE_PLACEMENT_TYPE_REGISTRYstatic final ResourceKey<Registry<StructurePoolElementType<?>>>Registry.STRUCTURE_POOL_ELEMENT_REGISTRYstatic final ResourceKey<Registry<StructureProcessorType<?>>>Registry.STRUCTURE_PROCESSOR_REGISTRYstatic final ResourceKey<Registry<Structure>>Registry.STRUCTURE_REGISTRYstatic final ResourceKey<Registry<StructureSet>>Registry.STRUCTURE_SET_REGISTRYstatic final ResourceKey<Registry<StructureType<?>>>Registry.STRUCTURE_TYPE_REGISTRYstatic final ResourceKey<Registry<StructureTemplatePool>>Registry.TEMPLATE_POOL_REGISTRYstatic final ResourceKey<Registry<TreeDecoratorType<?>>>Registry.TREE_DECORATOR_TYPE_REGISTRYstatic final ResourceKey<Registry<TrunkPlacerType<?>>>Registry.TRUNK_PLACER_TYPE_REGISTRYstatic final ResourceKey<Registry<VillagerProfession>>Registry.VILLAGER_PROFESSION_REGISTRYstatic final ResourceKey<Registry<VillagerType>>Registry.VILLAGER_TYPE_REGISTRYstatic final ResourceKey<Registry<WorldPreset>>Registry.WORLD_PRESET_REGISTRYMethods in net.minecraft.core with type parameters of type RegistryModifier 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_) Methods in net.minecraft.core that return RegistryModifier 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 thevaluerecord component.Methods in net.minecraft.core that return types with arguments of type RegistryModifier 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 thekeyrecord component.ResourceKey<? extends Registry<T>>RegistryAccess.RegistryEntry.key()Returns the value of thekeyrecord 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_) Methods in net.minecraft.core with parameters of type RegistryModifier 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.FrozenRegistryAccess.fromRegistryOfRegistries(Registry<? extends Registry<?>> p_206166_) private static <T> RegistryAccess.RegistryEntry<T>RegistryAccess.RegistryEntry.fromUntyped(ResourceKey<? extends Registry<?>> p_206244_, Registry<?> p_206245_) booleanHolder.Direct.isValidInRegistry(Registry<T> p_205721_) booleanHolder.isValidInRegistry(Registry<T> p_205708_) booleanHolder.Reference.isValidInRegistry(Registry<T> p_205762_) booleanHolderSet.isValidInRegistry(Registry<T> p_211041_) booleanHolderSet.ListBacked.isValidInRegistry(Registry<T> p_211043_) booleanHolderSet.Named.isValidInRegistry(Registry<T> p_211049_) static <T> Tstatic <V,T extends V>
TRegistry.register(Registry<V> p_194580_, ResourceKey<V> p_194581_, T p_194582_) static <V,T extends V>
TRegistry.register(Registry<V> p_122966_, ResourceLocation p_122967_, T p_122968_) static <V,T extends V>
TRegistry.registerMapping(Registry<V> p_122957_, int p_122958_, String p_122959_, T p_122960_) Method parameters in net.minecraft.core with type arguments of type RegistryModifier 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.FrozenRegistryAccess.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> voidRegistryAccess.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> voidRegistryAccess.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> voidRegistryAccess.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> voidRegistryAccess.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_) Constructors in net.minecraft.core with parameters of type RegistryModifierConstructorDescriptionprivateReference(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 aRegistryEntryrecord class.RegistryLookup(Registry<T> p_235705_) Constructor parameters in net.minecraft.core with type arguments of type RegistryModifierConstructorDescriptionDefaultedRegistry(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_) protectedRegistry(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 aRegistryDatarecord class.RegistryEntry(ResourceKey<? extends Registry<T>> key, Registry<T> value) Creates an instance of aRegistryEntryrecord 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
Fields in net.minecraft.data declared as RegistryModifier and TypeFieldDescriptionBuiltinRegistries.BIOMEDeprecated.BuiltinRegistries.CHAT_TYPEstatic final Registry<ConfiguredWorldCarver<?>>BuiltinRegistries.CONFIGURED_CARVERstatic final Registry<ConfiguredFeature<?,?>> BuiltinRegistries.CONFIGURED_FEATUREstatic final Registry<DensityFunction>BuiltinRegistries.DENSITY_FUNCTIONstatic final Registry<DimensionType>BuiltinRegistries.DIMENSION_TYPEstatic final Registry<FlatLevelGeneratorPreset>BuiltinRegistries.FLAT_LEVEL_GENERATOR_PRESETstatic final Registry<NormalNoise.NoiseParameters>BuiltinRegistries.NOISEstatic final Registry<NoiseGeneratorSettings>BuiltinRegistries.NOISE_GENERATOR_SETTINGSstatic final Registry<PlacedFeature>BuiltinRegistries.PLACED_FEATUREstatic final Registry<StructureProcessorList>BuiltinRegistries.PROCESSOR_LISTBuiltinRegistries.REGISTRYstatic final Registry<StructureSet>BuiltinRegistries.STRUCTURE_SETSBuiltinRegistries.STRUCTURESstatic final Registry<StructureTemplatePool>BuiltinRegistries.TEMPLATE_POOLstatic final Registry<WorldPreset>BuiltinRegistries.WORLD_PRESETFields in net.minecraft.data with type parameters of type RegistryMethods in net.minecraft.data that return RegistryModifier 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_) Methods in net.minecraft.data with parameters of type RegistryModifier 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_) Method parameters in net.minecraft.data with type arguments of type RegistryModifier 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
Methods in net.minecraft.data.info with parameters of type RegistryModifier and TypeMethodDescriptionprivate static <T> com.google.gson.JsonElementRegistryDumpReport.dumpRegistry(Registry<T> p_124059_) -
Uses of Registry in net.minecraft.data.tags
Fields in net.minecraft.data.tags declared as RegistryConstructors in net.minecraft.data.tags with parameters of type RegistryModifierConstructorDescription(package private)TagAppender(TagBuilder p_236454_, Registry<T> p_236455_, String modId) protectedTagsProvider(DataGenerator p_126546_, Registry<T> p_126547_) Deprecated.Forge: Use the mod id variantprotectedTagsProvider(DataGenerator p_126546_, Registry<T> p_126547_, String modId, ExistingFileHelper existingFileHelper) -
Uses of Registry in net.minecraft.data.worldgen
Methods in net.minecraft.data.worldgen with parameters of type RegistryModifier 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 voidNoiseData.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
Methods in net.minecraft.data.worldgen.biome with parameters of type Registry -
Uses of Registry in net.minecraft.data.worldgen.features
Methods in net.minecraft.data.worldgen.features with parameters of type RegistryModifier and TypeMethodDescriptionstatic Holder<? extends ConfiguredFeature<?,?>> FeatureUtils.bootstrap(Registry<ConfiguredFeature<?, ?>> p_236678_) -
Uses of Registry in net.minecraft.data.worldgen.placement
Methods in net.minecraft.data.worldgen.placement with parameters of type RegistryModifier and TypeMethodDescriptionstatic Holder<PlacedFeature>PlacementUtils.bootstrap(Registry<PlacedFeature> p_236770_) -
Uses of Registry in net.minecraft.network
Method parameters in net.minecraft.network with type arguments of type RegistryModifier and TypeMethodDescription<T> ResourceKey<T>FriendlyByteBuf.readResourceKey(ResourceKey<? extends Registry<T>> p_236802_) -
Uses of Registry in net.minecraft.network.chat
Methods in net.minecraft.network.chat with parameters of type Registry -
Uses of Registry in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>,TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.tagsMethods in net.minecraft.network.protocol.game that return types with arguments of type RegistryModifier and TypeMethodDescriptionMap<ResourceKey<? extends Registry<?>>,TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.getTags()Constructor parameters in net.minecraft.network.protocol.game with type arguments of type RegistryModifierConstructorDescriptionClientboundUpdateTagsPacket(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> p_179473_) -
Uses of Registry in net.minecraft.resources
Fields in net.minecraft.resources with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>,RegistryLoader.ReadCache<?>> RegistryLoader.readCacheprivate final ResourceKey<? extends Registry<E>>HolderSetCodec.registryKeyprivate final ResourceKey<? extends Registry<E>>RegistryFileCodec.registryKeyprivate final ResourceKey<? extends Registry<E>>RegistryFixedCodec.registryKeyMethods in net.minecraft.resources that return types with arguments of type RegistryModifier and TypeMethodDescriptionstatic <T> ResourceKey<Registry<T>>ResourceKey.createRegistryKey(ResourceLocation p_135789_) <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_) Method parameters in net.minecraft.resources with type arguments of type RegistryModifier and TypeMethodDescription<E> Optional<ResourceKey<E>>ResourceKey.cast(ResourceKey<? extends Registry<E>> p_195976_) static <T> com.mojang.serialization.Codec<ResourceKey<T>>ResourceKey.codec(ResourceKey<? extends Registry<T>> p_195967_) static <E> com.mojang.serialization.Codec<HolderSet<E>>HolderSetCodec.create(ResourceKey<? extends Registry<E>> p_206686_, com.mojang.serialization.Codec<Holder<E>> p_206687_, boolean p_206688_) static <E> RegistryFileCodec<E>RegistryFileCodec.create(ResourceKey<? extends Registry<E>> p_135590_, com.mojang.serialization.Codec<E> p_135591_) static <E> RegistryFileCodec<E>RegistryFileCodec.create(ResourceKey<? extends Registry<E>> p_135593_, com.mojang.serialization.Codec<E> p_135594_, boolean p_135595_) static <E> RegistryFixedCodec<E>RegistryFixedCodec.create(ResourceKey<? extends Registry<E>> p_206741_) static <T> ResourceKey<T>ResourceKey.create(ResourceKey<? extends Registry<T>> p_135786_, ResourceLocation p_135787_) booleanResourceKey.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_) Constructor parameters in net.minecraft.resources with type arguments of type RegistryModifierConstructorDescriptionprivateHolderSetCodec(ResourceKey<? extends Registry<E>> p_206660_, com.mojang.serialization.Codec<Holder<E>> p_206661_, boolean p_206662_) privateRegistryFileCodec(ResourceKey<? extends Registry<E>> p_135574_, com.mojang.serialization.Codec<E> p_135575_, boolean p_135576_) privateRegistryFixedCodec(ResourceKey<? extends Registry<E>> p_206723_) -
Uses of Registry in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type RegistryModifier 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
Fields in net.minecraft.stats declared as RegistryMethods in net.minecraft.stats that return RegistryMethods in net.minecraft.stats with parameters of type RegistryModifier and TypeMethodDescriptionprivate static <T> StatType<T>Stats.makeRegistryStatType(String p_13011_, Registry<T> p_13012_) Constructors in net.minecraft.stats with parameters of type Registry -
Uses of Registry in net.minecraft.tags
Fields in net.minecraft.tags with type parameters of type RegistryModifier and TypeFieldDescriptionprivate static final Map<ResourceKey<? extends Registry<?>>,String> TagManager.CUSTOM_REGISTRY_DIRECTORIESprivate final ResourceKey<? extends Registry<T>>TagManager.LoadResult.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<T>>TagKey.registryThe field for theregistryrecord component.Methods in net.minecraft.tags that return types with arguments of type RegistryModifier and TypeMethodDescriptionResourceKey<? extends Registry<T>>TagManager.LoadResult.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<T>>TagKey.registry()Returns the value of theregistryrecord component.static Map<ResourceKey<? extends Registry<?>>,TagNetworkSerialization.NetworkPayload> TagNetworkSerialization.serializeTagsToNetwork(RegistryAccess p_203951_) Methods in net.minecraft.tags with parameters of type RegistryModifier and TypeMethodDescriptionstatic <T> voidTagNetworkSerialization.deserializeTagsFromNetwork(ResourceKey<? extends Registry<T>> p_203953_, Registry<T> p_203954_, TagNetworkSerialization.NetworkPayload p_203955_, TagNetworkSerialization.TagOutput<T> p_203956_) private static <T> TagNetworkSerialization.NetworkPayloadTagNetworkSerialization.serializeToNetwork(Registry<T> p_203943_) Method parameters in net.minecraft.tags with type arguments of type RegistryModifier and TypeMethodDescriptionTagKey.cast(ResourceKey<? extends Registry<E>> p_207648_) static <T> com.mojang.serialization.Codec<TagKey<T>>TagKey.codec(ResourceKey<? extends Registry<T>> p_203878_) static <T> TagKey<T>TagKey.create(ResourceKey<? extends Registry<T>> p_203883_, ResourceLocation p_203884_) static <T> voidTagNetworkSerialization.deserializeTagsFromNetwork(ResourceKey<? extends Registry<T>> p_203953_, Registry<T> p_203954_, TagNetworkSerialization.NetworkPayload p_203955_, TagNetworkSerialization.TagOutput<T> p_203956_) static StringTagManager.getTagDir(ResourceKey<? extends Registry<?>> p_203919_) static <T> com.mojang.serialization.Codec<TagKey<T>>TagKey.hashedCodec(ResourceKey<? extends Registry<T>> p_203887_) booleanTagKey.isFor(ResourceKey<? extends Registry<?>> p_207646_) Constructor parameters in net.minecraft.tags with type arguments of type RegistryModifierConstructorDescriptionLoadResult(ResourceKey<? extends Registry<T>> key, Map<ResourceLocation, Collection<Holder<T>>> tags) Creates an instance of aLoadResultrecord class.TagKey(ResourceKey<? extends Registry<T>> registry, ResourceLocation location) Creates an instance of aTagKeyrecord class. -
Uses of Registry in net.minecraft.world.entity.ai.village.poi
Methods in net.minecraft.world.entity.ai.village.poi with parameters of type Registry -
Uses of Registry in net.minecraft.world.entity.decoration
Methods in net.minecraft.world.entity.decoration with parameters of type RegistryModifier and TypeMethodDescriptionstatic PaintingVariantPaintingVariants.bootstrap(Registry<PaintingVariant> p_218943_) -
Uses of Registry in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type RegistryModifier and TypeMethodDescriptionstatic InstrumentInstruments.bootstrap(Registry<Instrument> p_220149_) booleanItemStack.hasAdventureModeBreakTagForBlock(Registry<Block> p_204129_, BlockInWorld p_204130_) booleanItemStack.hasAdventureModePlaceTagForBlock(Registry<Block> p_204122_, BlockInWorld p_204123_) booleanAdventureModeCheck.test(ItemStack p_204086_, Registry<Block> p_204087_, BlockInWorld p_204088_) -
Uses of Registry in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as RegistryModifier and TypeFieldDescriptionMultiNoiseBiomeSource.PresetInstance.biomesThe field for thebiomesrecord component.Fields in net.minecraft.world.level.biome with type parameters of type RegistryMethods in net.minecraft.world.level.biome that return RegistryModifier and TypeMethodDescriptionMultiNoiseBiomeSource.PresetInstance.biomes()Returns the value of thebiomesrecord component.Methods in net.minecraft.world.level.biome with parameters of type RegistryModifier 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_) Constructors in net.minecraft.world.level.biome with parameters of type RegistryModifierConstructorDescription(package private)PresetInstance(MultiNoiseBiomeSource.Preset preset, Registry<Biome> biomes) Creates an instance of aPresetInstancerecord class.TheEndBiomeSource(Registry<Biome> p_220684_) Constructor parameters in net.minecraft.world.level.biome with type arguments of type RegistryModifierConstructorDescriptionPreset(ResourceLocation p_187090_, Function<Registry<Biome>, Climate.ParameterList<Holder<Biome>>> p_187091_) -
Uses of Registry in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity with parameters of type RegistryModifier and TypeMethodDescriptionstatic BannerPatternBannerPatterns.bootstrap(Registry<BannerPattern> p_222755_) -
Uses of Registry in net.minecraft.world.level.chunk
Fields in net.minecraft.world.level.chunk declared as RegistryModifier and TypeFieldDescriptionprotected final Registry<StructureSet>ChunkGenerator.structureSetsMethods in net.minecraft.world.level.chunk that return types with arguments of type RegistryModifier 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_) Methods in net.minecraft.world.level.chunk with parameters of type RegistryModifier 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 voidChunkAccess.replaceMissingSections(LevelHeightAccessor p_187635_, Registry<Biome> p_187636_, LevelChunkSection[] p_187637_) Constructors in net.minecraft.world.level.chunk with parameters of type RegistryModifierConstructorDescriptionChunkAccess(ChunkPos p_187621_, UpgradeData p_187622_, LevelHeightAccessor p_187623_, Registry<Biome> p_187624_, long p_187625_, LevelChunkSection[] p_187626_, BlendingData p_187627_) 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
Methods in net.minecraft.world.level.chunk.storage with parameters of type RegistryModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<PalettedContainerRO<Holder<Biome>>>ChunkSerializer.makeBiomeCodec(Registry<Biome> p_188261_) -
Uses of Registry in net.minecraft.world.level.dimension
Methods in net.minecraft.world.level.dimension that return RegistryModifier and TypeMethodDescriptionMethods in net.minecraft.world.level.dimension with parameters of type Registry -
Uses of Registry in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as RegistryModifier and TypeFieldDescriptionDebugLevelSource.biomesWorldGenSettings.dimensionsprivate final Registry<NormalNoise.NoiseParameters>NoiseBasedChunkGenerator.noisesprivate final Registry<NormalNoise.NoiseParameters>RandomState.noisesMethods in net.minecraft.world.level.levelgen that return RegistryModifier 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_) Methods in net.minecraft.world.level.levelgen with parameters of type RegistryModifier 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_) voidNoiseBasedChunkGenerator.buildSurface(ChunkAccess p_224262_, WorldGenerationContext p_224263_, RandomState p_224264_, StructureManager p_224265_, BiomeManager p_224266_, Registry<Biome> p_224267_, Blender p_224268_) voidSurfaceSystem.buildSurface(RandomState p_224649_, BiomeManager p_224650_, Registry<Biome> p_224651_, boolean p_224652_, WorldGenerationContext p_224653_, ChunkAccess p_224654_, NoiseChunk p_224655_, SurfaceRules.RuleSource p_224656_) protected static NoiseRouterNoiseRouterData.caves(Registry<DensityFunction> p_224508_) static RandomStateRandomState.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 NoiseRouterNoiseRouterData.end(Registry<DensityFunction> p_224512_) private static DensityFunctionNoiseRouterData.entrances(Registry<DensityFunction> p_224514_) protected static NoiseRouterNoiseRouterData.floatingIslands(Registry<DensityFunction> p_224510_) private static DensityFunctionNoiseRouterData.getFunction(Registry<DensityFunction> p_224465_, ResourceKey<DensityFunction> p_224466_) static NormalNoiseNoises.instantiate(Registry<NormalNoise.NoiseParameters> p_189306_, PositionalRandomFactory p_189307_, ResourceKey<NormalNoise.NoiseParameters> p_189308_) protected static NoiseRouterNoiseRouterData.nether(Registry<DensityFunction> p_224497_) private static NoiseRouterNoiseRouterData.noNewCaves(Registry<DensityFunction> p_224503_, DensityFunction p_224504_) private static DensityFunctionNoiseRouterData.noodle(Registry<DensityFunction> p_224516_) protected static NoiseRouterNoiseRouterData.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 DensityFunctionNoiseRouterData.registerAndWrap(Registry<DensityFunction> p_224468_, ResourceKey<DensityFunction> p_224469_, DensityFunction p_224470_) private static voidNoiseRouterData.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 DensityFunctionNoiseRouterData.slideNetherLike(Registry<DensityFunction> p_224461_, int p_224462_, int p_224463_) private static DensityFunctionNoiseRouterData.spaghetti2D(Registry<DensityFunction> p_224518_) private static DensityFunctionNoiseRouterData.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_) Constructors in net.minecraft.world.level.levelgen with parameters of type RegistryModifierConstructorDescriptionprotectedContext(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_) privateRandomState(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
Fields in net.minecraft.world.level.levelgen.flat declared as RegistryModifier and TypeFieldDescriptionFlatLevelGeneratorPresets.Bootstrap.biomesFlatLevelGeneratorSettings.biomesprivate final Registry<FlatLevelGeneratorPreset>FlatLevelGeneratorPresets.Bootstrap.presetsprivate final Registry<StructureSet>FlatLevelGeneratorPresets.Bootstrap.structureSetsMethods in net.minecraft.world.level.levelgen.flat with parameters of type RegistryModifier and TypeMethodDescriptionstatic Holder<FlatLevelGeneratorPreset>FlatLevelGeneratorPresets.bootstrap(Registry<FlatLevelGeneratorPreset> p_226275_) static FlatLevelGeneratorSettingsFlatLevelGeneratorSettings.getDefault(Registry<Biome> p_211735_, Registry<StructureSet> p_211736_) Constructors in net.minecraft.world.level.levelgen.flat with parameters of type RegistryModifierConstructorDescription(package private)Bootstrap(Registry<FlatLevelGeneratorPreset> p_226282_) FlatLevelGeneratorSettings(Optional<HolderSet<StructureSet>> p_209797_, Registry<Biome> p_209798_) privateFlatLevelGeneratorSettings(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
Fields in net.minecraft.world.level.levelgen.presets declared as RegistryModifier and TypeFieldDescriptionWorldPresets.Bootstrap.biomesprivate final Registry<DimensionType>WorldPresets.Bootstrap.dimensionTypesprivate final Registry<NormalNoise.NoiseParameters>WorldPresets.Bootstrap.noisesprivate final Registry<NoiseGeneratorSettings>WorldPresets.Bootstrap.noiseSettingsprivate final Registry<WorldPreset>WorldPresets.Bootstrap.presetsprivate final Registry<StructureSet>WorldPresets.Bootstrap.structureSetsMethods in net.minecraft.world.level.levelgen.presets that return RegistryMethods in net.minecraft.world.level.levelgen.presets with parameters of type RegistryModifier and TypeMethodDescriptionstatic Holder<WorldPreset>WorldPresets.bootstrap(Registry<WorldPreset> p_226448_) Constructors in net.minecraft.world.level.levelgen.presets with parameters of type Registry -
Uses of Registry in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as Registry -
Uses of Registry in net.minecraft.world.level.levelgen.structure.pools
Fields in net.minecraft.world.level.levelgen.structure.pools declared as RegistryModifier and TypeFieldDescriptionprivate final Registry<StructureTemplatePool>JigsawPlacement.Placer.poolsMethods in net.minecraft.world.level.levelgen.structure.pools with parameters of type RegistryModifier and TypeMethodDescriptionprivate static voidJigsawPlacement.addPieces(RandomState p_227211_, int p_227212_, boolean p_227213_, ChunkGenerator p_227214_, StructureTemplateManager p_227215_, LevelHeightAccessor p_227216_, RandomSource p_227217_, Registry<StructureTemplatePool> p_227218_, PoolElementStructurePiece p_227219_, List<PoolElementStructurePiece> p_227220_, VoxelShape p_227221_) Constructors in net.minecraft.world.level.levelgen.structure.pools with parameters of type RegistryModifierConstructorDescription(package private)Placer(Registry<StructureTemplatePool> p_227258_, int p_227259_, ChunkGenerator p_227260_, StructureTemplateManager p_227261_, List<? super PoolElementStructurePiece> p_227262_, RandomSource p_227263_) -
Uses of Registry in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot declared as RegistryModifier and TypeFieldDescriptionGsonAdapterFactory.Builder.registryGsonAdapterFactory.JsonAdapter.registryMethods in net.minecraft.world.level.storage.loot with parameters of type RegistryModifier 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_) Constructors in net.minecraft.world.level.storage.loot with parameters of type Registry -
Uses of Registry in net.minecraftforge.common
Fields in net.minecraftforge.common with type parameters of type Registry -
Uses of Registry in net.minecraftforge.common.crafting.conditions
Method parameters in net.minecraftforge.common.crafting.conditions with type arguments of type RegistryModifier and TypeMethodDescription<T> Map<ResourceLocation,Collection<Holder<T>>> ConditionContext.getAllTags(ResourceKey<? extends Registry<T>> registry) <T> Map<ResourceLocation,Collection<Holder<T>>> ICondition.IContext.getAllTags(ResourceKey<? extends Registry<T>> registry) Return all the loaded tags for the passed registry, or an empty map if none is available. -
Uses of Registry in net.minecraftforge.common.data
Methods in net.minecraftforge.common.data that return RegistryModifier and TypeMethodDescriptionprivate static <T> Registry<T>ForgeRegistryTagsProvider.wrapRegistry(IForgeRegistry<T> forgeRegistry) Method parameters in net.minecraftforge.common.data with type arguments of type RegistryModifier 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
Fields in net.minecraftforge.debug.misc with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<DataPackRegistriesTest.Syncable>>DataPackRegistriesTest.Syncable.REGISTRY_KEYstatic final ResourceKey<Registry<DataPackRegistriesTest.Unsyncable>>DataPackRegistriesTest.Unsyncable.REGISTRY_KEY -
Uses of Registry in net.minecraftforge.network
Fields in net.minecraftforge.network with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final List<ResourceKey<? extends Registry<?>>>HandshakeMessages.S2CModList.dataPackRegistriesMethods in net.minecraftforge.network that return types with arguments of type RegistryModifier and TypeMethodDescriptionList<ResourceKey<? extends Registry<?>>>HandshakeMessages.S2CModList.getCustomDataPackRegistries() -
Uses of Registry in net.minecraftforge.registries
Subclasses of Registry in net.minecraftforge.registriesModifier and TypeClassDescription(package private) class(package private) classFields in net.minecraftforge.registries declared as RegistryModifier and TypeFieldDescriptionNamespacedHolderHelper.selfprivate final @Nullable Registry<?>RegisterEvent.vanillaRegistryFields in net.minecraftforge.registries with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<Activity>>ForgeRegistries.Keys.ACTIVITIESstatic final ResourceKey<Registry<Attribute>>ForgeRegistries.Keys.ATTRIBUTESstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeModifier>>>ForgeRegistries.Keys.BIOME_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<BiomeModifier>>ForgeRegistries.Keys.BIOME_MODIFIERSstatic final ResourceKey<Registry<Biome>>ForgeRegistries.Keys.BIOMESstatic final ResourceKey<Registry<BlockEntityType<?>>>ForgeRegistries.Keys.BLOCK_ENTITY_TYPESstatic final ResourceKey<Registry<BlockStateProviderType<?>>>ForgeRegistries.Keys.BLOCK_STATE_PROVIDER_TYPESstatic final ResourceKey<Registry<Block>>ForgeRegistries.Keys.BLOCKSstatic final ResourceKey<Registry<ChunkStatus>>ForgeRegistries.Keys.CHUNK_STATUSstatic final ResourceKey<Registry<ArgumentTypeInfo<?,?>>> ForgeRegistries.Keys.COMMAND_ARGUMENT_TYPESstatic final ResourceKey<Registry<Enchantment>>ForgeRegistries.Keys.ENCHANTMENTSstatic final ResourceKey<Registry<EntityDataSerializer<?>>>ForgeRegistries.Keys.ENTITY_DATA_SERIALIZERSstatic final ResourceKey<Registry<EntityType<?>>>ForgeRegistries.Keys.ENTITY_TYPESstatic final ResourceKey<Registry<Feature<?>>>ForgeRegistries.Keys.FEATURESstatic final ResourceKey<Registry<FluidType>>ForgeRegistries.Keys.FLUID_TYPESstatic final ResourceKey<Registry<Fluid>>ForgeRegistries.Keys.FLUIDSstatic final ResourceKey<Registry<FoliagePlacerType<?>>>ForgeRegistries.Keys.FOLIAGE_PLACER_TYPESstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends IGlobalLootModifier>>>ForgeRegistries.Keys.GLOBAL_LOOT_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<HolderSetType>>ForgeRegistries.Keys.HOLDER_SET_TYPESstatic final ResourceKey<Registry<Item>>ForgeRegistries.Keys.ITEMSprivate final ResourceKey<Registry<V>>ForgeRegistry.keyprivate final ResourceKey<? extends Registry<?>>MissingMappingsEvent.keystatic final ResourceKey<Registry<MemoryModuleType<?>>>ForgeRegistries.Keys.MEMORY_MODULE_TYPESstatic final ResourceKey<Registry<MenuType<?>>>ForgeRegistries.Keys.MENU_TYPESstatic final ResourceKey<Registry<MobEffect>>ForgeRegistries.Keys.MOB_EFFECTSstatic final ResourceKey<Registry<PaintingVariant>>ForgeRegistries.Keys.PAINTING_VARIANTSstatic final ResourceKey<Registry<ParticleType<?>>>ForgeRegistries.Keys.PARTICLE_TYPESstatic final ResourceKey<Registry<PoiType>>ForgeRegistries.Keys.POI_TYPESstatic final ResourceKey<Registry<Potion>>ForgeRegistries.Keys.POTIONSstatic final ResourceKey<Registry<RecipeSerializer<?>>>ForgeRegistries.Keys.RECIPE_SERIALIZERSstatic final ResourceKey<Registry<RecipeType<?>>>ForgeRegistries.Keys.RECIPE_TYPESprivate static Map<ResourceKey<? extends Registry<?>>,RegistryAccess.RegistryData<?>> DataPackRegistriesHooks.REGISTRY_ACCESS_REGISTRIES_COPYprivate final ResourceKey<? extends Registry<V>>DeferredRegister.RegistryHolder.registryKeyprivate final ResourceKey<? extends Registry<T>>DeferredRegister.registryKeyprivate final @NotNull ResourceKey<? extends Registry<?>>RegisterEvent.registryKeystatic final ResourceKey<Registry<Schedule>>ForgeRegistries.Keys.SCHEDULESstatic final ResourceKey<Registry<SensorType<?>>>ForgeRegistries.Keys.SENSOR_TYPESstatic final ResourceKey<Registry<SoundEvent>>ForgeRegistries.Keys.SOUND_EVENTSstatic final ResourceKey<Registry<StatType<?>>>ForgeRegistries.Keys.STAT_TYPESstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends StructureModifier>>>ForgeRegistries.Keys.STRUCTURE_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<StructureModifier>>ForgeRegistries.Keys.STRUCTURE_MODIFIERSprivate static final Set<ResourceKey<? extends Registry<?>>>DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIESprivate static final Set<ResourceKey<? extends Registry<?>>>DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIES_VIEWstatic final ResourceKey<Registry<TreeDecoratorType<?>>>ForgeRegistries.Keys.TREE_DECORATOR_TYPESstatic final ResourceKey<Registry<VillagerProfession>>ForgeRegistries.Keys.VILLAGER_PROFESSIONSstatic final ResourceKey<Registry<WorldCarver<?>>>ForgeRegistries.Keys.WORLD_CARVERSMethods in net.minecraftforge.registries that return RegistryModifier and TypeMethodDescriptionNamespacedDefaultedWrapper.freeze()NamespacedHolderHelper.freeze()NamespacedWrapper.freeze()<T> @Nullable Registry<T>RegisterEvent.getVanillaRegistry()ForgeRegistry.getWrapper()ForgeRegistry.getWrapperOrThrow()Methods in net.minecraftforge.registries that return types with arguments of type RegistryModifier 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>>Methods in net.minecraftforge.registries with parameters of type RegistryModifier and TypeMethodDescriptionprivate static <V> voidRegistryManager.injectForgeRegistry(ForgeRegistry<V> forgeReg, Registry<? extends Registry<?>> rootRegistry) (package private) voidRegistryObject.updateReference(Registry<? extends T> registry) Method parameters in net.minecraftforge.registries with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <B> DeferredRegister<B>DeferredRegister.create(ResourceKey<? extends Registry<B>> key, String modid) DeferredRegister factory for custom forge registries,vanilla registries, orbuilt-in registriesto 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 aRegistryObjectthat 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 registriesto 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 aRegistryObjectthat 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> voidRegistryManager.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> voidRegisterEvent.register(ResourceKey<? extends Registry<T>> registryKey, Consumer<RegisterEvent.RegisterHelper<T>> consumer) Calls the provided consumer with a register helper if the provided registry key matches this event's registry key.<T> voidRegisterEvent.register(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation name, Supplier<T> valueSupplier) Registers the value with the given name to the stored registry if the provided registry key matches this event's registry key.Constructors in net.minecraftforge.registries with parameters of type RegistryModifierConstructorDescription(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) Constructor parameters in net.minecraftforge.registries with type arguments of type RegistryModifierConstructorDescriptionprivateDeferredRegister(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) privateRegistryHolder(ResourceKey<? extends Registry<V>> registryKey) -
Uses of Registry in net.minecraftforge.registries.holdersets
Fields in net.minecraftforge.registries.holdersets declared as RegistryModifier and TypeFieldDescriptionAnyHolderSet.registryThe field for theregistryrecord component.NotHolderSet.registryMethods in net.minecraftforge.registries.holdersets that return RegistryModifier and TypeMethodDescriptionAnyHolderSet.registry()Returns the value of theregistryrecord component.NotHolderSet.registry()Methods in net.minecraftforge.registries.holdersets with parameters of type RegistryModifier and TypeMethodDescriptionbooleanAnyHolderSet.isValidInRegistry(Registry<T> registry) booleanCompositeHolderSet.isValidInRegistry(Registry<T> registry) booleanNotHolderSet.isValidInRegistry(Registry<T> registry) Method parameters in net.minecraftforge.registries.holdersets with type arguments of type RegistryModifier 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) Constructors in net.minecraftforge.registries.holdersets with parameters of type RegistryModifierConstructorDescriptionAnyHolderSet(Registry<T> registry) Creates an instance of aAnyHolderSetrecord class.NotHolderSet(Registry<T> registry, HolderSet<T> value) -
Uses of Registry in net.minecraftforge.server.command
Fields in net.minecraftforge.server.command with type parameters of type RegistryModifier and TypeFieldDescriptionprivate static final ResourceKey<Registry<Registry<?>>>TagsCommand.ROOT_REGISTRY_KEYprivate static final ResourceKey<Registry<Registry<?>>>TagsCommand.ROOT_REGISTRY_KEYMethod parameters in net.minecraftforge.server.command with type arguments of type RegistryModifier 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)