Uses of Interface
net.minecraft.registry.Registry
Packages that use Registry
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of Registry in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type RegistryModifier and TypeMethodDescriptionstatic Criterion<?> Criteria.getDefault(Registry<Criterion<?>> registry) -
Uses of Registry in net.minecraft.block
Methods in net.minecraft.block with parameters of type RegistryModifier and TypeMethodDescriptionprivate voidNyliumBlock.generate(Registry<ConfiguredFeature<?, ?>> registry, RegistryKey<ConfiguredFeature<?, ?>> key, ServerWorld world, ChunkGenerator chunkGenerator, Random random, BlockPos pos) private static DecoratedPotPatternDecoratedPotPatterns.register(Registry<DecoratedPotPattern> registry, RegistryKey<DecoratedPotPattern> key, String id) static com.mojang.serialization.MapCodec<? extends Block> BlockTypes.registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends Block>> registry) static DecoratedPotPatternDecoratedPotPatterns.registerAndGetDefault(Registry<DecoratedPotPattern> registry) -
Uses of Registry in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world declared as RegistryMethods in net.minecraft.client.gui.screen.world with parameters of type RegistryModifier and TypeMethodDescriptionprivate static Optional<List<WorldCreator.WorldType>> WorldCreator.getWorldPresetList(Registry<WorldPreset> registry, TagKey<WorldPreset> tag) -
Uses of Registry in net.minecraft.client.network
Fields in net.minecraft.client.network with type parameters of type RegistryModifier and TypeFieldDescription(package private) final Map<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.SerializedRegistryEntry>> ClientRegistries.DynamicRegistries.dynamicRegistriesprivate final Map<RegistryKey<? extends Registry<?>>, TagPacketSerializer.Serialized> ClientRegistries.Tags.tagsMethod parameters in net.minecraft.client.network with type arguments of type RegistryModifier and TypeMethodDescriptionprivate static voidClientRegistries.addCrashReportSection(CrashReport crashReport, Map<RegistryKey<? extends Registry<?>>, RegistryLoader.ElementsAndTags> data, List<Registry.PendingTagLoad<?>> tags) voidClientRegistries.Tags.forEach(BiConsumer<? super RegistryKey<? extends Registry<?>>, ? super TagPacketSerializer.Serialized> consumer) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> ClientCommandSource.listIdSuggestions(RegistryKey<? extends Registry<?>> registryRef, CommandSource.SuggestedIdType suggestedIdType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.context.CommandContext<?> context) voidClientRegistries.DynamicRegistries.put(RegistryKey<? extends Registry<?>> registryRef, List<SerializableRegistries.SerializedRegistryEntry> entries) voidClientRegistries.Tags.put(RegistryKey<? extends Registry<?>> registryRef, TagPacketSerializer.Serialized tags) voidClientRegistries.putDynamicRegistry(RegistryKey<? extends Registry<?>> registryRef, List<SerializableRegistries.SerializedRegistryEntry> entries) voidClientRegistries.putTags(Map<RegistryKey<? extends Registry<?>>, TagPacketSerializer.Serialized> tags) private <T> Registry.PendingTagLoad<T> ClientPlayNetworkHandler.startTagReload(RegistryKey<? extends Registry<? extends T>> registryRef, TagPacketSerializer.Serialized serialized) private static <T> Registry.PendingTagLoad<T> ClientRegistries.startTagReload(DynamicRegistryManager.Immutable registryManager, RegistryKey<? extends Registry<? extends T>> registryRef, TagPacketSerializer.Serialized tags) -
Uses of Registry in net.minecraft.client.world
Fields in net.minecraft.client.world declared as RegistryModifier and TypeFieldDescriptionprivate final Registry<DimensionOptions> GeneratorOptionsHolder.dimensionOptionsRegistryThe field for thedimensionOptionsRegistryrecord component.Methods in net.minecraft.client.world that return RegistryModifier and TypeMethodDescriptionGeneratorOptionsHolder.dimensionOptionsRegistry()Returns the value of thedimensionOptionsRegistryrecord component.Constructors in net.minecraft.client.world with parameters of type RegistryModifierConstructorDescriptionGeneratorOptionsHolder(GeneratorOptions generatorOptions, Registry<DimensionOptions> registry, DimensionOptionsRegistryHolder dimensionOptionsRegistryHolder, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration, InitialWorldOptions initialWorldOptions) -
Uses of Registry in net.minecraft.command
Methods in net.minecraft.command with parameters of type RegistryModifier and TypeMethodDescriptiondefault voidCommandSource.suggestIdentifiers(Registry<?> registry, CommandSource.SuggestedIdType suggestedIdType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) Method parameters in net.minecraft.command with type arguments of type RegistryModifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions> CommandSource.listIdSuggestions(RegistryKey<? extends Registry<?>> registryRef, CommandSource.SuggestedIdType suggestedIdType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.context.CommandContext<?> context) -
Uses of Registry in net.minecraft.command.argument
Fields in net.minecraft.command.argument with type parameters of type RegistryModifier and TypeFieldDescription(package private) final RegistryKey<? extends Registry<T>> RegistryEntryPredicateArgumentType.registryRef(package private) final RegistryKey<? extends Registry<T>> RegistryEntryPredicateArgumentType.Serializer.Properties.registryRef(package private) final RegistryKey<? extends Registry<T>> RegistryEntryReferenceArgumentType.registryRef(package private) final RegistryKey<? extends Registry<T>> RegistryEntryReferenceArgumentType.Serializer.Properties.registryRef(package private) final RegistryKey<? extends Registry<T>> RegistryKeyArgumentType.registryRef(package private) final RegistryKey<? extends Registry<T>> RegistryKeyArgumentType.Serializer.Properties.registryRef(package private) final RegistryKey<? extends Registry<T>> RegistryPredicateArgumentType.registryRef(package private) final RegistryKey<? extends Registry<T>> RegistryPredicateArgumentType.Serializer.Properties.registryRefMethods in net.minecraft.command.argument that return RegistryModifier and TypeMethodDescriptionprivate static <T> Registry<T> RegistryKeyArgumentType.getRegistry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryKey<? extends Registry<T>> registryRef) Methods in net.minecraft.command.argument with parameters of type RegistryModifier and TypeMethodDescriptionstatic ArgumentSerializer<?, ?> ArgumentTypes.register(Registry<ArgumentSerializer<?, ?>> registry) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,T extends ArgumentSerializer.ArgumentTypeProperties<A>>
ArgumentSerializer<A, T> ArgumentTypes.register(Registry<ArgumentSerializer<?, ?>> registry, String id, Class<? extends A> clazz, ArgumentSerializer<A, T> serializer) Registers an argument type's serializer.Method parameters in net.minecraft.command.argument with type arguments of type RegistryModifier and TypeMethodDescriptionprivate static <T> RegistryKey<T> RegistryKeyArgumentType.getKey(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef, com.mojang.brigadier.exceptions.DynamicCommandExceptionType invalidException) static <T> RegistryPredicateArgumentType.RegistryPredicate<T> RegistryPredicateArgumentType.getPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef, com.mojang.brigadier.exceptions.DynamicCommandExceptionType invalidException) private static <T> Registry<T> RegistryKeyArgumentType.getRegistry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryKey<? extends Registry<T>> registryRef) static <T> RegistryEntry.Reference<T> RegistryEntryReferenceArgumentType.getRegistryEntry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef) private static <T> RegistryEntry.Reference<T> RegistryKeyArgumentType.getRegistryEntry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef, com.mojang.brigadier.exceptions.DynamicCommandExceptionType invalidException) static <T> RegistryEntryPredicateArgumentType.EntryPredicate<T> RegistryEntryPredicateArgumentType.getRegistryEntryPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef) static <T> RegistryEntryReferenceArgumentType<T> RegistryEntryReferenceArgumentType.registryEntry(CommandRegistryAccess registryAccess, RegistryKey<? extends Registry<T>> registryRef) static <T> RegistryEntryPredicateArgumentType<T> RegistryEntryPredicateArgumentType.registryEntryPredicate(CommandRegistryAccess registryRef, RegistryKey<? extends Registry<T>> registryAccess) static <T> RegistryKeyArgumentType<T> RegistryKeyArgumentType.registryKey(RegistryKey<? extends Registry<T>> registryRef) static <T> RegistryPredicateArgumentType<T> RegistryPredicateArgumentType.registryPredicate(RegistryKey<? extends Registry<T>> registryRef) RegistryEntryPredicateArgumentType.EntryBased.tryCast(RegistryKey<? extends Registry<E>> registryRef) RegistryEntryPredicateArgumentType.EntryPredicate.tryCast(RegistryKey<? extends Registry<E>> registryRef) RegistryEntryPredicateArgumentType.TagBased.tryCast(RegistryKey<? extends Registry<E>> registryRef) RegistryPredicateArgumentType.RegistryKeyBased.tryCast(RegistryKey<? extends Registry<E>> registryRef) RegistryPredicateArgumentType.RegistryPredicate.tryCast(RegistryKey<? extends Registry<E>> registryRef) RegistryPredicateArgumentType.TagBased.tryCast(RegistryKey<? extends Registry<E>> registryRef) Constructor parameters in net.minecraft.command.argument with type arguments of type RegistryModifierConstructorDescription(package private)Properties(RegistryKey<? extends Registry<T>> registryRef) (package private)Properties(RegistryKey<? extends Registry<T>> registryRef) (package private)Properties(RegistryKey<? extends Registry<T>> registryRef) (package private)Properties(RegistryKey<? extends Registry<T>> registryRef) protectedRegistryEntryArgumentType(CommandRegistryAccess registryAccess, RegistryKey<Registry<T>> registry, com.mojang.serialization.Codec<RegistryEntry<T>> entryCodec) RegistryEntryPredicateArgumentType(CommandRegistryAccess registryAccess, RegistryKey<? extends Registry<T>> registryRef) RegistryEntryReferenceArgumentType(CommandRegistryAccess registryAccess, RegistryKey<? extends Registry<T>> registryRef) RegistryKeyArgumentType(RegistryKey<? extends Registry<T>> registryRef) RegistryPredicateArgumentType(RegistryKey<? extends Registry<T>> registryRef) -
Uses of Registry in net.minecraft.component
Methods in net.minecraft.component with parameters of type RegistryModifier and TypeMethodDescriptionstatic ComponentType<?> DataComponentTypes.getDefault(Registry<ComponentType<?>> registry) static ComponentType<?> EnchantmentEffectComponentTypes.getDefault(Registry<ComponentType<?>> registry) -
Uses of Registry in net.minecraft.component.type
Method parameters in net.minecraft.component.type with type arguments of type RegistryModifier and TypeMethodDescriptionprivate static <T> RegistryEntryList<T> ItemEnchantmentsComponent.getTooltipOrderList(RegistryWrapper.WrapperLookup registries, RegistryKey<Registry<T>> registryRef, TagKey<T> tooltipOrderTag) -
Uses of Registry in net.minecraft.data
Method parameters in net.minecraft.data with type arguments of type RegistryModifier and TypeMethodDescriptionDataOutput.getResolver(RegistryKey<? extends Registry<?>> registryRef) DataOutput.getTagResolver(RegistryKey<? extends Registry<?>> registryRef) -
Uses of Registry in net.minecraft.data.report
Fields in net.minecraft.data.report with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final Map<RegistryKey<? extends Registry<?>>, DataPackStructureProvider.Entry> DataPackStructureProvider.Registries.registriesThe field for theregistriesrecord component.(package private) static final com.mojang.serialization.Codec<RegistryKey<? extends Registry<?>>> DataPackStructureProvider.REGISTRY_KEY_CODECprivate static final Map<RegistryKey<? extends Registry<?>>, DataPackStructureProvider.Entry> DataPackStructureProvider.RELOADABLE_REGISTRIESMethods in net.minecraft.data.report that return types with arguments of type RegistryModifier and TypeMethodDescriptionprivate Map<RegistryKey<? extends Registry<?>>, DataPackStructureProvider.Entry> DataPackStructureProvider.buildEntries()Map<RegistryKey<? extends Registry<?>>, DataPackStructureProvider.Entry> DataPackStructureProvider.Registries.registries()Returns the value of theregistriesrecord component.Methods in net.minecraft.data.report with parameters of type RegistryMethod parameters in net.minecraft.data.report with type arguments of type RegistryModifier and TypeMethodDescriptionprivate voidDataPackStructureProvider.addEntry(Map<RegistryKey<? extends Registry<?>>, DataPackStructureProvider.Entry> map, RegistryKey<? extends Registry<?>> key, DataPackStructureProvider.Entry entry) private voidDataPackStructureProvider.addEntry(Map<RegistryKey<? extends Registry<?>>, DataPackStructureProvider.Entry> map, RegistryKey<? extends Registry<?>> key, DataPackStructureProvider.Entry entry) Constructor parameters in net.minecraft.data.report with type arguments of type RegistryModifierConstructorDescription(package private)Registries(Map<RegistryKey<? extends Registry<?>>, DataPackStructureProvider.Entry> map, Map<String, DataPackStructureProvider.FakeRegistry> map2) -
Uses of Registry in net.minecraft.data.server.tag
Fields in net.minecraft.data.server.tag with type parameters of type RegistryModifier and TypeFieldDescriptionprotected final RegistryKey<? extends Registry<T>> TagProvider.registryRefConstructor parameters in net.minecraft.data.server.tag with type arguments of type RegistryModifierConstructorDescriptionprotectedTagProvider(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registriesFuture) protectedTagProvider(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registriesFuture, CompletableFuture<TagProvider.TagLookup<T>> parentTagLookupFuture) ValueLookupTagProvider(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registriesFuture, CompletableFuture<TagProvider.TagLookup<T>> parentTagLookupFuture, Function<T, RegistryKey<T>> valueToKey) ValueLookupTagProvider(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registriesFuture, Function<T, RegistryKey<T>> valueToKey) -
Uses of Registry in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type RegistryModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValue> EnchantmentLevelBasedValue.registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValue>> registry) -
Uses of Registry in net.minecraft.enchantment.effect
Methods in net.minecraft.enchantment.effect with parameters of type RegistryModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect> EnchantmentEntityEffect.registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>> registry) static com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect> EnchantmentLocationBasedEffect.registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>> registry) static com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect> EnchantmentValueEffect.registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>> registry) -
Uses of Registry in net.minecraft.enchantment.provider
Methods in net.minecraft.enchantment.provider with parameters of type RegistryModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec<? extends EnchantmentProvider> EnchantmentProviderType.registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>> registry) -
Uses of Registry in net.minecraft.entity.attribute
Methods in net.minecraft.entity.attribute with parameters of type RegistryModifier and TypeMethodDescriptionstatic RegistryEntry<EntityAttribute> EntityAttributes.registerAndGetDefault(Registry<EntityAttribute> registry) -
Uses of Registry in net.minecraft.entity.damage
Fields in net.minecraft.entity.damage declared as Registry -
Uses of Registry in net.minecraft.entity.effect
Methods in net.minecraft.entity.effect with parameters of type RegistryModifier and TypeMethodDescriptionstatic RegistryEntry<StatusEffect> StatusEffects.registerAndGetDefault(Registry<StatusEffect> registry) -
Uses of Registry in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type RegistryModifier and TypeMethodDescriptionprivate static CatVariantCatVariant.register(Registry<CatVariant> registry, RegistryKey<CatVariant> key, String textureId) private static FrogVariantFrogVariant.register(Registry<FrogVariant> registry, RegistryKey<FrogVariant> key, String id) static CatVariantCatVariant.registerAndGetDefault(Registry<CatVariant> registry) static FrogVariantFrogVariant.registerAndGetDefault(Registry<FrogVariant> registry) -
Uses of Registry in net.minecraft.item
Methods in net.minecraft.item with parameters of type RegistryModifier and TypeMethodDescriptionstatic ItemGroupItemGroups.registerAndGetDefault(Registry<ItemGroup> registry) -
Uses of Registry in net.minecraft.item.map
Methods in net.minecraft.item.map with parameters of type RegistryModifier and TypeMethodDescriptionstatic RegistryEntry<MapDecorationType> MapDecorationTypes.getDefault(Registry<MapDecorationType> registry) -
Uses of Registry in net.minecraft.loot
Fields in net.minecraft.loot with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final RegistryKey<Registry<T>> LootDataType.registryKeyThe field for theregistryKeyrecord component.Methods in net.minecraft.loot that return types with arguments of type RegistryModifier and TypeMethodDescriptionLootDataType.registryKey()Returns the value of theregistryKeyrecord component.Constructor parameters in net.minecraft.loot with type arguments of type RegistryModifierConstructorDescriptionLootDataType(RegistryKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator) Creates an instance of aLootDataTyperecord class. -
Uses of Registry in net.minecraft.network
Methods in net.minecraft.network that return types with arguments of type RegistryModifier and TypeMethodDescription<T> RegistryKey<? extends Registry<T>> PacketByteBuf.readRegistryRefKey()Reads a registry key referencing another registry key from this buf.Method parameters in net.minecraft.network with type arguments of type RegistryModifier and TypeMethodDescription<T> RegistryKey<T> PacketByteBuf.readRegistryKey(RegistryKey<? extends Registry<T>> registryRef) Reads a registry key from this buf. -
Uses of Registry in net.minecraft.network.codec
Method parameters in net.minecraft.network.codec with type arguments of type RegistryModifier and TypeMethodDescriptionprivate static <T,R> PacketCodec <RegistryByteBuf, R> PacketCodecs.registry(RegistryKey<? extends Registry<T>> registry, Function<Registry<T>, IndexedIterable<R>> registryTransformer) private static <T,R> PacketCodec <RegistryByteBuf, R> PacketCodecs.registry(RegistryKey<? extends Registry<T>> registry, Function<Registry<T>, IndexedIterable<R>> registryTransformer) static <T> PacketCodec<RegistryByteBuf, RegistryEntry<T>> PacketCodecs.registryEntry(RegistryKey<? extends Registry<T>> registry) Returns a codec for a referenceRegistryEntry.static <T> PacketCodec<RegistryByteBuf, RegistryEntry<T>> PacketCodecs.registryEntry(RegistryKey<? extends Registry<T>> registry, PacketCodec<? super RegistryByteBuf, T> directCodec) Returns a codec for aRegistryEntry.static <T> PacketCodec<RegistryByteBuf, RegistryEntryList<T>> PacketCodecs.registryEntryList(RegistryKey<? extends Registry<T>> registryRef) static <T> PacketCodec<RegistryByteBuf, T> PacketCodecs.registryValue(RegistryKey<? extends Registry<T>> registry) Returns a codec for aRegistry-registered value. -
Uses of Registry in net.minecraft.network.packet.s2c.common
Fields in net.minecraft.network.packet.s2c.common with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final Map<RegistryKey<? extends Registry<?>>, TagPacketSerializer.Serialized> SynchronizeTagsS2CPacket.groupsMethods in net.minecraft.network.packet.s2c.common that return types with arguments of type RegistryModifier and TypeMethodDescriptionMap<RegistryKey<? extends Registry<?>>, TagPacketSerializer.Serialized> SynchronizeTagsS2CPacket.getGroups()Constructor parameters in net.minecraft.network.packet.s2c.common with type arguments of type RegistryModifierConstructorDescriptionSynchronizeTagsS2CPacket(Map<RegistryKey<? extends Registry<?>>, TagPacketSerializer.Serialized> groups) -
Uses of Registry in net.minecraft.network.packet.s2c.config
Fields in net.minecraft.network.packet.s2c.config with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final RegistryKey<? extends Registry<?>> DynamicRegistriesS2CPacket.registryThe field for theregistryrecord component.private static final PacketCodec<ByteBuf, RegistryKey<? extends Registry<?>>> DynamicRegistriesS2CPacket.REGISTRY_KEY_CODECMethods in net.minecraft.network.packet.s2c.config that return types with arguments of type RegistryModifier and TypeMethodDescriptionRegistryKey<? extends Registry<?>> DynamicRegistriesS2CPacket.registry()Returns the value of theregistryrecord component.Constructor parameters in net.minecraft.network.packet.s2c.config with type arguments of type RegistryModifierConstructorDescriptionDynamicRegistriesS2CPacket(RegistryKey<? extends Registry<?>> registryKey, List<SerializableRegistries.SerializedRegistryEntry> list) -
Uses of Registry in net.minecraft.potion
Methods in net.minecraft.potion with parameters of type RegistryModifier and TypeMethodDescriptionstatic RegistryEntry<Potion> Potions.registerAndGetDefault(Registry<Potion> registry) -
Uses of Registry in net.minecraft.predicate
Method parameters in net.minecraft.predicate with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<TagPredicate<T>> TagPredicate.createCodec(RegistryKey<? extends Registry<T>> registryRef) -
Uses of Registry in net.minecraft.predicate.entity
Methods in net.minecraft.predicate.entity with parameters of type RegistryModifier and TypeMethodDescriptionstatic <V> EntitySubPredicateTypes.VariantType<V> EntitySubPredicateTypes.VariantType.create(Registry<V> registry, Function<Entity, Optional<V>> variantGetter) static com.mojang.serialization.MapCodec<? extends EntitySubPredicate> EntitySubPredicateTypes.getDefault(Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>> registry) Method parameters in net.minecraft.predicate.entity with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <V> EntitySubPredicateTypes.DynamicVariantType<V> EntitySubPredicateTypes.DynamicVariantType.create(RegistryKey<? extends Registry<V>> registryRef, Function<Entity, Optional<RegistryEntry<V>>> variantGetter) Constructor parameters in net.minecraft.predicate.entity with type arguments of type RegistryModifierConstructorDescriptionDynamicVariantType(RegistryKey<? extends Registry<V>> registryRef, Function<Entity, Optional<RegistryEntry<V>>> variantGetter) -
Uses of Registry in net.minecraft.predicate.item
Methods in net.minecraft.predicate.item with parameters of type RegistryModifier and TypeMethodDescriptionstatic ItemSubPredicate.Type<?> ItemSubPredicateTypes.getDefault(Registry<ItemSubPredicate.Type<?>> registry) -
Uses of Registry in net.minecraft.recipe
Fields in net.minecraft.recipe with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final RegistryKey<? extends Registry<RecipePropertySet>> RecipePropertySet.REGISTRY -
Uses of Registry in net.minecraft.recipe.book
Methods in net.minecraft.recipe.book with parameters of type RegistryModifier and TypeMethodDescriptionstatic RecipeBookCategoryRecipeBookCategories.registerAndGetDefault(Registry<RecipeBookCategory> registry) -
Uses of Registry in net.minecraft.recipe.display
Methods in net.minecraft.recipe.display with parameters of type RegistryModifier and TypeMethodDescriptionstatic RecipeDisplay.Serializer<?> RecipeDisplayBootstrap.registerAndGetDefault(Registry<RecipeDisplay.Serializer<?>> registry) static SlotDisplay.Serializer<?> SlotDisplays.registerAndGetDefault(Registry<SlotDisplay.Serializer<?>> registries) -
Uses of Registry in net.minecraft.registry
Subinterfaces of Registry in net.minecraft.registryModifier and TypeInterfaceDescriptioninterfaceinterfaceA registry that allows adding or modifying values.Classes in net.minecraft.registry that implement RegistryModifier and TypeClassDescriptionclassAn implementation ofRegistrywith a default ID and value for unknown lookups.classAn implementation of a mutable registry.Fields in net.minecraft.registry declared as RegistryModifier and TypeFieldDescriptionRegistries.ACTIVITYstatic final Registry<EntityAttribute> Registries.ATTRIBUTEstatic final Registry<com.mojang.serialization.MapCodec<? extends BiomeSource>> Registries.BIOME_SOURCEstatic final Registry<BlockEntityType<?>> Registries.BLOCK_ENTITY_TYPEstatic final Registry<BlockPredicateType<?>> Registries.BLOCK_PREDICATE_TYPEstatic final Registry<BlockStateProviderType<?>> Registries.BLOCK_STATE_PROVIDER_TYPERegistries.BLOCK_TYPERegistries.CARVERstatic final Registry<CatVariant> Registries.CAT_VARIANTstatic final Registry<com.mojang.serialization.MapCodec<? extends ChunkGenerator>> Registries.CHUNK_GENERATORstatic final Registry<ArgumentSerializer<?, ?>> Registries.COMMAND_ARGUMENT_TYPEstatic final Registry<ConsumeEffect.Type<?>> Registries.CONSUME_EFFECT_TYPERegistries.CRITERIONstatic final Registry<Identifier> Registries.CUSTOM_STATstatic final Registry<ComponentType<?>> Registries.DATA_COMPONENT_TYPEstatic final Registry<DecoratedPotPattern> Registries.DECORATED_POT_PATTERNstatic final Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> Registries.DENSITY_FUNCTION_TYPEstatic final Registry<ComponentType<?>> Registries.ENCHANTMENT_EFFECT_COMPONENT_TYPEstatic final Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>> Registries.ENCHANTMENT_ENTITY_EFFECT_TYPEstatic final Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValue>> Registries.ENCHANTMENT_LEVEL_BASED_VALUE_TYPEstatic final Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>> Registries.ENCHANTMENT_LOCATION_BASED_EFFECT_TYPEstatic final Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>> Registries.ENCHANTMENT_PROVIDER_TYPEstatic final Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>> Registries.ENCHANTMENT_VALUE_EFFECT_TYPEstatic final Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>> Registries.ENTITY_SUB_PREDICATE_TYPERegistries.FEATUREstatic final Registry<FeatureSizeType<?>> Registries.FEATURE_SIZE_TYPEstatic final Registry<FloatProviderType<?>> Registries.FLOAT_PROVIDER_TYPEstatic final Registry<FoliagePlacerType<?>> Registries.FOLIAGE_PLACER_TYPEstatic final Registry<FrogVariant> Registries.FROG_VARIANTstatic final Registry<HeightProviderType<?>> Registries.HEIGHT_PROVIDER_TYPEstatic final Registry<IntProviderType<?>> Registries.INT_PROVIDER_TYPERegistries.ITEM_GROUPstatic final Registry<ItemSubPredicate.Type<?>> Registries.ITEM_SUB_PREDICATE_TYPEstatic final Registry<LootConditionType> Registries.LOOT_CONDITION_TYPEstatic final Registry<LootFunctionType<?>> Registries.LOOT_FUNCTION_TYPEstatic final Registry<LootNbtProviderType> Registries.LOOT_NBT_PROVIDER_TYPEstatic final Registry<LootNumberProviderType> Registries.LOOT_NUMBER_PROVIDER_TYPEstatic final Registry<LootPoolEntryType> Registries.LOOT_POOL_ENTRY_TYPEstatic final Registry<LootScoreProviderType> Registries.LOOT_SCORE_PROVIDER_TYPEstatic final Registry<MapDecorationType> Registries.MAP_DECORATION_TYPEstatic final Registry<com.mojang.serialization.MapCodec<? extends MaterialRules.MaterialCondition>> Registries.MATERIAL_CONDITIONstatic final Registry<com.mojang.serialization.MapCodec<? extends MaterialRules.MaterialRule>> Registries.MATERIAL_RULEstatic final Registry<NumberFormatType<?>> Registries.NUMBER_FORMAT_TYPEstatic final Registry<ParticleType<?>> Registries.PARTICLE_TYPEstatic final Registry<PlacementModifierType<?>> Registries.PLACEMENT_MODIFIER_TYPEstatic final Registry<PointOfInterestType> Registries.POINT_OF_INTEREST_TYPEstatic final Registry<com.mojang.serialization.MapCodec<? extends StructurePoolAliasBinding>> Registries.POOL_ALIAS_BINDINGstatic final Registry<PosRuleTestType<?>> Registries.POS_RULE_TESTstatic final Registry<PositionSourceType<?>> Registries.POSITION_SOURCE_TYPERegistries.POTIONstatic final Registry<RecipeBookCategory> Registries.RECIPE_BOOK_CATEGORYstatic final Registry<RecipeDisplay.Serializer<?>> Registries.RECIPE_DISPLAYstatic final Registry<RecipeSerializer<?>> Registries.RECIPE_SERIALIZERstatic final Registry<RecipeType<?>> Registries.RECIPE_TYPERegistries.REGISTRIESstatic final Registry<RootPlacerType<?>> Registries.ROOT_PLACER_TYPEstatic final Registry<RuleBlockEntityModifierType<?>> Registries.RULE_BLOCK_ENTITY_MODIFIERstatic final Registry<RuleTestType<?>> Registries.RULE_TESTRegistries.SCHEDULEstatic final Registry<ScreenHandlerType<?>> Registries.SCREEN_HANDLERstatic final Registry<SlotDisplay.Serializer<?>> Registries.SLOT_DISPLAYstatic final Registry<SoundEvent> Registries.SOUND_EVENTRegistries.STAT_TYPEstatic final Registry<StatusEffect> Registries.STATUS_EFFECTstatic final Registry<StructurePieceType> Registries.STRUCTURE_PIECEstatic final Registry<StructurePlacementType<?>> Registries.STRUCTURE_PLACEMENTstatic final Registry<StructurePoolElementType<?>> Registries.STRUCTURE_POOL_ELEMENTstatic final Registry<StructureProcessorType<?>> Registries.STRUCTURE_PROCESSORstatic final Registry<StructureType<?>> Registries.STRUCTURE_TYPEstatic final Registry<TreeDecoratorType<?>> Registries.TREE_DECORATOR_TYPEstatic final Registry<TrunkPlacerType<?>> Registries.TRUNK_PLACER_TYPEDynamicRegistryManager.Entry.valueThe field for thevaluerecord component.Fields in net.minecraft.registry with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final RegistryKey<Registry<Activity>> RegistryKeys.ACTIVITYstatic final RegistryKey<Registry<Advancement>> RegistryKeys.ADVANCEMENTstatic final RegistryKey<Registry<EntityAttribute>> RegistryKeys.ATTRIBUTEstatic final RegistryKey<Registry<BannerPattern>> RegistryKeys.BANNER_PATTERNstatic final RegistryKey<Registry<Biome>> RegistryKeys.BIOMEstatic final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends BiomeSource>>> RegistryKeys.BIOME_SOURCEstatic final RegistryKey<Registry<Block>> RegistryKeys.BLOCKstatic final RegistryKey<Registry<BlockEntityType<?>>> RegistryKeys.BLOCK_ENTITY_TYPEstatic final RegistryKey<Registry<BlockPredicateType<?>>> RegistryKeys.BLOCK_PREDICATE_TYPEstatic final RegistryKey<Registry<BlockStateProviderType<?>>> RegistryKeys.BLOCK_STATE_PROVIDER_TYPEstatic final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends Block>>> RegistryKeys.BLOCK_TYPEprivate final Map<RegistryKey<? extends Registry<?>>, Optional<? extends RegistryOps.RegistryInfo<?>>> RegistryOps.CachedRegistryInfoGetter.cachestatic final RegistryKey<Registry<Carver<?>>> RegistryKeys.CARVERstatic final RegistryKey<Registry<CatVariant>> RegistryKeys.CAT_VARIANTstatic final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> RegistryKeys.CHUNK_GENERATORstatic final RegistryKey<Registry<ChunkGeneratorSettings>> RegistryKeys.CHUNK_GENERATOR_SETTINGSstatic final RegistryKey<Registry<ChunkStatus>> RegistryKeys.CHUNK_STATUSstatic final RegistryKey<Registry<ArgumentSerializer<?, ?>>> RegistryKeys.COMMAND_ARGUMENT_TYPEstatic final RegistryKey<Registry<ConfiguredCarver<?>>> RegistryKeys.CONFIGURED_CARVERstatic final RegistryKey<Registry<ConfiguredFeature<?, ?>>> RegistryKeys.CONFIGURED_FEATUREstatic final RegistryKey<Registry<ConsumeEffect.Type<?>>> RegistryKeys.CONSUME_EFFECT_TYPEstatic final RegistryKey<Registry<Criterion<?>>> RegistryKeys.CRITERIONstatic final RegistryKey<Registry<Identifier>> RegistryKeys.CUSTOM_STATstatic final RegistryKey<Registry<DamageType>> RegistryKeys.DAMAGE_TYPEstatic final RegistryKey<Registry<ComponentType<?>>> RegistryKeys.DATA_COMPONENT_TYPEstatic final RegistryKey<Registry<DecoratedPotPattern>> RegistryKeys.DECORATED_POT_PATTERNstatic final RegistryKey<Registry<DensityFunction>> RegistryKeys.DENSITY_FUNCTIONstatic final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>>> RegistryKeys.DENSITY_FUNCTION_TYPEstatic final RegistryKey<Registry<DimensionOptions>> RegistryKeys.DIMENSIONstatic final RegistryKey<Registry<DimensionType>> RegistryKeys.DIMENSION_TYPEstatic final RegistryKey<Registry<Enchantment>> RegistryKeys.ENCHANTMENTstatic final RegistryKey<Registry<ComponentType<?>>> RegistryKeys.ENCHANTMENT_EFFECT_COMPONENT_TYPEstatic final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>>> RegistryKeys.ENCHANTMENT_ENTITY_EFFECT_TYPEstatic final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValue>>> RegistryKeys.ENCHANTMENT_LEVEL_BASED_VALUE_TYPEstatic final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>>> RegistryKeys.ENCHANTMENT_LOCATION_BASED_EFFECT_TYPEstatic final RegistryKey<Registry<EnchantmentProvider>> RegistryKeys.ENCHANTMENT_PROVIDERstatic final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>>> RegistryKeys.ENCHANTMENT_PROVIDER_TYPEstatic final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>>> RegistryKeys.ENCHANTMENT_VALUE_EFFECT_TYPEstatic final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>>> RegistryKeys.ENTITY_SUB_PREDICATE_TYPEstatic final RegistryKey<Registry<EntityType<?>>> RegistryKeys.ENTITY_TYPEstatic final RegistryKey<Registry<Feature<?>>> RegistryKeys.FEATUREstatic final RegistryKey<Registry<FeatureSizeType<?>>> RegistryKeys.FEATURE_SIZE_TYPEstatic final RegistryKey<Registry<FlatLevelGeneratorPreset>> RegistryKeys.FLAT_LEVEL_GENERATOR_PRESETstatic final RegistryKey<Registry<FloatProviderType<?>>> RegistryKeys.FLOAT_PROVIDER_TYPEstatic final RegistryKey<Registry<Fluid>> RegistryKeys.FLUIDstatic final RegistryKey<Registry<FoliagePlacerType<?>>> RegistryKeys.FOLIAGE_PLACER_TYPEstatic final RegistryKey<Registry<FrogVariant>> RegistryKeys.FROG_VARIANTstatic final RegistryKey<Registry<GameEvent>> RegistryKeys.GAME_EVENTstatic final RegistryKey<Registry<HeightProviderType<?>>> RegistryKeys.HEIGHT_PROVIDER_TYPEstatic final RegistryKey<Registry<Instrument>> RegistryKeys.INSTRUMENTstatic final RegistryKey<Registry<IntProviderType<?>>> RegistryKeys.INT_PROVIDER_TYPEstatic final RegistryKey<Registry<Item>> RegistryKeys.ITEMstatic final RegistryKey<Registry<ItemGroup>> RegistryKeys.ITEM_GROUPstatic final RegistryKey<Registry<LootFunction>> RegistryKeys.ITEM_MODIFIERstatic final RegistryKey<Registry<ItemSubPredicate.Type<?>>> RegistryKeys.ITEM_SUB_PREDICATE_TYPEstatic final RegistryKey<Registry<JukeboxSong>> RegistryKeys.JUKEBOX_SONGprivate final RegistryKey<? extends Registry<T>> DynamicRegistryManager.Entry.keyThe field for thekeyrecord component.private final RegistryKey<? extends Registry<? extends T>> RegistryBuilder.InitializedRegistry.keyThe field for thekeyrecord component.private final RegistryKey<? extends Registry<T>> RegistryBuilder.RegistryInfo.keyThe field for thekeyrecord component.private final RegistryKey<? extends Registry<T>> RegistryLoader.Entry.keyThe field for thekeyrecord component.private final RegistryKey<? extends Registry<T>> SimpleRegistry.keystatic final RegistryKey<Registry<LootConditionType>> RegistryKeys.LOOT_CONDITION_TYPEstatic final RegistryKey<Registry<LootFunctionType<?>>> RegistryKeys.LOOT_FUNCTION_TYPEstatic final RegistryKey<Registry<LootNbtProviderType>> RegistryKeys.LOOT_NBT_PROVIDER_TYPEstatic final RegistryKey<Registry<LootNumberProviderType>> RegistryKeys.LOOT_NUMBER_PROVIDER_TYPEstatic final RegistryKey<Registry<LootPoolEntryType>> RegistryKeys.LOOT_POOL_ENTRY_TYPEstatic final RegistryKey<Registry<LootScoreProviderType>> RegistryKeys.LOOT_SCORE_PROVIDER_TYPEstatic final RegistryKey<Registry<LootTable>> RegistryKeys.LOOT_TABLEstatic final RegistryKey<Registry<MapDecorationType>> RegistryKeys.MAP_DECORATION_TYPEstatic final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends MaterialRules.MaterialCondition>>> RegistryKeys.MATERIAL_CONDITIONstatic final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends MaterialRules.MaterialRule>>> RegistryKeys.MATERIAL_RULEstatic final RegistryKey<Registry<MemoryModuleType<?>>> RegistryKeys.MEMORY_MODULE_TYPEstatic final RegistryKey<Registry<MessageType>> RegistryKeys.MESSAGE_TYPEstatic final RegistryKey<Registry<MultiNoiseBiomeSourceParameterList>> RegistryKeys.MULTI_NOISE_BIOME_SOURCE_PARAMETER_LISTstatic final RegistryKey<Registry<DoublePerlinNoiseSampler.NoiseParameters>> RegistryKeys.NOISE_PARAMETERSstatic final RegistryKey<Registry<NumberFormatType<?>>> RegistryKeys.NUMBER_FORMAT_TYPEstatic final RegistryKey<Registry<PaintingVariant>> RegistryKeys.PAINTING_VARIANTstatic final RegistryKey<Registry<ParticleType<?>>> RegistryKeys.PARTICLE_TYPEstatic final RegistryKey<Registry<PlacedFeature>> RegistryKeys.PLACED_FEATUREstatic final RegistryKey<Registry<PlacementModifierType<?>>> RegistryKeys.PLACEMENT_MODIFIER_TYPEstatic final RegistryKey<Registry<PointOfInterestType>> RegistryKeys.POINT_OF_INTEREST_TYPEstatic final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends StructurePoolAliasBinding>>> RegistryKeys.POOL_ALIAS_BINDINGstatic final RegistryKey<Registry<PosRuleTestType<?>>> RegistryKeys.POS_RULE_TESTstatic final RegistryKey<Registry<PositionSourceType<?>>> RegistryKeys.POSITION_SOURCE_TYPEstatic final RegistryKey<Registry<Potion>> RegistryKeys.POTIONstatic final RegistryKey<Registry<LootCondition>> RegistryKeys.PREDICATEstatic final RegistryKey<Registry<StructureProcessorList>> RegistryKeys.PROCESSOR_LISTstatic final RegistryKey<Registry<Recipe<?>>> RegistryKeys.RECIPEstatic final RegistryKey<Registry<RecipeBookCategory>> RegistryKeys.RECIPE_BOOK_CATEGORYstatic final RegistryKey<Registry<RecipeDisplay.Serializer<?>>> RegistryKeys.RECIPE_DISPLAYstatic final RegistryKey<Registry<RecipeSerializer<?>>> RegistryKeys.RECIPE_SERIALIZERstatic final RegistryKey<Registry<RecipeType<?>>> RegistryKeys.RECIPE_TYPEprivate final Map<? extends RegistryKey<? extends Registry<?>>, ? extends Registry<?>> DynamicRegistryManager.ImmutableImpl.registriesprivate final Map<? extends RegistryKey<? extends Registry<?>>, ? extends Registry<?>> DynamicRegistryManager.ImmutableImpl.registriesprivate final Map<RegistryKey<? extends Registry<?>>, RegistryCloner<?>> RegistryCloner.CloneableRegistries.registriesRegistries.REGISTRIESstatic final RegistryKey<Registry<RootPlacerType<?>>> RegistryKeys.ROOT_PLACER_TYPEstatic final RegistryKey<Registry<RuleBlockEntityModifierType<?>>> RegistryKeys.RULE_BLOCK_ENTITY_MODIFIERstatic final RegistryKey<Registry<RuleTestType<?>>> RegistryKeys.RULE_TESTstatic final RegistryKey<Registry<Schedule>> RegistryKeys.SCHEDULEstatic final RegistryKey<Registry<ScreenHandlerType<?>>> RegistryKeys.SCREEN_HANDLERstatic final RegistryKey<Registry<SensorType<?>>> RegistryKeys.SENSOR_TYPEstatic final RegistryKey<Registry<SlotDisplay.Serializer<?>>> RegistryKeys.SLOT_DISPLAYstatic final RegistryKey<Registry<SoundEvent>> RegistryKeys.SOUND_EVENTstatic final RegistryKey<Registry<StatType<?>>> RegistryKeys.STAT_TYPEstatic final RegistryKey<Registry<StatusEffect>> RegistryKeys.STATUS_EFFECTstatic final RegistryKey<Registry<Structure>> RegistryKeys.STRUCTUREstatic final RegistryKey<Registry<StructurePieceType>> RegistryKeys.STRUCTURE_PIECEstatic final RegistryKey<Registry<StructurePlacementType<?>>> RegistryKeys.STRUCTURE_PLACEMENTstatic final RegistryKey<Registry<StructurePoolElementType<?>>> RegistryKeys.STRUCTURE_POOL_ELEMENTstatic final RegistryKey<Registry<StructureProcessorType<?>>> RegistryKeys.STRUCTURE_PROCESSORstatic final RegistryKey<Registry<StructureSet>> RegistryKeys.STRUCTURE_SETstatic final RegistryKey<Registry<StructureType<?>>> RegistryKeys.STRUCTURE_TYPEprivate static final Set<RegistryKey<? extends Registry<?>>> SerializableRegistries.SYNCED_REGISTRIESstatic final RegistryKey<Registry<StructurePool>> RegistryKeys.TEMPLATE_POOLstatic final RegistryKey<Registry<TreeDecoratorType<?>>> RegistryKeys.TREE_DECORATOR_TYPEstatic final RegistryKey<Registry<TrialSpawnerConfig>> RegistryKeys.TRIAL_SPAWNERstatic final RegistryKey<Registry<ArmorTrimMaterial>> RegistryKeys.TRIM_MATERIALstatic final RegistryKey<Registry<ArmorTrimPattern>> RegistryKeys.TRIM_PATTERNstatic final RegistryKey<Registry<TrunkPlacerType<?>>> RegistryKeys.TRUNK_PLACER_TYPEstatic final RegistryKey<Registry<VillagerProfession>> RegistryKeys.VILLAGER_PROFESSIONstatic final RegistryKey<Registry<VillagerType>> RegistryKeys.VILLAGER_TYPEstatic final RegistryKey<Registry<WolfVariant>> RegistryKeys.WOLF_VARIANTstatic final RegistryKey<Registry<World>> RegistryKeys.WORLDstatic final RegistryKey<Registry<WorldPreset>> RegistryKeys.WORLD_PRESETMethods in net.minecraft.registry with type parameters of type RegistryModifier and TypeMethodDescriptionprivate static <T,R extends Registry<? extends T>>
DynamicRegistryManager.Entry<T> DynamicRegistryManager.Entry.of(Map.Entry<? extends RegistryKey<? extends Registry<?>>, R> entry) private static <T extends Registry<?>>
voidMethods in net.minecraft.registry that return RegistryModifier and TypeMethodDescriptionprivate static <T> Registry<T> Registries.create(RegistryKey<? extends Registry<T>> key, Registries.Initializer<T> initializer) private static <T> Registry<T> Registries.createIntrusive(RegistryKey<? extends Registry<T>> key, Registries.Initializer<T> initializer) Registry.freeze()SimpleRegistry.freeze()default <E> Registry<E> DynamicRegistryManager.getOrThrow(RegistryKey<? extends Registry<? extends E>> key) DynamicRegistryManager.Entry.value()Returns the value of thevaluerecord component.Methods in net.minecraft.registry that return types with arguments of type RegistryModifier and TypeMethodDescriptionRegistryKey<? extends Registry<T>> Registry.getKey()RegistryKey<? extends Registry<? extends T>> Registry.PendingTagLoad.getKey()default RegistryKey<? extends Registry<? extends T>> RegistryWrapper.Impl.Delegating.getKey()RegistryKey<? extends Registry<? extends T>> RegistryWrapper.Impl.getKey()RegistryKey<? extends Registry<T>> SimpleRegistry.getKey()DynamicRegistryManager.getOptional(RegistryKey<? extends Registry<? extends E>> registryRef) DynamicRegistryManager.ImmutableImpl.getOptional(RegistryKey<? extends Registry<? extends E>> registryRef) RegistryKey.getRegistryRef()RegistryKey<? extends Registry<T>> DynamicRegistryManager.Entry.key()Returns the value of thekeyrecord component.RegistryKey<? extends Registry<? extends T>> RegistryBuilder.InitializedRegistry.key()Returns the value of thekeyrecord component.RegistryKey<? extends Registry<T>> RegistryBuilder.RegistryInfo.key()Returns the value of thekeyrecord component.RegistryKey<? extends Registry<T>> RegistryLoader.Entry.key()Returns the value of thekeyrecord component.private static <T> RegistryKey<Registry<T>> static <T> RegistryKey<Registry<T>> RegistryKey.ofRegistry(Identifier registry) Creates a registry key for a registry in the root registry (registry of all registries) with an identifier for the registry.default Stream<RegistryKey<? extends Registry<?>>> DynamicRegistryManager.streamAllRegistryKeys()Stream<RegistryKey<? extends Registry<?>>> RegistryWrapper.WrapperLookup.streamAllRegistryKeys()private static Map<RegistryKey<? extends Registry<?>>, Registry<?>> CombinedDynamicRegistries.toRegistryMap(Stream<? extends DynamicRegistryManager> registryManagers) private static Map<RegistryKey<? extends Registry<?>>, Registry<?>> CombinedDynamicRegistries.toRegistryMap(Stream<? extends DynamicRegistryManager> registryManagers) Methods in net.minecraft.registry with parameters of type RegistryModifier and TypeMethodDescriptionstatic <T> RegistryEntryLookup<T> Registries.createEntryLookup(Registry<T> registry) private static <T> DynamicRegistryManager.Entry<T> DynamicRegistryManager.Entry.of(RegistryKey<? extends Registry<?>> key, Registry<?> value) static <T> Tstatic <V,T extends V>
TRegistry.register(Registry<V> registry, RegistryKey<V> key, T entry) Registersentrytoregistryunderkey.static <V,T extends V>
TRegistry.register(Registry<V> registry, Identifier id, T entry) Registersentrytoregistryunderid.static <T> RegistryEntry.Reference<T> Registry.registerReference(Registry<T> registry, RegistryKey<T> key, T entry) static <T> RegistryEntry.Reference<T> Registry.registerReference(Registry<T> registry, Identifier id, T entry) private static voidRegistries.resetTagEntries(Registry<?> registry) private static <T extends Registry<?>>
voidMethod parameters in net.minecraft.registry with type arguments of type RegistryModifier and TypeMethodDescriptionRegistryCloner.CloneableRegistries.add(RegistryKey<? extends Registry<? extends T>> registryRef, com.mojang.serialization.Codec<T> elementCodec) <T> RegistryBuilderRegistryBuilder.addRegistry(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, RegistryBuilder.BootstrapFunction<T> bootstrapFunction) <T> RegistryBuilderRegistryBuilder.addRegistry(RegistryKey<? extends Registry<T>> registryRef, RegistryBuilder.BootstrapFunction<T> bootstrapFunction) voidRegistryLoader.Entry.addToCloner(BiConsumer<RegistryKey<? extends Registry<T>>, com.mojang.serialization.Codec<T>> callback) private <T> RegistryWrapper.Impl<T> RegistryBuilder.applyPatches(RegistryEntryOwner<T> owner, RegistryCloner.CloneableRegistries cloneableRegistries, RegistryKey<? extends Registry<? extends T>> registryRef, RegistryWrapper.WrapperLookup patches, RegistryWrapper.WrapperLookup base, MutableObject<RegistryWrapper.WrapperLookup> lazyWrapper) private Optional<RegistryOps.RegistryInfo<Object>> RegistryOps.CachedRegistryInfoGetter.compute(RegistryKey<? extends Registry<?>> registryRef) private static <T> DefaultedRegistry<T> Registries.create(RegistryKey<? extends Registry<T>> key, String defaultId, Registries.Initializer<T> initializer) private static <T> Registry<T> Registries.create(RegistryKey<? extends Registry<T>> key, Registries.Initializer<T> initializer) private static <T,R extends MutableRegistry<T>>
RRegistries.create(RegistryKey<? extends Registry<T>> key, R registry, Registries.Initializer<T> initializer) static <T> com.mojang.serialization.Codec<RegistryKey<T>> RegistryKey.createCodec(RegistryKey<? extends Registry<T>> registry) static <T> com.mojang.serialization.Codec<RegistryPair<T>> RegistryPair.createCodec(RegistryKey<Registry<T>> registryRef, com.mojang.serialization.Codec<RegistryEntry<T>> entryCodec) private RegistryWrapper.WrapperLookupRegistryBuilder.createFullWrapperLookup(DynamicRegistryManager registryManager, RegistryWrapper.WrapperLookup base, RegistryCloner.CloneableRegistries cloneableRegistries, Map<RegistryKey<? extends Registry<?>>, RegistryBuilder.InitializedRegistry<?>> initializedRegistries, RegistryWrapper.WrapperLookup patches) private static <T> DefaultedRegistry<T> Registries.createIntrusive(RegistryKey<? extends Registry<T>> key, String defaultId, Registries.Initializer<T> initializer) private static <T> Registry<T> Registries.createIntrusive(RegistryKey<? extends Registry<T>> key, Registries.Initializer<T> initializer) static <T> PacketCodec<ByteBuf, RegistryKey<T>> RegistryKey.createPacketCodec(RegistryKey<? extends Registry<T>> registry) static <T> PacketCodec<RegistryByteBuf, RegistryPair<T>> RegistryPair.createPacketCodec(RegistryKey<Registry<T>> registryRef, PacketCodec<RegistryByteBuf, RegistryEntry<T>> entryPacketCodec) (package private) static <T> RegistryWrapper.Impl<T> RegistryBuilder.createWrapper(RegistryKey<? extends Registry<? extends T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, RegistryEntryOwner<T> owner, Map<RegistryKey<T>, RegistryEntry.Reference<T>> entries) static <E> com.mojang.serialization.Codec<RegistryEntryList<E>> RegistryCodecs.entryList(RegistryKey<? extends Registry<E>> registryRef) static <E> com.mojang.serialization.Codec<RegistryEntryList<E>> RegistryCodecs.entryList(RegistryKey<? extends Registry<E>> registryRef, boolean alwaysSerializeAsList) static <E> com.mojang.serialization.Codec<RegistryEntryList<E>> RegistryCodecs.entryList(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec) static <E> com.mojang.serialization.Codec<RegistryEntryList<E>> RegistryCodecs.entryList(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean alwaysSerializeAsList) static voidSerializableRegistries.forEachSyncedRegistry(com.mojang.serialization.DynamicOps<NbtElement> nbtOps, DynamicRegistryManager registryManager, Set<VersionedIdentifier> knownPacks, BiConsumer<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.SerializedRegistryEntry>> callback) <T> @Nullable RegistryCloner<T> RegistryCloner.CloneableRegistries.get(RegistryKey<? extends Registry<? extends T>> registryRef) <E> Optional<RegistryEntryLookup<E>> RegistryOps.getEntryLookup(RegistryKey<? extends Registry<? extends E>> registryRef) static <E,O> com.mojang.serialization.codecs.RecordCodecBuilder <O, RegistryEntryLookup<E>> RegistryOps.getEntryLookupCodec(RegistryKey<? extends Registry<? extends E>> registryRef) ReloadableRegistries.Lookup.getIds(RegistryKey<? extends Registry<?>> registryRef) DynamicRegistryManager.getOptional(RegistryKey<? extends Registry<? extends E>> registryRef) DynamicRegistryManager.ImmutableImpl.getOptional(RegistryKey<? extends Registry<? extends E>> registryRef) <T> Optional<? extends RegistryEntryLookup<T>> RegistryEntryLookup.RegistryLookup.getOptional(RegistryKey<? extends Registry<? extends T>> registryRef) <T> Optional<? extends RegistryWrapper.Impl<T>> RegistryWrapper.WrapperLookup.getOptional(RegistryKey<? extends Registry<? extends T>> registryRef) default <E> Registry<E> DynamicRegistryManager.getOrThrow(RegistryKey<? extends Registry<? extends E>> key) default <T> RegistryEntryLookup<T> RegistryEntryLookup.RegistryLookup.getOrThrow(RegistryKey<? extends Registry<? extends T>> registryRef) default <T> RegistryWrapper.Impl<T> RegistryWrapper.WrapperLookup.getOrThrow(RegistryKey<? extends Registry<? extends T>> registryRef) <E> Optional<RegistryEntryOwner<E>> RegistryOps.getOwner(RegistryKey<? extends Registry<? extends E>> registryRef) static StringRegistryKeys.getPath(RegistryKey<? extends Registry<?>> registryRef) <E> Optional<RegistryOps.RegistryInfo<E>> RegistryOps.CachedRegistryInfoGetter.getRegistryInfo(RegistryKey<? extends Registry<? extends E>> registryRef) <T> Optional<RegistryOps.RegistryInfo<T>> RegistryOps.RegistryInfoGetter.getRegistryInfo(RegistryKey<? extends Registry<? extends T>> registryRef) <S> RegistryEntryLookup<S> Registerable.getRegistryLookup(RegistryKey<? extends Registry<? extends S>> registryRef) static StringRegistryKeys.getTagPath(RegistryKey<? extends Registry<?>> registryRef) booleanRegistryKey.isOf(RegistryKey<? extends Registry<?>> registry) Returns whether this registry key belongs to the given registry (according to its type, not whether the registry actually contains this key).static booleanSerializableRegistries.isSynced(RegistryKey<? extends Registry<?>> key) voidRegistryLoader.Loader.loadFromNetwork(Map<RegistryKey<? extends Registry<?>>, RegistryLoader.ElementsAndTags> data, ResourceFactory factory, RegistryOps.RegistryInfoGetter infoGetter) RegistryLoader.loadFromNetwork(Map<RegistryKey<? extends Registry<?>>, RegistryLoader.ElementsAndTags> data, ResourceFactory factory, List<RegistryWrapper.Impl<?>> registries, List<RegistryLoader.Entry<?>> entries) (package private) static <E> voidRegistryLoader.loadFromNetwork(Map<RegistryKey<? extends Registry<?>>, RegistryLoader.ElementsAndTags> data, ResourceFactory factory, RegistryOps.RegistryInfoGetter infoGetter, MutableRegistry<E> registry, com.mojang.serialization.Decoder<E> decoder, Map<RegistryKey<?>, Exception> loadingErrors) private static <T,R extends Registry<? extends T>>
DynamicRegistryManager.Entry<T> DynamicRegistryManager.Entry.of(Map.Entry<? extends RegistryKey<? extends Registry<?>>, R> entry) private static <T> DynamicRegistryManager.Entry<T> DynamicRegistryManager.Entry.of(RegistryKey<? extends Registry<?>> key, Registry<?> value) static RegistryBuilder.RegistriesRegistryBuilder.Registries.of(DynamicRegistryManager dynamicRegistryManager, Stream<RegistryKey<? extends Registry<?>>> registryRefs) static <T> RegistryKey<T> RegistryKey.of(RegistryKey<? extends Registry<T>> registry, Identifier value) Creates a registry key for a value in a registry with a registry key for the value-holding registry in the root registry and an identifier of the value.private static <T> voidSerializableRegistries.serialize(com.mojang.serialization.DynamicOps<NbtElement> nbtOps, RegistryLoader.Entry<T> entry, DynamicRegistryManager registryManager, Set<VersionedIdentifier> knownPacks, BiConsumer<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.SerializedRegistryEntry>> callback) <E> Optional<RegistryKey<E>> RegistryKey.tryCast(RegistryKey<? extends Registry<E>> registryRef) Constructors in net.minecraft.registry with parameters of type RegistryModifierConstructorDescriptionConstructor parameters in net.minecraft.registry with type arguments of type RegistryModifierConstructorDescription(package private)Entry(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> codec) Entry(RegistryKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, boolean bool) ImmutableImpl(List<? extends Registry<?>> registries) ImmutableImpl(Map<? extends RegistryKey<? extends Registry<?>>, ? extends Registry<?>> registries) ImmutableImpl(Map<? extends RegistryKey<? extends Registry<?>>, ? extends Registry<?>> registries) (package private)InitializedRegistry(RegistryKey<? extends Registry<? extends T>> registryKey, com.mojang.serialization.Lifecycle lifecycle, Map<RegistryKey<T>, RegistryBuilder.EntryAssociatedValue<T>> map) (package private)RegistryInfo(RegistryKey<? extends Registry<T>> registryKey, com.mojang.serialization.Lifecycle lifecycle, RegistryBuilder.BootstrapFunction<T> bootstrapFunction) SimpleDefaultedRegistry(String defaultId, RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, boolean intrusive) SimpleRegistry(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) SimpleRegistry(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, boolean intrusive) -
Uses of Registry in net.minecraft.registry.entry
Fields in net.minecraft.registry.entry with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final RegistryKey<? extends Registry<E>> RegistryEntryListCodec.registryprivate final RegistryKey<? extends Registry<E>> RegistryFixedCodec.registryprivate final RegistryKey<? extends Registry<E>> RegistryElementCodec.registryRefMethod parameters in net.minecraft.registry.entry with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec<RegistryEntryList<E>> RegistryEntryListCodec.create(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList) static <E> RegistryElementCodec<E> RegistryElementCodec.of(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec) static <E> RegistryElementCodec<E> RegistryElementCodec.of(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions) static <E> RegistryFixedCodec<E> RegistryFixedCodec.of(RegistryKey<? extends Registry<E>> registry) Constructor parameters in net.minecraft.registry.entry with type arguments of type RegistryModifierConstructorDescriptionprivateRegistryElementCodec(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions) privateRegistryEntryListCodec(RegistryKey<? extends Registry<E>> registry, com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList) privateRegistryFixedCodec(RegistryKey<? extends Registry<E>> registry) -
Uses of Registry in net.minecraft.registry.tag
Fields in net.minecraft.registry.tag with type parameters of type RegistryModifier and TypeFieldDescriptionprivate final RegistryKey<? extends Registry<T>> TagGroupLoader.RegistryTags.keyThe field for thekeyrecord component.private final RegistryKey<? extends Registry<T>> TagKey.registryRefThe field for theregistryRefrecord component.Methods in net.minecraft.registry.tag that return types with arguments of type RegistryModifier and TypeMethodDescriptionRegistryKey<? extends Registry<T>> TagGroupLoader.RegistryTags.key()Returns the value of thekeyrecord component.RegistryKey<? extends Registry<T>> TagKey.registryRef()Returns the value of theregistryRefrecord component.static Map<RegistryKey<? extends Registry<?>>, TagPacketSerializer.Serialized> TagPacketSerializer.serializeTags(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistryManager) Methods in net.minecraft.registry.tag with parameters of type RegistryModifier and TypeMethodDescriptionstatic <T> TagGroupLoader.EntrySupplier<? extends RegistryEntry<T>> private static <T> TagPacketSerializer.SerializedTagPacketSerializer.serializeTags(Registry<T> registry) private static <T> Optional<Registry.PendingTagLoad<T>> TagGroupLoader.startReload(ResourceManager resourceManager, Registry<T> registry) <T> TagGroupLoader.RegistryTags<T> TagPacketSerializer.Serialized.toRegistryTags(Registry<T> registry) (package private) static <T> TagGroupLoader.RegistryTags<T> TagPacketSerializer.toRegistryTags(Registry<T> registry, TagPacketSerializer.Serialized tags) Method parameters in net.minecraft.registry.tag with type arguments of type RegistryModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<TagKey<T>> TagKey.codec(RegistryKey<? extends Registry<T>> registryRef) private static Registry.PendingTagLoad<?> TagGroupLoader.find(List<Registry.PendingTagLoad<?>> pendingTags, RegistryKey<? extends Registry<?>> registryRef) booleanTagKey.isOf(RegistryKey<? extends Registry<?>> registryRef) static <T> TagKey<T> TagKey.of(RegistryKey<? extends Registry<T>> registryRef, Identifier id) static <T> PacketCodec<ByteBuf, TagKey<T>> TagKey.packetCodec(RegistryKey<? extends Registry<T>> registryRef) private static <T> Map<TagKey<T>, List<RegistryEntry<T>>> TagGroupLoader.toTagKeyedMap(RegistryKey<? extends Registry<T>> registryRef, Map<Identifier, List<RegistryEntry<T>>> tags) TagKey.tryCast(RegistryKey<? extends Registry<E>> registryRef) static <T> com.mojang.serialization.Codec<TagKey<T>> TagKey.unprefixedCodec(RegistryKey<? extends Registry<T>> registryRef) Constructor parameters in net.minecraft.registry.tag with type arguments of type RegistryModifierConstructorDescriptionRegistryTags(RegistryKey<? extends Registry<T>> registryKey, Map<TagKey<T>, List<RegistryEntry<T>>> map) TagKey(RegistryKey<? extends Registry<T>> registryRef, Identifier id) Deprecated. -
Uses of Registry in net.minecraft.resource.featuretoggle
Fields in net.minecraft.resource.featuretoggle with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final Set<RegistryKey<? extends Registry<? extends ToggleableFeature>>> ToggleableFeature.FEATURE_ENABLED_REGISTRY_KEYS -
Uses of Registry in net.minecraft.scoreboard.number
Methods in net.minecraft.scoreboard.number with parameters of type RegistryModifier and TypeMethodDescriptionstatic NumberFormatType<?> NumberFormatTypes.registerAndGetDefault(Registry<NumberFormatType<?>> registry) -
Uses of Registry in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type RegistryModifier and TypeMethodDescriptionprivate static Optional<? extends RegistryEntryList.ListBacked<Structure>> LocateCommand.getStructureListForPredicate(RegistryPredicateArgumentType.RegistryPredicate<Structure> predicate, Registry<Structure> structureRegistry) Method parameters in net.minecraft.server.command with type arguments of type RegistryModifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions> ServerCommandSource.listIdSuggestions(RegistryKey<? extends Registry<?>> registryRef, CommandSource.SuggestedIdType suggestedIdType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.context.CommandContext<?> context) -
Uses of Registry in net.minecraft.server.function
Fields in net.minecraft.server.function with type parameters of type RegistryModifier and TypeFieldDescriptionstatic final RegistryKey<Registry<CommandFunction<ServerCommandSource>>> FunctionLoader.FUNCTION_REGISTRY_KEY -
Uses of Registry in net.minecraft.stat
Fields in net.minecraft.stat declared as RegistryMethods in net.minecraft.stat that return RegistryMethods in net.minecraft.stat with parameters of type RegistryModifier and TypeMethodDescriptionprivate static <T> StatType<T> Stats.registerType(String id, Registry<T> registry) Constructors in net.minecraft.stat with parameters of type Registry -
Uses of Registry in net.minecraft.structure.pool
Fields in net.minecraft.structure.pool declared as RegistryModifier and TypeFieldDescriptionprivate final Registry<StructurePool> StructurePoolBasedGenerator.StructurePoolGenerator.registryMethods in net.minecraft.structure.pool with parameters of type RegistryModifier and TypeMethodDescriptionprivate static voidStructurePoolBasedGenerator.generate(NoiseConfig noiseConfig, int maxSize, boolean modifyBoundingBox, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, HeightLimitView heightLimitView, Random random, Registry<StructurePool> structurePoolRegistry, PoolStructurePiece firstPiece, List<PoolStructurePiece> pieces, VoxelShape pieceShape, StructurePoolAliasLookup aliasLookup, StructureLiquidSettings liquidSettings) Constructors in net.minecraft.structure.pool with parameters of type RegistryModifierConstructorDescription(package private)StructurePoolGenerator(Registry<StructurePool> registry, int maxSize, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, List<? super PoolStructurePiece> children, Random random) -
Uses of Registry in net.minecraft.structure.pool.alias
Methods in net.minecraft.structure.pool.alias with parameters of type RegistryModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec<? extends StructurePoolAliasBinding> StructurePoolAliasBindings.registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends StructurePoolAliasBinding>> registry) -
Uses of Registry in net.minecraft.util
Methods in net.minecraft.util with parameters of type RegistryModifier and TypeMethodDescriptionstatic <T> StringUtil.registryValueToString(Registry<T> registry, T value) -
Uses of Registry in net.minecraft.world
Method parameters in net.minecraft.world with type arguments of type RegistryModifier and TypeMethodDescriptiondefault <T> RegistryWrapper<T> WorldView.createCommandRegistryWrapper(RegistryKey<? extends Registry<? extends T>> registryRef) -
Uses of Registry in net.minecraft.world.biome.source
Methods in net.minecraft.world.biome.source with parameters of type RegistryModifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec<? extends BiomeSource> BiomeSources.registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends BiomeSource>> registry) -
Uses of Registry in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk declared as RegistryModifier and TypeFieldDescriptionSerializedChunk.biomeRegistryThe field for thebiomeRegistryrecord component.Methods in net.minecraft.world.chunk that return RegistryModifier and TypeMethodDescriptionSerializedChunk.biomeRegistry()Returns the value of thebiomeRegistryrecord component.Methods in net.minecraft.world.chunk with parameters of type RegistryModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<ReadableContainer<RegistryEntry<Biome>>> SerializedChunk.createCodec(Registry<Biome> biomeRegistry) private static voidChunk.fillSectionArray(Registry<Biome> biomeRegistry, ChunkSection[] sectionArray) Constructors in net.minecraft.world.chunk with parameters of type RegistryModifierConstructorDescriptionChunk(ChunkPos pos, UpgradeData upgradeData, HeightLimitView heightLimitView, Registry<Biome> biomeRegistry, long inhabitedTime, @Nullable ChunkSection[] sectionArray, @Nullable BlendingData blendingData) ChunkSection(Registry<Biome> biomeRegistry) ProtoChunk(ChunkPos pos, UpgradeData upgradeData, @Nullable ChunkSection[] sections, SimpleTickScheduler<Block> blockTickScheduler, SimpleTickScheduler<Fluid> fluidTickScheduler, HeightLimitView world, Registry<Biome> biomeRegistry, @Nullable BlendingData blendingData) ProtoChunk(ChunkPos pos, UpgradeData upgradeData, HeightLimitView world, Registry<Biome> biomeRegistry, @Nullable BlendingData blendingData) SerializedChunk(Registry<Biome> registry, ChunkPos chunkPos, int int2, long long2, long long3, ChunkStatus chunkStatus, BlendingData.Serialized serialized, @Nullable BelowZeroRetrogen belowZeroRetrogen, UpgradeData upgradeData, @org.jetbrains.annotations.Nullable long[] long4, Map<Heightmap.Type, long[]> map, Chunk.TickSchedulers tickSchedulers, ShortList[] shortList, boolean bool, List<SerializedChunk.SectionData> list, List<NbtCompound> list2, List<NbtCompound> list3, NbtCompound nbtCompound) -
Uses of Registry in net.minecraft.world.dimension
Fields in net.minecraft.world.dimension declared as RegistryModifier and TypeFieldDescriptionprivate final Registry<DimensionOptions> DimensionOptionsRegistryHolder.DimensionsConfig.dimensionsThe field for thedimensionsrecord component.Methods in net.minecraft.world.dimension that return RegistryModifier and TypeMethodDescriptionDimensionOptionsRegistryHolder.DimensionsConfig.dimensions()Returns the value of thedimensionsrecord component.Methods in net.minecraft.world.dimension with parameters of type RegistryModifier and TypeMethodDescriptionprivate static LevelProperties.SpecialPropertyDimensionOptionsRegistryHolder.getSpecialProperty(Registry<DimensionOptions> dimensionOptionsRegistry) DimensionOptionsRegistryHolder.toConfig(Registry<DimensionOptions> existingRegistry) Constructors in net.minecraft.world.dimension with parameters of type RegistryModifierConstructorDescriptionDimensionOptionsRegistryHolder(Registry<DimensionOptions> dimensionOptionsRegistry) DimensionsConfig(Registry<DimensionOptions> registry, LevelProperties.SpecialProperty specialProperty) -
Uses of Registry in net.minecraft.world.event
Methods in net.minecraft.world.event with parameters of type RegistryModifier and TypeMethodDescriptionstatic RegistryEntry<GameEvent> GameEvent.registerAndGetDefault(Registry<GameEvent> registry) -
Uses of Registry in net.minecraft.world.gen.chunk
Methods in net.minecraft.world.gen.chunk with parameters of type RegistryModifier and TypeMethodDescriptionvoidNoiseChunkGenerator.buildSurface(Chunk chunk, HeightContext heightContext, NoiseConfig noiseConfig, StructureAccessor structureAccessor, BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, Blender blender) static com.mojang.serialization.MapCodec<? extends ChunkGenerator> ChunkGenerators.registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends ChunkGenerator>> registry) -
Uses of Registry in net.minecraft.world.gen.densityfunction
Methods in net.minecraft.world.gen.densityfunction with parameters of type RegistryModifier and TypeMethodDescriptionprivate static com.mojang.serialization.MapCodec<? extends DensityFunction> DensityFunctionTypes.register(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> registry, String id, CodecHolder<? extends DensityFunction> codecHolder) static com.mojang.serialization.MapCodec<? extends DensityFunction> DensityFunctionTypes.registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> registry) -
Uses of Registry in net.minecraft.world.gen.surfacebuilder
Methods in net.minecraft.world.gen.surfacebuilder with parameters of type RegistryModifier and TypeMethodDescriptionvoidSurfaceBuilder.buildSurface(NoiseConfig noiseConfig, BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, boolean useLegacyRandom, HeightContext heightContext, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, MaterialRules.MaterialRule materialRule) (package private) static <A> com.mojang.serialization.MapCodec<? extends A> MaterialRules.register(Registry<com.mojang.serialization.MapCodec<? extends A>> registry, String id, CodecHolder<? extends A> codecHolder) static com.mojang.serialization.MapCodec<? extends MaterialRules.MaterialCondition> MaterialRules.MaterialCondition.registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends MaterialRules.MaterialCondition>> registry) static com.mojang.serialization.MapCodec<? extends MaterialRules.MaterialRule> MaterialRules.MaterialRule.registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends MaterialRules.MaterialRule>> registry) Constructors in net.minecraft.world.gen.surfacebuilder with parameters of type RegistryModifierConstructorDescriptionprotectedMaterialRuleContext(SurfaceBuilder surfaceBuilder, NoiseConfig noiseConfig, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Registry<Biome> biomeRegistry, HeightContext heightContext) -
Uses of Registry in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage with parameters of type RegistryModifier and TypeMethodDescriptionstatic ParsedSavePropertiesLevelStorage.parseSaveProperties(com.mojang.serialization.Dynamic<?> dynamic, DataConfiguration dataConfiguration, Registry<DimensionOptions> dimensionsRegistry, RegistryWrapper.WrapperLookup registries) -
Uses of Registry in net.minecraft.world.poi
Methods in net.minecraft.world.poi with parameters of type RegistryModifier and TypeMethodDescriptionprivate static PointOfInterestTypePointOfInterestTypes.register(Registry<PointOfInterestType> registry, RegistryKey<PointOfInterestType> key, Set<BlockState> states, int ticketCount, int searchDistance) static PointOfInterestTypePointOfInterestTypes.registerAndGetDefault(Registry<PointOfInterestType> registry) -
Uses of Registry in net.minecraft.world.updater
Fields in net.minecraft.world.updater declared as RegistryModifier and TypeFieldDescription(package private) final Registry<DimensionOptions> WorldUpdater.dimensionOptionsRegistry