Uses of Interface
net.minecraft.registry.Registry
Package
Description
-
Uses of Registry in net.minecraft.block
Modifier and TypeMethodDescriptionprivate void
NyliumBlock.generate
(Registry<ConfiguredFeature<?, ?>> registry, RegistryKey<ConfiguredFeature<?, ?>> key, ServerWorld world, ChunkGenerator chunkGenerator, Random random, BlockPos pos) static String
DecoratedPotPatterns.registerAndGetDefault
(Registry<String> registry) -
Uses of Registry in net.minecraft.block.entity
Modifier and TypeMethodDescriptionstatic BannerPattern
BannerPatterns.registerAndGetDefault
(Registry<BannerPattern> registry) -
Uses of Registry in net.minecraft.client.gui.screen
-
Uses of Registry in net.minecraft.client.gui.screen.world
Modifier and TypeMethodDescriptionprivate static Optional<List<WorldCreator.WorldType>>
WorldCreator.getWorldPresetList
(Registry<WorldPreset> registry, TagKey<WorldPreset> tag) ModifierConstructorDescriptionprivate
OptimizeWorldScreen
(BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, LevelInfo levelInfo, boolean eraseCache, Registry<DimensionOptions> dimensionOptionsRegistry) -
Uses of Registry in net.minecraft.client.network
Modifier and TypeMethodDescriptionprivate <T> void
ClientCommonNetworkHandler.handleSynchronizedTagGroup
(RegistryKey<? extends Registry<? extends T>> registryRef, TagPacketSerializer.Serialized tags) 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) -
Uses of Registry in net.minecraft.client.world
Modifier and TypeFieldDescriptionprivate final Registry<DimensionOptions>
GeneratorOptionsHolder.dimensionOptionsRegistry
The field for thedimensionOptionsRegistry
record component.Modifier and TypeMethodDescriptionGeneratorOptionsHolder.dimensionOptionsRegistry()
Returns the value of thedimensionOptionsRegistry
record component.ModifierConstructorDescriptionGeneratorOptionsHolder
(GeneratorOptions generatorOptions, Registry<DimensionOptions> registry, DimensionOptionsRegistryHolder dimensionOptionsRegistryHolder, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration) -
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 TypeMethodDescription<T> RegistryWrapper<T>
CommandRegistryAccess.createWrapper
(RegistryKey<? extends Registry<T>> registryRef) Creates a registry wrapper that follows the entry list creation policy.CompletableFuture<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 TypeFieldDescription(package private) final RegistryKey<? extends Registry<T>>
RegistryEntryArgumentType.registryRef
(package private) final RegistryKey<? extends Registry<T>>
RegistryEntryArgumentType.Serializer.Properties.registryRef
(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>>
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.registryRef
Modifier and TypeMethodDescriptionprivate static <T> Registry<T>
RegistryKeyArgumentType.getRegistry
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, RegistryKey<? extends Registry<T>> registryRef) Modifier 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.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) 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>
RegistryEntryArgumentType.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> RegistryEntryArgumentType<T>
RegistryEntryArgumentType.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) ModifierConstructorDescription(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) RegistryEntryArgumentType
(CommandRegistryAccess registryAccess, RegistryKey<? extends Registry<T>> registryRef) RegistryEntryPredicateArgumentType
(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.data.report
-
Uses of Registry in net.minecraft.data.server.tag
Modifier and TypeFieldDescriptionprotected final RegistryKey<? extends Registry<T>>
TagProvider.registryRef
ModifierConstructorDescriptionprotected
TagProvider
(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture) protected
TagProvider
(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, CompletableFuture<TagProvider.TagLookup<T>> parentTagLookupFuture) ValueLookupTagProvider
(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, CompletableFuture<TagProvider.TagLookup<T>> parentTagLookupFuture, Function<T, RegistryKey<T>> valueToKey) ValueLookupTagProvider
(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, Function<T, RegistryKey<T>> valueToKey) -
Uses of Registry in net.minecraft.entity.damage
-
Uses of Registry in net.minecraft.entity.decoration.painting
Modifier and TypeMethodDescriptionstatic PaintingVariant
PaintingVariants.registerAndGetDefault
(Registry<PaintingVariant> registry) -
Uses of Registry in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionprivate static CatVariant
CatVariant.register
(Registry<CatVariant> registry, RegistryKey<CatVariant> key, String textureId) static CatVariant
CatVariant.registerAndGetDefault
(Registry<CatVariant> registry) -
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.static Instrument
Instruments.registerAndGetDefault
(Registry<Instrument> registry) static ItemGroup
ItemGroups.registerAndGetDefault
(Registry<ItemGroup> registry) -
Uses of Registry in net.minecraft.network
Modifier and TypeMethodDescription<T> RegistryKey<? extends Registry<T>>
PacketByteBuf.readRegistryRefKey()
Reads a registry key referencing another registry key from this buf.Modifier 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.packet.s2c.common
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.predicate
Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<TagPredicate<T>>
TagPredicate.createCodec
(RegistryKey<? extends Registry<T>> registryRef) -
Uses of Registry in net.minecraft.predicate.entity
-
Uses of Registry in net.minecraft.registry
Modifier and TypeInterfaceDescriptioninterface
interface
A registry that allows adding or modifying values.Modifier and TypeClassDescriptionclass
An implementation ofRegistry
with a default ID and value for unknown lookups.class
An implementation of a mutable registry.Modifier and TypeFieldDescriptionRegistries.ACTIVITY
static final Registry<EntityAttribute>
Registries.ATTRIBUTE
static final Registry<BannerPattern>
Registries.BANNER_PATTERN
static final Registry<com.mojang.serialization.Codec<? extends BiomeSource>>
Registries.BIOME_SOURCE
static final Registry<BlockEntityType<?>>
Registries.BLOCK_ENTITY_TYPE
static final Registry<BlockPredicateType<?>>
Registries.BLOCK_PREDICATE_TYPE
static final Registry<BlockStateProviderType<?>>
Registries.BLOCK_STATE_PROVIDER_TYPE
Registries.CARVER
static final Registry<CatVariant>
Registries.CAT_VARIANT
static final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>
Registries.CHUNK_GENERATOR
static final Registry<ArgumentSerializer<?,
?>> Registries.COMMAND_ARGUMENT_TYPE
static final Registry<Identifier>
Registries.CUSTOM_STAT
Registries.DECORATED_POT_PATTERN
static final Registry<com.mojang.serialization.Codec<? extends DensityFunction>>
Registries.DENSITY_FUNCTION_TYPE
static final Registry<Enchantment>
Registries.ENCHANTMENT
Registries.FEATURE
static final Registry<FeatureSizeType<?>>
Registries.FEATURE_SIZE_TYPE
static final Registry<FloatProviderType<?>>
Registries.FLOAT_PROVIDER_TYPE
static final Registry<FoliagePlacerType<?>>
Registries.FOLIAGE_PLACER_TYPE
static final Registry<FrogVariant>
Registries.FROG_VARIANT
static final Registry<HeightProviderType<?>>
Registries.HEIGHT_PROVIDER_TYPE
static final Registry<Instrument>
Registries.INSTRUMENT
static final Registry<IntProviderType<?>>
Registries.INT_PROVIDER_TYPE
Registries.ITEM_GROUP
static final Registry<LootConditionType>
Registries.LOOT_CONDITION_TYPE
static final Registry<LootFunctionType>
Registries.LOOT_FUNCTION_TYPE
static final Registry<LootNbtProviderType>
Registries.LOOT_NBT_PROVIDER_TYPE
static final Registry<LootNumberProviderType>
Registries.LOOT_NUMBER_PROVIDER_TYPE
static final Registry<LootPoolEntryType>
Registries.LOOT_POOL_ENTRY_TYPE
static final Registry<LootScoreProviderType>
Registries.LOOT_SCORE_PROVIDER_TYPE
static final Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialCondition>>
Registries.MATERIAL_CONDITION
static final Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>>
Registries.MATERIAL_RULE
static final Registry<ParticleType<?>>
Registries.PARTICLE_TYPE
static final Registry<PlacementModifierType<?>>
Registries.PLACEMENT_MODIFIER_TYPE
static final Registry<PointOfInterestType>
Registries.POINT_OF_INTEREST_TYPE
static final Registry<PosRuleTestType<?>>
Registries.POS_RULE_TEST
static final Registry<PositionSourceType<?>>
Registries.POSITION_SOURCE_TYPE
static final Registry<RecipeSerializer<?>>
Registries.RECIPE_SERIALIZER
static final Registry<RecipeType<?>>
Registries.RECIPE_TYPE
Registries.REGISTRIES
static final Registry<RootPlacerType<?>>
Registries.ROOT_PLACER_TYPE
static final Registry<RuleBlockEntityModifierType<?>>
Registries.RULE_BLOCK_ENTITY_MODIFIER
static final Registry<RuleTestType<?>>
Registries.RULE_TEST
Registries.SCHEDULE
static final Registry<ScreenHandlerType<?>>
Registries.SCREEN_HANDLER
static final Registry<SoundEvent>
Registries.SOUND_EVENT
Registries.STAT_TYPE
static final Registry<StatusEffect>
Registries.STATUS_EFFECT
static final Registry<StructurePieceType>
Registries.STRUCTURE_PIECE
static final Registry<StructurePlacementType<?>>
Registries.STRUCTURE_PLACEMENT
static final Registry<StructurePoolElementType<?>>
Registries.STRUCTURE_POOL_ELEMENT
static final Registry<StructureProcessorType<?>>
Registries.STRUCTURE_PROCESSOR
static final Registry<StructureType<?>>
Registries.STRUCTURE_TYPE
static final Registry<TreeDecoratorType<?>>
Registries.TREE_DECORATOR_TYPE
static final Registry<TrunkPlacerType<?>>
Registries.TRUNK_PLACER_TYPE
DynamicRegistryManager.Entry.value
The field for thevalue
record component.Modifier and TypeFieldDescriptionstatic final RegistryKey<Registry<Activity>>
RegistryKeys.ACTIVITY
static final RegistryKey<Registry<EntityAttribute>>
RegistryKeys.ATTRIBUTE
static final RegistryKey<Registry<BannerPattern>>
RegistryKeys.BANNER_PATTERN
static final RegistryKey<Registry<Biome>>
RegistryKeys.BIOME
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>
RegistryKeys.BIOME_SOURCE
static final RegistryKey<Registry<Block>>
RegistryKeys.BLOCK
static final RegistryKey<Registry<BlockEntityType<?>>>
RegistryKeys.BLOCK_ENTITY_TYPE
static final RegistryKey<Registry<BlockPredicateType<?>>>
RegistryKeys.BLOCK_PREDICATE_TYPE
static final RegistryKey<Registry<BlockStateProviderType<?>>>
RegistryKeys.BLOCK_STATE_PROVIDER_TYPE
static final RegistryKey<Registry<Carver<?>>>
RegistryKeys.CARVER
static final RegistryKey<Registry<CatVariant>>
RegistryKeys.CAT_VARIANT
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
RegistryKeys.CHUNK_GENERATOR
static final RegistryKey<Registry<ChunkGeneratorSettings>>
RegistryKeys.CHUNK_GENERATOR_SETTINGS
static final RegistryKey<Registry<ChunkStatus>>
RegistryKeys.CHUNK_STATUS
static final RegistryKey<Registry<ArgumentSerializer<?,
?>>> RegistryKeys.COMMAND_ARGUMENT_TYPE
static final RegistryKey<Registry<ConfiguredCarver<?>>>
RegistryKeys.CONFIGURED_CARVER
static final RegistryKey<Registry<ConfiguredFeature<?,
?>>> RegistryKeys.CONFIGURED_FEATURE
static final RegistryKey<Registry<Identifier>>
RegistryKeys.CUSTOM_STAT
static final RegistryKey<Registry<DamageType>>
RegistryKeys.DAMAGE_TYPE
static final RegistryKey<Registry<String>>
RegistryKeys.DECORATED_POT_PATTERN
static final RegistryKey<Registry<DensityFunction>>
RegistryKeys.DENSITY_FUNCTION
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>>
RegistryKeys.DENSITY_FUNCTION_TYPE
static final RegistryKey<Registry<DimensionOptions>>
RegistryKeys.DIMENSION
static final RegistryKey<Registry<DimensionType>>
RegistryKeys.DIMENSION_TYPE
static final RegistryKey<Registry<Enchantment>>
RegistryKeys.ENCHANTMENT
static final RegistryKey<Registry<EntityType<?>>>
RegistryKeys.ENTITY_TYPE
static final RegistryKey<Registry<Feature<?>>>
RegistryKeys.FEATURE
static final RegistryKey<Registry<FeatureSizeType<?>>>
RegistryKeys.FEATURE_SIZE_TYPE
static final RegistryKey<Registry<FlatLevelGeneratorPreset>>
RegistryKeys.FLAT_LEVEL_GENERATOR_PRESET
static final RegistryKey<Registry<FloatProviderType<?>>>
RegistryKeys.FLOAT_PROVIDER_TYPE
static final RegistryKey<Registry<Fluid>>
RegistryKeys.FLUID
static final RegistryKey<Registry<FoliagePlacerType<?>>>
RegistryKeys.FOLIAGE_PLACER_TYPE
static final RegistryKey<Registry<FrogVariant>>
RegistryKeys.FROG_VARIANT
static final RegistryKey<Registry<GameEvent>>
RegistryKeys.GAME_EVENT
static final RegistryKey<Registry<HeightProviderType<?>>>
RegistryKeys.HEIGHT_PROVIDER_TYPE
static final RegistryKey<Registry<Instrument>>
RegistryKeys.INSTRUMENT
static final RegistryKey<Registry<IntProviderType<?>>>
RegistryKeys.INT_PROVIDER_TYPE
static final RegistryKey<Registry<Item>>
RegistryKeys.ITEM
static final RegistryKey<Registry<ItemGroup>>
RegistryKeys.ITEM_GROUP
private final RegistryKey<? extends Registry<T>>
DynamicRegistryManager.Entry.key
The field for thekey
record component.private final RegistryKey<? extends Registry<? extends T>>
RegistryBuilder.InitializedRegistry.key
The field for thekey
record component.private final RegistryKey<? extends Registry<T>>
RegistryBuilder.RegistryInfo.key
The field for thekey
record component.private final RegistryKey<? extends Registry<T>>
RegistryLoader.Entry.key
The field for thekey
record component.private final RegistryKey<? extends Registry<E>>
SerializableRegistries.Info.key
The field for thekey
record component.(package private) final RegistryKey<? extends Registry<T>>
SimpleRegistry.key
static final RegistryKey<Registry<LootConditionType>>
RegistryKeys.LOOT_CONDITION_TYPE
static final RegistryKey<Registry<LootFunctionType>>
RegistryKeys.LOOT_FUNCTION_TYPE
static final RegistryKey<Registry<LootNbtProviderType>>
RegistryKeys.LOOT_NBT_PROVIDER_TYPE
static final RegistryKey<Registry<LootNumberProviderType>>
RegistryKeys.LOOT_NUMBER_PROVIDER_TYPE
static final RegistryKey<Registry<LootPoolEntryType>>
RegistryKeys.LOOT_POOL_ENTRY_TYPE
static final RegistryKey<Registry<LootScoreProviderType>>
RegistryKeys.LOOT_SCORE_PROVIDER_TYPE
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialCondition>>>
RegistryKeys.MATERIAL_CONDITION
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>>>
RegistryKeys.MATERIAL_RULE
static final RegistryKey<Registry<MemoryModuleType<?>>>
RegistryKeys.MEMORY_MODULE_TYPE
static final RegistryKey<Registry<MessageType>>
RegistryKeys.MESSAGE_TYPE
static final RegistryKey<Registry<MultiNoiseBiomeSourceParameterList>>
RegistryKeys.MULTI_NOISE_BIOME_SOURCE_PARAMETER_LIST
static final RegistryKey<Registry<DoublePerlinNoiseSampler.NoiseParameters>>
RegistryKeys.NOISE_PARAMETERS
static final RegistryKey<Registry<PaintingVariant>>
RegistryKeys.PAINTING_VARIANT
static final RegistryKey<Registry<ParticleType<?>>>
RegistryKeys.PARTICLE_TYPE
static final RegistryKey<Registry<PlacedFeature>>
RegistryKeys.PLACED_FEATURE
static final RegistryKey<Registry<PlacementModifierType<?>>>
RegistryKeys.PLACEMENT_MODIFIER_TYPE
static final RegistryKey<Registry<PointOfInterestType>>
RegistryKeys.POINT_OF_INTEREST_TYPE
static final RegistryKey<Registry<PosRuleTestType<?>>>
RegistryKeys.POS_RULE_TEST
static final RegistryKey<Registry<PositionSourceType<?>>>
RegistryKeys.POSITION_SOURCE_TYPE
static final RegistryKey<Registry<Potion>>
RegistryKeys.POTION
static final RegistryKey<Registry<StructureProcessorList>>
RegistryKeys.PROCESSOR_LIST
static final RegistryKey<Registry<RecipeSerializer<?>>>
RegistryKeys.RECIPE_SERIALIZER
static final RegistryKey<Registry<RecipeType<?>>>
RegistryKeys.RECIPE_TYPE
private final Map<? extends RegistryKey<? extends Registry<?>>,
? extends Registry<?>> DynamicRegistryManager.ImmutableImpl.registries
private final Map<? extends RegistryKey<? extends Registry<?>>,
? extends Registry<?>> DynamicRegistryManager.ImmutableImpl.registries
Registries.REGISTRIES
private static final Map<RegistryKey<? extends Registry<?>>,
SerializableRegistries.Info<?>> SerializableRegistries.REGISTRIES
static final RegistryKey<Registry<RootPlacerType<?>>>
RegistryKeys.ROOT_PLACER_TYPE
static final RegistryKey<Registry<RuleBlockEntityModifierType<?>>>
RegistryKeys.RULE_BLOCK_ENTITY_MODIFIER
static final RegistryKey<Registry<RuleTestType<?>>>
RegistryKeys.RULE_TEST
static final RegistryKey<Registry<Schedule>>
RegistryKeys.SCHEDULE
static final RegistryKey<Registry<ScreenHandlerType<?>>>
RegistryKeys.SCREEN_HANDLER
static final RegistryKey<Registry<SensorType<?>>>
RegistryKeys.SENSOR_TYPE
static final RegistryKey<Registry<SoundEvent>>
RegistryKeys.SOUND_EVENT
static final RegistryKey<Registry<StatType<?>>>
RegistryKeys.STAT_TYPE
static final RegistryKey<Registry<StatusEffect>>
RegistryKeys.STATUS_EFFECT
static final RegistryKey<Registry<Structure>>
RegistryKeys.STRUCTURE
static final RegistryKey<Registry<StructurePieceType>>
RegistryKeys.STRUCTURE_PIECE
static final RegistryKey<Registry<StructurePlacementType<?>>>
RegistryKeys.STRUCTURE_PLACEMENT
static final RegistryKey<Registry<StructurePoolElementType<?>>>
RegistryKeys.STRUCTURE_POOL_ELEMENT
static final RegistryKey<Registry<StructureProcessorType<?>>>
RegistryKeys.STRUCTURE_PROCESSOR
static final RegistryKey<Registry<StructureSet>>
RegistryKeys.STRUCTURE_SET
static final RegistryKey<Registry<StructureType<?>>>
RegistryKeys.STRUCTURE_TYPE
static final RegistryKey<Registry<StructurePool>>
RegistryKeys.TEMPLATE_POOL
static final RegistryKey<Registry<TreeDecoratorType<?>>>
RegistryKeys.TREE_DECORATOR_TYPE
static final RegistryKey<Registry<ArmorTrimMaterial>>
RegistryKeys.TRIM_MATERIAL
static final RegistryKey<Registry<ArmorTrimPattern>>
RegistryKeys.TRIM_PATTERN
static final RegistryKey<Registry<TrunkPlacerType<?>>>
RegistryKeys.TRUNK_PLACER_TYPE
static final RegistryKey<Registry<VillagerProfession>>
RegistryKeys.VILLAGER_PROFESSION
static final RegistryKey<Registry<VillagerType>>
RegistryKeys.VILLAGER_TYPE
static final RegistryKey<Registry<World>>
RegistryKeys.WORLD
static final RegistryKey<Registry<WorldPreset>>
RegistryKeys.WORLD_PRESET
Modifier and TypeMethodDescriptionprivate static <K extends RegistryKey<? extends Registry<?>>,
V extends Registry<?>>
com.mojang.serialization.Codec<DynamicRegistryManager>SerializableRegistries.createDynamicRegistryManagerCodec
(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> networkCodec) private static <K extends RegistryKey<? extends Registry<?>>,
V extends Registry<?>>
com.mojang.serialization.Codec<DynamicRegistryManager>SerializableRegistries.createDynamicRegistryManagerCodec
(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> networkCodec) 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 extends Registry<?>>
voidModifier and TypeMethodDescriptionprivate static <T> Registry<T>
Registries.create
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Registries.Initializer<T> initializer) private 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.get
(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 TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec<Registry<E>>
RegistryCodecs.createKeyedRegistryCodec
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<E> elementCodec) 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) RegistryKey<? extends Registry<T>>
Registry.getKey()
Returns the registry key that identifies this registry.RegistryKey<? extends Registry<T>>
SimpleRegistry.getKey()
Returns the registry key that identifies this registry.DynamicRegistryManager.getOptional
(RegistryKey<? extends Registry<? extends E>> key) DynamicRegistryManager.ImmutableImpl.getOptional
(RegistryKey<? extends Registry<? extends E>> key) RegistryKey<? extends Registry<? extends T>>
RegistryWrapper.Impl.Delegating.getRegistryKey()
RegistryKey<? extends Registry<? extends T>>
RegistryWrapper.Impl.getRegistryKey()
RegistryKey<? extends Registry<T>>
DynamicRegistryManager.Entry.key()
Returns the value of thekey
record component.RegistryKey<? extends Registry<? extends T>>
RegistryBuilder.InitializedRegistry.key()
Returns the value of thekey
record component.RegistryKey<? extends Registry<T>>
RegistryBuilder.RegistryInfo.key()
Returns the value of thekey
record component.RegistryKey<? extends Registry<T>>
RegistryLoader.Entry.key()
Returns the value of thekey
record component.RegistryKey<? extends Registry<E>>
SerializableRegistries.Info.key()
Returns the value of thekey
record 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.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) Modifier and TypeMethodDescriptionprivate static <T> RegistryOps.RegistryInfo<T>
RegistryLoader.createInfo
(Registry<T> registry) private static <T> DynamicRegistryManager.Entry<T>
DynamicRegistryManager.Entry.of
(RegistryKey<? extends Registry<?>> key, Registry<?> value) static <T> T
static <V,
T extends V>
TRegistry.register
(Registry<V> registry, RegistryKey<V> key, T entry) Registersentry
toregistry
underkey
.static <V,
T extends V>
TRegistry.register
(Registry<V> registry, Identifier id, T entry) Registersentry
toregistry
underid
.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 <T extends Registry<?>>
voidModifier and TypeMethodDescriptionprivate static <E> void
SerializableRegistries.add
(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, SerializableRegistries.Info<?>> builder, RegistryKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> networkCodec) private static <E> void
SerializableRegistries.add
(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, SerializableRegistries.Info<?>> builder, RegistryKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> networkCodec) <T> RegistryBuilder
RegistryBuilder.addRegistry
(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, RegistryBuilder.BootstrapFunction<T> bootstrapFunction) <T> RegistryBuilder
RegistryBuilder.addRegistry
(RegistryKey<? extends Registry<T>> registryRef, RegistryBuilder.BootstrapFunction<T> bootstrapFunction) private static <T> Registry<T>
Registries.create
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Registries.Initializer<T> initializer) private static <T> DefaultedRegistry<T>
Registries.create
(RegistryKey<? extends Registry<T>> key, String defaultId, com.mojang.serialization.Lifecycle lifecycle, Registries.Initializer<T> initializer) 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, com.mojang.serialization.Lifecycle lifecycle) static <T> com.mojang.serialization.Codec<RegistryKey<T>>
RegistryKey.createCodec
(RegistryKey<? extends Registry<T>> registry) private static <T> DefaultedRegistry<T>
Registries.createIntrusive
(RegistryKey<? extends Registry<T>> key, String defaultId, com.mojang.serialization.Lifecycle lifecycle, Registries.Initializer<T> initializer) 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 <E> com.mojang.serialization.Codec<Registry<E>>
RegistryCodecs.createKeyedRegistryCodec
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<E> elementCodec) 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) 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, or throws an exception when the registry does not exist.<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) private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>
SerializableRegistries.getNetworkCodec
(RegistryKey<? extends Registry<E>> registryRef) DynamicRegistryManager.getOptional
(RegistryKey<? extends Registry<? extends E>> key) DynamicRegistryManager.ImmutableImpl.getOptional
(RegistryKey<? extends Registry<? extends E>> key) <T> Optional<RegistryEntryLookup<T>>
RegistryEntryLookup.RegistryLookup.getOptional
(RegistryKey<? extends Registry<? extends T>> registryRef) default <T> Optional<RegistryWrapper.Impl<T>>
DynamicRegistryManager.getOptionalWrapper
(RegistryKey<? extends Registry<? extends T>> registryRef) <T> Optional<RegistryWrapper.Impl<T>>
RegistryWrapper.WrapperLookup.getOptionalWrapper
(RegistryKey<? extends Registry<? extends T>> registryRef) default <T> RegistryEntryLookup<T>
RegistryEntryLookup.RegistryLookup.getOrThrow
(RegistryKey<? extends Registry<? extends T>> registryRef) <E> Optional<RegistryEntryOwner<E>>
RegistryOps.getOwner
(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) default <T> RegistryWrapper.Impl<T>
RegistryWrapper.WrapperLookup.getWrapperOrThrow
(RegistryKey<? extends Registry<? extends T>> registryRef) 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).(package private) static <E> void
RegistryLoader.load
(RegistryOps.RegistryInfoGetter registryInfoGetter, ResourceManager resourceManager, RegistryKey<? extends Registry<E>> registryRef, MutableRegistry<E> newRegistry, com.mojang.serialization.Decoder<E> decoder, Map<RegistryKey<?>, Exception> exceptions) 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
(RegistryKey<? extends Registry<?>> key, Registry<?> value) static RegistryBuilder.Registries
RegistryBuilder.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.<E> Optional<RegistryKey<E>>
RegistryKey.tryCast
(RegistryKey<? extends Registry<E>> registryRef) ModifierConstructorDescriptionModifierConstructorDescriptionEntry
(RegistryKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec) 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)
Info
(RegistryKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> codec) (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
Modifier and TypeFieldDescriptionprivate final RegistryKey<? extends Registry<E>>
RegistryEntryListCodec.registry
private final RegistryKey<? extends Registry<E>>
RegistryFixedCodec.registry
private final RegistryKey<? extends Registry<E>>
RegistryElementCodec.registryRef
Modifier 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) ModifierConstructorDescriptionprivate
RegistryElementCodec
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions) private
RegistryEntryListCodec
(RegistryKey<? extends Registry<E>> registry, com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList) private
RegistryFixedCodec
(RegistryKey<? extends Registry<E>> registry) -
Uses of Registry in net.minecraft.registry.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
(CombinedDynamicRegistries<ServerDynamicRegistryType> 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 <T> com.mojang.serialization.Codec<TagKey<T>>
TagKey.codec
(RegistryKey<? extends Registry<T>> registry) static String
TagManagerLoader.getPath
(RegistryKey<? extends Registry<?>> 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) TagKey.tryCast
(RegistryKey<? extends Registry<E>> registryRef) static <T> com.mojang.serialization.Codec<TagKey<T>>
TagKey.unprefixedCodec
(RegistryKey<? extends Registry<T>> registry) ModifierConstructorDescriptionRegistryTags
(RegistryKey<? extends Registry<T>> registryKey, Map<Identifier, Collection<RegistryEntry<T>>> map) TagKey
(RegistryKey<? extends Registry<T>> registryKey, Identifier identifier) Deprecated. -
Uses of Registry in net.minecraft.resource.featuretoggle
Modifier and TypeFieldDescriptionstatic final Set<RegistryKey<? extends Registry<? extends ToggleableFeature>>>
ToggleableFeature.FEATURE_ENABLED_REGISTRY_KEYS
-
Uses of Registry in net.minecraft.server
Modifier and TypeMethodDescriptionprivate static void
Main.forceUpgradeWorld
(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, boolean eraseCache, BooleanSupplier continueCheck, Registry<DimensionOptions> dimensionOptionsRegistry) -
Uses of Registry in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static Optional<? extends RegistryEntryList.ListBacked<Structure>>
LocateCommand.getStructureListForPredicate
(RegistryPredicateArgumentType.RegistryPredicate<Structure> predicate, Registry<Structure> structureRegistry) 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
Modifier and TypeMethodDescriptionprivate static void
StructurePoolBasedGenerator.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) ModifierConstructorDescription(package private)
StructurePoolGenerator
(Registry<StructurePool> registry, int maxSize, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, List<? super PoolStructurePiece> children, Random random) -
Uses of Registry in net.minecraft.world
Modifier and TypeFieldDescriptionStructureLocator.biomeRegistry
StructureLocator.structureRegistry
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<ReadableContainer<RegistryEntry<Biome>>>
ChunkSerializer.createCodec
(Registry<Biome> biomeRegistry) Modifier and TypeMethodDescriptiondefault <T> RegistryWrapper<T>
WorldView.createCommandRegistryWrapper
(RegistryKey<? extends Registry<? extends T>> registryRef) -
Uses of Registry in net.minecraft.world.biome.source
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<? extends BiomeSource>
BiomeSources.registerAndGetDefault
(Registry<com.mojang.serialization.Codec<? extends BiomeSource>> registry) -
Uses of Registry in net.minecraft.world.chunk
Modifier and TypeMethodDescriptionprivate static void
Chunk.fillSectionArray
(Registry<Biome> biomeRegistry, ChunkSection[] sectionArray) ModifierConstructorDescriptionChunk
(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) -
Uses of Registry in net.minecraft.world.dimension
Modifier and TypeFieldDescriptionprivate final Registry<DimensionOptions>
DimensionOptionsRegistryHolder.dimensions
The field for thedimensions
record component.private final Registry<DimensionOptions>
DimensionOptionsRegistryHolder.DimensionsConfig.dimensions
The field for thedimensions
record component.Modifier and TypeMethodDescriptionstatic Registry<DimensionOptions>
DimensionOptionsRegistryHolder.createRegistry
(Registry<DimensionOptions> currentRegistry, RegistryEntry<DimensionType> overworldEntry, ChunkGenerator chunkGenerator) static Registry<DimensionOptions>
DimensionOptionsRegistryHolder.createRegistry
(Registry<DimensionType> dynamicRegistry, Registry<DimensionOptions> currentRegistry, ChunkGenerator chunkGenerator) DimensionOptionsRegistryHolder.dimensions()
Returns the value of thedimensions
record component.DimensionOptionsRegistryHolder.DimensionsConfig.dimensions()
Returns the value of thedimensions
record component.Modifier and TypeMethodDescriptionstatic Registry<DimensionOptions>
DimensionOptionsRegistryHolder.createRegistry
(Registry<DimensionOptions> currentRegistry, RegistryEntry<DimensionType> overworldEntry, ChunkGenerator chunkGenerator) static Registry<DimensionOptions>
DimensionOptionsRegistryHolder.createRegistry
(Registry<DimensionType> dynamicRegistry, Registry<DimensionOptions> currentRegistry, ChunkGenerator chunkGenerator) private static LevelProperties.SpecialProperty
DimensionOptionsRegistryHolder.getSpecialProperty
(Registry<DimensionOptions> dimensionOptionsRegistry) DimensionOptionsRegistryHolder.toConfig
(Registry<DimensionOptions> existingRegistry) ModifierConstructorDescriptionDimensionsConfig
(Registry<DimensionOptions> registry, LevelProperties.SpecialProperty specialProperty) -
Uses of Registry in net.minecraft.world.gen
Modifier and TypeMethodDescriptionprivate Registry<DimensionOptions>
WorldPreset.createDimensionOptionsRegistry()
Modifier and TypeMethodDescriptionstatic Optional<RegistryKey<WorldPreset>>
WorldPresets.getWorldPreset
(Registry<DimensionOptions> registry) -
Uses of Registry in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionvoid
NoiseChunkGenerator.buildSurface
(Chunk chunk, HeightContext heightContext, NoiseConfig noiseConfig, StructureAccessor structureAccessor, BiomeAccess biomeAccess, Registry<Biome> biomeRegistry, Blender blender) static com.mojang.serialization.Codec<? extends ChunkGenerator>
ChunkGenerators.registerAndGetDefault
(Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>> registry) -
Uses of Registry in net.minecraft.world.gen.densityfunction
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<? extends DensityFunction>
DensityFunctionTypes.register
(Registry<com.mojang.serialization.Codec<? extends DensityFunction>> registry, String id, CodecHolder<? extends DensityFunction> codecHolder) 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.surfacebuilder
Modifier and TypeMethodDescriptionvoid
SurfaceBuilder.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.Codec<? extends A>
MaterialRules.register
(Registry<com.mojang.serialization.Codec<? extends A>> registry, String id, CodecHolder<? extends A> codecHolder) 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, NoiseConfig noiseConfig, Chunk chunk, ChunkNoiseSampler chunkNoiseSampler, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Registry<Biome> registry, HeightContext heightContext) -
Uses of Registry in net.minecraft.world.level.storage
Modifier and TypeMethodDescription(package private) static BiFunction<Path,
com.mojang.datafixers.DataFixer, com.mojang.datafixers.util.Pair<SaveProperties, DimensionOptionsRegistryHolder.DimensionsConfig>> LevelStorage.createLevelDataParser
(com.mojang.serialization.DynamicOps<NbtElement> ops, DataConfiguration dataConfiguration, Registry<DimensionOptions> dimensionOptionsRegistry, com.mojang.serialization.Lifecycle lifecycle) @Nullable com.mojang.datafixers.util.Pair<SaveProperties,
DimensionOptionsRegistryHolder.DimensionsConfig> LevelStorage.Session.readLevelProperties
(com.mojang.serialization.DynamicOps<NbtElement> ops, DataConfiguration dataConfiguration, Registry<DimensionOptions> dimensionOptionsRegistry, com.mojang.serialization.Lifecycle lifecycle) -
Uses of Registry in net.minecraft.world.poi
Modifier and TypeMethodDescriptionprivate static PointOfInterestType
PointOfInterestTypes.register
(Registry<PointOfInterestType> registry, RegistryKey<PointOfInterestType> key, Set<BlockState> states, int ticketCount, int searchDistance) static PointOfInterestType
PointOfInterestTypes.registerAndGetDefault
(Registry<PointOfInterestType> registry) -
Uses of Registry in net.minecraft.world.updater
Modifier and TypeFieldDescriptionprivate final Registry<DimensionOptions>
WorldUpdater.dimensionOptionsRegistry
ModifierConstructorDescriptionWorldUpdater
(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, Registry<DimensionOptions> dimensionOptionsRegistry, boolean eraseCache)