Uses of Class
net.minecraft.util.registry.Registry
Package
Description
-
Uses of Registry in net.minecraft.client.gui.screen
Modifier and TypeMethodDescriptionstatic FlatChunkGeneratorConfig
PresetsScreen.parsePresetString
(Registry<Biome> biomeRegistry, Registry<StructureSet> structureSetRegistry, String preset, FlatChunkGeneratorConfig generatorConfig) -
Uses of Registry in net.minecraft.client.network
Modifier and TypeMethodDescriptionCompletableFuture<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) private <T> void
ClientPlayNetworkHandler.loadTags
(RegistryKey<? extends Registry<? extends T>> registryKey, TagPacketSerializer.Serialized serialized) -
Uses of Registry in net.minecraft.command
Modifier and TypeMethodDescriptiondefault void
CommandSource.suggestIdentifiers
(Registry<?> registry, CommandSource.SuggestedIdType suggestedIdType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) Modifier 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
Modifier and TypeFieldDescriptionprivate static final BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,
Registry<Item>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> ItemStringReader.NBT_SUGGESTION_PROVIDER
(package private) final RegistryKey<? extends Registry<T>>
RegistryKeyArgumentType.registryRef
(package private) final RegistryKey<? extends Registry<T>>
RegistryPredicateArgumentType.registryRef
private static final BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,
Registry<Block>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> BlockArgumentParser.SUGGEST_DEFAULT
private BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,
Registry<Block>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> BlockArgumentParser.suggestions
private BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,
Registry<Item>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> ItemStringReader.suggestions
Modifier and TypeMethodDescriptionprivate static <T> Registry<T>
RegistryKeyArgumentType.getRegistry
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryKey<? extends Registry<T>> registryRef) Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser.getSuggestions
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Block> registry) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemStringReader.getSuggestions
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Item> registry) private boolean
BlockArgumentParser.hasBlockEntity
(Registry<Block> registry) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemStringReader.suggestAny
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Item> registry) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser.suggestBlockOrTagId
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Block> registry) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser.suggestBlockProperties
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Block> registry) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser.suggestBlockPropertiesOrEnd
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Block> registry) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser.suggestCommaOrEnd
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Block> registry) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser.suggestEqualsCharacter
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Block> registry) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser.suggestIdentifiers
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Block> registry) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemStringReader.suggestItem
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Item> registry) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser.suggestSnbt
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Block> registry) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser.suggestSnbtOrBlockProperties
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Block> registry) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser.suggestSnbtOrTagProperties
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Block> registry) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ItemStringReader.suggestTag
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Item> registry) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser.suggestTagProperties
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Block> registry) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser.suggestTagPropertiesOrEnd
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Block> registry) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser.suggestTagPropertyValues
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Registry<Block> registry, String propertyName) Modifier 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) private 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> RegistryKeyArgumentType<T>
RegistryKeyArgumentType.registryKey
(RegistryKey<? extends Registry<T>> registryRef) static <T> RegistryPredicateArgumentType<T>
RegistryPredicateArgumentType.registryPredicate
(RegistryKey<? extends Registry<T>> 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) ModifierConstructorDescriptionRegistryKeyArgumentType
(RegistryKey<? extends Registry<T>> registryRef) RegistryPredicateArgumentType
(RegistryKey<? extends Registry<T>> registryRef) -
Uses of Registry in net.minecraft.data.report
Modifier and TypeMethodDescriptionprivate static <E,
T extends Registry<E>>
voidWorldgenProvider.writeRegistryEntries
(Path path, DataCache cache, com.mojang.serialization.DynamicOps<JsonElement> json, RegistryKey<? extends T> registryKey, T registry, com.mojang.serialization.Encoder<E> encoder) -
Uses of Registry in net.minecraft.data.server
Modifier and TypeFieldDescriptionAbstractTagProvider.ObjectBuilder.registry
AbstractTagProvider.registry
ModifierConstructorDescriptionprotected
AbstractTagProvider
(DataGenerator root, Registry<T> registry) (package private)
ObjectBuilder
(Tag.Builder builder, Registry<T> registry, String source) -
Uses of Registry in net.minecraft.item
Modifier and TypeMethodDescriptionboolean
ItemStack.canDestroy
(Registry<Block> blockRegistry, CachedBlockPosition pos) boolean
ItemStack.canPlaceOn
(Registry<Block> blockRegistry, CachedBlockPosition pos) boolean
BlockPredicatesChecker.check
(ItemStack stack, Registry<Block> blockRegistry, CachedBlockPosition pos) Returns true if any of the predicates in thestack
's NBT matched against the block atpos
, false otherwise. -
Uses of Registry in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final Map<RegistryKey<? extends Registry<?>>,
TagPacketSerializer.Serialized> SynchronizeTagsS2CPacket.groups
Modifier and TypeMethodDescriptionMap<RegistryKey<? extends Registry<?>>,
TagPacketSerializer.Serialized> SynchronizeTagsS2CPacket.getGroups()
ModifierConstructorDescriptionSynchronizeTagsS2CPacket
(Map<RegistryKey<? extends Registry<?>>, TagPacketSerializer.Serialized> groups) -
Uses of Registry in net.minecraft.server.command
Modifier 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.stat
Modifier and TypeMethodDescriptionprivate static <T> StatType<T>
Stats.registerType
(String id, Registry<T> registry) -
Uses of Registry in net.minecraft.structure.pool
Modifier and TypeFieldDescriptionprivate final Registry<StructurePool>
StructurePoolBasedGenerator.StructurePoolGenerator.registry
ModifierConstructorDescription(package private)
StructurePoolGenerator
(Registry<StructurePool> registry, int maxSize, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> children, Random random) -
Uses of Registry in net.minecraft.tag
Modifier and TypeFieldDescriptionprivate static final Map<RegistryKey<? extends Registry<?>>,
String> TagManagerLoader.DIRECTORIES
private final RegistryKey<? extends Registry<T>>
TagManagerLoader.RegistryTags.key
The field for thekey
record component.private final RegistryKey<? extends Registry<T>>
TagKey.registry
The field for theregistry
record component.Modifier and TypeMethodDescriptionRegistryKey<? extends Registry<T>>
TagManagerLoader.RegistryTags.key()
Returns the value of thekey
record component.RegistryKey<? extends Registry<T>>
TagKey.registry()
Returns the value of theregistry
record component.static Map<RegistryKey<? extends Registry<?>>,
TagPacketSerializer.Serialized> TagPacketSerializer.serializeTags
(DynamicRegistryManager dynamicRegistryManager) Modifier and TypeMethodDescriptionstatic <T> void
TagPacketSerializer.loadTags
(RegistryKey<? extends Registry<T>> registryKey, Registry<T> registry, TagPacketSerializer.Serialized serialized, TagPacketSerializer.Loader<T> loader) private static <T> TagPacketSerializer.Serialized
TagPacketSerializer.serializeTags
(Registry<T> registry) Modifier and TypeMethodDescriptionstatic String
TagManagerLoader.getPath
(RegistryKey<? extends Registry<?>> registry) static <T> com.mojang.serialization.Codec<TagKey<T>>
TagKey.identifierCodec
(RegistryKey<? extends Registry<T>> registry) boolean
TagKey.isOf
(RegistryKey<? extends Registry<?>> registryRef) static <T> void
TagPacketSerializer.loadTags
(RegistryKey<? extends Registry<T>> registryKey, Registry<T> registry, TagPacketSerializer.Serialized serialized, TagPacketSerializer.Loader<T> loader) static <T> TagKey<T>
TagKey.of
(RegistryKey<? extends Registry<T>> registry, Identifier id) static <T> com.mojang.serialization.Codec<TagKey<T>>
TagKey.stringCodec
(RegistryKey<? extends Registry<T>> registry) TagKey.tryCast
(RegistryKey<? extends Registry<E>> registryRef) ModifierConstructorDescriptionRegistryTags
(RegistryKey<? extends Registry<T>> registryKey, Map<Identifier, Tag<RegistryEntry<T>>> map) TagKey
(RegistryKey<? extends Registry<T>> registryKey, Identifier identifier) Deprecated. -
Uses of Registry in net.minecraft.util
Modifier and TypeFieldDescriptionJsonSerializing.GsonSerializer.registry
JsonSerializing.SerializerBuilder.registry
Modifier and TypeMethodDescriptionstatic <E,
T extends JsonSerializableType<E>>
JsonSerializing.SerializerBuilder<E,T> JsonSerializing.createSerializerBuilder
(Registry<T> registry, String rootFieldName, String idFieldName, Function<E, T> typeGetter) ModifierConstructorDescription(package private)
GsonSerializer
(Registry<T> registry, String rootFieldName, String idFieldName, Function<E, T> typeGetter, T defaultType, @Nullable com.mojang.datafixers.util.Pair<T, JsonSerializing.ElementSerializer<? extends E>> elementSerializer) (package private)
SerializerBuilder
(Registry<T> registry, String rootFieldName, String idFieldName, Function<E, T> typeIdentification) -
Uses of Registry in net.minecraft.util.dynamic
Modifier and TypeFieldDescriptionprivate final RegistryKey<? extends Registry<E>>
RegistryElementCodec.registryRef
private final Map<RegistryKey<? extends Registry<?>>,
RegistryLoader.ValueHolder<?>> RegistryLoader.valueHolders
Modifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.MapCodec<Registry<E>>
RegistryOps.createRegistryCodec
(RegistryKey<? extends Registry<? extends E>> registryRef) RegistryOps.getRegistry
(RegistryKey<? extends Registry<? extends E>> key) <E> com.mojang.serialization.DataResult<? extends Registry<E>>
RegistryLoader.load
(MutableRegistry<E> registry, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.DynamicOps<JsonElement> ops) <E> com.mojang.serialization.DataResult<? extends Registry<E>>
RegistryLoader.LoaderAccess.load
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.DynamicOps<JsonElement> ops) Modifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.MapCodec<Registry<E>>
RegistryOps.createRegistryCodec
(RegistryKey<? extends Registry<? extends E>> registryRef) <E> Collection<RegistryKey<E>>
EntryLoader.getKnownEntryPaths
(RegistryKey<? extends Registry<E>> key) <E> Collection<RegistryKey<E>>
EntryLoader.Impl.getKnownEntryPaths
(RegistryKey<? extends Registry<E>> key) private <E> RegistryLoader.ValueHolder<E>
RegistryLoader.getOrCreateValueHolder
(RegistryKey<? extends Registry<E>> registryRef) RegistryOps.getRegistry
(RegistryKey<? extends Registry<? extends E>> key) <E> Optional<com.mojang.serialization.DataResult<EntryLoader.Entry<E>>>
EntryLoader.Impl.load
(com.mojang.serialization.DynamicOps<JsonElement> json, RegistryKey<? extends Registry<E>> registryId, RegistryKey<E> entryId, com.mojang.serialization.Decoder<E> decoder) <E> Optional<com.mojang.serialization.DataResult<EntryLoader.Entry<E>>>
EntryLoader.load
(com.mojang.serialization.DynamicOps<JsonElement> json, RegistryKey<? extends Registry<E>> registryId, RegistryKey<E> entryId, com.mojang.serialization.Decoder<E> decoder) <E> com.mojang.serialization.DataResult<? extends Registry<E>>
RegistryLoader.load
(MutableRegistry<E> registry, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.DynamicOps<JsonElement> ops) (package private) <E> com.mojang.serialization.DataResult<RegistryEntry<E>>
RegistryLoader.load
(MutableRegistry<E> registry, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, RegistryKey<E> entryKey, com.mojang.serialization.DynamicOps<JsonElement> ops) <E> com.mojang.serialization.DataResult<? extends Registry<E>>
RegistryLoader.LoaderAccess.load
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.DynamicOps<JsonElement> ops) <E> com.mojang.serialization.DataResult<RegistryEntry<E>>
RegistryLoader.LoaderAccess.load
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, RegistryKey<E> entryKey, com.mojang.serialization.DynamicOps<JsonElement> ops) static <E> RegistryElementCodec<E>
RegistryElementCodec.of
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec) private static <E> RegistryElementCodec<E>
RegistryElementCodec.of
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions) ModifierConstructorDescriptionprivate
RegistryElementCodec
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions) -
Uses of Registry in net.minecraft.util.registry
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeFieldDescriptionRegistry.ACTIVITY
static final Registry<EntityAttribute>
Registry.ATTRIBUTE
BuiltinRegistries.BIOME
static final Registry<com.mojang.serialization.Codec<? extends BiomeSource>>
Registry.BIOME_SOURCE
static final Registry<BlockEntityType<?>>
Registry.BLOCK_ENTITY_TYPE
static final Registry<BlockPredicateType<?>>
Registry.BLOCK_PREDICATE_TYPE
static final Registry<BlockStateProviderType<?>>
Registry.BLOCK_STATE_PROVIDER_TYPE
Registry.CARVER
static final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>
Registry.CHUNK_GENERATOR
static final Registry<ChunkGeneratorSettings>
BuiltinRegistries.CHUNK_GENERATOR_SETTINGS
static final Registry<ConfiguredCarver<?>>
BuiltinRegistries.CONFIGURED_CARVER
static final Registry<ConfiguredFeature<?,
?>> BuiltinRegistries.CONFIGURED_FEATURE
static final Registry<ConfiguredStructureFeature<?,
?>> BuiltinRegistries.CONFIGURED_STRUCTURE_FEATURE
static final Registry<Identifier>
Registry.CUSTOM_STAT
static final Registry<DensityFunction>
BuiltinRegistries.DENSITY_FUNCTION
static final Registry<com.mojang.serialization.Codec<? extends DensityFunction>>
Registry.DENSITY_FUNCTION_TYPE
static final Registry<Enchantment>
Registry.ENCHANTMENT
Registry.FEATURE
static final Registry<FeatureSizeType<?>>
Registry.FEATURE_SIZE_TYPE
static final Registry<FloatProviderType<?>>
Registry.FLOAT_PROVIDER_TYPE
static final Registry<FoliagePlacerType<?>>
Registry.FOLIAGE_PLACER_TYPE
static final Registry<HeightProviderType<?>>
Registry.HEIGHT_PROVIDER_TYPE
static final Registry<IntProviderType<?>>
Registry.INT_PROVIDER_TYPE
static final Registry<LootConditionType>
Registry.LOOT_CONDITION_TYPE
static final Registry<LootFunctionType>
Registry.LOOT_FUNCTION_TYPE
static final Registry<LootNbtProviderType>
Registry.LOOT_NBT_PROVIDER_TYPE
static final Registry<LootNumberProviderType>
Registry.LOOT_NUMBER_PROVIDER_TYPE
static final Registry<LootPoolEntryType>
Registry.LOOT_POOL_ENTRY_TYPE
static final Registry<LootScoreProviderType>
Registry.LOOT_SCORE_PROVIDER_TYPE
static final Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialCondition>>
Registry.MATERIAL_CONDITION
static final Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>>
Registry.MATERIAL_RULE
static final Registry<DoublePerlinNoiseSampler.NoiseParameters>
BuiltinRegistries.NOISE_PARAMETERS
static final Registry<ParticleType<?>>
Registry.PARTICLE_TYPE
static final Registry<PlacedFeature>
BuiltinRegistries.PLACED_FEATURE
static final Registry<PlacementModifierType<?>>
Registry.PLACEMENT_MODIFIER_TYPE
static final Registry<PosRuleTestType<?>>
Registry.POS_RULE_TEST
static final Registry<PositionSourceType<?>>
Registry.POSITION_SOURCE_TYPE
static final Registry<RecipeSerializer<?>>
Registry.RECIPE_SERIALIZER
static final Registry<RecipeType<?>>
Registry.RECIPE_TYPE
BuiltinRegistries.REGISTRIES
Registry.REGISTRIES
RegistryEntry.Reference.registry
RegistryEntryList.Named.registry
static final Registry<RuleTestType<?>>
Registry.RULE_TEST
Registry.SCHEDULE
static final Registry<ScreenHandlerType<?>>
Registry.SCREEN_HANDLER
static final Registry<SoundEvent>
Registry.SOUND_EVENT
Registry.STAT_TYPE
static final Registry<StatusEffect>
Registry.STATUS_EFFECT
static final Registry<StructureFeature<?>>
Registry.STRUCTURE_FEATURE
static final Registry<StructurePieceType>
Registry.STRUCTURE_PIECE
static final Registry<StructurePlacementType<?>>
Registry.STRUCTURE_PLACEMENT
static final Registry<StructurePool>
BuiltinRegistries.STRUCTURE_POOL
static final Registry<StructurePoolElementType<?>>
Registry.STRUCTURE_POOL_ELEMENT
static final Registry<StructureProcessorType<?>>
Registry.STRUCTURE_PROCESSOR
static final Registry<StructureProcessorList>
BuiltinRegistries.STRUCTURE_PROCESSOR_LIST
static final Registry<StructureSet>
BuiltinRegistries.STRUCTURE_SET
static final Registry<TreeDecoratorType<?>>
Registry.TREE_DECORATOR_TYPE
static final Registry<TrunkPlacerType<?>>
Registry.TRUNK_PLACER_TYPE
DynamicRegistryManager.Entry.value
The field for thevalue
record component.Modifier and TypeFieldDescriptionstatic final RegistryKey<Registry<Activity>>
Registry.ACTIVITY_KEY
static final RegistryKey<Registry<EntityAttribute>>
Registry.ATTRIBUTE_KEY
static final RegistryKey<Registry<Biome>>
Registry.BIOME_KEY
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>
Registry.BIOME_SOURCE_KEY
static final RegistryKey<Registry<BlockEntityType<?>>>
Registry.BLOCK_ENTITY_TYPE_KEY
static final RegistryKey<Registry<Block>>
Registry.BLOCK_KEY
static final RegistryKey<Registry<BlockPredicateType<?>>>
Registry.BLOCK_PREDICATE_TYPE_KEY
static final RegistryKey<Registry<BlockStateProviderType<?>>>
Registry.BLOCK_STATE_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<Carver<?>>>
Registry.CARVER_KEY
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
Registry.CHUNK_GENERATOR_KEY
static final RegistryKey<Registry<ChunkGeneratorSettings>>
Registry.CHUNK_GENERATOR_SETTINGS_KEY
static final RegistryKey<Registry<ChunkStatus>>
Registry.CHUNK_STATUS_KEY
static final RegistryKey<Registry<ConfiguredCarver<?>>>
Registry.CONFIGURED_CARVER_KEY
static final RegistryKey<Registry<ConfiguredFeature<?,
?>>> Registry.CONFIGURED_FEATURE_KEY
static final RegistryKey<Registry<ConfiguredStructureFeature<?,
?>>> Registry.CONFIGURED_STRUCTURE_FEATURE_KEY
static final RegistryKey<Registry<Identifier>>
Registry.CUSTOM_STAT_KEY
static final RegistryKey<Registry<DensityFunction>>
Registry.DENSITY_FUNCTION_KEY
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>>
Registry.DENSITY_FUNCTION_TYPE_KEY
static final RegistryKey<Registry<DimensionOptions>>
Registry.DIMENSION_KEY
A registry key representing theDimensionOptions
type.static final RegistryKey<Registry<DimensionType>>
Registry.DIMENSION_TYPE_KEY
static final RegistryKey<Registry<Enchantment>>
Registry.ENCHANTMENT_KEY
static final RegistryKey<Registry<EntityType<?>>>
Registry.ENTITY_TYPE_KEY
static final RegistryKey<Registry<Feature<?>>>
Registry.FEATURE_KEY
static final RegistryKey<Registry<FeatureSizeType<?>>>
Registry.FEATURE_SIZE_TYPE_KEY
static final RegistryKey<Registry<FloatProviderType<?>>>
Registry.FLOAT_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<Fluid>>
Registry.FLUID_KEY
static final RegistryKey<Registry<FoliagePlacerType<?>>>
Registry.FOLIAGE_PLACER_TYPE_KEY
static final RegistryKey<Registry<GameEvent>>
Registry.GAME_EVENT_KEY
static final RegistryKey<Registry<HeightProviderType<?>>>
Registry.HEIGHT_PROVIDER_TYPE_KEY
static final Map<RegistryKey<? extends Registry<?>>,
DynamicRegistryManager.Info<?>> DynamicRegistryManager.INFOS
static final RegistryKey<Registry<IntProviderType<?>>>
Registry.INT_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<Item>>
Registry.ITEM_KEY
private final RegistryKey<? extends Registry<T>>
DynamicRegistryManager.Entry.key
The field for thekey
record component.static final RegistryKey<Registry<LootConditionType>>
Registry.LOOT_CONDITION_TYPE_KEY
static final RegistryKey<Registry<LootFunctionType>>
Registry.LOOT_FUNCTION_TYPE_KEY
static final RegistryKey<Registry<LootNbtProviderType>>
Registry.LOOT_NBT_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<LootNumberProviderType>>
Registry.LOOT_NUMBER_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<LootPoolEntryType>>
Registry.LOOT_POOL_ENTRY_TYPE_KEY
static final RegistryKey<Registry<LootScoreProviderType>>
Registry.LOOT_SCORE_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialCondition>>>
Registry.MATERIAL_CONDITION_KEY
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>>>
Registry.MATERIAL_RULE_KEY
static final RegistryKey<Registry<MemoryModuleType<?>>>
Registry.MEMORY_MODULE_TYPE_KEY
static final RegistryKey<Registry<ScreenHandlerType<?>>>
Registry.MENU_KEY
static final RegistryKey<Registry<StatusEffect>>
Registry.MOB_EFFECT_KEY
static final RegistryKey<Registry<PaintingMotive>>
Registry.MOTIVE_KEY
private final Map<? extends RegistryKey<? extends Registry<?>>,
? extends MutableRegistry<?>> DynamicRegistryManager.MutableImpl.mutableRegistries
static final RegistryKey<Registry<DoublePerlinNoiseSampler.NoiseParameters>>
Registry.NOISE_WORLDGEN
static final RegistryKey<Registry<ParticleType<?>>>
Registry.PARTICLE_TYPE_KEY
static final RegistryKey<Registry<PlacedFeature>>
Registry.PLACED_FEATURE_KEY
static final RegistryKey<Registry<PlacementModifierType<?>>>
Registry.PLACEMENT_MODIFIER_TYPE_KEY
static final RegistryKey<Registry<PointOfInterestType>>
Registry.POINT_OF_INTEREST_TYPE_KEY
static final RegistryKey<Registry<PosRuleTestType<?>>>
Registry.POS_RULE_TEST_KEY
static final RegistryKey<Registry<PositionSourceType<?>>>
Registry.POSITION_SOURCE_TYPE_KEY
static final RegistryKey<Registry<Potion>>
Registry.POTION_KEY
static final RegistryKey<Registry<RecipeSerializer<?>>>
Registry.RECIPE_SERIALIZER_KEY
static final RegistryKey<Registry<RecipeType<?>>>
Registry.RECIPE_TYPE_KEY
private final Map<? extends RegistryKey<? extends Registry<?>>,
? extends Registry<?>> DynamicRegistryManager.ImmutableImpl.registries
private final Map<? extends RegistryKey<? extends Registry<?>>,
? extends Registry<?>> DynamicRegistryManager.ImmutableImpl.registries
BuiltinRegistries.REGISTRIES
Registry.REGISTRIES
private final RegistryKey<? extends Registry<E>>
DynamicRegistryManager.Info.registry
The field for theregistry
record component.private final RegistryKey<? extends Registry<E>>
RegistryEntryListCodec.registry
private final RegistryKey<? extends Registry<E>>
RegistryFixedCodec.registry
private final RegistryKey<? extends Registry<T>>
Registry.registryKey
The key representing the type of elements held by this registry.static final RegistryKey<Registry<RuleTestType<?>>>
Registry.RULE_TEST_KEY
static final RegistryKey<Registry<Schedule>>
Registry.SCHEDULE_KEY
static final RegistryKey<Registry<SensorType<?>>>
Registry.SENSOR_TYPE_KEY
static final RegistryKey<Registry<SoundEvent>>
Registry.SOUND_EVENT_KEY
static final RegistryKey<Registry<StatType<?>>>
Registry.STAT_TYPE_KEY
static final RegistryKey<Registry<StructureFeature<?>>>
Registry.STRUCTURE_FEATURE_KEY
static final RegistryKey<Registry<StructurePieceType>>
Registry.STRUCTURE_PIECE_KEY
static final RegistryKey<Registry<StructurePlacementType<?>>>
Registry.STRUCTURE_PLACEMENT_KEY
static final RegistryKey<Registry<StructurePoolElementType<?>>>
Registry.STRUCTURE_POOL_ELEMENT_KEY
static final RegistryKey<Registry<StructurePool>>
Registry.STRUCTURE_POOL_KEY
static final RegistryKey<Registry<StructureProcessorType<?>>>
Registry.STRUCTURE_PROCESSOR_KEY
static final RegistryKey<Registry<StructureProcessorList>>
Registry.STRUCTURE_PROCESSOR_LIST_KEY
static final RegistryKey<Registry<StructureSet>>
Registry.STRUCTURE_SET_KEY
static final RegistryKey<Registry<TreeDecoratorType<?>>>
Registry.TREE_DECORATOR_TYPE_KEY
static final RegistryKey<Registry<TrunkPlacerType<?>>>
Registry.TRUNK_PLACER_TYPE_KEY
static final RegistryKey<Registry<VillagerProfession>>
Registry.VILLAGER_PROFESSION_KEY
static final RegistryKey<Registry<VillagerType>>
Registry.VILLAGER_TYPE_KEY
static final RegistryKey<Registry<World>>
Registry.WORLD_KEY
A registry key representing theWorld
type.Modifier and TypeMethodDescriptionprivate static <K extends RegistryKey<? extends Registry<?>>,
V extends Registry<?>>
com.mojang.serialization.Codec<DynamicRegistryManager>DynamicRegistryManager.createCodec
(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> originalCodec) private static <K extends RegistryKey<? extends Registry<?>>,
V extends Registry<?>>
com.mojang.serialization.Codec<DynamicRegistryManager>DynamicRegistryManager.createCodec
(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> originalCodec) private static <T,
R extends Registry<? extends T>>
DynamicRegistryManager.Entry<T>DynamicRegistryManager.Entry.of
(Map.Entry<? extends RegistryKey<? extends Registry<?>>, R> entry) static <T extends Registry<?>>
voidModifier and TypeMethodDescriptionprivate static <T> Registry<T>
BuiltinRegistries.addRegistry
(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, Supplier<? extends RegistryEntry<? extends T>> defaultValueSupplier) private static <T> Registry<T>
BuiltinRegistries.addRegistry
(RegistryKey<? extends Registry<T>> registryRef, Supplier<? extends RegistryEntry<? extends T>> defaultValueSupplier) private static <T> Registry<T>
Registry.create
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Function<T, RegistryEntry.Reference<T>> valueToEntryFunction, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T> Registry<T>
Registry.create
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T> Registry<T>
Registry.create
(RegistryKey<? extends Registry<T>> key, Registry.DefaultEntryGetter<T> defaultEntryGetter) static <E> Registry<E>
DynamicRegistryManager.createRegistry
(RegistryKey<? extends Registry<? extends E>> registryRef, com.mojang.serialization.Dynamic<?> dynamic) Registry.freeze()
SimpleRegistry.freeze()
default <E> Registry<E>
DynamicRegistryManager.get
(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry from this manager orREGISTRIES
, or throws an exception when the registry does not exist.default <E> Registry<E>
DynamicRegistryManager.getManaged
(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry from this manager, or throws an exception when the registry does not exist.DynamicRegistryManager.Entry.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptionprivate static Map<RegistryKey<? extends Registry<?>>,
? extends MutableRegistry<?>> DynamicRegistryManager.createMutableRegistries()
static <T> com.mojang.serialization.Codec<Registry<T>>
RegistryCodecs.createRegistryCodec
(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> elementCodec) private static <E> com.mojang.serialization.Decoder<Registry<E>>
RegistryCodecs.createRegistryDecoder
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.Decoder<Map<RegistryKey<E>, E>> entryMapDecoder, com.mojang.serialization.Lifecycle lifecycle) private static <T> RegistryKey<Registry<T>>
Registry.createRegistryKey
(String registryId) static <E> com.mojang.serialization.Codec<Registry<E>>
RegistryCodecs.dynamicRegistry
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<E> elementCodec) RegistryKey<? extends Registry<T>>
Registry.getKey()
DynamicRegistryManager.getOptional
(RegistryKey<? extends Registry<? extends E>> key) DynamicRegistryManager.getOptionalManaged
(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.DynamicRegistryManager.ImmutableImpl.getOptionalManaged
(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.DynamicRegistryManager.MutableImpl.getOptionalManaged
(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.RegistryKey<? extends Registry<T>>
DynamicRegistryManager.Entry.key()
Returns the value of thekey
record component.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.RegistryKey<? extends Registry<E>>
DynamicRegistryManager.Info.registry()
Returns the value of theregistry
record component.Modifier and TypeMethodDescriptionstatic <T> RegistryEntry<T>
static <T> RegistryEntry<T>
BuiltinRegistries.add
(Registry<T> registry, Identifier id, T object) static <T> RegistryEntry<T>
BuiltinRegistries.add
(Registry<T> registry, RegistryKey<T> key, T object) static <T> RegistryEntry.Reference<T>
Deprecated.boolean
boolean
boolean
boolean
RegistryEntry.Direct.matchesRegistry
(Registry<T> registry) boolean
RegistryEntry.matchesRegistry
(Registry<T> registry) boolean
RegistryEntry.Reference.matchesRegistry
(Registry<T> registry) static <V extends T,
T>
RegistryEntry<V>BuiltinRegistries.method_40360
(Registry<T> registry, String id, V value) private static <T> DynamicRegistryManager.Entry<T>
DynamicRegistryManager.Entry.of
(RegistryKey<? extends Registry<?>> key, Registry<?> value) static <T> T
static <V,
T extends V>
Tstatic <V,
T extends V>
TRegistry.register
(Registry<V> registry, Identifier id, T entry) static <V,
T extends V>
TRegistry.register
(Registry<V> registry, RegistryKey<V> key, T entry) static <T> RegistryEntry.Reference<T>
RegistryEntry.Reference.standAlone
(Registry<T> registry, RegistryKey<T> registryKey) static <T extends Registry<?>>
voidModifier and TypeMethodDescriptionprivate static <T> Registry<T>
BuiltinRegistries.addRegistry
(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, Supplier<? extends RegistryEntry<? extends T>> defaultValueSupplier) private static <T> Registry<T>
BuiltinRegistries.addRegistry
(RegistryKey<? extends Registry<T>> registryRef, Supplier<? extends RegistryEntry<? extends T>> defaultValueSupplier) private static <T,
R extends MutableRegistry<T>>
RBuiltinRegistries.addRegistry
(RegistryKey<? extends Registry<T>> registryRef, R registry, Supplier<? extends RegistryEntry<? extends T>> defaultValueSupplier, com.mojang.serialization.Lifecycle lifecycle) private static <T> Registry<T>
Registry.create
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Function<T, RegistryEntry.Reference<T>> valueToEntryFunction, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T> Registry<T>
Registry.create
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T> DefaultedRegistry<T>
Registry.create
(RegistryKey<? extends Registry<T>> key, String defaultId, com.mojang.serialization.Lifecycle lifecycle, Function<T, RegistryEntry.Reference<T>> valueToEntryFunction, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T> DefaultedRegistry<T>
Registry.create
(RegistryKey<? extends Registry<T>> key, String defaultId, com.mojang.serialization.Lifecycle lifecycle, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T> DefaultedRegistry<T>
Registry.create
(RegistryKey<? extends Registry<T>> key, String defaultId, Function<T, RegistryEntry.Reference<T>> valueToEntryFunction, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T> DefaultedRegistry<T>
Registry.create
(RegistryKey<? extends Registry<T>> key, String defaultId, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T> Registry<T>
Registry.create
(RegistryKey<? extends Registry<T>> key, Registry.DefaultEntryGetter<T> defaultEntryGetter) private static <T,
R extends MutableRegistry<T>>
RRegistry.create
(RegistryKey<? extends Registry<T>> key, R registry, Registry.DefaultEntryGetter<T> defaultEntryGetter, com.mojang.serialization.Lifecycle lifecycle) static <E> com.mojang.serialization.Codec<RegistryEntryList<E>>
RegistryEntryListCodec.create
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList) static <T> com.mojang.serialization.Codec<RegistryKey<T>>
RegistryKey.createCodec
(RegistryKey<? extends Registry<T>> registry) static <T> Function<Identifier,
RegistryKey<T>> RegistryKey.createKeyFactory
(RegistryKey<? extends Registry<T>> registry) Creates a function that converts an identifier to a registry key for the registry thatregistry
refers to in the root registry.static <E> Registry<E>
DynamicRegistryManager.createRegistry
(RegistryKey<? extends Registry<? extends E>> registryRef, com.mojang.serialization.Dynamic<?> dynamic) static <T> com.mojang.serialization.Codec<Registry<T>>
RegistryCodecs.createRegistryCodec
(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> elementCodec) private static <E> com.mojang.serialization.Decoder<Registry<E>>
RegistryCodecs.createRegistryDecoder
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.Decoder<Map<RegistryKey<E>, E>> entryMapDecoder, com.mojang.serialization.Lifecycle lifecycle) static <E> MutableRegistry<?>
DynamicRegistryManager.createSimpleRegistry
(RegistryKey<? extends Registry<?>> registryRef) static <E> com.mojang.serialization.Codec<Registry<E>>
RegistryCodecs.dynamicRegistry
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<E> elementCodec) 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) default <E> Registry<E>
DynamicRegistryManager.get
(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry from this manager orREGISTRIES
, or throws an exception when the registry does not exist.default <E> Registry<E>
DynamicRegistryManager.getManaged
(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry from this manager, or throws an exception when the registry does not exist.default <E> MutableRegistry<E>
DynamicRegistryManager.Mutable.getMutable
(RegistryKey<? extends Registry<? extends E>> key) private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>
DynamicRegistryManager.getNetworkEntryCodec
(RegistryKey<? extends Registry<E>> registryKey) DynamicRegistryManager.getOptional
(RegistryKey<? extends Registry<? extends E>> key) DynamicRegistryManager.getOptionalManaged
(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.DynamicRegistryManager.ImmutableImpl.getOptionalManaged
(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.DynamicRegistryManager.MutableImpl.getOptionalManaged
(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.<E> Optional<MutableRegistry<E>>
DynamicRegistryManager.Mutable.getOptionalMutable
(RegistryKey<? extends Registry<? extends E>> key) <E> Optional<MutableRegistry<E>>
DynamicRegistryManager.MutableImpl.getOptionalMutable
(RegistryKey<? extends Registry<? extends E>> key) boolean
RegistryKey.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).private static <T> com.mojang.serialization.MapCodec<RegistryCodecs.RegistryManagerEntry<T>>
RegistryCodecs.managerEntry
(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.MapCodec<T> elementCodec) 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
(RegistryEntry.Reference<? extends Registry<? extends T>> entry) private static <T> DynamicRegistryManager.Entry<T>
DynamicRegistryManager.Entry.of
(RegistryKey<? extends Registry<?>> key, Registry<?> value) static <E> RegistryFixedCodec<E>
RegistryFixedCodec.of
(RegistryKey<? extends Registry<E>> registry) 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 <E> void
DynamicRegistryManager.register
(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec) private static <E> void
DynamicRegistryManager.register
(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec) private static <E> void
DynamicRegistryManager.register
(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec, com.mojang.serialization.Codec<E> networkEntryCodec) private static <E> void
DynamicRegistryManager.register
(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec, com.mojang.serialization.Codec<E> networkEntryCodec) private static <T> com.mojang.serialization.Codec<Map<RegistryKey<T>,
T>> RegistryCodecs.registryMap
(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Codec<T> elementCodec) <E> Optional<RegistryKey<E>>
RegistryKey.tryCast
(RegistryKey<? extends Registry<E>> registryRef) ModifierConstructorDescription(package private)
private
Reference
(RegistryEntry.Reference.Type referenceType, Registry<T> registry, @Nullable RegistryKey<T> registryKey, T value) ModifierConstructorDescriptionDefaultedRegistry
(String defaultId, RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, @Nullable Function<T, RegistryEntry.Reference<T>> valueToEntryFunction) ImmutableImpl
(Map<? extends RegistryKey<? extends Registry<?>>, ? extends Registry<?>> registries) ImmutableImpl
(Map<? extends RegistryKey<? extends Registry<?>>, ? extends Registry<?>> registries) Info
(RegistryKey<? extends Registry<E>> registry, com.mojang.serialization.Codec<E> entryCodec, @Nullable com.mojang.serialization.Codec<E> networkEntryCodec) Creates an instance of aInfo
record class.(package private)
MutableImpl
(Map<? extends RegistryKey<? extends Registry<?>>, ? extends MutableRegistry<?>> mutableRegistries) MutableRegistry
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) protected
Registry
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) private
RegistryEntryListCodec
(RegistryKey<? extends Registry<E>> registry, com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList) private
RegistryFixedCodec
(RegistryKey<? extends Registry<E>> registry) SimpleRegistry
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, @Nullable Function<T, RegistryEntry.Reference<T>> valueToEntryFunction) -
Uses of Registry in net.minecraft.world
Modifier and TypeFieldDescriptionStructureLocator.biomeRegistry
private final Registry<ConfiguredStructureFeature<?,
?>> StructureLocator.configuredStructureFeatureRegistry
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<PalettedContainer<RegistryEntry<Biome>>>
ChunkSerializer.createCodec
(Registry<Biome> biomeRegistry) -
Uses of Registry in net.minecraft.world.biome.source
Modifier and TypeFieldDescriptionMultiNoiseBiomeSource.Instance.biomeRegistry
The field for thebiomeRegistry
record component.Modifier and TypeFieldDescriptionprivate final Function<Registry<Biome>,
MultiNoiseUtil.Entries<RegistryEntry<Biome>>> MultiNoiseBiomeSource.Preset.biomeSourceFunction
Modifier and TypeMethodDescriptionMultiNoiseBiomeSource.Instance.biomeRegistry()
Returns the value of thebiomeRegistry
record component.Modifier and TypeMethodDescriptionMultiNoiseBiomeSource.Preset.getBiomeSource
(Registry<Biome> biomeRegistry) MultiNoiseBiomeSource.Preset.getBiomeSource
(Registry<Biome> biomeRegistry, boolean useInstance) ModifierConstructorDescription(package private)
Instance
(MultiNoiseBiomeSource.Preset preset, Registry<Biome> biomeRegistry) Creates an instance of aInstance
record class.TheEndBiomeSource
(Registry<Biome> biomeRegistry, long seed) ModifierConstructorDescriptionPreset
(Identifier id, Function<Registry<Biome>, MultiNoiseUtil.Entries<RegistryEntry<Biome>>> biomeSourceFunction) -
Uses of Registry in net.minecraft.world.chunk
Modifier and TypeMethodDescriptionprivate static void
Chunk.fillSectionArray
(HeightLimitView world, Registry<Biome> biome, ChunkSection[] sectionArray) ModifierConstructorDescriptionChunk
(ChunkPos pos, UpgradeData upgradeData, HeightLimitView heightLimitView, Registry<Biome> biome, long inhabitedTime, @Nullable ChunkSection[] sectionArrayInitializer, @Nullable BlendingData blendingData) ChunkSection
(int chunkPos, 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) -
Uses of Registry in net.minecraft.world.dimension
Modifier and TypeMethodDescriptionstatic Registry<DimensionOptions>
DimensionType.createDefaultDimensionOptions
(DynamicRegistryManager registryManager, long seed) static Registry<DimensionOptions>
DimensionType.createDefaultDimensionOptions
(DynamicRegistryManager registryManager, long seed, boolean bool) static Registry<DimensionOptions>
DimensionOptions.method_29569
(Registry<DimensionOptions> registry) Modifier and TypeMethodDescriptionstatic boolean
DimensionOptions.hasDefaultSettings
(long seed, Registry<DimensionOptions> registry) static Registry<DimensionOptions>
DimensionOptions.method_29569
(Registry<DimensionOptions> registry) -
Uses of Registry in net.minecraft.world.gen
Modifier and TypeFieldDescriptionprivate final Registry<DimensionOptions>
GeneratorOptions.options
Modifier and TypeMethodDescriptionGeneratorOptions.getDimensions()
static Registry<DimensionOptions>
GeneratorOptions.getRegistryWithReplacedOverworld
(Registry<DimensionOptions> options, RegistryEntry<DimensionType> dimensionType, ChunkGenerator overworldGenerator) static Registry<DimensionOptions>
GeneratorOptions.getRegistryWithReplacedOverworldGenerator
(Registry<DimensionType> dimensionTypeRegistry, Registry<DimensionOptions> options, ChunkGenerator overworldGenerator) Modifier and TypeMethodDescriptionstatic Registry<DimensionOptions>
GeneratorOptions.getRegistryWithReplacedOverworld
(Registry<DimensionOptions> options, RegistryEntry<DimensionType> dimensionType, ChunkGenerator overworldGenerator) static Registry<DimensionOptions>
GeneratorOptions.getRegistryWithReplacedOverworldGenerator
(Registry<DimensionType> dimensionTypeRegistry, Registry<DimensionOptions> options, ChunkGenerator overworldGenerator) ModifierConstructorDescriptionGeneratorOptions
(long seed, boolean generateStructures, boolean bonusChest, Registry<DimensionOptions> options) private
GeneratorOptions
(long seed, boolean generateStructures, boolean bonusChest, Registry<DimensionOptions> options, Optional<String> legacyCustomOptions) -
Uses of Registry in net.minecraft.world.gen.chunk
Modifier and TypeFieldDescriptionDebugChunkGenerator.biomeRegistry
FlatChunkGeneratorConfig.biomeRegistry
protected final Registry<StructureSet>
ChunkGenerator.field_37053
private final Registry<DoublePerlinNoiseSampler.NoiseParameters>
NoiseChunkGenerator.noiseRegistry
Modifier and TypeMethodDescriptionprotected static final <T extends ChunkGenerator>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>,Registry<StructureSet>> ChunkGenerator.method_41042
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> instance) Modifier and TypeMethodDescriptionstatic FlatChunkGeneratorConfig
FlatChunkGeneratorConfig.getDefaultConfig
(Registry<Biome> biomeRegistry, Registry<StructureSet> registry) static Stream<ConfiguredStructureFeature<?,
?>> ChunkGenerator.method_41049
(Registry<ConfiguredStructureFeature<?, ?>> registry, StructureFeature<?> structureFeature) ChunkGeneratorSettings.method_41099
(Registry<DoublePerlinNoiseSampler.NoiseParameters> registry, long long2) ChunkGenerator.populateBiomes
(Registry<Biome> biomeRegistry, Executor executor, Blender blender, StructureAccessor structureAccessor, Chunk chunk) NoiseChunkGenerator.populateBiomes
(Registry<Biome> biomeRegistry, Executor executor, Blender blender, StructureAccessor structureAccessor, Chunk chunk) ModifierConstructorDescriptionChunkGenerator
(Registry<StructureSet> registry, Optional<RegistryEntryList<StructureSet>> optional, BiomeSource biomeSource) ChunkGenerator
(Registry<StructureSet> registry, Optional<RegistryEntryList<StructureSet>> optional, BiomeSource biomeSource, BiomeSource biomeSource2, long long2) DebugChunkGenerator
(Registry<StructureSet> registry, Registry<Biome> registry2) FlatChunkGenerator
(Registry<StructureSet> structureFeatureRegistry, FlatChunkGeneratorConfig config) FlatChunkGeneratorConfig
(Optional<RegistryEntryList<StructureSet>> optional, Registry<Biome> biomeRegistry) private
FlatChunkGeneratorConfig
(Registry<Biome> biomeRegistry, Optional<RegistryEntryList<StructureSet>> optional, List<FlatChunkGeneratorLayer> layers, boolean hasLakes, boolean hasFeatures, Optional<RegistryEntry<Biome>> biome) NoiseChunkGenerator
(Registry<StructureSet> noiseRegistry, Registry<DoublePerlinNoiseSampler.NoiseParameters> structuresRegistry, BiomeSource biomeSource, long seed, RegistryEntry<ChunkGeneratorSettings> settings) private
NoiseChunkGenerator
(Registry<StructureSet> noiseRegistry, Registry<DoublePerlinNoiseSampler.NoiseParameters> structuresRegistry, BiomeSource populationSource, BiomeSource biomeSource, long seed, RegistryEntry<ChunkGeneratorSettings> settings) -
Uses of Registry in net.minecraft.world.gen.densityfunction
Modifier and TypeMethodDescriptionstatic NoiseRouter
DensityFunctions.method_40544
(GenerationShapeConfig generationShapeConfig, long long2, Registry<DoublePerlinNoiseSampler.NoiseParameters> registry, ChunkRandom.RandomProvider randomProvider, SimpleNoiseRouter simpleNoiseRouter) private static DoublePerlinNoiseSampler
DensityFunctions.method_41107
(RandomDeriver randomDeriver, Registry<DoublePerlinNoiseSampler.NoiseParameters> registry, RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters> registryEntry) private static com.mojang.serialization.Codec<? extends DensityFunction>
DensityFunctionTypes.register
(Registry<com.mojang.serialization.Codec<? extends DensityFunction>> registry, String id, com.mojang.serialization.Codec<? extends DensityFunction> codec) static com.mojang.serialization.Codec<? extends DensityFunction>
DensityFunctionTypes.registerAndGetDefault
(Registry<com.mojang.serialization.Codec<? extends DensityFunction>> registry) -
Uses of Registry in net.minecraft.world.gen.noise
Modifier and TypeMethodDescriptionstatic DoublePerlinNoiseSampler
NoiseParametersKeys.createNoiseSampler
(Registry<DoublePerlinNoiseSampler.NoiseParameters> noiseRegistry, RandomDeriver randomDeriver, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> noise) -
Uses of Registry in net.minecraft.world.gen.surfacebuilder
Modifier and TypeFieldDescriptionprivate final Registry<DoublePerlinNoiseSampler.NoiseParameters>
SurfaceBuilder.noiseRegistry
Modifier and TypeMethodDescriptionvoid
SurfaceBuilder.buildSurface
(BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, boolean useLegacyRandom, HeightContext context, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, MaterialRules.MaterialRule surfaceRule) static com.mojang.serialization.Codec<? extends MaterialRules.MaterialCondition>
MaterialRules.MaterialCondition.registerAndGetDefault
(Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialCondition>> registry) static com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>
MaterialRules.MaterialRule.registerAndGetDefault
(Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>> registry) ModifierConstructorDescriptionprotected
MaterialRuleContext
(SurfaceBuilder surfaceBuilder, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Registry<Biome> biomeRegistry, HeightContext heightContext) SurfaceBuilder
(Registry<DoublePerlinNoiseSampler.NoiseParameters> noiseRegistry, BlockState defaultState, int seaLevel, long seed, ChunkRandom.RandomProvider randomProvider)