Uses of Class
net.minecraft.util.registry.RegistryKey
Packages that use RegistryKey
Package
Description
-
Uses of RegistryKey in net.minecraft.advancement.criterion
Fields in net.minecraft.advancement.criterion declared as RegistryKeyModifier and TypeFieldDescriptionprivate final @Nullable RegistryKey<World>ChangedDimensionCriterion.Conditions.fromprivate final @Nullable RegistryKey<World>ChangedDimensionCriterion.Conditions.toMethods in net.minecraft.advancement.criterion with parameters of type RegistryKeyModifier and TypeMethodDescriptionChangedDimensionCriterion.Conditions.create(RegistryKey<World> from, RegistryKey<World> to) ChangedDimensionCriterion.Conditions.from(RegistryKey<World> from) booleanChangedDimensionCriterion.Conditions.matches(RegistryKey<World> from, RegistryKey<World> to) ChangedDimensionCriterion.Conditions.to(RegistryKey<World> to) voidChangedDimensionCriterion.trigger(ServerPlayerEntity player, RegistryKey<World> from, RegistryKey<World> to) Constructors in net.minecraft.advancement.criterion with parameters of type RegistryKeyModifierConstructorDescriptionConditions(EntityPredicate.Extended player, @Nullable RegistryKey<World> from, @Nullable RegistryKey<World> to) -
Uses of RegistryKey in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as RegistryKeyMethods in net.minecraft.client.gui.screen with parameters of type RegistryKeyModifier and TypeMethodDescriptionprivate static voidPresetsScreen.addPreset(Text presetName, ItemConvertible icon, RegistryKey<Biome> presetBiome, Set<RegistryKey<StructureSet>> structureKeys, boolean generateStronghold, boolean generateFeatures, FlatChunkGeneratorLayer[] layers) Method parameters in net.minecraft.client.gui.screen with type arguments of type RegistryKeyModifier and TypeMethodDescriptionprivate static voidPresetsScreen.addPreset(Text presetName, ItemConvertible icon, RegistryKey<Biome> presetBiome, Set<RegistryKey<StructureSet>> structureKeys, boolean generateStronghold, boolean generateFeatures, FlatChunkGeneratorLayer[] layers) -
Uses of RegistryKey in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world with type parameters of type RegistryKeyModifier and TypeFieldDescriptionprivate static final Object2IntMap<RegistryKey<World>>OptimizeWorldScreen.DIMENSION_COLORS -
Uses of RegistryKey in net.minecraft.client.network
Fields in net.minecraft.client.network with type parameters of type RegistryKeyModifier and TypeFieldDescriptionprivate Set<RegistryKey<World>>ClientPlayNetworkHandler.worldKeysMethods in net.minecraft.client.network that return types with arguments of type RegistryKeyModifier and TypeMethodDescriptionClientCommandSource.getWorldKeys()ClientPlayNetworkHandler.getWorldKeys()Methods in net.minecraft.client.network with parameters of type RegistryKeyModifier 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> voidClientPlayNetworkHandler.loadTags(RegistryKey<? extends Registry<? extends T>> registryKey, TagPacketSerializer.Serialized serialized) -
Uses of RegistryKey in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type RegistryKeyModifier and TypeMethodDescription(package private) static NoiseChunkGeneratorGeneratorType.createNoiseChunkGenerator(DynamicRegistryManager registryManager, long seed, RegistryKey<ChunkGeneratorSettings> settingsKey) Constructors in net.minecraft.client.world with parameters of type RegistryKeyModifierConstructorDescriptionClientWorld(ClientPlayNetworkHandler netHandler, ClientWorld.Properties properties, RegistryKey<World> registryRef, RegistryEntry<DimensionType> registryEntry, int loadDistance, int simulationDistance, Supplier<Profiler> profiler, WorldRenderer worldRenderer, boolean debugWorld, long seed) -
Uses of RegistryKey in net.minecraft.command
Methods in net.minecraft.command that return types with arguments of type RegistryKeyMethods in net.minecraft.command with parameters of type RegistryKeyModifier 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 RegistryKey in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as RegistryKeyModifier and TypeFieldDescriptionprivate final RegistryKey<T>RegistryPredicateArgumentType.RegistryKeyBased.keyThe field for thekeyrecord component.(package private) final RegistryKey<? extends Registry<T>>RegistryKeyArgumentType.registryRef(package private) final RegistryKey<? extends Registry<T>>RegistryPredicateArgumentType.registryRefMethods in net.minecraft.command.argument that return RegistryKeyModifier 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) RegistryPredicateArgumentType.RegistryKeyBased.key()Returns the value of thekeyrecord component.RegistryKeyArgumentType.parse(com.mojang.brigadier.StringReader stringReader) Methods in net.minecraft.command.argument that return types with arguments of type RegistryKeyModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<RegistryKey<T>,TagKey<T>> RegistryPredicateArgumentType.RegistryKeyBased.getKey()com.mojang.datafixers.util.Either<RegistryKey<T>,TagKey<T>> RegistryPredicateArgumentType.RegistryPredicate.getKey()com.mojang.datafixers.util.Either<RegistryKey<T>,TagKey<T>> RegistryPredicateArgumentType.TagBased.getKey()Methods in net.minecraft.command.argument with parameters of type RegistryKeyModifier 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) Constructors in net.minecraft.command.argument with parameters of type RegistryKeyModifierConstructorDescriptionRegistryKeyArgumentType(RegistryKey<? extends Registry<T>> registryRef) (package private)RegistryKeyBased(RegistryKey<T> registryKey) RegistryPredicateArgumentType(RegistryKey<? extends Registry<T>> registryRef) -
Uses of RegistryKey in net.minecraft.data.report
Methods in net.minecraft.data.report with parameters of type RegistryKeyModifier 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 RegistryKey in net.minecraft.data.server
Fields in net.minecraft.data.server with type parameters of type RegistryKeyModifier and TypeFieldDescriptionprivate static final List<RegistryKey<Biome>>NetherTabAdvancementGenerator.NETHER_BIOMESMethods in net.minecraft.data.server that return types with arguments of type RegistryKeyModifier and TypeMethodDescriptionprivate List<RegistryKey<Biome>>AdventureTabAdvancementGenerator.getOverworldBiomes()Methods in net.minecraft.data.server with parameters of type RegistryKeyMethod parameters in net.minecraft.data.server with type arguments of type RegistryKeyModifier and TypeMethodDescriptionprotected static Advancement.BuilderAdventureTabAdvancementGenerator.requireListedBiomesVisited(Advancement.Builder task, List<RegistryKey<Biome>> biomes) -
Uses of RegistryKey in net.minecraft.item
Methods in net.minecraft.item that return types with arguments of type RegistryKeyModifier and TypeMethodDescriptionstatic Optional<RegistryKey<World>>CompassItem.getLodestoneDimension(NbtCompound nbt) Methods in net.minecraft.item with parameters of type RegistryKeyModifier and TypeMethodDescriptionprivate static intFilledMapItem.allocateMapId(World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) private static voidFilledMapItem.createMapState(ItemStack stack, World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) private voidCompassItem.writeNbt(RegistryKey<World> worldKey, BlockPos pos, NbtCompound nbt) -
Uses of RegistryKey in net.minecraft.item.map
Fields in net.minecraft.item.map declared as RegistryKeyMethods in net.minecraft.item.map with parameters of type RegistryKeyModifier and TypeMethodDescriptionstatic MapStateMapState.of(byte scale, boolean showIcons, RegistryKey<World> dimension) Creates a new map state instance for the client.static MapStateMapState.of(double centerX, double centerZ, byte scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) Creates a new map state instance.Constructors in net.minecraft.item.map with parameters of type RegistryKeyModifierConstructorDescriptionprivateMapState(int centerX, int centerZ, byte scale, boolean showIcons, boolean unlimitedTracking, boolean locked, RegistryKey<World> dimension) -
Uses of RegistryKey in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as RegistryKeyModifier and TypeFieldDescriptionprivate final RegistryKey<World>PlayerRespawnS2CPacket.dimensionprivate final RegistryKey<World>GameJoinS2CPacket.dimensionIdThe field for thedimensionIdrecord component.Fields in net.minecraft.network.packet.s2c.play with type parameters of type RegistryKeyModifier and TypeFieldDescriptionprivate final Set<RegistryKey<World>>GameJoinS2CPacket.dimensionIdsThe field for thedimensionIdsrecord component.private final Map<RegistryKey<? extends Registry<?>>,TagPacketSerializer.Serialized> SynchronizeTagsS2CPacket.groupsMethods in net.minecraft.network.packet.s2c.play that return RegistryKeyModifier and TypeMethodDescriptionGameJoinS2CPacket.dimensionId()Returns the value of thedimensionIdrecord component.PlayerRespawnS2CPacket.getDimension()Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type RegistryKeyModifier and TypeMethodDescriptionGameJoinS2CPacket.dimensionIds()Returns the value of thedimensionIdsrecord component.Map<RegistryKey<? extends Registry<?>>,TagPacketSerializer.Serialized> SynchronizeTagsS2CPacket.getGroups()Constructors in net.minecraft.network.packet.s2c.play with parameters of type RegistryKeyModifierConstructorDescriptionGameJoinS2CPacket(int playerEntityId, boolean bool, GameMode previousGameMode, @Nullable GameMode gameMode, Set<RegistryKey<World>> set, DynamicRegistryManager.Immutable immutable, RegistryEntry<DimensionType> registryEntry, RegistryKey<World> registryKey, long long2, int maxPlayers, int chunkLoadDistance, int int2, boolean bool2, boolean bool3, boolean bool4, boolean bool5) PlayerRespawnS2CPacket(RegistryEntry<DimensionType> registryEntry, RegistryKey<World> dimension, long sha256Seed, GameMode gameMode, @Nullable GameMode previousGameMode, boolean debugWorld, boolean flatWorld, boolean keepPlayerAttributes) Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type RegistryKeyModifierConstructorDescriptionGameJoinS2CPacket(int playerEntityId, boolean bool, GameMode previousGameMode, @Nullable GameMode gameMode, Set<RegistryKey<World>> set, DynamicRegistryManager.Immutable immutable, RegistryEntry<DimensionType> registryEntry, RegistryKey<World> registryKey, long long2, int maxPlayers, int chunkLoadDistance, int int2, boolean bool2, boolean bool3, boolean bool4, boolean bool5) SynchronizeTagsS2CPacket(Map<RegistryKey<? extends Registry<?>>, TagPacketSerializer.Serialized> groups) -
Uses of RegistryKey in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity declared as RegistryKeyModifier and TypeFieldDescriptionprivate final @Nullable RegistryKey<Biome>LocationPredicate.biomeprivate @Nullable RegistryKey<Biome>LocationPredicate.Builder.biomeprivate @Nullable RegistryKey<World>LocationPredicate.Builder.dimensionprivate final @Nullable RegistryKey<World>LocationPredicate.dimensionprivate @Nullable RegistryKey<ConfiguredStructureFeature<?,?>> LocationPredicate.Builder.featureprivate final @Nullable RegistryKey<ConfiguredStructureFeature<?,?>> LocationPredicate.featureMethods in net.minecraft.predicate.entity with parameters of type RegistryKeyModifier and TypeMethodDescriptionstatic LocationPredicateLocationPredicate.biome(RegistryKey<Biome> biome) LocationPredicate.Builder.biome(@Nullable RegistryKey<Biome> biome) LocationPredicate.Builder.dimension(@Nullable RegistryKey<World> dimension) static LocationPredicateLocationPredicate.dimension(RegistryKey<World> dimension) LocationPredicate.Builder.feature(@Nullable RegistryKey<ConfiguredStructureFeature<?, ?>> feature) static LocationPredicateLocationPredicate.feature(RegistryKey<ConfiguredStructureFeature<?, ?>> feature) Constructors in net.minecraft.predicate.entity with parameters of type RegistryKeyModifierConstructorDescriptionLocationPredicate(NumberRange.FloatRange x, NumberRange.FloatRange y, NumberRange.FloatRange z, @Nullable RegistryKey<Biome> biome, @Nullable RegistryKey<ConfiguredStructureFeature<?, ?>> feature, @Nullable RegistryKey<World> dimension, @Nullable Boolean smokey, LightPredicate light, BlockPredicate block, FluidPredicate fluid) -
Uses of RegistryKey in net.minecraft.server
Fields in net.minecraft.server with type parameters of type RegistryKeyModifier and TypeFieldDescriptionprivate final Map<RegistryKey<World>,ServerWorld> MinecraftServer.worldsMethods in net.minecraft.server that return types with arguments of type RegistryKeyMethods in net.minecraft.server with parameters of type RegistryKeyModifier and TypeMethodDescriptionMinecraftServer.getWorld(RegistryKey<World> key) voidPlayerManager.sendToAround(@Nullable PlayerEntity player, double x, double y, double z, double distance, RegistryKey<World> worldKey, Packet<?> packet) voidPlayerManager.sendToDimension(Packet<?> packet, RegistryKey<World> dimension) -
Uses of RegistryKey in net.minecraft.server.chase
Fields in net.minecraft.server.chase declared as RegistryKeyModifier and TypeFieldDescriptionprivate final RegistryKey<World>ChaseClient.TeleportPos.dimensionThe field for thedimensionrecord component.Methods in net.minecraft.server.chase that return RegistryKeyModifier and TypeMethodDescriptionChaseClient.TeleportPos.dimension()Returns the value of thedimensionrecord component.Constructors in net.minecraft.server.chase with parameters of type RegistryKeyModifierConstructorDescription(package private)TeleportPos(RegistryKey<World> dimension, Vec3d pos, Vec2f rot) Creates an instance of aTeleportPosrecord class. -
Uses of RegistryKey in net.minecraft.server.command
Fields in net.minecraft.server.command with type parameters of type RegistryKeyMethods in net.minecraft.server.command that return types with arguments of type RegistryKeyMethods in net.minecraft.server.command with parameters of type RegistryKeyModifier 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 RegistryKey in net.minecraft.server.network
Fields in net.minecraft.server.network declared as RegistryKeyModifier and TypeFieldDescriptionprivate RegistryKey<World>ServerPlayerEntity.spawnPointDimensionMethods in net.minecraft.server.network that return RegistryKeyMethods in net.minecraft.server.network with parameters of type RegistryKeyModifier and TypeMethodDescriptionvoidServerPlayerEntity.setSpawnPoint(RegistryKey<World> dimension, @Nullable BlockPos pos, float angle, boolean forced, boolean sendMessage) Sets the player's spawn point. -
Uses of RegistryKey in net.minecraft.server.world
Constructors in net.minecraft.server.world with parameters of type RegistryKeyModifierConstructorDescriptionServerWorld(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, RegistryEntry<DimensionType> registryEntry, WorldGenerationProgressListener worldGenerationProgressListener, ChunkGenerator chunkGenerator, boolean debugWorld, long seed, List<Spawner> spawners, boolean shouldTickTime) -
Uses of RegistryKey in net.minecraft.structure
Fields in net.minecraft.structure declared as RegistryKeyModifier and TypeFieldDescriptionstatic final RegistryKey<StructureSet>StructureSetKeys.BURIED_TREASURESstatic final RegistryKey<StructureSet>StructureSetKeys.DESERT_PYRAMIDSstatic final RegistryKey<StructureSet>StructureSetKeys.END_CITIESstatic final RegistryKey<StructureSet>StructureSetKeys.IGLOOSstatic final RegistryKey<StructureSet>StructureSetKeys.JUNGLE_TEMPLESstatic final RegistryKey<StructureSet>StructureSetKeys.MINESHAFTSstatic final RegistryKey<StructureSet>StructureSetKeys.NETHER_COMPLEXESstatic final RegistryKey<StructureSet>StructureSetKeys.NETHER_FOSSILSstatic final RegistryKey<StructureSet>StructureSetKeys.OCEAN_MONUMENTSstatic final RegistryKey<StructureSet>StructureSetKeys.OCEAN_RUINSstatic final RegistryKey<StructureSet>StructureSetKeys.PILLAGER_OUTPOSTSstatic final RegistryKey<StructureSet>StructureSetKeys.RUINED_PORTALSstatic final RegistryKey<StructureSet>StructureSetKeys.SHIPWRECKSstatic final RegistryKey<StructureSet>StructureSetKeys.STRONGHOLDSstatic final RegistryKey<StructureSet>StructureSetKeys.SWAMP_HUTSstatic final RegistryKey<StructureSet>StructureSetKeys.VILLAGESstatic final RegistryKey<StructureSet>StructureSetKeys.WOODLAND_MANSIONSMethods in net.minecraft.structure that return RegistryKeyMethods in net.minecraft.structure with parameters of type RegistryKeyModifier and TypeMethodDescriptionstatic RegistryEntry<StructureSet>StructureSets.register(RegistryKey<StructureSet> key, StructureSet structureSet) static RegistryEntry<StructureSet>StructureSets.register(RegistryKey<StructureSet> key, RegistryEntry<ConfiguredStructureFeature<?, ?>> configuredStructureFigure, StructurePlacement placement) -
Uses of RegistryKey in net.minecraft.structure.pool
Fields in net.minecraft.structure.pool declared as RegistryKey -
Uses of RegistryKey in net.minecraft.tag
Fields in net.minecraft.tag declared as RegistryKeyModifier and TypeFieldDescriptionprivate final RegistryKey<? extends Registry<T>>TagManagerLoader.RegistryTags.keyThe field for thekeyrecord component.private final RegistryKey<? extends Registry<T>>TagKey.registryThe field for theregistryrecord component.Fields in net.minecraft.tag with type parameters of type RegistryKeyModifier and TypeFieldDescriptionprivate static final Map<RegistryKey<? extends Registry<?>>,String> TagManagerLoader.DIRECTORIESMethods in net.minecraft.tag that return RegistryKeyModifier and TypeMethodDescriptionRegistryKey<? extends Registry<T>>TagManagerLoader.RegistryTags.key()Returns the value of thekeyrecord component.RegistryKey<? extends Registry<T>>TagKey.registry()Returns the value of theregistryrecord component.Methods in net.minecraft.tag that return types with arguments of type RegistryKeyModifier and TypeMethodDescriptionstatic Map<RegistryKey<? extends Registry<?>>,TagPacketSerializer.Serialized> TagPacketSerializer.serializeTags(DynamicRegistryManager dynamicRegistryManager) Methods in net.minecraft.tag with parameters of type RegistryKeyModifier and TypeMethodDescriptionstatic StringTagManagerLoader.getPath(RegistryKey<? extends Registry<?>> registry) static <T> com.mojang.serialization.Codec<TagKey<T>>TagKey.identifierCodec(RegistryKey<? extends Registry<T>> registry) booleanTagKey.isOf(RegistryKey<? extends Registry<?>> registryRef) static <T> voidTagPacketSerializer.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) Constructors in net.minecraft.tag with parameters of type RegistryKeyModifierConstructorDescriptionRegistryTags(RegistryKey<? extends Registry<T>> registryKey, Map<Identifier, Tag<RegistryEntry<T>>> map) TagKey(RegistryKey<? extends Registry<T>> registryKey, Identifier identifier) Deprecated. -
Uses of RegistryKey in net.minecraft.util.dynamic
Fields in net.minecraft.util.dynamic declared as RegistryKeyModifier and TypeFieldDescriptionprivate final RegistryKey<World>GlobalPos.dimensionprivate final RegistryKey<? extends Registry<E>>RegistryElementCodec.registryRefFields in net.minecraft.util.dynamic with type parameters of type RegistryKeyModifier and TypeFieldDescriptionprivate final Map<RegistryKey<? extends Registry<?>>,RegistryLoader.ValueHolder<?>> RegistryLoader.valueHoldersprivate final Map<RegistryKey<?>,EntryLoader.Impl.Element> EntryLoader.Impl.values(package private) final Map<RegistryKey<E>,com.mojang.serialization.DataResult<RegistryEntry<E>>> RegistryLoader.ValueHolder.valuesMethods in net.minecraft.util.dynamic that return RegistryKeyMethods in net.minecraft.util.dynamic that return types with arguments of type RegistryKeyModifier and TypeMethodDescription<E> Collection<RegistryKey<E>>EntryLoader.getKnownEntryPaths(RegistryKey<? extends Registry<E>> key) <E> Collection<RegistryKey<E>>EntryLoader.Impl.getKnownEntryPaths(RegistryKey<? extends Registry<E>> key) Methods in net.minecraft.util.dynamic with parameters of type RegistryKeyModifier and TypeMethodDescription<E> voidEntryLoader.Impl.add(DynamicRegistryManager registryManager, RegistryKey<E> key, com.mojang.serialization.Encoder<E> encoder, int rawId, E entry, com.mojang.serialization.Lifecycle lifecycle) static GlobalPosGlobalPos.create(RegistryKey<World> dimension, BlockPos pos) static <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) Constructors in net.minecraft.util.dynamic with parameters of type RegistryKeyModifierConstructorDescriptionprivateGlobalPos(RegistryKey<World> dimension, BlockPos pos) privateRegistryElementCodec(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions) -
Uses of RegistryKey in net.minecraft.util.profiling.jfr
Methods in net.minecraft.util.profiling.jfr with parameters of type RegistryKeyModifier and TypeMethodDescriptionFlightProfiler.NoopProfiler.startChunkGenerationProfiling(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) FlightProfiler.startChunkGenerationProfiling(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) JfrProfiler.startChunkGenerationProfiling(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) -
Uses of RegistryKey in net.minecraft.util.profiling.jfr.event
Constructors in net.minecraft.util.profiling.jfr.event with parameters of type RegistryKeyModifierConstructorDescriptionChunkGenerationEvent(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) -
Uses of RegistryKey in net.minecraft.util.registry
Fields in net.minecraft.util.registry declared as RegistryKeyModifier and TypeFieldDescriptionstatic final RegistryKey<Registry<Activity>>Registry.ACTIVITY_KEYstatic final RegistryKey<Registry<EntityAttribute>>Registry.ATTRIBUTE_KEYstatic final RegistryKey<Registry<Biome>>Registry.BIOME_KEYstatic final RegistryKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>Registry.BIOME_SOURCE_KEYstatic final RegistryKey<Registry<BlockEntityType<?>>>Registry.BLOCK_ENTITY_TYPE_KEYstatic final RegistryKey<Registry<Block>>Registry.BLOCK_KEYstatic final RegistryKey<Registry<BlockPredicateType<?>>>Registry.BLOCK_PREDICATE_TYPE_KEYstatic final RegistryKey<Registry<BlockStateProviderType<?>>>Registry.BLOCK_STATE_PROVIDER_TYPE_KEYstatic final RegistryKey<Registry<Carver<?>>>Registry.CARVER_KEYstatic final RegistryKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>Registry.CHUNK_GENERATOR_KEYstatic final RegistryKey<Registry<ChunkGeneratorSettings>>Registry.CHUNK_GENERATOR_SETTINGS_KEYstatic final RegistryKey<Registry<ChunkStatus>>Registry.CHUNK_STATUS_KEYstatic final RegistryKey<Registry<ConfiguredCarver<?>>>Registry.CONFIGURED_CARVER_KEYstatic final RegistryKey<Registry<ConfiguredFeature<?,?>>> Registry.CONFIGURED_FEATURE_KEYstatic final RegistryKey<Registry<ConfiguredStructureFeature<?,?>>> Registry.CONFIGURED_STRUCTURE_FEATURE_KEYstatic final RegistryKey<Registry<Identifier>>Registry.CUSTOM_STAT_KEYstatic final RegistryKey<Registry<DensityFunction>>Registry.DENSITY_FUNCTION_KEYstatic final RegistryKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>>Registry.DENSITY_FUNCTION_TYPE_KEYstatic final RegistryKey<Registry<DimensionOptions>>Registry.DIMENSION_KEYA registry key representing theDimensionOptionstype.static final RegistryKey<Registry<DimensionType>>Registry.DIMENSION_TYPE_KEYstatic final RegistryKey<Registry<Enchantment>>Registry.ENCHANTMENT_KEYstatic final RegistryKey<Registry<EntityType<?>>>Registry.ENTITY_TYPE_KEYstatic final RegistryKey<Registry<Feature<?>>>Registry.FEATURE_KEYstatic final RegistryKey<Registry<FeatureSizeType<?>>>Registry.FEATURE_SIZE_TYPE_KEYstatic final RegistryKey<Registry<FloatProviderType<?>>>Registry.FLOAT_PROVIDER_TYPE_KEYstatic final RegistryKey<Registry<Fluid>>Registry.FLUID_KEYstatic final RegistryKey<Registry<FoliagePlacerType<?>>>Registry.FOLIAGE_PLACER_TYPE_KEYstatic final RegistryKey<Registry<GameEvent>>Registry.GAME_EVENT_KEYstatic final RegistryKey<Registry<HeightProviderType<?>>>Registry.HEIGHT_PROVIDER_TYPE_KEYstatic final RegistryKey<Registry<IntProviderType<?>>>Registry.INT_PROVIDER_TYPE_KEYstatic final RegistryKey<Registry<Item>>Registry.ITEM_KEYprivate final RegistryKey<? extends Registry<T>>DynamicRegistryManager.Entry.keyThe field for thekeyrecord component.private final RegistryKey<T>RegistryCodecs.RegistryManagerEntry.keyThe field for thekeyrecord component.static final RegistryKey<Registry<LootConditionType>>Registry.LOOT_CONDITION_TYPE_KEYstatic final RegistryKey<Registry<LootFunctionType>>Registry.LOOT_FUNCTION_TYPE_KEYstatic final RegistryKey<Registry<LootNbtProviderType>>Registry.LOOT_NBT_PROVIDER_TYPE_KEYstatic final RegistryKey<Registry<LootNumberProviderType>>Registry.LOOT_NUMBER_PROVIDER_TYPE_KEYstatic final RegistryKey<Registry<LootPoolEntryType>>Registry.LOOT_POOL_ENTRY_TYPE_KEYstatic final RegistryKey<Registry<LootScoreProviderType>>Registry.LOOT_SCORE_PROVIDER_TYPE_KEYstatic final RegistryKey<Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialCondition>>>Registry.MATERIAL_CONDITION_KEYstatic final RegistryKey<Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>>>Registry.MATERIAL_RULE_KEYstatic final RegistryKey<Registry<MemoryModuleType<?>>>Registry.MEMORY_MODULE_TYPE_KEYstatic final RegistryKey<Registry<ScreenHandlerType<?>>>Registry.MENU_KEYstatic final RegistryKey<Registry<StatusEffect>>Registry.MOB_EFFECT_KEYstatic final RegistryKey<Registry<PaintingMotive>>Registry.MOTIVE_KEYstatic final RegistryKey<Registry<DoublePerlinNoiseSampler.NoiseParameters>>Registry.NOISE_WORLDGENstatic final RegistryKey<Registry<ParticleType<?>>>Registry.PARTICLE_TYPE_KEYstatic final RegistryKey<Registry<PlacedFeature>>Registry.PLACED_FEATURE_KEYstatic final RegistryKey<Registry<PlacementModifierType<?>>>Registry.PLACEMENT_MODIFIER_TYPE_KEYstatic final RegistryKey<Registry<PointOfInterestType>>Registry.POINT_OF_INTEREST_TYPE_KEYstatic final RegistryKey<Registry<PosRuleTestType<?>>>Registry.POS_RULE_TEST_KEYstatic final RegistryKey<Registry<PositionSourceType<?>>>Registry.POSITION_SOURCE_TYPE_KEYstatic final RegistryKey<Registry<Potion>>Registry.POTION_KEYstatic final RegistryKey<Registry<RecipeSerializer<?>>>Registry.RECIPE_SERIALIZER_KEYstatic final RegistryKey<Registry<RecipeType<?>>>Registry.RECIPE_TYPE_KEYprivate final RegistryKey<? extends Registry<E>>DynamicRegistryManager.Info.registryThe field for theregistryrecord component.private final RegistryKey<? extends Registry<E>>RegistryEntryListCodec.registryprivate final RegistryKey<? extends Registry<E>>RegistryFixedCodec.registryprivate final RegistryKey<? extends Registry<T>>Registry.registryKeyThe key representing the type of elements held by this registry.private @Nullable RegistryKey<T>RegistryEntry.Reference.registryKeystatic final RegistryKey<Registry<RuleTestType<?>>>Registry.RULE_TEST_KEYstatic final RegistryKey<Registry<Schedule>>Registry.SCHEDULE_KEYstatic final RegistryKey<Registry<SensorType<?>>>Registry.SENSOR_TYPE_KEYstatic final RegistryKey<Registry<SoundEvent>>Registry.SOUND_EVENT_KEYstatic final RegistryKey<Registry<StatType<?>>>Registry.STAT_TYPE_KEYstatic final RegistryKey<Registry<StructureFeature<?>>>Registry.STRUCTURE_FEATURE_KEYstatic final RegistryKey<Registry<StructurePieceType>>Registry.STRUCTURE_PIECE_KEYstatic final RegistryKey<Registry<StructurePlacementType<?>>>Registry.STRUCTURE_PLACEMENT_KEYstatic final RegistryKey<Registry<StructurePoolElementType<?>>>Registry.STRUCTURE_POOL_ELEMENT_KEYstatic final RegistryKey<Registry<StructurePool>>Registry.STRUCTURE_POOL_KEYstatic final RegistryKey<Registry<StructureProcessorType<?>>>Registry.STRUCTURE_PROCESSOR_KEYstatic final RegistryKey<Registry<StructureProcessorList>>Registry.STRUCTURE_PROCESSOR_LIST_KEYstatic final RegistryKey<Registry<StructureSet>>Registry.STRUCTURE_SET_KEYstatic final RegistryKey<Registry<TreeDecoratorType<?>>>Registry.TREE_DECORATOR_TYPE_KEYstatic final RegistryKey<Registry<TrunkPlacerType<?>>>Registry.TRUNK_PLACER_TYPE_KEYstatic final RegistryKey<Registry<VillagerProfession>>Registry.VILLAGER_PROFESSION_KEYstatic final RegistryKey<Registry<VillagerType>>Registry.VILLAGER_TYPE_KEYstatic final RegistryKey<Registry<World>>Registry.WORLD_KEYA registry key representing theWorldtype.Fields in net.minecraft.util.registry with type parameters of type RegistryKeyModifier and TypeFieldDescriptionstatic final Map<RegistryKey<? extends Registry<?>>,DynamicRegistryManager.Info<?>> DynamicRegistryManager.INFOSprivate static final Map<String,RegistryKey<?>> RegistryKey.INSTANCESA cache of all registry keys ever created.private final Map<RegistryKey<T>,RegistryEntry.Reference<T>> SimpleRegistry.keyToEntryprivate final Map<? extends RegistryKey<? extends Registry<?>>,? extends MutableRegistry<?>> DynamicRegistryManager.MutableImpl.mutableRegistriesprivate final Map<? extends RegistryKey<? extends Registry<?>>,? extends Registry<?>> DynamicRegistryManager.ImmutableImpl.registriesMethods in net.minecraft.util.registry with type parameters of type RegistryKeyModifier 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) Methods in net.minecraft.util.registry that return RegistryKeyModifier and TypeMethodDescriptionprivate static <T> RegistryKey<Registry<T>>Registry.createRegistryKey(String registryId) RegistryKey<? extends Registry<T>>Registry.getKey()RegistryKey<? extends Registry<T>>DynamicRegistryManager.Entry.key()Returns the value of thekeyrecord component.RegistryCodecs.RegistryManagerEntry.key()Returns the value of thekeyrecord component.private static <T> RegistryKey<T>RegistryKey.of(Identifier registry, Identifier value) 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.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 theregistryrecord component.RegistryEntry.Reference.registryKey()Methods in net.minecraft.util.registry that return types with arguments of type RegistryKeyModifier and TypeMethodDescriptionstatic <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 thatregistryrefers to in the root registry.private static Map<RegistryKey<? extends Registry<?>>,? extends MutableRegistry<?>> DynamicRegistryManager.createMutableRegistries()abstract Set<Map.Entry<RegistryKey<T>,T>> Registry.getEntrySet()Set<Map.Entry<RegistryKey<T>,T>> SimpleRegistry.getEntrySet()abstract Optional<RegistryKey<T>>RegistryEntry.Direct.getKey()RegistryEntry.getKey()RegistryEntry.Reference.getKey()com.mojang.datafixers.util.Either<RegistryKey<T>,T> RegistryEntry.Direct.getKeyOrValue()com.mojang.datafixers.util.Either<RegistryKey<T>,T> RegistryEntry.getKeyOrValue()com.mojang.datafixers.util.Either<RegistryKey<T>,T> RegistryEntry.Reference.getKeyOrValue()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) Methods in net.minecraft.util.registry with parameters of type RegistryKeyModifier and TypeMethodDescriptionstatic <T> RegistryEntry<T>BuiltinRegistries.add(Registry<T> registry, RegistryKey<T> key, T object) abstract RegistryEntry<T>MutableRegistry.add(RegistryKey<T> key, T entry, com.mojang.serialization.Lifecycle lifecycle) SimpleRegistry.add(RegistryKey<T> key, T entry, com.mojang.serialization.Lifecycle lifecycle) private 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 voidSimpleRegistry.assertNotFrozen(RegistryKey<T> key) abstract booleanRegistry.contains(RegistryKey<T> key) booleanSimpleRegistry.contains(RegistryKey<T> key) 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 thatregistryrefers 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) Registry.entryOf(RegistryKey<T> key) default <E> Registry<E>DynamicRegistryManager.get(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry from this manager orRegistry.REGISTRIES, or throws an exception when the registry does not exist.abstract TRegistry.get(@Nullable RegistryKey<T> key) SimpleRegistry.get(@Nullable RegistryKey<T> key) abstract Optional<RegistryEntry<T>>Registry.getEntry(RegistryKey<T> key) SimpleRegistry.getEntry(RegistryKey<T> key) 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) abstract RegistryEntry<T>Registry.getOrCreateEntry(RegistryKey<T> key) SimpleRegistry.getOrCreateEntry(RegistryKey<T> key) Registry.getOrEmpty(@Nullable RegistryKey<T> key) Registry.getOrThrow(RegistryKey<T> key) Gets an entry from the registry.booleanRegistryKey.isOf(RegistryKey<? extends Registry<?>> registry) Returns whether this registry key belongs to the given registry (according to its type, not whether the registry actually contains this key).private static <T> com.mojang.serialization.MapCodec<RegistryCodecs.RegistryManagerEntry<T>>RegistryCodecs.managerEntry(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.MapCodec<T> elementCodec) booleanRegistryEntry.Direct.matchesKey(RegistryKey<T> key) booleanRegistryEntry.matchesKey(RegistryKey<T> key) booleanRegistryEntry.Reference.matchesKey(RegistryKey<T> key) 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> voidDynamicRegistryManager.register(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec) private static <E> voidDynamicRegistryManager.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) static <V,T extends V>
TRegistry.register(Registry<V> registry, RegistryKey<V> key, T entry) private static <T> com.mojang.serialization.Codec<Map<RegistryKey<T>,T>> RegistryCodecs.registryMap(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Codec<T> elementCodec) abstract RegistryEntry<T>MutableRegistry.replace(OptionalInt rawId, RegistryKey<T> key, T newEntry, com.mojang.serialization.Lifecycle lifecycle) If the given key is already present in the registry, replaces the entry associated with the given key with the new entry.SimpleRegistry.replace(OptionalInt rawId, RegistryKey<T> key, T newEntry, com.mojang.serialization.Lifecycle lifecycle) If the given key is already present in the registry, replaces the entry associated with the given key with the new entry.DefaultedRegistry.set(int rawId, RegistryKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle) abstract RegistryEntry<T>MutableRegistry.set(int rawId, RegistryKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle) SimpleRegistry.set(int rawId, RegistryKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle) private RegistryEntry<T>SimpleRegistry.set(int rawId, RegistryKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle, boolean checkDuplicateKeys) (package private) voidRegistryEntry.Reference.setKeyAndValue(RegistryKey<T> key, T value) static <T> RegistryEntry.Reference<T>RegistryEntry.Reference.standAlone(Registry<T> registry, RegistryKey<T> registryKey) <E> Optional<RegistryKey<E>>RegistryKey.tryCast(RegistryKey<? extends Registry<E>> registryRef) Method parameters in net.minecraft.util.registry with type arguments of type RegistryKeyModifier and TypeMethodDescriptionprivate 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) booleanRegistryEntry.Direct.matches(Predicate<RegistryKey<T>> predicate) booleanRegistryEntry.matches(Predicate<RegistryKey<T>> predicate) booleanRegistryEntry.Reference.matches(Predicate<RegistryKey<T>> predicate) private static <T,R extends Registry<? extends T>>
DynamicRegistryManager.Entry<T>DynamicRegistryManager.Entry.of(Map.Entry<? extends RegistryKey<? extends Registry<?>>, R> entry) private static <E> voidDynamicRegistryManager.register(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec) private static <E> voidDynamicRegistryManager.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) Constructors in net.minecraft.util.registry with parameters of type RegistryKeyModifierConstructorDescriptionDefaultedRegistry(String defaultId, RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, @Nullable Function<T, RegistryEntry.Reference<T>> valueToEntryFunction) Info(RegistryKey<? extends Registry<E>> registry, com.mojang.serialization.Codec<E> entryCodec, @Nullable com.mojang.serialization.Codec<E> networkEntryCodec) Creates an instance of aInforecord class.MutableRegistry(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) privateReference(RegistryEntry.Reference.Type referenceType, Registry<T> registry, @Nullable RegistryKey<T> registryKey, T value) protectedRegistry(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) privateRegistryEntryListCodec(RegistryKey<? extends Registry<E>> registry, com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList) privateRegistryFixedCodec(RegistryKey<? extends Registry<E>> registry) (package private)RegistryManagerEntry(RegistryKey<T> key, int rawId, T value) Creates an instance of aRegistryManagerEntryrecord class.SimpleRegistry(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, @Nullable Function<T, RegistryEntry.Reference<T>> valueToEntryFunction) Constructor parameters in net.minecraft.util.registry with type arguments of type RegistryKeyModifierConstructorDescriptionImmutableImpl(Map<? extends RegistryKey<? extends Registry<?>>, ? extends Registry<?>> registries) (package private)MutableImpl(Map<? extends RegistryKey<? extends Registry<?>>, ? extends MutableRegistry<?>> mutableRegistries) -
Uses of RegistryKey in net.minecraft.village
Fields in net.minecraft.village with type parameters of type RegistryKeyModifier and TypeFieldDescriptionprivate static final Map<RegistryKey<Biome>,VillagerType> VillagerType.BIOME_TO_TYPE -
Uses of RegistryKey in net.minecraft.world
Fields in net.minecraft.world declared as RegistryKeyModifier and TypeFieldDescriptionstatic final RegistryKey<World>World.ENDstatic final RegistryKey<World>World.NETHERstatic final RegistryKey<World>World.OVERWORLDprivate final RegistryKey<World>World.registryKeyprivate final RegistryKey<World>StructureLocator.worldKeyFields in net.minecraft.world with type parameters of type RegistryKeyModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryKey<World>>World.CODECMethods in net.minecraft.world that return RegistryKeyMethods in net.minecraft.world with parameters of type RegistryKeyModifier and TypeMethodDescriptionstatic FeatureUpdaterFeatureUpdater.create(RegistryKey<World> world, @Nullable PersistentStateManager persistentStateManager) Constructors in net.minecraft.world with parameters of type RegistryKeyModifierConstructorDescriptionStructureLocator(NbtScannable chunkIoWorker, DynamicRegistryManager registryManager, StructureManager structureManager, RegistryKey<World> worldKey, ChunkGenerator chunkGenerator, HeightLimitView world, BiomeSource biomeSource, long seed, com.mojang.datafixers.DataFixer dataFixer) protectedWorld(MutableWorldProperties properties, RegistryKey<World> registryRef, RegistryEntry<DimensionType> registryEntry, Supplier<Profiler> profiler, boolean isClient, boolean debugWorld, long seed) -
Uses of RegistryKey in net.minecraft.world.biome
Fields in net.minecraft.world.biome declared as RegistryKeyModifier and TypeFieldDescriptionstatic final RegistryKey<Biome>BiomeKeys.BADLANDSstatic final RegistryKey<Biome>BiomeKeys.BAMBOO_JUNGLEstatic final RegistryKey<Biome>BiomeKeys.BASALT_DELTASstatic final RegistryKey<Biome>BiomeKeys.BEACHstatic final RegistryKey<Biome>BiomeKeys.BIRCH_FORESTstatic final RegistryKey<Biome>BiomeKeys.COLD_OCEANstatic final RegistryKey<Biome>BiomeKeys.CRIMSON_FORESTstatic final RegistryKey<Biome>BiomeKeys.DARK_FORESTstatic final RegistryKey<Biome>BiomeKeys.DEEP_COLD_OCEANstatic final RegistryKey<Biome>BiomeKeys.DEEP_FROZEN_OCEANstatic final RegistryKey<Biome>BiomeKeys.DEEP_LUKEWARM_OCEANstatic final RegistryKey<Biome>BiomeKeys.DEEP_OCEANstatic final RegistryKey<Biome>BiomeKeys.DESERTstatic final RegistryKey<Biome>BiomeKeys.DRIPSTONE_CAVESstatic final RegistryKey<Biome>BiomeKeys.END_BARRENSstatic final RegistryKey<Biome>BiomeKeys.END_HIGHLANDSstatic final RegistryKey<Biome>BiomeKeys.END_MIDLANDSstatic final RegistryKey<Biome>BiomeKeys.ERODED_BADLANDSstatic final RegistryKey<Biome>BiomeKeys.FLOWER_FORESTstatic final RegistryKey<Biome>BiomeKeys.FORESTstatic final RegistryKey<Biome>BiomeKeys.FROZEN_OCEANstatic final RegistryKey<Biome>BiomeKeys.FROZEN_PEAKSstatic final RegistryKey<Biome>BiomeKeys.FROZEN_RIVERstatic final RegistryKey<Biome>BiomeKeys.GROVEstatic final RegistryKey<Biome>BiomeKeys.ICE_SPIKESstatic final RegistryKey<Biome>BiomeKeys.JAGGED_PEAKSstatic final RegistryKey<Biome>BiomeKeys.JUNGLEstatic final RegistryKey<Biome>BiomeKeys.LUKEWARM_OCEANstatic final RegistryKey<Biome>BiomeKeys.LUSH_CAVESstatic final RegistryKey<Biome>BiomeKeys.MEADOWstatic final RegistryKey<Biome>BiomeKeys.MUSHROOM_FIELDSstatic final RegistryKey<Biome>BiomeKeys.NETHER_WASTESstatic final RegistryKey<Biome>BiomeKeys.OCEANstatic final RegistryKey<Biome>BiomeKeys.OLD_GROWTH_BIRCH_FORESTstatic final RegistryKey<Biome>BiomeKeys.OLD_GROWTH_PINE_TAIGAstatic final RegistryKey<Biome>BiomeKeys.OLD_GROWTH_SPRUCE_TAIGAstatic final RegistryKey<Biome>BiomeKeys.PLAINSstatic final RegistryKey<Biome>BiomeKeys.RIVERstatic final RegistryKey<Biome>BiomeKeys.SAVANNAstatic final RegistryKey<Biome>BiomeKeys.SAVANNA_PLATEAUstatic final RegistryKey<Biome>BiomeKeys.SMALL_END_ISLANDSstatic final RegistryKey<Biome>BiomeKeys.SNOWY_BEACHstatic final RegistryKey<Biome>BiomeKeys.SNOWY_PLAINSstatic final RegistryKey<Biome>BiomeKeys.SNOWY_SLOPESstatic final RegistryKey<Biome>BiomeKeys.SNOWY_TAIGAstatic final RegistryKey<Biome>BiomeKeys.SOUL_SAND_VALLEYstatic final RegistryKey<Biome>BiomeKeys.SPARSE_JUNGLEstatic final RegistryKey<Biome>BiomeKeys.STONY_PEAKSstatic final RegistryKey<Biome>BiomeKeys.STONY_SHOREstatic final RegistryKey<Biome>BiomeKeys.SUNFLOWER_PLAINSstatic final RegistryKey<Biome>BiomeKeys.SWAMPstatic final RegistryKey<Biome>BiomeKeys.TAIGAstatic final RegistryKey<Biome>BiomeKeys.THE_ENDstatic final RegistryKey<Biome>BiomeKeys.THE_VOIDstatic final RegistryKey<Biome>BiomeKeys.WARM_OCEANstatic final RegistryKey<Biome>BiomeKeys.WARPED_FORESTstatic final RegistryKey<Biome>BiomeKeys.WINDSWEPT_FORESTstatic final RegistryKey<Biome>BiomeKeys.WINDSWEPT_GRAVELLY_HILLSstatic final RegistryKey<Biome>BiomeKeys.WINDSWEPT_HILLSstatic final RegistryKey<Biome>BiomeKeys.WINDSWEPT_SAVANNAstatic final RegistryKey<Biome>BiomeKeys.WOODED_BADLANDSMethods in net.minecraft.world.biome that return RegistryKeyMethods in net.minecraft.world.biome with parameters of type RegistryKeyModifier and TypeMethodDescriptionprivate static voidBuiltinBiomes.register(RegistryKey<Biome> key, Biome biome) -
Uses of RegistryKey in net.minecraft.world.biome.source.util
Fields in net.minecraft.world.biome.source.util declared as RegistryKeyModifier and TypeFieldDescriptionprivate final RegistryKey<Biome>[][]VanillaBiomeParameters.commonBiomesprivate final RegistryKey<Biome>[][]VanillaBiomeParameters.nearMountainBiomesprivate final RegistryKey<Biome>[][]VanillaBiomeParameters.oceanBiomesprivate final RegistryKey<Biome>[][]VanillaBiomeParameters.specialNearMountainBiomesprivate final RegistryKey<Biome>[][]VanillaBiomeParameters.uncommonBiomesprivate final RegistryKey<Biome>[][]VanillaBiomeParameters.windsweptBiomesMethods in net.minecraft.world.biome.source.util that return RegistryKeyModifier and TypeMethodDescriptionprivate RegistryKey<Biome>VanillaBiomeParameters.getBadlandsBiome(int humidity, MultiNoiseUtil.ParameterRange weirdness) private RegistryKey<Biome>VanillaBiomeParameters.getBadlandsOrRegularBiome(int temperature, int humidity, MultiNoiseUtil.ParameterRange weirdness) private RegistryKey<Biome>VanillaBiomeParameters.getBiomeOrWindsweptSavanna(int temperature, int humidity, MultiNoiseUtil.ParameterRange weirdness) private RegistryKey<Biome>VanillaBiomeParameters.getBiomeOrWindsweptSavanna(int temperature, int humidity, MultiNoiseUtil.ParameterRange weirdness, RegistryKey<Biome> biomeKey) private RegistryKey<Biome>VanillaBiomeParameters.getFlatShoreBiome(int temperature, int humidity, MultiNoiseUtil.ParameterRange weirdness) private RegistryKey<Biome>VanillaBiomeParameters.getMountainSlopeBiome(int temperature, int humidity, MultiNoiseUtil.ParameterRange weirdness) private RegistryKey<Biome>VanillaBiomeParameters.getMountainStartBiome(int temperature, int humidity, MultiNoiseUtil.ParameterRange weirdness) private RegistryKey<Biome>VanillaBiomeParameters.getNearMountainBiome(int temperature, int humidity, MultiNoiseUtil.ParameterRange weirdness) private RegistryKey<Biome>VanillaBiomeParameters.getPeakBiome(int temperature, int humidity, MultiNoiseUtil.ParameterRange weirdness) private RegistryKey<Biome>VanillaBiomeParameters.getRegularBiome(int temperature, int humidity, MultiNoiseUtil.ParameterRange weirdness) private RegistryKey<Biome>VanillaBiomeParameters.getShoreBiome(int temperature, int humidity) Methods in net.minecraft.world.biome.source.util with parameters of type RegistryKeyModifier and TypeMethodDescriptionprivate RegistryKey<Biome>VanillaBiomeParameters.getBiomeOrWindsweptSavanna(int temperature, int humidity, MultiNoiseUtil.ParameterRange weirdness, RegistryKey<Biome> biomeKey) private voidVanillaBiomeParameters.writeBiomeParameters(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters, MultiNoiseUtil.ParameterRange temperature, MultiNoiseUtil.ParameterRange humidity, MultiNoiseUtil.ParameterRange continentalness, MultiNoiseUtil.ParameterRange erosion, MultiNoiseUtil.ParameterRange weirdness, float offset, RegistryKey<Biome> biome) private voidVanillaBiomeParameters.writeCaveBiomeParameters(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters, MultiNoiseUtil.ParameterRange temperature, MultiNoiseUtil.ParameterRange humidity, MultiNoiseUtil.ParameterRange continentalness, MultiNoiseUtil.ParameterRange erosion, MultiNoiseUtil.ParameterRange weirdness, float offset, RegistryKey<Biome> biome) Method parameters in net.minecraft.world.biome.source.util with type arguments of type RegistryKeyModifier and TypeMethodDescriptionprivate voidVanillaBiomeParameters.writeBiomeParameters(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters, MultiNoiseUtil.ParameterRange temperature, MultiNoiseUtil.ParameterRange humidity, MultiNoiseUtil.ParameterRange continentalness, MultiNoiseUtil.ParameterRange erosion, MultiNoiseUtil.ParameterRange weirdness, float offset, RegistryKey<Biome> biome) private voidVanillaBiomeParameters.writeBiomesNearRivers(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters, MultiNoiseUtil.ParameterRange weirdness) private voidVanillaBiomeParameters.writeCaveBiomeParameters(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters, MultiNoiseUtil.ParameterRange temperature, MultiNoiseUtil.ParameterRange humidity, MultiNoiseUtil.ParameterRange continentalness, MultiNoiseUtil.ParameterRange erosion, MultiNoiseUtil.ParameterRange weirdness, float offset, RegistryKey<Biome> biome) private voidVanillaBiomeParameters.writeCaveBiomes(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters) voidVanillaTerrainParameters.writeDebugBiomes(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters) private voidVanillaBiomeParameters.writeLandBiomes(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters) private voidVanillaBiomeParameters.writeMixedBiomes(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters, MultiNoiseUtil.ParameterRange weirdness) private voidVanillaBiomeParameters.writeMountainousBiomes(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters, MultiNoiseUtil.ParameterRange weirdness) private voidVanillaBiomeParameters.writeOceanBiomes(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters) private voidVanillaBiomeParameters.writePlainBiomes(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters, MultiNoiseUtil.ParameterRange weirdness) private voidVanillaBiomeParameters.writeRiverBiomes(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters, MultiNoiseUtil.ParameterRange weirdness) protected voidVanillaBiomeParameters.writeVanillaBiomeParameters(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters) -
Uses of RegistryKey in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk with type parameters of type RegistryKeyModifier and TypeFieldDescriptionprivate static final Set<RegistryKey<Biome>>BelowZeroRetrogen.CAVE_BIOMES -
Uses of RegistryKey in net.minecraft.world.dimension
Fields in net.minecraft.world.dimension declared as RegistryKeyModifier and TypeFieldDescriptionstatic final RegistryKey<DimensionOptions>DimensionOptions.ENDstatic final RegistryKey<DimensionOptions>DimensionOptions.NETHERstatic final RegistryKey<DimensionOptions>DimensionOptions.OVERWORLDstatic final RegistryKey<DimensionType>DimensionType.OVERWORLD_CAVES_REGISTRY_KEYstatic final RegistryKey<DimensionType>DimensionType.OVERWORLD_REGISTRY_KEYstatic final RegistryKey<DimensionType>DimensionType.THE_END_REGISTRY_KEYstatic final RegistryKey<DimensionType>DimensionType.THE_NETHER_REGISTRY_KEYFields in net.minecraft.world.dimension with type parameters of type RegistryKeyModifier and TypeFieldDescriptionprivate static final Set<RegistryKey<DimensionOptions>>DimensionOptions.BASE_DIMENSIONSMethods in net.minecraft.world.dimension that return types with arguments of type RegistryKeyModifier and TypeMethodDescriptionstatic com.mojang.serialization.DataResult<RegistryKey<World>>DimensionType.worldFromDimensionNbt(com.mojang.serialization.Dynamic<?> nbt) Deprecated.Methods in net.minecraft.world.dimension with parameters of type RegistryKeyModifier and TypeMethodDescriptionstatic PathDimensionType.getSaveDirectory(RegistryKey<World> worldRef, Path worldDirectory) -
Uses of RegistryKey in net.minecraft.world.gen
Methods in net.minecraft.world.gen that return RegistryKeyModifier and TypeMethodDescriptionstatic RegistryKey<DimensionOptions>GeneratorOptions.toDimensionOptionsKey(RegistryKey<World> worldKey) static RegistryKey<World>GeneratorOptions.toWorldKey(RegistryKey<DimensionOptions> dimensionOptionsKey) Methods in net.minecraft.world.gen that return types with arguments of type RegistryKeyMethods in net.minecraft.world.gen with parameters of type RegistryKeyModifier and TypeMethodDescriptionstatic NoiseChunkGeneratorGeneratorOptions.createGenerator(DynamicRegistryManager registryManager, long seed, RegistryKey<ChunkGeneratorSettings> settings) static NoiseChunkGeneratorGeneratorOptions.createGenerator(DynamicRegistryManager registryManager, long seed, RegistryKey<ChunkGeneratorSettings> settings, boolean bool) StructureAccessor.method_41034(BlockPos blockPos, RegistryKey<ConfiguredStructureFeature<?, ?>> registryKey) static RegistryKey<DimensionOptions>GeneratorOptions.toDimensionOptionsKey(RegistryKey<World> worldKey) static RegistryKey<World>GeneratorOptions.toWorldKey(RegistryKey<DimensionOptions> dimensionOptionsKey) -
Uses of RegistryKey in net.minecraft.world.gen.chunk
Fields in net.minecraft.world.gen.chunk declared as RegistryKeyModifier and TypeFieldDescriptionstatic final RegistryKey<ChunkGeneratorSettings>ChunkGeneratorSettings.AMPLIFIEDstatic final RegistryKey<ChunkGeneratorSettings>ChunkGeneratorSettings.CAVESstatic final RegistryKey<ChunkGeneratorSettings>ChunkGeneratorSettings.ENDstatic final RegistryKey<ChunkGeneratorSettings>ChunkGeneratorSettings.FLOATING_ISLANDSstatic final RegistryKey<ChunkGeneratorSettings>ChunkGeneratorSettings.LARGE_BIOMESstatic final RegistryKey<ChunkGeneratorSettings>ChunkGeneratorSettings.NETHERstatic final RegistryKey<ChunkGeneratorSettings>ChunkGeneratorSettings.OVERWORLDMethods in net.minecraft.world.gen.chunk that return types with arguments of type RegistryKeyModifier and TypeMethodDescriptionOptional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>>ChunkGenerator.getCodecKey()Methods in net.minecraft.world.gen.chunk with parameters of type RegistryKeyModifier and TypeMethodDescriptionbooleanNoiseChunkGenerator.matchesSettings(long seed, RegistryKey<ChunkGeneratorSettings> settingsKey) booleanChunkGenerator.method_41053(RegistryKey<StructureSet> registryKey, long long2, int int2, int int3, int int4) private static voidChunkGeneratorSettings.register(RegistryKey<ChunkGeneratorSettings> registryKey, ChunkGeneratorSettings settings) -
Uses of RegistryKey in net.minecraft.world.gen.densityfunction
Fields in net.minecraft.world.gen.densityfunction declared as RegistryKeyModifier and TypeFieldDescriptionprivate static final RegistryKey<DensityFunction>DensityFunctions.BASE_3D_NOISE_OVERWORLDprivate static final RegistryKey<DensityFunction>DensityFunctions.CAVES_ENTRANCES_OVERWORLDprivate static final RegistryKey<DensityFunction>DensityFunctions.CAVES_NOODLE_OVERWORLDprivate static final RegistryKey<DensityFunction>DensityFunctions.CAVES_PILLARS_OVERWORLDprivate static final RegistryKey<DensityFunction>DensityFunctions.CAVES_SPAGHETTI_2D_OVERWORLDprivate static final RegistryKey<DensityFunction>DensityFunctions.CAVES_SPAGHETTI_2D_THICKNESS_MODULATOR_OVERWORLDprivate static final RegistryKey<DensityFunction>DensityFunctions.CAVES_SPAGHETTI_ROUGHNESS_FUNCTION_OVERWORLDprivate static final RegistryKey<DensityFunction>DensityFunctions.CONTINENTS_OVERWORLDprivate static final RegistryKey<DensityFunction>DensityFunctions.CONTINENTS_OVERWORLD_LARGE_BIOMEprivate static final RegistryKey<DensityFunction>DensityFunctions.DEPTH_OVERWORLDprivate static final RegistryKey<DensityFunction>DensityFunctions.DEPTH_OVERWORLD_LARGE_BIOMEprivate static final RegistryKey<DensityFunction>DensityFunctions.EROSION_OVERWORLDprivate static final RegistryKey<DensityFunction>DensityFunctions.EROSION_OVERWORLD_LARGE_BIOMEprivate static final RegistryKey<DensityFunction>DensityFunctions.FACTOR_OVERWORLDprivate static final RegistryKey<DensityFunction>DensityFunctions.FACTOR_OVERWORLD_LARGE_BIOMEprivate static final RegistryKey<DensityFunction>DensityFunctions.RIDGES_OVERWORLDprivate static final RegistryKey<DensityFunction>DensityFunctions.SHIFT_Xprivate static final RegistryKey<DensityFunction>DensityFunctions.SHIFT_Zprivate static final RegistryKey<DensityFunction>DensityFunctions.SLOPED_CHEESE_ENDprivate static final RegistryKey<DensityFunction>DensityFunctions.SLOPED_CHEESE_OVERWORLDprivate static final RegistryKey<DensityFunction>DensityFunctions.SLOPED_CHEESE_OVERWORLD_LARGE_BIOMEprivate static final RegistryKey<DensityFunction>DensityFunctions.Yprivate static final RegistryKey<DensityFunction>DensityFunctions.ZEROMethods in net.minecraft.world.gen.densityfunction that return RegistryKeyMethods in net.minecraft.world.gen.densityfunction with parameters of type RegistryKeyModifier and TypeMethodDescriptionprivate static RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters>DensityFunctions.method_41111(RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> registryKey) private static DensityFunctionDensityFunctions.method_41112(RegistryKey<DensityFunction> registryKey, DensityFunction densityFunction) private static DensityFunctionDensityFunctions.method_41116(RegistryKey<DensityFunction> registryKey) -
Uses of RegistryKey in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature declared as RegistryKeyModifier and TypeFieldDescriptionstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.BASTION_REMNANTstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.BURIED_TREASUREstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.DESERT_PYRAMIDstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.END_CITYstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.FORTRESSstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.IGLOOstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.JUNGLE_PYRAMIDstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.MANSIONstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.MINESHAFTstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.MINESHAFT_MESAstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.MONUMENTstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.NETHER_FOSSILstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.OCEAN_RUIN_COLDstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.OCEAN_RUIN_WARMstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.PILLAGER_OUTPOSTstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.RUINED_PORTALstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.RUINED_PORTAL_DESERTstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.RUINED_PORTAL_JUNGLEstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.RUINED_PORTAL_MOUNTAINstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.RUINED_PORTAL_NETHERstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.RUINED_PORTAL_OCEANstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.RUINED_PORTAL_SWAMPstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.SHIPWRECKstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.SHIPWRECK_BEACHEDstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.STRONGHOLDstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.SWAMP_HUTstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.VILLAGE_DESERTstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.VILLAGE_PLAINSstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.VILLAGE_SAVANNAstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.VILLAGE_SNOWYstatic final RegistryKey<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatureKeys.VILLAGE_TAIGAMethods in net.minecraft.world.gen.feature that return RegistryKeyMethods in net.minecraft.world.gen.feature with parameters of type RegistryKeyModifier and TypeMethodDescriptionprivate static <FC extends FeatureConfig,F extends StructureFeature<FC>>
RegistryEntry<ConfiguredStructureFeature<?,?>> ConfiguredStructureFeatures.register(RegistryKey<ConfiguredStructureFeature<?, ?>> key, ConfiguredStructureFeature<FC, F> configuredStructureFeature) -
Uses of RegistryKey in net.minecraft.world.gen.noise
Fields in net.minecraft.world.gen.noise declared as RegistryKeyModifier and TypeFieldDescriptionstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.AQUIFER_BARRIERstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.AQUIFER_FLUID_LEVEL_FLOODEDNESSstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.AQUIFER_FLUID_LEVEL_SPREADstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.AQUIFER_LAVAstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.BADLANDS_PILLARstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.BADLANDS_PILLAR_ROOFstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.BADLANDS_SURFACEstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.CALCITEstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.CAVE_CHEESEstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.CAVE_ENTRANCEstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.CAVE_LAYERstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.CLAY_BANDS_OFFSETstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.CONTINENTALNESSstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.CONTINENTALNESS_LARGEstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.EROSIONstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.EROSION_LARGEstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.GRAVELstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.GRAVEL_LAYERstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.ICEstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.ICEBERG_PILLARstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.ICEBERG_PILLAR_ROOFstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.ICEBERG_SURFACEstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.JAGGEDstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.NETHER_STATE_SELECTORstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.NETHER_WARTstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.NETHERRACKstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.NOODLEstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.NOODLE_RIDGE_Astatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.NOODLE_RIDGE_Bstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.NOODLE_THICKNESSstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.OFFSETstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.ORE_GAPstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.ORE_VEIN_Astatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.ORE_VEIN_Bstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.ORE_VEININESSstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.PACKED_ICEstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.PATCHstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.PILLARstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.PILLAR_RARENESSstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.PILLAR_THICKNESSstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.POWDER_SNOWstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.RIDGEstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.SOUL_SAND_LAYERstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.SPAGHETTI_2Dstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.SPAGHETTI_2D_ELEVATIONstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.SPAGHETTI_2D_MODULATORstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.SPAGHETTI_2D_THICKNESSstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.SPAGHETTI_3D_1static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.SPAGHETTI_3D_2static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.SPAGHETTI_3D_RARITYstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.SPAGHETTI_3D_THICKNESSstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.SPAGHETTI_ROUGHNESSstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.SPAGHETTI_ROUGHNESS_MODULATORstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.SURFACEstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.SURFACE_SECONDARYstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.SURFACE_SWAMPstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.TEMPERATUREstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.TEMPERATURE_LARGEstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.VEGETATIONstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>NoiseParametersKeys.VEGETATION_LARGEMethods in net.minecraft.world.gen.noise that return RegistryKeyModifier and TypeMethodDescriptionprivate static RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>Methods in net.minecraft.world.gen.noise with parameters of type RegistryKeyModifier and TypeMethodDescriptionstatic DoublePerlinNoiseSamplerNoiseParametersKeys.createNoiseSampler(Registry<DoublePerlinNoiseSampler.NoiseParameters> noiseRegistry, RandomDeriver randomDeriver, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> noise) private static voidBuiltinNoiseParameters.register(int firstOctaveOffset, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> temperature, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> vegetation, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> continentalness, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> erosion) private static voidBuiltinNoiseParameters.register(RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> noise, int firstOctave, double firstAmplitude, double[] amplitudes) -
Uses of RegistryKey in net.minecraft.world.gen.surfacebuilder
Fields in net.minecraft.world.gen.surfacebuilder declared as RegistryKeyModifier and TypeFieldDescriptionprivate final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>MaterialRules.NoiseThresholdMaterialCondition.noiseThe field for thenoiserecord component.Fields in net.minecraft.world.gen.surfacebuilder with type parameters of type RegistryKeyModifier and TypeFieldDescriptionprivate final List<RegistryKey<Biome>>MaterialRules.BiomeMaterialCondition.field_36414(package private) final Predicate<RegistryKey<Biome>>MaterialRules.BiomeMaterialCondition.field_36415SurfaceBuilder.noiseSamplersMethods in net.minecraft.world.gen.surfacebuilder that return RegistryKeyModifier and TypeMethodDescriptionMaterialRules.NoiseThresholdMaterialCondition.noise()Returns the value of thenoiserecord component.Methods in net.minecraft.world.gen.surfacebuilder with parameters of type RegistryKeyModifier and TypeMethodDescriptionMaterialRules.biome(RegistryKey<Biome>[] biomes) protected DoublePerlinNoiseSamplerSurfaceBuilder.getNoiseSampler(RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> noise) MaterialRules.noiseThreshold(RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> noise, double min) MaterialRules.noiseThreshold(RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> noise, double min, double max) Method parameters in net.minecraft.world.gen.surfacebuilder with type arguments of type RegistryKeyModifier and TypeMethodDescriptionprivate static MaterialRules.BiomeMaterialConditionMaterialRules.biome(List<RegistryKey<Biome>> biomes) Constructors in net.minecraft.world.gen.surfacebuilder with parameters of type RegistryKeyModifierConstructorDescription(package private)NoiseThresholdMaterialCondition(RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> registryKey, double double2, double double3) Constructor parameters in net.minecraft.world.gen.surfacebuilder with type arguments of type RegistryKeyModifierConstructorDescription(package private)BiomeMaterialCondition(List<RegistryKey<Biome>> list) -
Uses of RegistryKey in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage with parameters of type RegistryKey -
Uses of RegistryKey in net.minecraft.world.storage
Methods in net.minecraft.world.storage with parameters of type RegistryKeyModifier and TypeMethodDescriptionstatic voidVersionedChunkStorage.saveContextToNbt(NbtCompound nbt, RegistryKey<World> worldKey, Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> generatorCodecKey) VersionedChunkStorage.updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt, Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> generatorCodecKey) Method parameters in net.minecraft.world.storage with type arguments of type RegistryKeyModifier and TypeMethodDescriptionstatic voidVersionedChunkStorage.saveContextToNbt(NbtCompound nbt, RegistryKey<World> worldKey, Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> generatorCodecKey) VersionedChunkStorage.updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt, Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> generatorCodecKey) -
Uses of RegistryKey in net.minecraft.world.updater
Fields in net.minecraft.world.updater with type parameters of type RegistryKeyModifier and TypeFieldDescriptionprivate final Object2FloatMap<RegistryKey<World>>WorldUpdater.dimensionProgressMethods in net.minecraft.world.updater that return types with arguments of type RegistryKeyMethods in net.minecraft.world.updater with parameters of type RegistryKeyModifier and TypeMethodDescriptionWorldUpdater.getChunkPositions(RegistryKey<World> world) floatWorldUpdater.getProgress(RegistryKey<World> world)