Uses of Class
net.minecraft.util.registry.RegistryKey
Package
Description
-
Uses of RegistryKey in net.minecraft.advancement.criterion
Modifier and TypeFieldDescriptionprivate final @Nullable RegistryKey<World>
ChangedDimensionCriterion.Conditions.from
private final @Nullable RegistryKey<World>
ChangedDimensionCriterion.Conditions.to
Modifier and TypeMethodDescriptionChangedDimensionCriterion.Conditions.create
(RegistryKey<World> from, RegistryKey<World> to) ChangedDimensionCriterion.Conditions.from
(RegistryKey<World> from) boolean
ChangedDimensionCriterion.Conditions.matches
(RegistryKey<World> from, RegistryKey<World> to) ChangedDimensionCriterion.Conditions.to
(RegistryKey<World> to) void
ChangedDimensionCriterion.trigger
(ServerPlayerEntity player, RegistryKey<World> from, RegistryKey<World> to) ModifierConstructorDescriptionConditions
(EntityPredicate.Extended player, @Nullable RegistryKey<World> from, @Nullable RegistryKey<World> to) -
Uses of RegistryKey in net.minecraft.block.entity
Modifier and TypeFieldDescriptionstatic final RegistryKey<BannerPattern>
BannerPatterns.BASE
static final RegistryKey<BannerPattern>
BannerPatterns.BORDER
static final RegistryKey<BannerPattern>
BannerPatterns.BRICKS
static final RegistryKey<BannerPattern>
BannerPatterns.CIRCLE
static final RegistryKey<BannerPattern>
BannerPatterns.CREEPER
static final RegistryKey<BannerPattern>
BannerPatterns.CROSS
static final RegistryKey<BannerPattern>
BannerPatterns.CURLY_BORDER
static final RegistryKey<BannerPattern>
BannerPatterns.DIAGONAL_LEFT
static final RegistryKey<BannerPattern>
BannerPatterns.DIAGONAL_RIGHT
static final RegistryKey<BannerPattern>
BannerPatterns.DIAGONAL_UP_LEFT
static final RegistryKey<BannerPattern>
BannerPatterns.DIAGONAL_UP_RIGHT
static final RegistryKey<BannerPattern>
BannerPatterns.FLOWER
static final RegistryKey<BannerPattern>
BannerPatterns.GLOBE
static final RegistryKey<BannerPattern>
BannerPatterns.GRADIENT
static final RegistryKey<BannerPattern>
BannerPatterns.GRADIENT_UP
static final RegistryKey<BannerPattern>
BannerPatterns.HALF_HORIZONTAL
static final RegistryKey<BannerPattern>
BannerPatterns.HALF_HORIZONTAL_BOTTOM
static final RegistryKey<BannerPattern>
BannerPatterns.HALF_VERTICAL
static final RegistryKey<BannerPattern>
BannerPatterns.HALF_VERTICAL_RIGHT
static final RegistryKey<BannerPattern>
BannerPatterns.MOJANG
static final RegistryKey<BannerPattern>
BannerPatterns.PIGLIN
private RegistryKey<StructurePool>
JigsawBlockEntity.pool
static final RegistryKey<BannerPattern>
BannerPatterns.RHOMBUS
static final RegistryKey<BannerPattern>
BannerPatterns.SKULL
static final RegistryKey<BannerPattern>
BannerPatterns.SMALL_STRIPES
static final RegistryKey<BannerPattern>
BannerPatterns.SQUARE_BOTTOM_LEFT
static final RegistryKey<BannerPattern>
BannerPatterns.SQUARE_BOTTOM_RIGHT
static final RegistryKey<BannerPattern>
BannerPatterns.SQUARE_TOP_LEFT
static final RegistryKey<BannerPattern>
BannerPatterns.SQUARE_TOP_RIGHT
static final RegistryKey<BannerPattern>
BannerPatterns.STRAIGHT_CROSS
static final RegistryKey<BannerPattern>
BannerPatterns.STRIPE_BOTTOM
static final RegistryKey<BannerPattern>
BannerPatterns.STRIPE_CENTER
static final RegistryKey<BannerPattern>
BannerPatterns.STRIPE_DOWNLEFT
static final RegistryKey<BannerPattern>
BannerPatterns.STRIPE_DOWNRIGHT
static final RegistryKey<BannerPattern>
BannerPatterns.STRIPE_LEFT
static final RegistryKey<BannerPattern>
BannerPatterns.STRIPE_MIDDLE
static final RegistryKey<BannerPattern>
BannerPatterns.STRIPE_RIGHT
static final RegistryKey<BannerPattern>
BannerPatterns.STRIPE_TOP
static final RegistryKey<BannerPattern>
BannerPatterns.TRIANGLE_BOTTOM
static final RegistryKey<BannerPattern>
BannerPatterns.TRIANGLE_TOP
static final RegistryKey<BannerPattern>
BannerPatterns.TRIANGLES_BOTTOM
static final RegistryKey<BannerPattern>
BannerPatterns.TRIANGLES_TOP
Modifier and TypeMethodDescriptionJigsawBlockEntity.getPool()
private static RegistryKey<BannerPattern>
Modifier and TypeMethodDescriptionBannerPattern.Patterns.add
(RegistryKey<BannerPattern> pattern, DyeColor color) static Identifier
BannerPattern.getSpriteId
(RegistryKey<BannerPattern> pattern, boolean banner) void
JigsawBlockEntity.setPool
(RegistryKey<StructurePool> pool) -
Uses of RegistryKey in net.minecraft.client.gui.screen
-
Uses of RegistryKey in net.minecraft.client.gui.screen.world
Modifier and TypeFieldDescriptionprivate static final Object2IntMap<RegistryKey<World>>
OptimizeWorldScreen.DIMENSION_COLORS
static final Map<Optional<RegistryKey<WorldPreset>>,
LevelScreenProvider> LevelScreenProvider.WORLD_PRESET_TO_SCREEN_PROVIDER
Modifier and TypeMethodDescriptionprivate static Optional<RegistryEntry<WorldPreset>>
MoreOptionsDialog.createPresetEntry
(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> presetKey) ModifierConstructorDescriptionMoreOptionsDialog
(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> presetKey, OptionalLong seed) -
Uses of RegistryKey in net.minecraft.client.network
Modifier and TypeFieldDescriptionprivate Set<RegistryKey<World>>
ClientPlayNetworkHandler.worldKeys
Modifier and TypeMethodDescriptionClientCommandSource.getWorldKeys()
ClientPlayNetworkHandler.getWorldKeys()
Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ClientCommandSource.listIdSuggestions
(RegistryKey<? extends Registry<?>> registryRef, CommandSource.SuggestedIdType suggestedIdType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.context.CommandContext<?> context) private <T> void
ClientPlayNetworkHandler.loadTags
(RegistryKey<? extends Registry<? extends T>> registryKey, TagPacketSerializer.Serialized serialized) -
Uses of RegistryKey in net.minecraft.client.render
Modifier and TypeFieldDescriptionstatic final Map<RegistryKey<BannerPattern>,
SpriteIdentifier> TexturedRenderLayers.BANNER_PATTERN_TEXTURES
static final Map<RegistryKey<BannerPattern>,
SpriteIdentifier> TexturedRenderLayers.SHIELD_PATTERN_TEXTURES
Modifier and TypeMethodDescriptionprivate static SpriteIdentifier
TexturedRenderLayers.createBannerPatternTextureId
(RegistryKey<BannerPattern> bannerPattern) private static SpriteIdentifier
TexturedRenderLayers.createShieldPatternTextureId
(RegistryKey<BannerPattern> bannerPattern) static SpriteIdentifier
TexturedRenderLayers.getBannerPatternTextureId
(RegistryKey<BannerPattern> bannerPattern) static SpriteIdentifier
TexturedRenderLayers.getShieldPatternTextureId
(RegistryKey<BannerPattern> bannerPattern) -
Uses of RegistryKey in net.minecraft.client.world
ModifierConstructorDescriptionClientWorld
(ClientPlayNetworkHandler networkHandler, ClientWorld.Properties properties, RegistryKey<World> registryRef, RegistryEntry<DimensionType> dimensionTypeEntry, int loadDistance, int simulationDistance, Supplier<Profiler> profiler, WorldRenderer worldRenderer, boolean debugWorld, long seed) -
Uses of RegistryKey in net.minecraft.command
Modifier and TypeMethodDescriptionCommandSource.getWorldKeys()
CommandRegistryWrapper.Impl.streamKeys()
Returns a stream of registry keys defined in the wrapped registry.CommandRegistryWrapper.streamKeys()
Returns a stream of registry keys defined in the wrapped registry.Modifier and TypeMethodDescription<T> CommandRegistryWrapper<T>
CommandRegistryAccess.createWrapper
(RegistryKey<? extends Registry<T>> registryRef) Creates a registry wrapper that follows the entry list creation policy.CommandRegistryWrapper.getEntry
(RegistryKey<T> key) CommandRegistryWrapper.Impl.getEntry
(RegistryKey<T> key) 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 RegistryKey in net.minecraft.command.argument
Modifier and TypeFieldDescriptionprivate final RegistryKey<T>
RegistryPredicateArgumentType.RegistryKeyBased.key
The field for thekey
record component.(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> 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 thekey
record component.RegistryKeyArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) Modifier 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()
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) private static <T> RegistryEntry<T>
RegistryKeyArgumentType.getRegistryEntry
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef, com.mojang.brigadier.exceptions.DynamicCommandExceptionType invalidException) 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) ModifierConstructorDescription(package private)
Properties
(RegistryKey<? extends Registry<T>> registryRef) (package private)
Properties
(RegistryKey<? extends Registry<T>> registryRef) RegistryKeyArgumentType
(RegistryKey<? extends Registry<T>> registryRef) (package private)
RegistryKeyBased
(RegistryKey<T> registryKey) RegistryPredicateArgumentType
(RegistryKey<? extends Registry<T>> registryRef) -
Uses of RegistryKey in net.minecraft.data.server
Modifier and TypeFieldDescriptionprivate static final List<RegistryKey<Biome>>
NetherTabAdvancementGenerator.NETHER_BIOMES
Modifier and TypeMethodDescriptionprotected static Advancement.Builder
AdventureTabAdvancementGenerator.requireListedBiomesVisited
(Advancement.Builder builder, List<RegistryKey<Biome>> biomes) -
Uses of RegistryKey in net.minecraft.entity.decoration.painting
Modifier and TypeFieldDescriptionstatic final RegistryKey<PaintingVariant>
PaintingVariants.ALBAN
static final RegistryKey<PaintingVariant>
PaintingVariants.AZTEC
static final RegistryKey<PaintingVariant>
PaintingVariants.AZTEC2
static final RegistryKey<PaintingVariant>
PaintingVariants.BOMB
static final RegistryKey<PaintingVariant>
PaintingVariants.BURNING_SKULL
static final RegistryKey<PaintingVariant>
PaintingVariants.BUST
static final RegistryKey<PaintingVariant>
PaintingVariants.COURBET
static final RegistryKey<PaintingVariant>
PaintingVariants.CREEBET
private static final RegistryKey<PaintingVariant>
PaintingEntity.DEFAULT_VARIANT
static final RegistryKey<PaintingVariant>
PaintingVariants.DONKEY_KONG
static final RegistryKey<PaintingVariant>
PaintingVariants.EARTH
static final RegistryKey<PaintingVariant>
PaintingVariants.FIGHTERS
static final RegistryKey<PaintingVariant>
PaintingVariants.FIRE
static final RegistryKey<PaintingVariant>
PaintingVariants.GRAHAM
static final RegistryKey<PaintingVariant>
PaintingVariants.KEBAB
static final RegistryKey<PaintingVariant>
PaintingVariants.MATCH
static final RegistryKey<PaintingVariant>
PaintingVariants.PIGSCENE
static final RegistryKey<PaintingVariant>
PaintingVariants.PLANT
static final RegistryKey<PaintingVariant>
PaintingVariants.POINTER
static final RegistryKey<PaintingVariant>
PaintingVariants.POOL
static final RegistryKey<PaintingVariant>
PaintingVariants.SEA
static final RegistryKey<PaintingVariant>
PaintingVariants.SKELETON
static final RegistryKey<PaintingVariant>
PaintingVariants.SKULL_AND_ROSES
static final RegistryKey<PaintingVariant>
PaintingVariants.STAGE
static final RegistryKey<PaintingVariant>
PaintingVariants.SUNSET
static final RegistryKey<PaintingVariant>
PaintingVariants.VOID
static final RegistryKey<PaintingVariant>
PaintingVariants.WANDERER
static final RegistryKey<PaintingVariant>
PaintingVariants.WASTELAND
static final RegistryKey<PaintingVariant>
PaintingVariants.WATER
static final RegistryKey<PaintingVariant>
PaintingVariants.WIND
static final RegistryKey<PaintingVariant>
PaintingVariants.WITHER
-
Uses of RegistryKey in net.minecraft.item
Modifier and TypeFieldDescriptionstatic final RegistryKey<Instrument>
Instruments.ADMIRE_GOAT_HORN
static final RegistryKey<Instrument>
Instruments.CALL_GOAT_HORN
static final RegistryKey<Instrument>
Instruments.DREAM_GOAT_HORN
static final RegistryKey<Instrument>
Instruments.FEEL_GOAT_HORN
static final RegistryKey<Instrument>
Instruments.PONDER_GOAT_HORN
static final RegistryKey<Instrument>
Instruments.SEEK_GOAT_HORN
static final RegistryKey<Instrument>
Instruments.SING_GOAT_HORN
static final RegistryKey<Instrument>
Instruments.YEARN_GOAT_HORN
Modifier and TypeMethodDescriptionprivate static Optional<RegistryKey<World>>
CompassItem.getLodestoneDimension
(NbtCompound nbt) Modifier and TypeMethodDescriptionprivate static int
FilledMapItem.allocateMapId
(World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) private static void
FilledMapItem.createMapState
(ItemStack stack, World world, int x, int z, int scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) private void
CompassItem.writeNbt
(RegistryKey<World> worldKey, BlockPos pos, NbtCompound nbt) -
Uses of RegistryKey in net.minecraft.item.map
Modifier and TypeMethodDescriptionstatic MapState
MapState.of
(byte scale, boolean showIcons, RegistryKey<World> dimension) Creates a new map state instance for the client.static MapState
MapState.of
(double centerX, double centerZ, byte scale, boolean showIcons, boolean unlimitedTracking, RegistryKey<World> dimension) Creates a new map state instance.ModifierConstructorDescriptionprivate
MapState
(int centerX, int centerZ, byte scale, boolean showIcons, boolean unlimitedTracking, boolean locked, RegistryKey<World> dimension) -
Uses of RegistryKey in net.minecraft.loot.function
Modifier and TypeMethodDescriptionSetBannerPatternFunction.Builder.pattern
(RegistryKey<BannerPattern> pattern, DyeColor color) -
Uses of RegistryKey in net.minecraft.network
Modifier and TypeMethodDescription<T> RegistryKey<T>
PacketByteBuf.readRegistryKey
(RegistryKey<? extends Registry<T>> registryRef) Reads a 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.void
PacketByteBuf.writeRegistryKey
(RegistryKey<?> key) Writes a registry key to this buf. -
Uses of RegistryKey in net.minecraft.network.message
Modifier and TypeFieldDescriptionstatic final RegistryKey<MessageType>
MessageType.CHAT
The registry key for the message type used bychat messages
.static final RegistryKey<MessageType>
MessageType.EMOTE_COMMAND
The registry key for the emote command message type, used by /me.static final RegistryKey<MessageType>
MessageType.GAME_INFO
The registry key for the game info message type.static final RegistryKey<MessageType>
MessageType.MSG_COMMAND
The registry key for the message command message type, used by /msg.static final RegistryKey<MessageType>
MessageType.SAY_COMMAND
The registry key for the say command message type, used by /say.static final RegistryKey<MessageType>
MessageType.SYSTEM
The registry key for the system message message type.static final RegistryKey<MessageType>
MessageType.TEAM_MSG_COMMAND
The registry key for the team message command message type, used by /teammsg.static final RegistryKey<MessageType>
MessageType.TELLRAW_COMMAND
The registry key for the tellraw command message type, used by /tellraw. -
Uses of RegistryKey in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final RegistryKey<World>
PlayerRespawnS2CPacket.dimension
private final RegistryKey<World>
GameJoinS2CPacket.dimensionId
The field for thedimensionId
record component.private final RegistryKey<DimensionType>
GameJoinS2CPacket.dimensionType
The field for thedimensionType
record component.private final RegistryKey<DimensionType>
PlayerRespawnS2CPacket.dimensionType
Modifier and TypeFieldDescriptionprivate final Set<RegistryKey<World>>
GameJoinS2CPacket.dimensionIds
The field for thedimensionIds
record component.private final Map<RegistryKey<? extends Registry<?>>,
TagPacketSerializer.Serialized> SynchronizeTagsS2CPacket.groups
Modifier and TypeMethodDescriptionGameJoinS2CPacket.dimensionId()
Returns the value of thedimensionId
record component.GameJoinS2CPacket.dimensionType()
Returns the value of thedimensionType
record component.PlayerRespawnS2CPacket.getDimension()
PlayerRespawnS2CPacket.getDimensionType()
Modifier and TypeMethodDescriptionGameJoinS2CPacket.dimensionIds()
Returns the value of thedimensionIds
record component.Map<RegistryKey<? extends Registry<?>>,
TagPacketSerializer.Serialized> SynchronizeTagsS2CPacket.getGroups()
ModifierConstructorDescriptionGameJoinS2CPacket
(int playerEntityId, boolean bool, GameMode previousGameMode, @Nullable GameMode gameMode, Set<RegistryKey<World>> set, DynamicRegistryManager.Immutable immutable, RegistryKey<DimensionType> registryKey, RegistryKey<World> registryKey2, long long2, int maxPlayers, int chunkLoadDistance, int int2, boolean bool2, boolean bool3, boolean bool4, boolean bool5, Optional<GlobalPos> optional) PlayerRespawnS2CPacket
(RegistryKey<DimensionType> dimensionType, RegistryKey<World> dimension, long sha256Seed, GameMode gameMode, @Nullable GameMode previousGameMode, boolean debugWorld, boolean flatWorld, boolean keepPlayerAttributes, Optional<GlobalPos> lastDeathPos) ModifierConstructorDescriptionGameJoinS2CPacket
(int playerEntityId, boolean bool, GameMode previousGameMode, @Nullable GameMode gameMode, Set<RegistryKey<World>> set, DynamicRegistryManager.Immutable immutable, RegistryKey<DimensionType> registryKey, RegistryKey<World> registryKey2, long long2, int maxPlayers, int chunkLoadDistance, int int2, boolean bool2, boolean bool3, boolean bool4, boolean bool5, Optional<GlobalPos> optional) SynchronizeTagsS2CPacket
(Map<RegistryKey<? extends Registry<?>>, TagPacketSerializer.Serialized> groups) -
Uses of RegistryKey in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionprivate final @Nullable RegistryKey<Biome>
LocationPredicate.biome
private @Nullable RegistryKey<Biome>
LocationPredicate.Builder.biome
private @Nullable RegistryKey<World>
LocationPredicate.Builder.dimension
private final @Nullable RegistryKey<World>
LocationPredicate.dimension
private @Nullable RegistryKey<Structure>
LocationPredicate.Builder.feature
private final @Nullable RegistryKey<Structure>
LocationPredicate.feature
Modifier and TypeMethodDescriptionstatic LocationPredicate
LocationPredicate.biome
(RegistryKey<Biome> biome) LocationPredicate.Builder.biome
(@Nullable RegistryKey<Biome> biome) LocationPredicate.Builder.dimension
(@Nullable RegistryKey<World> dimension) static LocationPredicate
LocationPredicate.dimension
(RegistryKey<World> dimension) LocationPredicate.Builder.feature
(@Nullable RegistryKey<Structure> feature) static LocationPredicate
LocationPredicate.feature
(RegistryKey<Structure> feature) ModifierConstructorDescriptionLocationPredicate
(NumberRange.FloatRange x, NumberRange.FloatRange y, NumberRange.FloatRange z, @Nullable RegistryKey<Biome> biome, @Nullable RegistryKey<Structure> feature, @Nullable RegistryKey<World> dimension, @Nullable Boolean smokey, LightPredicate light, BlockPredicate block, FluidPredicate fluid) -
Uses of RegistryKey in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final Map<RegistryKey<World>,
ServerWorld> MinecraftServer.worlds
Modifier and TypeMethodDescriptionvoid
PlayerManager.broadcast
(SignedMessage message, Function<ServerPlayerEntity, SignedMessage> playerMessageFactory, MessageSender sender, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console.void
PlayerManager.broadcast
(SignedMessage message, MessageSender sender, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console.void
PlayerManager.broadcast
(FilteredMessage<SignedMessage> message, ServerCommandSource source, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console.void
PlayerManager.broadcast
(FilteredMessage<SignedMessage> message, ServerPlayerEntity sender, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console.void
PlayerManager.broadcast
(Text message, Function<ServerPlayerEntity, Text> playerMessageFactory, RegistryKey<MessageType> typeKey) Broadcasts a message to all players and the server console.void
PlayerManager.broadcast
(Text message, RegistryKey<MessageType> typeKey) Broadcasts a message to all players and the server console.MinecraftServer.getWorld
(RegistryKey<World> key) void
PlayerManager.sendToAround
(@Nullable PlayerEntity player, double x, double y, double z, double distance, RegistryKey<World> worldKey, Packet<?> packet) void
PlayerManager.sendToDimension
(Packet<?> packet, RegistryKey<World> dimension) -
Uses of RegistryKey in net.minecraft.server.chase
Modifier and TypeFieldDescriptionprivate final RegistryKey<World>
ChaseClient.TeleportPos.dimension
The field for thedimension
record component.Modifier and TypeMethodDescriptionChaseClient.TeleportPos.dimension()
Returns the value of thedimension
record component.ModifierConstructorDescription(package private)
TeleportPos
(RegistryKey<World> dimension, Vec3d pos, Vec2f rot) Creates an instance of aTeleportPos
record class. -
Uses of RegistryKey in net.minecraft.server.command
Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
ServerCommandSource.listIdSuggestions
(RegistryKey<? extends Registry<?>> registryRef, CommandSource.SuggestedIdType suggestedIdType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.context.CommandContext<?> context) -
Uses of RegistryKey in net.minecraft.server.dedicated
Modifier and TypeFieldDescriptionprivate static final Map<String,
RegistryKey<WorldPreset>> ServerPropertiesHandler.WorldGenProperties.LEVEL_TYPE_TO_PRESET_KEY
-
Uses of RegistryKey in net.minecraft.server.network
Modifier and TypeFieldDescriptionprivate RegistryKey<World>
ServerPlayerEntity.spawnPointDimension
Modifier and TypeMethodDescriptionprivate boolean
ServerPlayerEntity.acceptsMessage
(RegistryKey<MessageType> typeKey) private int
ServerPlayerEntity.getMessageTypeId
(RegistryKey<MessageType> typeKey) void
ServerPlayerEntity.sendChatMessage
(SignedMessage message, MessageSender sender, RegistryKey<MessageType> typeKey) Sends a chat message to the player.void
ServerPlayerEntity.sendMessage
(Text message, RegistryKey<MessageType> typeKey) Sends a message to the player.private void
ServerPlayerEntity.sendMessageDeliverError
(Text message, RegistryKey<MessageType> typeKey) void
ServerPlayerEntity.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
ModifierConstructorDescriptionServerWorld
(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionOptions dimensionOptions, WorldGenerationProgressListener worldGenerationProgressListener, boolean debugWorld, long seed, List<Spawner> spawners, boolean shouldTickTime) -
Uses of RegistryKey in net.minecraft.structure
Modifier and TypeFieldDescriptionstatic final RegistryKey<StructureSet>
StructureSetKeys.ANCIENT_CITIES
static final RegistryKey<StructureSet>
StructureSetKeys.BURIED_TREASURES
static final RegistryKey<StructureSet>
StructureSetKeys.DESERT_PYRAMIDS
static final RegistryKey<StructureSet>
StructureSetKeys.END_CITIES
static final RegistryKey<StructureSet>
StructureSetKeys.IGLOOS
static final RegistryKey<StructureSet>
StructureSetKeys.JUNGLE_TEMPLES
static final RegistryKey<StructureSet>
StructureSetKeys.MINESHAFTS
static final RegistryKey<StructureSet>
StructureSetKeys.NETHER_COMPLEXES
static final RegistryKey<StructureSet>
StructureSetKeys.NETHER_FOSSILS
static final RegistryKey<StructureSet>
StructureSetKeys.OCEAN_MONUMENTS
static final RegistryKey<StructureSet>
StructureSetKeys.OCEAN_RUINS
static final RegistryKey<StructureSet>
StructureSetKeys.PILLAGER_OUTPOSTS
static final RegistryKey<StructureSet>
StructureSetKeys.RUINED_PORTALS
static final RegistryKey<StructureSet>
StructureSetKeys.SHIPWRECKS
static final RegistryKey<StructureSet>
StructureSetKeys.STRONGHOLDS
static final RegistryKey<StructureSet>
StructureSetKeys.SWAMP_HUTS
static final RegistryKey<StructureSet>
StructureSetKeys.VILLAGES
static final RegistryKey<StructureSet>
StructureSetKeys.WOODLAND_MANSIONS
Modifier and TypeMethodDescriptionstatic RegistryEntry<StructureSet>
StructureSets.register
(RegistryKey<StructureSet> key, StructureSet structureSet) static RegistryEntry<StructureSet>
StructureSets.register
(RegistryKey<StructureSet> key, RegistryEntry<Structure> structure, StructurePlacement placement) -
Uses of RegistryKey in net.minecraft.structure.pool
-
Uses of RegistryKey in net.minecraft.tag
Modifier and TypeFieldDescriptionprivate 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 TypeFieldDescriptionprivate static final Map<RegistryKey<? extends Registry<?>>,
String> TagManagerLoader.DIRECTORIES
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.Modifier and TypeMethodDescriptionstatic Map<RegistryKey<? extends Registry<?>>,
TagPacketSerializer.Serialized> TagPacketSerializer.serializeTags
(DynamicRegistryManager dynamicRegistryManager) 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 RegistryKey in net.minecraft.util.dynamic
Modifier and TypeFieldDescriptionprivate final RegistryKey<? extends Registry<E>>
RegistryElementCodec.registryRef
Modifier and TypeFieldDescriptionprivate final Map<RegistryKey<? extends Registry<?>>,
RegistryLoader.ValueHolder<?>> RegistryLoader.valueHolders
private final Map<RegistryKey<?>,
EntryLoader.Impl.Element> EntryLoader.Impl.values
(package private) final Map<RegistryKey<E>,
com.mojang.serialization.DataResult<RegistryEntry<E>>> RegistryLoader.ValueHolder.values
Modifier and TypeMethodDescription<E> Map<RegistryKey<E>,
EntryLoader.Parseable<E>> EntryLoader.getKnownEntryPaths
(RegistryKey<? extends Registry<E>> key) <E> Map<RegistryKey<E>,
EntryLoader.Parseable<E>> EntryLoader.Impl.getKnownEntryPaths
(RegistryKey<? extends Registry<E>> key) Modifier and TypeMethodDescription<E> void
EntryLoader.Impl.add
(DynamicRegistryManager registryManager, RegistryKey<E> key, com.mojang.serialization.Encoder<E> encoder, int rawId, E entry, com.mojang.serialization.Lifecycle lifecycle) <E> Optional<EntryLoader.Parseable<E>>
EntryLoader.createParseable
(RegistryKey<E> key) <E> Optional<EntryLoader.Parseable<E>>
EntryLoader.Impl.createParseable
(RegistryKey<E> key) static <E> com.mojang.serialization.MapCodec<Registry<E>>
RegistryOps.createRegistryCodec
(RegistryKey<? extends Registry<? extends E>> registryRef) <E> Map<RegistryKey<E>,
EntryLoader.Parseable<E>> EntryLoader.getKnownEntryPaths
(RegistryKey<? extends Registry<E>> key) <E> Map<RegistryKey<E>,
EntryLoader.Parseable<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> 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) 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, Optional<EntryLoader.Parseable<E>> parseable, 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) static <E> RegistryElementCodec<E>
RegistryElementCodec.of
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions) ModifierConstructorDescriptionprivate
RegistryElementCodec
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions) -
Uses of RegistryKey in net.minecraft.util.math
Modifier and TypeMethodDescriptionstatic GlobalPos
GlobalPos.create
(RegistryKey<World> dimension, BlockPos pos) -
Uses of RegistryKey in net.minecraft.util.profiling.jfr
Modifier 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
ModifierConstructorDescriptionChunkGenerationEvent
(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) -
Uses of RegistryKey in net.minecraft.util.registry
Modifier and TypeFieldDescriptionstatic final RegistryKey<Registry<Activity>>
Registry.ACTIVITY_KEY
static final RegistryKey<Registry<EntityAttribute>>
Registry.ATTRIBUTE_KEY
static final RegistryKey<Registry<BannerPattern>>
Registry.BANNER_PATTERN_KEY
static final RegistryKey<Registry<Biome>>
Registry.BIOME_KEY
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>
Registry.BIOME_SOURCE_KEY
static final RegistryKey<Registry<BlockEntityType<?>>>
Registry.BLOCK_ENTITY_TYPE_KEY
static final RegistryKey<Registry<Block>>
Registry.BLOCK_KEY
static final RegistryKey<Registry<BlockPredicateType<?>>>
Registry.BLOCK_PREDICATE_TYPE_KEY
static final RegistryKey<Registry<BlockStateProviderType<?>>>
Registry.BLOCK_STATE_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<Carver<?>>>
Registry.CARVER_KEY
static final RegistryKey<Registry<CatVariant>>
Registry.CAT_VARIANT_KEY
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
Registry.CHUNK_GENERATOR_KEY
static final RegistryKey<Registry<ChunkGeneratorSettings>>
Registry.CHUNK_GENERATOR_SETTINGS_KEY
static final RegistryKey<Registry<ChunkStatus>>
Registry.CHUNK_STATUS_KEY
static final RegistryKey<Registry<ArgumentSerializer<?,
?>>> Registry.COMMAND_ARGUMENT_TYPE_KEY
static final RegistryKey<Registry<ConfiguredCarver<?>>>
Registry.CONFIGURED_CARVER_KEY
static final RegistryKey<Registry<ConfiguredFeature<?,
?>>> Registry.CONFIGURED_FEATURE_KEY
static final RegistryKey<Registry<Identifier>>
Registry.CUSTOM_STAT_KEY
static final RegistryKey<Registry<DensityFunction>>
Registry.DENSITY_FUNCTION_KEY
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>>
Registry.DENSITY_FUNCTION_TYPE_KEY
static final RegistryKey<Registry<DimensionOptions>>
Registry.DIMENSION_KEY
A registry key representing theDimensionOptions
type.static final RegistryKey<Registry<DimensionType>>
Registry.DIMENSION_TYPE_KEY
static final RegistryKey<Registry<Enchantment>>
Registry.ENCHANTMENT_KEY
static final RegistryKey<Registry<EntityType<?>>>
Registry.ENTITY_TYPE_KEY
static final RegistryKey<Registry<Feature<?>>>
Registry.FEATURE_KEY
static final RegistryKey<Registry<FeatureSizeType<?>>>
Registry.FEATURE_SIZE_TYPE_KEY
static final RegistryKey<Registry<FlatLevelGeneratorPreset>>
Registry.FLAT_LEVEL_GENERATOR_PRESET_KEY
static final RegistryKey<Registry<FloatProviderType<?>>>
Registry.FLOAT_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<Fluid>>
Registry.FLUID_KEY
static final RegistryKey<Registry<FoliagePlacerType<?>>>
Registry.FOLIAGE_PLACER_TYPE_KEY
static final RegistryKey<Registry<FrogVariant>>
Registry.FROG_VARIANT_KEY
static final RegistryKey<Registry<GameEvent>>
Registry.GAME_EVENT_KEY
static final RegistryKey<Registry<HeightProviderType<?>>>
Registry.HEIGHT_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<Instrument>>
Registry.INSTRUMENT_KEY
static final RegistryKey<Registry<IntProviderType<?>>>
Registry.INT_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<Item>>
Registry.ITEM_KEY
private final RegistryKey<? extends Registry<T>>
DynamicRegistryManager.Entry.key
The field for thekey
record component.private final RegistryKey<T>
RegistryCodecs.RegistryManagerEntry.key
The field for thekey
record component.static final RegistryKey<Registry<LootConditionType>>
Registry.LOOT_CONDITION_TYPE_KEY
static final RegistryKey<Registry<LootFunctionType>>
Registry.LOOT_FUNCTION_TYPE_KEY
static final RegistryKey<Registry<LootNbtProviderType>>
Registry.LOOT_NBT_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<LootNumberProviderType>>
Registry.LOOT_NUMBER_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<LootPoolEntryType>>
Registry.LOOT_POOL_ENTRY_TYPE_KEY
static final RegistryKey<Registry<LootScoreProviderType>>
Registry.LOOT_SCORE_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialCondition>>>
Registry.MATERIAL_CONDITION_KEY
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends MaterialRules.MaterialRule>>>
Registry.MATERIAL_RULE_KEY
static final RegistryKey<Registry<MemoryModuleType<?>>>
Registry.MEMORY_MODULE_TYPE_KEY
static final RegistryKey<Registry<ScreenHandlerType<?>>>
Registry.MENU_KEY
static final RegistryKey<Registry<MessageType>>
Registry.MESSAGE_TYPE_KEY
static final RegistryKey<Registry<StatusEffect>>
Registry.MOB_EFFECT_KEY
static final RegistryKey<Registry<DoublePerlinNoiseSampler.NoiseParameters>>
Registry.NOISE_KEY
static final RegistryKey<Registry<PaintingVariant>>
Registry.PAINTING_VARIANT_KEY
static final RegistryKey<Registry<ParticleType<?>>>
Registry.PARTICLE_TYPE_KEY
static final RegistryKey<Registry<PlacedFeature>>
Registry.PLACED_FEATURE_KEY
static final RegistryKey<Registry<PlacementModifierType<?>>>
Registry.PLACEMENT_MODIFIER_TYPE_KEY
static final RegistryKey<Registry<PointOfInterestType>>
Registry.POINT_OF_INTEREST_TYPE_KEY
static final RegistryKey<Registry<PosRuleTestType<?>>>
Registry.POS_RULE_TEST_KEY
static final RegistryKey<Registry<PositionSourceType<?>>>
Registry.POSITION_SOURCE_TYPE_KEY
static final RegistryKey<Registry<Potion>>
Registry.POTION_KEY
static final RegistryKey<Registry<RecipeSerializer<?>>>
Registry.RECIPE_SERIALIZER_KEY
static final RegistryKey<Registry<RecipeType<?>>>
Registry.RECIPE_TYPE_KEY
private final RegistryKey<? extends Registry<E>>
DynamicRegistryManager.Info.registry
The field for theregistry
record component.private final RegistryKey<? extends Registry<E>>
RegistryEntryListCodec.registry
private final RegistryKey<? extends Registry<E>>
RegistryFixedCodec.registry
private final RegistryKey<? extends Registry<T>>
Registry.registryKey
The key representing the type of elements held by this registry.private @Nullable RegistryKey<T>
RegistryEntry.Reference.registryKey
static final RegistryKey<Registry<RootPlacerType<?>>>
Registry.ROOT_PLACER_TYPE_KEY
static final RegistryKey<Registry<RuleTestType<?>>>
Registry.RULE_TEST_KEY
static final RegistryKey<Registry<Schedule>>
Registry.SCHEDULE_KEY
static final RegistryKey<Registry<SensorType<?>>>
Registry.SENSOR_TYPE_KEY
static final RegistryKey<Registry<SoundEvent>>
Registry.SOUND_EVENT_KEY
static final RegistryKey<Registry<StatType<?>>>
Registry.STAT_TYPE_KEY
static final RegistryKey<Registry<Structure>>
Registry.STRUCTURE_KEY
static final RegistryKey<Registry<StructurePieceType>>
Registry.STRUCTURE_PIECE_KEY
static final RegistryKey<Registry<StructurePlacementType<?>>>
Registry.STRUCTURE_PLACEMENT_KEY
static final RegistryKey<Registry<StructurePoolElementType<?>>>
Registry.STRUCTURE_POOL_ELEMENT_KEY
static final RegistryKey<Registry<StructurePool>>
Registry.STRUCTURE_POOL_KEY
static final RegistryKey<Registry<StructureProcessorType<?>>>
Registry.STRUCTURE_PROCESSOR_KEY
static final RegistryKey<Registry<StructureProcessorList>>
Registry.STRUCTURE_PROCESSOR_LIST_KEY
static final RegistryKey<Registry<StructureSet>>
Registry.STRUCTURE_SET_KEY
static final RegistryKey<Registry<StructureType<?>>>
Registry.STRUCTURE_TYPE_KEY
static final RegistryKey<Registry<TreeDecoratorType<?>>>
Registry.TREE_DECORATOR_TYPE_KEY
static final RegistryKey<Registry<TrunkPlacerType<?>>>
Registry.TRUNK_PLACER_TYPE_KEY
static final RegistryKey<Registry<VillagerProfession>>
Registry.VILLAGER_PROFESSION_KEY
static final RegistryKey<Registry<VillagerType>>
Registry.VILLAGER_TYPE_KEY
static final RegistryKey<Registry<World>>
Registry.WORLD_KEY
A registry key representing theWorld
type.static final RegistryKey<Registry<WorldPreset>>
Registry.WORLD_PRESET_KEY
Modifier and TypeFieldDescriptionstatic final Map<RegistryKey<? extends Registry<?>>,
DynamicRegistryManager.Info<?>> DynamicRegistryManager.INFOS
private static final Map<String,
RegistryKey<?>> RegistryKey.INSTANCES
A cache of all registry keys ever created.private final Map<RegistryKey<T>,
RegistryEntry.Reference<T>> SimpleRegistry.keyToEntry
private final Map<? extends RegistryKey<? extends Registry<?>>,
? extends MutableRegistry<?>> DynamicRegistryManager.MutableImpl.mutableRegistries
private final Map<? extends RegistryKey<? extends Registry<?>>,
? extends Registry<?>> DynamicRegistryManager.ImmutableImpl.registries
Modifier and TypeMethodDescriptionprivate static <K extends RegistryKey<? extends Registry<?>>,
V extends Registry<?>>
com.mojang.serialization.Codec<DynamicRegistryManager>DynamicRegistryManager.createCodec
(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> originalCodec) Modifier 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 thekey
record component.RegistryCodecs.RegistryManagerEntry.key()
Returns the value of thekey
record 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 theregistry
record component.RegistryEntry.Reference.registryKey()
Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<RegistryKey<T>>
RegistryKey.createCodec
(RegistryKey<? extends Registry<T>> 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()
abstract Set<RegistryKey<T>>
Registry.getKeys()
Set<RegistryKey<T>>
SimpleRegistry.getKeys()
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) Modifier 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, BuiltinRegistries.Initializer<T> initializer) private static <T> Registry<T>
BuiltinRegistries.addRegistry
(RegistryKey<? extends Registry<T>> registryRef, BuiltinRegistries.Initializer<T> initializer) private static <T,
R extends MutableRegistry<T>>
RBuiltinRegistries.addRegistry
(RegistryKey<? extends Registry<T>> registryRef, R registry, BuiltinRegistries.Initializer<T> initializer, com.mojang.serialization.Lifecycle lifecycle) private void
SimpleRegistry.assertNotFrozen
(RegistryKey<T> key) abstract boolean
Registry.contains
(RegistryKey<T> key) boolean
SimpleRegistry.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 <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 T
Registry.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) abstract com.mojang.serialization.DataResult<RegistryEntry<T>>
Registry.getOrCreateEntryDataResult
(RegistryKey<T> key) com.mojang.serialization.DataResult<RegistryEntry<T>>
SimpleRegistry.getOrCreateEntryDataResult
(RegistryKey<T> key) Registry.getOrEmpty
(@Nullable RegistryKey<T> key) Registry.getOrThrow
(RegistryKey<T> key) Gets an entry from the registry.boolean
RegistryKey.isOf
(RegistryKey<? extends Registry<?>> registry) Returns whether this registry key belongs to the given registry (according to its type, not whether the registry actually contains this key).private static <T> com.mojang.serialization.MapCodec<RegistryCodecs.RegistryManagerEntry<T>>
RegistryCodecs.managerEntry
(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.MapCodec<T> elementCodec) boolean
RegistryEntry.Direct.matchesKey
(RegistryKey<T> key) boolean
RegistryEntry.matchesKey
(RegistryKey<T> key) boolean
RegistryEntry.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> void
DynamicRegistryManager.register
(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec) private static <E> void
DynamicRegistryManager.register
(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec, com.mojang.serialization.Codec<E> networkEntryCodec) 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) void
RegistryEntry.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) Modifier 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) boolean
RegistryEntry.Direct.matches
(Predicate<RegistryKey<T>> predicate) boolean
RegistryEntry.matches
(Predicate<RegistryKey<T>> predicate) boolean
RegistryEntry.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> void
DynamicRegistryManager.register
(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec) private static <E> void
DynamicRegistryManager.register
(ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager.Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec, com.mojang.serialization.Codec<E> networkEntryCodec) ModifierConstructorDescriptionDefaultedRegistry
(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 aInfo
record class.MutableRegistry
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) private
Reference
(RegistryEntry.Reference.Type referenceType, Registry<T> registry, @Nullable RegistryKey<T> registryKey, T value) protected
Registry
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) private
RegistryEntryListCodec
(RegistryKey<? extends Registry<E>> registry, com.mojang.serialization.Codec<RegistryEntry<E>> entryCodec, boolean alwaysSerializeAsList) private
RegistryFixedCodec
(RegistryKey<? extends Registry<E>> registry) (package private)
RegistryManagerEntry
(RegistryKey<T> key, int rawId, T value) Creates an instance of aRegistryManagerEntry
record class.SimpleRegistry
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, @Nullable Function<T, RegistryEntry.Reference<T>> valueToEntryFunction) ModifierConstructorDescriptionImmutableImpl
(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
Modifier and TypeFieldDescriptionprivate static final Map<RegistryKey<Biome>,
VillagerType> VillagerType.BIOME_TO_TYPE
Modifier and TypeMethodDescriptionprivate static VillagerProfession
VillagerProfession.register
(String id, RegistryKey<PointOfInterestType> heldWorkstation, @Nullable SoundEvent workSound) private static VillagerProfession
VillagerProfession.register
(String id, RegistryKey<PointOfInterestType> heldWorkstation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) -
Uses of RegistryKey in net.minecraft.world
Modifier and TypeFieldDescriptionprivate final RegistryKey<DimensionType>
World.dimension
static final RegistryKey<World>
World.END
static final RegistryKey<World>
World.NETHER
static final RegistryKey<World>
World.OVERWORLD
private final RegistryKey<World>
World.registryKey
private final RegistryKey<World>
StructureLocator.worldKey
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryKey<World>>
World.CODEC
Modifier and TypeMethodDescriptionstatic FeatureUpdater
FeatureUpdater.create
(RegistryKey<World> world, @Nullable PersistentStateManager persistentStateManager) ModifierConstructorDescriptionStructureLocator
(NbtScannable chunkIoWorker, DynamicRegistryManager registryManager, StructureTemplateManager structureTemplateManager, RegistryKey<World> worldKey, ChunkGenerator chunkGenerator, NoiseConfig noiseConfig, HeightLimitView world, BiomeSource biomeSource, long seed, com.mojang.datafixers.DataFixer dataFixer) protected
World
(MutableWorldProperties properties, RegistryKey<World> registryRef, RegistryEntry<DimensionType> dimension, Supplier<Profiler> profiler, boolean isClient, boolean debugWorld, long seed, int maxChainedNeighborUpdates) -
Uses of RegistryKey in net.minecraft.world.biome
Modifier and TypeFieldDescriptionstatic final RegistryKey<Biome>
BiomeKeys.BADLANDS
static final RegistryKey<Biome>
BiomeKeys.BAMBOO_JUNGLE
static final RegistryKey<Biome>
BiomeKeys.BASALT_DELTAS
static final RegistryKey<Biome>
BiomeKeys.BEACH
static final RegistryKey<Biome>
BiomeKeys.BIRCH_FOREST
static final RegistryKey<Biome>
BiomeKeys.COLD_OCEAN
static final RegistryKey<Biome>
BiomeKeys.CRIMSON_FOREST
static final RegistryKey<Biome>
BiomeKeys.DARK_FOREST
static final RegistryKey<Biome>
BiomeKeys.DEEP_COLD_OCEAN
static final RegistryKey<Biome>
BiomeKeys.DEEP_DARK
static final RegistryKey<Biome>
BiomeKeys.DEEP_FROZEN_OCEAN
static final RegistryKey<Biome>
BiomeKeys.DEEP_LUKEWARM_OCEAN
static final RegistryKey<Biome>
BiomeKeys.DEEP_OCEAN
static final RegistryKey<Biome>
BiomeKeys.DESERT
static final RegistryKey<Biome>
BiomeKeys.DRIPSTONE_CAVES
static final RegistryKey<Biome>
BiomeKeys.END_BARRENS
static final RegistryKey<Biome>
BiomeKeys.END_HIGHLANDS
static final RegistryKey<Biome>
BiomeKeys.END_MIDLANDS
static final RegistryKey<Biome>
BiomeKeys.ERODED_BADLANDS
static final RegistryKey<Biome>
BiomeKeys.FLOWER_FOREST
static final RegistryKey<Biome>
BiomeKeys.FOREST
static final RegistryKey<Biome>
BiomeKeys.FROZEN_OCEAN
static final RegistryKey<Biome>
BiomeKeys.FROZEN_PEAKS
static final RegistryKey<Biome>
BiomeKeys.FROZEN_RIVER
static final RegistryKey<Biome>
BiomeKeys.GROVE
static final RegistryKey<Biome>
BiomeKeys.ICE_SPIKES
static final RegistryKey<Biome>
BiomeKeys.JAGGED_PEAKS
static final RegistryKey<Biome>
BiomeKeys.JUNGLE
static final RegistryKey<Biome>
BiomeKeys.LUKEWARM_OCEAN
static final RegistryKey<Biome>
BiomeKeys.LUSH_CAVES
static final RegistryKey<Biome>
BiomeKeys.MANGROVE_SWAMP
static final RegistryKey<Biome>
BiomeKeys.MEADOW
static final RegistryKey<Biome>
BiomeKeys.MUSHROOM_FIELDS
static final RegistryKey<Biome>
BiomeKeys.NETHER_WASTES
static final RegistryKey<Biome>
BiomeKeys.OCEAN
static final RegistryKey<Biome>
BiomeKeys.OLD_GROWTH_BIRCH_FOREST
static final RegistryKey<Biome>
BiomeKeys.OLD_GROWTH_PINE_TAIGA
static final RegistryKey<Biome>
BiomeKeys.OLD_GROWTH_SPRUCE_TAIGA
static final RegistryKey<Biome>
BiomeKeys.PLAINS
static final RegistryKey<Biome>
BiomeKeys.RIVER
static final RegistryKey<Biome>
BiomeKeys.SAVANNA
static final RegistryKey<Biome>
BiomeKeys.SAVANNA_PLATEAU
static final RegistryKey<Biome>
BiomeKeys.SMALL_END_ISLANDS
static final RegistryKey<Biome>
BiomeKeys.SNOWY_BEACH
static final RegistryKey<Biome>
BiomeKeys.SNOWY_PLAINS
static final RegistryKey<Biome>
BiomeKeys.SNOWY_SLOPES
static final RegistryKey<Biome>
BiomeKeys.SNOWY_TAIGA
static final RegistryKey<Biome>
BiomeKeys.SOUL_SAND_VALLEY
static final RegistryKey<Biome>
BiomeKeys.SPARSE_JUNGLE
static final RegistryKey<Biome>
BiomeKeys.STONY_PEAKS
static final RegistryKey<Biome>
BiomeKeys.STONY_SHORE
static final RegistryKey<Biome>
BiomeKeys.SUNFLOWER_PLAINS
static final RegistryKey<Biome>
BiomeKeys.SWAMP
static final RegistryKey<Biome>
BiomeKeys.TAIGA
static final RegistryKey<Biome>
BiomeKeys.THE_END
static final RegistryKey<Biome>
BiomeKeys.THE_VOID
static final RegistryKey<Biome>
BiomeKeys.WARM_OCEAN
static final RegistryKey<Biome>
BiomeKeys.WARPED_FOREST
static final RegistryKey<Biome>
BiomeKeys.WINDSWEPT_FOREST
static final RegistryKey<Biome>
BiomeKeys.WINDSWEPT_GRAVELLY_HILLS
static final RegistryKey<Biome>
BiomeKeys.WINDSWEPT_HILLS
static final RegistryKey<Biome>
BiomeKeys.WINDSWEPT_SAVANNA
static final RegistryKey<Biome>
BiomeKeys.WOODED_BADLANDS
-
Uses of RegistryKey in net.minecraft.world.biome.source
-
Uses of RegistryKey in net.minecraft.world.biome.source.util
Modifier and TypeFieldDescriptionprivate final RegistryKey<Biome>[][]
VanillaBiomeParameters.commonBiomes
private final RegistryKey<Biome>[][]
VanillaBiomeParameters.nearMountainBiomes
private final RegistryKey<Biome>[][]
VanillaBiomeParameters.oceanBiomes
private final RegistryKey<Biome>[][]
VanillaBiomeParameters.specialNearMountainBiomes
private final RegistryKey<Biome>[][]
VanillaBiomeParameters.uncommonBiomes
private final RegistryKey<Biome>[][]
VanillaBiomeParameters.windsweptBiomes
Modifier 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) Modifier and TypeMethodDescriptionprivate RegistryKey<Biome>
VanillaBiomeParameters.getBiomeOrWindsweptSavanna
(int temperature, int humidity, MultiNoiseUtil.ParameterRange weirdness, RegistryKey<Biome> biomeKey) private void
VanillaBiomeParameters.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 void
VanillaBiomeParameters.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 void
VanillaBiomeParameters.writeDeepDarkParameters
(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) Modifier and TypeMethodDescriptionprivate void
VanillaBiomeParameters.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 void
VanillaBiomeParameters.writeBiomesNearRivers
(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters, MultiNoiseUtil.ParameterRange weirdness) private void
VanillaBiomeParameters.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 void
VanillaBiomeParameters.writeCaveBiomes
(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters) private void
VanillaBiomeParameters.writeDeepDarkParameters
(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 void
VanillaBiomeParameters.writeLandBiomes
(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters) private void
VanillaBiomeParameters.writeMixedBiomes
(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters, MultiNoiseUtil.ParameterRange weirdness) private void
VanillaBiomeParameters.writeMountainousBiomes
(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters, MultiNoiseUtil.ParameterRange weirdness) private void
VanillaBiomeParameters.writeOceanBiomes
(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters) private void
VanillaBiomeParameters.writePlainBiomes
(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters, MultiNoiseUtil.ParameterRange weirdness) private void
VanillaBiomeParameters.writeRiverBiomes
(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters, MultiNoiseUtil.ParameterRange weirdness) protected void
VanillaBiomeParameters.writeVanillaBiomeParameters
(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> consumer) -
Uses of RegistryKey in net.minecraft.world.chunk
Modifier and TypeFieldDescriptionprivate static final Set<RegistryKey<Biome>>
BelowZeroRetrogen.CAVE_BIOMES
-
Uses of RegistryKey in net.minecraft.world.dimension
Modifier and TypeFieldDescriptionstatic final RegistryKey<DimensionOptions>
DimensionOptions.END
static final RegistryKey<DimensionOptions>
DimensionOptions.NETHER
static final RegistryKey<DimensionOptions>
DimensionOptions.OVERWORLD
static final RegistryKey<DimensionType>
DimensionTypes.OVERWORLD
static final RegistryKey<DimensionType>
DimensionTypes.OVERWORLD_CAVES
static final RegistryKey<DimensionType>
DimensionTypes.THE_END
static final RegistryKey<DimensionType>
DimensionTypes.THE_NETHER
Modifier and TypeFieldDescriptionprivate static final Set<RegistryKey<DimensionOptions>>
DimensionOptions.BASE_DIMENSIONS
Modifier and TypeMethodDescriptionstatic Stream<RegistryKey<DimensionOptions>>
DimensionOptions.streamRegistry
(Stream<RegistryKey<DimensionOptions>> stream) static com.mojang.serialization.DataResult<RegistryKey<World>>
DimensionType.worldFromDimensionNbt
(com.mojang.serialization.Dynamic<?> nbt) Deprecated.Modifier and TypeMethodDescriptionstatic Path
DimensionType.getSaveDirectory
(RegistryKey<World> worldRef, Path worldDirectory) Modifier and TypeMethodDescriptionstatic Stream<RegistryKey<DimensionOptions>>
DimensionOptions.streamRegistry
(Stream<RegistryKey<DimensionOptions>> stream) -
Uses of RegistryKey in net.minecraft.world.gen
Modifier and TypeFieldDescriptionstatic final RegistryKey<WorldPreset>
WorldPresets.AMPLIFIED
static final RegistryKey<FlatLevelGeneratorPreset>
FlatLevelGeneratorPresets.BOTTOMLESS_PIT
static final RegistryKey<FlatLevelGeneratorPreset>
FlatLevelGeneratorPresets.CLASSIC_FLAT
static final RegistryKey<WorldPreset>
WorldPresets.DEBUG_ALL_BLOCK_STATES
static final RegistryKey<WorldPreset>
WorldPresets.DEFAULT
static final RegistryKey<FlatLevelGeneratorPreset>
FlatLevelGeneratorPresets.DESERT
static final RegistryKey<WorldPreset>
WorldPresets.FLAT
static final RegistryKey<WorldPreset>
WorldPresets.LARGE_BIOMES
static final RegistryKey<FlatLevelGeneratorPreset>
FlatLevelGeneratorPresets.OVERWORLD
static final RegistryKey<FlatLevelGeneratorPreset>
FlatLevelGeneratorPresets.REDSTONE_READY
static final RegistryKey<WorldPreset>
WorldPresets.SINGLE_BIOME_SURFACE
static final RegistryKey<FlatLevelGeneratorPreset>
FlatLevelGeneratorPresets.SNOWY_KINGDOM
static final RegistryKey<FlatLevelGeneratorPreset>
FlatLevelGeneratorPresets.THE_VOID
static final RegistryKey<FlatLevelGeneratorPreset>
FlatLevelGeneratorPresets.TUNNELERS_DREAM
static final RegistryKey<FlatLevelGeneratorPreset>
FlatLevelGeneratorPresets.WATER_WORLD
Modifier and TypeFieldDescriptionprivate final Map<RegistryKey<DimensionOptions>,
DimensionOptions> WorldPreset.dimensions
Modifier and TypeMethodDescriptionprivate static RegistryKey<FlatLevelGeneratorPreset>
private static RegistryKey<WorldPreset>
static RegistryKey<DimensionOptions>
GeneratorOptions.toDimensionOptionsKey
(RegistryKey<World> worldKey) static RegistryKey<World>
GeneratorOptions.toWorldKey
(RegistryKey<DimensionOptions> dimensionOptionsKey) Modifier and TypeMethodDescriptionstatic Optional<RegistryKey<WorldPreset>>
WorldPresets.getWorldPreset
(GeneratorOptions generatorOptions) GeneratorOptions.getWorlds()
Modifier and TypeMethodDescriptionprivate RegistryEntry<FlatLevelGeneratorPreset>
FlatLevelGeneratorPresets.Registrar.createAndRegister
(RegistryKey<FlatLevelGeneratorPreset> registryKey, ItemConvertible icon, RegistryKey<Biome> biome, Set<RegistryKey<StructureSet>> structureSets, boolean hasFeatures, boolean hasLakes, FlatChunkGeneratorLayer[] layers) StructureAccessor.getStructureContaining
(BlockPos pos, RegistryKey<Structure> structure) private RegistryEntry<WorldPreset>
WorldPresets.Registrar.register
(RegistryKey<WorldPreset> key, DimensionOptions dimensionOptions) static RegistryKey<DimensionOptions>
GeneratorOptions.toDimensionOptionsKey
(RegistryKey<World> worldKey) static RegistryKey<World>
GeneratorOptions.toWorldKey
(RegistryKey<DimensionOptions> dimensionOptionsKey) Modifier and TypeMethodDescriptionprivate RegistryEntry<FlatLevelGeneratorPreset>
FlatLevelGeneratorPresets.Registrar.createAndRegister
(RegistryKey<FlatLevelGeneratorPreset> registryKey, ItemConvertible icon, RegistryKey<Biome> biome, Set<RegistryKey<StructureSet>> structureSets, boolean hasFeatures, boolean hasLakes, FlatChunkGeneratorLayer[] layers) ModifierConstructorDescriptionWorldPreset
(Map<RegistryKey<DimensionOptions>, DimensionOptions> dimensions) -
Uses of RegistryKey in net.minecraft.world.gen.chunk
Modifier and TypeFieldDescriptionstatic final RegistryKey<ChunkGeneratorSettings>
ChunkGeneratorSettings.AMPLIFIED
static final RegistryKey<ChunkGeneratorSettings>
ChunkGeneratorSettings.CAVES
static final RegistryKey<ChunkGeneratorSettings>
ChunkGeneratorSettings.END
static final RegistryKey<ChunkGeneratorSettings>
ChunkGeneratorSettings.FLOATING_ISLANDS
static final RegistryKey<ChunkGeneratorSettings>
ChunkGeneratorSettings.LARGE_BIOMES
static final RegistryKey<ChunkGeneratorSettings>
ChunkGeneratorSettings.NETHER
static final RegistryKey<ChunkGeneratorSettings>
ChunkGeneratorSettings.OVERWORLD
Modifier and TypeMethodDescriptionOptional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
ChunkGenerator.getCodecKey()
Modifier and TypeMethodDescriptionboolean
NoiseChunkGenerator.matchesSettings
(RegistryKey<ChunkGeneratorSettings> settings) private static RegistryEntry<ChunkGeneratorSettings>
ChunkGeneratorSettings.register
(Registry<ChunkGeneratorSettings> registry, RegistryKey<ChunkGeneratorSettings> key, ChunkGeneratorSettings chunkGeneratorSettings) -
Uses of RegistryKey in net.minecraft.world.gen.densityfunction
Modifier and TypeFieldDescriptionprivate static final RegistryKey<DensityFunction>
DensityFunctions.BASE_3D_NOISE_END
private static final RegistryKey<DensityFunction>
DensityFunctions.BASE_3D_NOISE_NETHER
private static final RegistryKey<DensityFunction>
DensityFunctions.BASE_3D_NOISE_OVERWORLD
private static final RegistryKey<DensityFunction>
DensityFunctions.CAVES_ENTRANCES_OVERWORLD
private static final RegistryKey<DensityFunction>
DensityFunctions.CAVES_NOODLE_OVERWORLD
private static final RegistryKey<DensityFunction>
DensityFunctions.CAVES_PILLARS_OVERWORLD
private static final RegistryKey<DensityFunction>
DensityFunctions.CAVES_SPAGHETTI_2D_OVERWORLD
private static final RegistryKey<DensityFunction>
DensityFunctions.CAVES_SPAGHETTI_2D_THICKNESS_MODULATOR_OVERWORLD
private static final RegistryKey<DensityFunction>
DensityFunctions.CAVES_SPAGHETTI_ROUGHNESS_FUNCTION_OVERWORLD
static final RegistryKey<DensityFunction>
DensityFunctions.CONTINENTS_OVERWORLD
static final RegistryKey<DensityFunction>
DensityFunctions.CONTINENTS_OVERWORLD_LARGE_BIOME
static final RegistryKey<DensityFunction>
DensityFunctions.DEPTH_OVERWORLD
private static final RegistryKey<DensityFunction>
DensityFunctions.DEPTH_OVERWORLD_AMPLIFIED
private static final RegistryKey<DensityFunction>
DensityFunctions.DEPTH_OVERWORLD_LARGE_BIOME
static final RegistryKey<DensityFunction>
DensityFunctions.EROSION_OVERWORLD
static final RegistryKey<DensityFunction>
DensityFunctions.EROSION_OVERWORLD_LARGE_BIOME
static final RegistryKey<DensityFunction>
DensityFunctions.FACTOR_OVERWORLD
private static final RegistryKey<DensityFunction>
DensityFunctions.FACTOR_OVERWORLD_AMPLIFIED
private static final RegistryKey<DensityFunction>
DensityFunctions.FACTOR_OVERWORLD_LARGE_BIOME
static final RegistryKey<DensityFunction>
DensityFunctions.JAGGEDNESS_OVERWORLD
private static final RegistryKey<DensityFunction>
DensityFunctions.JAGGEDNESS_OVERWORLD_AMPLIFIED
private static final RegistryKey<DensityFunction>
DensityFunctions.JAGGEDNESS_OVERWORLD_LARGE_BIOME
static final RegistryKey<DensityFunction>
DensityFunctions.OFFSET_OVERWORLD
private static final RegistryKey<DensityFunction>
DensityFunctions.OFFSET_OVERWORLD_AMPLIFIED
private static final RegistryKey<DensityFunction>
DensityFunctions.OFFSET_OVERWORLD_LARGE_BIOME
static final RegistryKey<DensityFunction>
DensityFunctions.RIDGES_FOLDED_OVERWORLD
static final RegistryKey<DensityFunction>
DensityFunctions.RIDGES_OVERWORLD
private static final RegistryKey<DensityFunction>
DensityFunctions.SHIFT_X
private static final RegistryKey<DensityFunction>
DensityFunctions.SHIFT_Z
private static final RegistryKey<DensityFunction>
DensityFunctions.SLOPED_CHEESE_END
private static final RegistryKey<DensityFunction>
DensityFunctions.SLOPED_CHEESE_OVERWORLD
private static final RegistryKey<DensityFunction>
DensityFunctions.SLOPED_CHEESE_OVERWORLD_AMPLIFIED
private static final RegistryKey<DensityFunction>
DensityFunctions.SLOPED_CHEESE_OVERWORLD_LARGE_BIOME
private static final RegistryKey<DensityFunction>
DensityFunctions.Y
private static final RegistryKey<DensityFunction>
DensityFunctions.ZERO
Modifier and TypeMethodDescriptionprivate static RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters>
DensityFunctions.getNoiseParametersEntry
(RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> key) private static DensityFunction
DensityFunctions.method_41116
(Registry<DensityFunction> registry, RegistryKey<DensityFunction> registryKey) private static void
DensityFunctions.method_41548
(Registry<DensityFunction> registry, DensityFunction densityFunction, RegistryEntry<DensityFunction> registryEntry, RegistryEntry<DensityFunction> registryEntry2, RegistryKey<DensityFunction> registryKey, RegistryKey<DensityFunction> registryKey2, RegistryKey<DensityFunction> registryKey3, RegistryKey<DensityFunction> registryKey4, RegistryKey<DensityFunction> registryKey5, boolean bool) private static DensityFunction
DensityFunctions.method_41551
(Registry<DensityFunction> registry, RegistryKey<DensityFunction> registryKey, DensityFunction densityFunction) private static RegistryEntry<DensityFunction>
DensityFunctions.register
(Registry<DensityFunction> registry, RegistryKey<DensityFunction> key, DensityFunction densityFunction) -
Uses of RegistryKey in net.minecraft.world.gen.noise
Modifier and TypeFieldDescriptionstatic final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.AQUIFER_BARRIER
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.AQUIFER_FLUID_LEVEL_FLOODEDNESS
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.AQUIFER_FLUID_LEVEL_SPREAD
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.AQUIFER_LAVA
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.BADLANDS_PILLAR
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.BADLANDS_PILLAR_ROOF
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.BADLANDS_SURFACE
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.CALCITE
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.CAVE_CHEESE
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.CAVE_ENTRANCE
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.CAVE_LAYER
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.CLAY_BANDS_OFFSET
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.CONTINENTALNESS
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.CONTINENTALNESS_LARGE
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.EROSION
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.EROSION_LARGE
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.GRAVEL
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.GRAVEL_LAYER
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.ICE
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.ICEBERG_PILLAR
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.ICEBERG_PILLAR_ROOF
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.ICEBERG_SURFACE
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.JAGGED
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.NETHER_STATE_SELECTOR
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.NETHER_WART
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.NETHERRACK
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.NOODLE
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.NOODLE_RIDGE_A
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.NOODLE_RIDGE_B
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.NOODLE_THICKNESS
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.OFFSET
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.ORE_GAP
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.ORE_VEIN_A
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.ORE_VEIN_B
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.ORE_VEININESS
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.PACKED_ICE
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.PATCH
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.PILLAR
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.PILLAR_RARENESS
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.PILLAR_THICKNESS
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.POWDER_SNOW
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.RIDGE
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.SOUL_SAND_LAYER
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.SPAGHETTI_2D
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.SPAGHETTI_2D_ELEVATION
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.SPAGHETTI_2D_MODULATOR
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.SPAGHETTI_2D_THICKNESS
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.SPAGHETTI_3D_1
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.SPAGHETTI_3D_2
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.SPAGHETTI_3D_RARITY
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.SPAGHETTI_3D_THICKNESS
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.SPAGHETTI_ROUGHNESS
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.SPAGHETTI_ROUGHNESS_MODULATOR
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.SURFACE
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.SURFACE_SECONDARY
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.SURFACE_SWAMP
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.TEMPERATURE
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.TEMPERATURE_LARGE
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.VEGETATION
static final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
NoiseParametersKeys.VEGETATION_LARGE
Modifier and TypeMethodDescriptionprivate static RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
Modifier and TypeMethodDescriptionstatic NoiseConfig
NoiseConfig.create
(DynamicRegistryManager dynamicRegistryManager, RegistryKey<ChunkGeneratorSettings> chunkGeneratorSettingsKey, long legacyWorldSeed) static DoublePerlinNoiseSampler
NoiseParametersKeys.createNoiseSampler
(Registry<DoublePerlinNoiseSampler.NoiseParameters> registry, RandomSplitter randomSplitter, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> registryKey) NoiseConfig.getOrCreateSampler
(RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersKey) private static void
BuiltinNoiseParameters.register
(Registry<DoublePerlinNoiseSampler.NoiseParameters> registry, int int2, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> registryKey, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> registryKey2, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> registryKey3, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> registryKey4) private static RegistryEntry<DoublePerlinNoiseSampler.NoiseParameters>
BuiltinNoiseParameters.register
(Registry<DoublePerlinNoiseSampler.NoiseParameters> registry, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> registryKey, int int2, double double2, double[] double3) -
Uses of RegistryKey in net.minecraft.world.gen.structure
Modifier and TypeFieldDescriptionstatic final RegistryKey<Structure>
StructureKeys.ANCIENT_CITY
static final RegistryKey<Structure>
StructureKeys.BASTION_REMNANT
static final RegistryKey<Structure>
StructureKeys.BURIED_TREASURE
static final RegistryKey<Structure>
StructureKeys.DESERT_PYRAMID
static final RegistryKey<Structure>
StructureKeys.END_CITY
static final RegistryKey<Structure>
StructureKeys.FORTRESS
static final RegistryKey<Structure>
StructureKeys.IGLOO
static final RegistryKey<Structure>
StructureKeys.JUNGLE_PYRAMID
static final RegistryKey<Structure>
StructureKeys.MANSION
static final RegistryKey<Structure>
StructureKeys.MINESHAFT
static final RegistryKey<Structure>
StructureKeys.MINESHAFT_MESA
static final RegistryKey<Structure>
StructureKeys.MONUMENT
static final RegistryKey<Structure>
StructureKeys.NETHER_FOSSIL
static final RegistryKey<Structure>
StructureKeys.OCEAN_RUIN_COLD
static final RegistryKey<Structure>
StructureKeys.OCEAN_RUIN_WARM
static final RegistryKey<Structure>
StructureKeys.PILLAGER_OUTPOST
static final RegistryKey<Structure>
StructureKeys.RUINED_PORTAL
static final RegistryKey<Structure>
StructureKeys.RUINED_PORTAL_DESERT
static final RegistryKey<Structure>
StructureKeys.RUINED_PORTAL_JUNGLE
static final RegistryKey<Structure>
StructureKeys.RUINED_PORTAL_MOUNTAIN
static final RegistryKey<Structure>
StructureKeys.RUINED_PORTAL_NETHER
static final RegistryKey<Structure>
StructureKeys.RUINED_PORTAL_OCEAN
static final RegistryKey<Structure>
StructureKeys.RUINED_PORTAL_SWAMP
static final RegistryKey<Structure>
StructureKeys.SHIPWRECK
static final RegistryKey<Structure>
StructureKeys.SHIPWRECK_BEACHED
static final RegistryKey<Structure>
StructureKeys.STRONGHOLD
static final RegistryKey<Structure>
StructureKeys.SWAMP_HUT
static final RegistryKey<Structure>
StructureKeys.VILLAGE_DESERT
static final RegistryKey<Structure>
StructureKeys.VILLAGE_PLAINS
static final RegistryKey<Structure>
StructureKeys.VILLAGE_SAVANNA
static final RegistryKey<Structure>
StructureKeys.VILLAGE_SNOWY
static final RegistryKey<Structure>
StructureKeys.VILLAGE_TAIGA
Modifier and TypeMethodDescriptionprivate static RegistryEntry<Structure>
Structures.register
(RegistryKey<Structure> key, Structure structure) -
Uses of RegistryKey in net.minecraft.world.gen.surfacebuilder
Modifier and TypeFieldDescriptionprivate final RegistryKey<DoublePerlinNoiseSampler.NoiseParameters>
MaterialRules.NoiseThresholdMaterialCondition.noise
The field for thenoise
record component.Modifier and TypeFieldDescriptionprivate final List<RegistryKey<Biome>>
MaterialRules.BiomeMaterialCondition.biomes
(package private) final Predicate<RegistryKey<Biome>>
MaterialRules.BiomeMaterialCondition.predicate
Modifier and TypeMethodDescriptionMaterialRules.NoiseThresholdMaterialCondition.noise()
Returns the value of thenoise
record component.Modifier and TypeMethodDescriptionMaterialRules.biome
(RegistryKey<Biome>[] biomes) MaterialRules.noiseThreshold
(RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> noise, double min) MaterialRules.noiseThreshold
(RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> noise, double min, double max) Modifier and TypeMethodDescriptionprivate static MaterialRules.BiomeMaterialCondition
MaterialRules.biome
(List<RegistryKey<Biome>> biomes) ModifierConstructorDescription(package private)
NoiseThresholdMaterialCondition
(RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> registryKey, double double2, double double3) ModifierConstructorDescription(package private)
BiomeMaterialCondition
(List<RegistryKey<Biome>> biomes) -
Uses of RegistryKey in net.minecraft.world.level.storage
-
Uses of RegistryKey in net.minecraft.world.poi
Modifier and TypeFieldDescriptionstatic final RegistryKey<PointOfInterestType>
PointOfInterestTypes.ARMORER
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.BEE_NEST
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.BEEHIVE
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.BUTCHER
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.CARTOGRAPHER
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.CLERIC
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.FARMER
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.FISHERMAN
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.FLETCHER
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.HOME
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.LEATHERWORKER
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.LIBRARIAN
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.LIGHTNING_ROD
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.LODESTONE
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.MASON
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.MEETING
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.NETHER_PORTAL
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.SHEPHERD
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.TOOLSMITH
static final RegistryKey<PointOfInterestType>
PointOfInterestTypes.WEAPONSMITH
Modifier and TypeMethodDescriptionboolean
PointOfInterestStorage.hasTypeAt
(RegistryKey<PointOfInterestType> type, BlockPos pos) private static PointOfInterestType
PointOfInterestTypes.register
(Registry<PointOfInterestType> registry, RegistryKey<PointOfInterestType> key, Set<BlockState> states, int ticketCount, int searchDistance) -
Uses of RegistryKey in net.minecraft.world.storage
Modifier and TypeMethodDescriptionprivate FeatureUpdater
VersionedChunkStorage.method_43411
(RegistryKey<World> registryKey, Supplier<PersistentStateManager> supplier) static void
VersionedChunkStorage.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) Modifier and TypeMethodDescriptionstatic void
VersionedChunkStorage.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
Modifier and TypeFieldDescriptionprivate final Object2FloatMap<RegistryKey<World>>
WorldUpdater.dimensionProgress
Modifier and TypeMethodDescriptionWorldUpdater.getChunkPositions
(RegistryKey<World> world) float
WorldUpdater.getProgress
(RegistryKey<World> world)