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.client.gui.screen
Modifier and TypeMethodDescriptionprivate static void
PresetsScreen.addPreset
(Text presetName, ItemConvertible icon, RegistryKey<Biome> presetBiome, List<StructureFeature<?>> structures, boolean generateStronghold, boolean generateFeatures, boolean generateLakes, FlatChunkGeneratorLayer[] layers) -
Uses of RegistryKey in net.minecraft.client.gui.screen.world
Modifier and TypeFieldDescriptionprivate static final Object2IntMap<RegistryKey<World>>
OptimizeWorldScreen.DIMENSION_COLORS
-
Uses of RegistryKey in net.minecraft.client.network
Modifier and TypeFieldDescriptionprivate Set<RegistryKey<World>>
ClientPlayNetworkHandler.worldKeys
Modifier and TypeMethodDescriptionClientCommandSource.getWorldKeys()
ClientPlayNetworkHandler.getWorldKeys()
-
Uses of RegistryKey in net.minecraft.client.world
Modifier and TypeMethodDescription(package private) static NoiseChunkGenerator
GeneratorType.createNoiseChunkGenerator
(DynamicRegistryManager registryManager, long seed, RegistryKey<ChunkGeneratorSettings> settingsKey) ModifierConstructorDescriptionClientWorld
(ClientPlayNetworkHandler netHandler, ClientWorld.Properties properties, RegistryKey<World> registryRef, DimensionType dimensionType, int loadDistance, int simulationDistance, Supplier<Profiler> profiler, WorldRenderer worldRenderer, boolean debugWorld, long seed) -
Uses of RegistryKey in net.minecraft.command
-
Uses of RegistryKey in net.minecraft.data.report
Modifier and TypeMethodDescriptionprivate static <E,
T extends Registry<E>>
voidWorldgenListProvider.writeRegistryEntries
(Path path, DataCache cache, com.mojang.serialization.DynamicOps<JsonElement> json, RegistryKey<? extends T> registryKey, T registry, com.mojang.serialization.Encoder<E> encoder) -
Uses of RegistryKey in net.minecraft.data.server
Modifier and TypeFieldDescriptionprivate static final List<RegistryKey<Biome>>
NetherTabAdvancementGenerator.NETHER_BIOMES
Modifier and TypeMethodDescriptionprivate List<RegistryKey<Biome>>
AdventureTabAdvancementGenerator.getOverworldBiomes()
Modifier and TypeMethodDescriptionprotected static Advancement.Task
AdventureTabAdvancementGenerator.requireListedBiomesVisited
(Advancement.Task task, List<RegistryKey<Biome>> biomes) -
Uses of RegistryKey in net.minecraft.item
Modifier and TypeMethodDescriptionstatic 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.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final RegistryKey<World>
PlayerRespawnS2CPacket.dimension
private final RegistryKey<World>
GameJoinS2CPacket.dimensionId
The field for thedimensionId
record component.Modifier and TypeFieldDescriptionprivate final Set<RegistryKey<World>>
GameJoinS2CPacket.dimensionIds
The field for thedimensionIds
record component.private final Map<RegistryKey<? extends Registry<?>>,
TagGroup.Serialized> SynchronizeTagsS2CPacket.groups
Modifier and TypeMethodDescriptionGameJoinS2CPacket.dimensionId()
Returns the value of thedimensionId
record component.PlayerRespawnS2CPacket.getDimension()
Modifier and TypeMethodDescriptionGameJoinS2CPacket.dimensionIds()
Returns the value of thedimensionIds
record component.Map<RegistryKey<? extends Registry<?>>,
TagGroup.Serialized> SynchronizeTagsS2CPacket.getGroups()
ModifierConstructorDescriptionGameJoinS2CPacket
(int playerEntityId, boolean bool, GameMode previousGameMode, @Nullable GameMode gameMode, Set<RegistryKey<World>> set, DynamicRegistryManager.Impl impl, DimensionType dimensionType, RegistryKey<World> registryKey, long long2, int maxPlayers, int chunkLoadDistance, int int2, boolean bool2, boolean bool3, boolean bool4, boolean bool5) PlayerRespawnS2CPacket
(DimensionType dimensionType, RegistryKey<World> dimension, long sha256Seed, GameMode gameMode, @Nullable GameMode previousGameMode, boolean debugWorld, boolean flatWorld, boolean keepPlayerAttributes) ModifierConstructorDescriptionGameJoinS2CPacket
(int playerEntityId, boolean bool, GameMode previousGameMode, @Nullable GameMode gameMode, Set<RegistryKey<World>> set, DynamicRegistryManager.Impl impl, DimensionType dimensionType, RegistryKey<World> registryKey, long long2, int maxPlayers, int chunkLoadDistance, int int2, boolean bool2, boolean bool3, boolean bool4, boolean bool5) SynchronizeTagsS2CPacket
(Map<RegistryKey<? extends Registry<?>>, TagGroup.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
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) ModifierConstructorDescriptionLocationPredicate
(NumberRange.FloatRange x, NumberRange.FloatRange y, NumberRange.FloatRange z, @Nullable RegistryKey<Biome> biome, @Nullable StructureFeature<?> 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 TypeMethodDescriptionMinecraftServer.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
-
Uses of RegistryKey in net.minecraft.server.network
Modifier and TypeFieldDescriptionprivate RegistryKey<World>
ServerPlayerEntity.spawnPointDimension
Modifier and TypeMethodDescriptionvoid
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, DimensionType dimensionType, WorldGenerationProgressListener worldGenerationProgressListener, ChunkGenerator chunkGenerator, boolean debugWorld, long seed, List<Spawner> spawners, boolean shouldTickTime) -
Uses of RegistryKey in net.minecraft.structure.pool
-
Uses of RegistryKey in net.minecraft.tag
Modifier and TypeFieldDescriptionprivate final RegistryKey<? extends Registry<T>>
RequiredTagList.registryKey
Modifier and TypeFieldDescriptionprivate final ImmutableMap.Builder<RegistryKey<? extends Registry<?>>,
TagGroup<?>> TagManager.Builder.groups
private static final Set<RegistryKey<?>>
RequiredTagListRegistry.REQUIRED_LIST_KEYS
private final Map<RegistryKey<? extends Registry<?>>,
TagGroup<?>> TagManager.tagGroups
Modifier and TypeMethodDescriptionRegistryKey<? extends Registry<T>>
RequiredTagList.getRegistryKey()
Returns the registry key representing the type of object in this list.Modifier and TypeMethodDescriptionstatic Multimap<RegistryKey<? extends Registry<?>>,
Identifier> RequiredTagListRegistry.getMissingTags
(TagManager tagManager) Map<RegistryKey<? extends Registry<?>>,
TagGroup.Serialized> TagManager.toPacket
(DynamicRegistryManager registryManager) Modifier and TypeMethodDescriptionTagManager.Builder.add
(RegistryKey<? extends Registry<? extends T>> type, TagGroup<T> tagGroup) <T> TagGroup<T>
TagManager.getOrCreateTagGroup
(RegistryKey<? extends Registry<T>> registryKey) TagManager.getTag
(RegistryKey<? extends Registry<T>> registryKey, Identifier id, Function<Identifier, E> exceptionFactory) TagManager.getTagGroup
(RegistryKey<? extends Registry<T>> registryKey) <T,
E extends Exception>
IdentifierTagManager.getTagId
(RegistryKey<? extends Registry<T>> registryKey, Tag<T> tag, Supplier<E> exceptionSupplier) private static <T> void
TagManager.offerTo
(TagManager.Visitor visitor, RegistryKey<? extends Registry<?>> type, TagGroup<?> group) static <T> RequiredTagList<T>
RequiredTagListRegistry.register
(RegistryKey<? extends Registry<T>> registryKey, String dataType) Creates and registers a required tag list.private static <T> void
TagManager.tryAdd
(DynamicRegistryManager registryManager, TagManager.Builder builder, RegistryKey<? extends Registry<? extends T>> type, TagGroup.Serialized group) <T> void
TagManager.Visitor.visit
(RegistryKey<? extends Registry<T>> type, TagGroup<T> group) Modifier and TypeMethodDescriptionstatic TagManager
TagManager.fromPacket
(DynamicRegistryManager registryManager, Map<RegistryKey<? extends Registry<?>>, TagGroup.Serialized> groups) ModifierConstructorDescriptionRequiredTagList
(RegistryKey<? extends Registry<T>> registryKey, String dataType) ModifierConstructorDescription(package private)
TagManager
(Map<RegistryKey<? extends Registry<?>>, TagGroup<?>> tagGroups) -
Uses of RegistryKey in net.minecraft.util.dynamic
Modifier and TypeFieldDescriptionprivate final RegistryKey<World>
GlobalPos.dimension
private final RegistryKey<? extends Registry<E>>
RegistryLookupCodec.registryKey
private final RegistryKey<? extends Registry<E>>
RegistryCodec.registryRef
private final RegistryKey<? extends Registry<E>>
RegistryElementCodec.registryRef
Modifier and TypeFieldDescriptionprivate final Map<RegistryKey<? extends Registry<?>>,
RegistryOps.ValueHolder<?>> RegistryOps.valueHolders
private final Map<RegistryKey<?>,
EntryLoader.Impl.Element> EntryLoader.Impl.values
(package private) final Map<RegistryKey<E>,
com.mojang.serialization.DataResult<Supplier<E>>> RegistryOps.ValueHolder.values
Modifier and TypeMethodDescription<E> Collection<RegistryKey<E>>
EntryLoader.getKnownEntryPaths
(RegistryKey<? extends Registry<E>> key) <E> Collection<RegistryKey<E>>
EntryLoader.Impl.getKnownEntryPaths
(RegistryKey<? extends Registry<E>> key) Modifier and TypeMethodDescription<E> void
EntryLoader.Impl.add
(DynamicRegistryManager.Impl registryManager, RegistryKey<E> key, com.mojang.serialization.Encoder<E> encoder, int rawId, E entry, com.mojang.serialization.Lifecycle lifecycle) static GlobalPos
GlobalPos.create
(RegistryKey<World> dimension, BlockPos pos) private static <E> Supplier<E>
RegistryOps.createEntrySupplier
(Registry<E> registry, RegistryKey<E> key) private static <E> Supplier<E>
RegistryOps.createLazyEntrySupplier
(MutableRegistry<E> registry, RegistryKey<E> key) RegistryOps.decodeOrId
(T t, RegistryKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> codec, boolean allowInlineDefinitions) Encode an id for a registry element than a full object if possible.protected <E> com.mojang.serialization.DataResult<T>
RegistryReadingOps.encodeOrId
(E input, T prefix, RegistryKey<? extends Registry<E>> registryReference, com.mojang.serialization.Codec<E> codec) Encode an id for a registry element than a full object if possible.<E> Collection<RegistryKey<E>>
EntryLoader.getKnownEntryPaths
(RegistryKey<? extends Registry<E>> key) <E> Collection<RegistryKey<E>>
EntryLoader.Impl.getKnownEntryPaths
(RegistryKey<? extends Registry<E>> key) protected <E> com.mojang.serialization.DataResult<Registry<E>>
RegistryOps.getRegistry
(RegistryKey<? extends Registry<E>> key) private <E> RegistryOps.ValueHolder<E>
RegistryOps.getValueHolder
(RegistryKey<? extends Registry<E>> registryRef) <E> Optional<com.mojang.serialization.DataResult<EntryLoader.Entry<E>>>
EntryLoader.Impl.load
(com.mojang.serialization.DynamicOps<JsonElement> json, RegistryKey<? extends Registry<E>> registryId, RegistryKey<E> entryId, com.mojang.serialization.Decoder<E> decoder) <E> Optional<com.mojang.serialization.DataResult<EntryLoader.Entry<E>>>
EntryLoader.load
(com.mojang.serialization.DynamicOps<JsonElement> json, RegistryKey<? extends Registry<E>> registryId, RegistryKey<E> entryId, com.mojang.serialization.Decoder<E> decoder) <E> com.mojang.serialization.DataResult<SimpleRegistry<E>>
RegistryOps.loadToRegistry
(SimpleRegistry<E> registry, RegistryKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> codec) Loads elements into a registry just loaded from a decoder.RegistryElementCodec.method_31194
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec) static <E> RegistryCodec<E>
RegistryCodec.of
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<E> codec) static <E> RegistryElementCodec<E>
RegistryElementCodec.of
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec) private static <E> RegistryElementCodec<E>
RegistryElementCodec.of
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions) static <E> RegistryLookupCodec<E>
RegistryLookupCodec.of
(RegistryKey<? extends Registry<E>> registryKey) private <E> com.mojang.serialization.DataResult<Supplier<E>>
RegistryOps.readSupplier
(RegistryKey<? extends Registry<E>> registryKey, MutableRegistry<E> mutableRegistry, com.mojang.serialization.Codec<E> codec, RegistryKey<E> registryKey2) Reads a supplier for a registry element.ModifierConstructorDescriptionprivate
GlobalPos
(RegistryKey<World> dimension, BlockPos pos) private
RegistryCodec
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<E> codec) private
RegistryElementCodec
(RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> elementCodec, boolean allowInlineDefinitions) private
RegistryLookupCodec
(RegistryKey<? extends Registry<E>> registryKey) ModifierConstructorDescriptionprivate
RegistryOps
(com.mojang.serialization.DynamicOps<T> delegate, EntryLoader entryLoader, DynamicRegistryManager registryManager, IdentityHashMap<RegistryKey<? extends Registry<?>>, RegistryOps.ValueHolder<?>> valueHolders) -
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<Biome>>
Registry.BIOME_KEY
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>
Registry.BIOME_SOURCE_KEY
static final RegistryKey<Registry<BlockEntityType<?>>>
Registry.BLOCK_ENTITY_TYPE_KEY
static final RegistryKey<Registry<Block>>
Registry.BLOCK_KEY
static final RegistryKey<Registry<BlockPredicateType<?>>>
Registry.BLOCK_PREDICATE_TYPE_KEY
static final RegistryKey<Registry<BlockStateProviderType<?>>>
Registry.BLOCK_STATE_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<Carver<?>>>
Registry.CARVER_KEY
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
Registry.CHUNK_GENERATOR_KEY
static final RegistryKey<Registry<ChunkGeneratorSettings>>
Registry.CHUNK_GENERATOR_SETTINGS_KEY
static final RegistryKey<Registry<ChunkStatus>>
Registry.CHUNK_STATUS_KEY
static final RegistryKey<Registry<ConfiguredCarver<?>>>
Registry.CONFIGURED_CARVER_KEY
static final RegistryKey<Registry<ConfiguredFeature<?,
?>>> Registry.CONFIGURED_FEATURE_KEY
static final RegistryKey<Registry<ConfiguredStructureFeature<?,
?>>> Registry.CONFIGURED_STRUCTURE_FEATURE_KEY
static final RegistryKey<Registry<Identifier>>
Registry.CUSTOM_STAT_KEY
static final RegistryKey<Registry<DimensionOptions>>
Registry.DIMENSION_KEY
A registry key representing theDimensionOptions
type.static final RegistryKey<Registry<DimensionType>>
Registry.DIMENSION_TYPE_KEY
static final RegistryKey<Registry<Enchantment>>
Registry.ENCHANTMENT_KEY
static final RegistryKey<Registry<EntityType<?>>>
Registry.ENTITY_TYPE_KEY
static final RegistryKey<Registry<Feature<?>>>
Registry.FEATURE_KEY
static final RegistryKey<Registry<FeatureSizeType<?>>>
Registry.FEATURE_SIZE_TYPE_KEY
static final RegistryKey<Registry<FloatProviderType<?>>>
Registry.FLOAT_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<Fluid>>
Registry.FLUID_KEY
static final RegistryKey<Registry<FoliagePlacerType<?>>>
Registry.FOLIAGE_PLACER_TYPE_KEY
static final RegistryKey<Registry<GameEvent>>
Registry.GAME_EVENT_KEY
static final RegistryKey<Registry<HeightProviderType<?>>>
Registry.HEIGHT_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<IntProviderType<?>>>
Registry.INT_PROVIDER_TYPE_KEY
static final RegistryKey<Registry<Item>>
Registry.ITEM_KEY
private final RegistryKey<T>
SimpleRegistry.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<StatusEffect>>
Registry.MOB_EFFECT_KEY
static final RegistryKey<Registry<PaintingMotive>>
Registry.MOTIVE_KEY
static final RegistryKey<Registry<DoublePerlinNoiseSampler.NoiseParameters>>
Registry.NOISE_WORLDGEN
static final RegistryKey<Registry<ParticleType<?>>>
Registry.PARTICLE_TYPE_KEY
static final RegistryKey<Registry<PlacedFeature>>
Registry.PLACED_FEATURE_KEY
static final RegistryKey<Registry<PlacementModifierType<?>>>
Registry.PLACEMENT_MODIFIER_TYPE_KEY
static final RegistryKey<Registry<PointOfInterestType>>
Registry.POINT_OF_INTEREST_TYPE_KEY
static final RegistryKey<Registry<PosRuleTestType<?>>>
Registry.POS_RULE_TEST_KEY
static final RegistryKey<Registry<PositionSourceType<?>>>
Registry.POSITION_SOURCE_TYPE_KEY
static final RegistryKey<Registry<Potion>>
Registry.POTION_KEY
static final RegistryKey<Registry<RecipeSerializer<?>>>
Registry.RECIPE_SERIALIZER_KEY
static final RegistryKey<Registry<RecipeType<?>>>
Registry.RECIPE_TYPE_KEY
private final RegistryKey<? extends Registry<E>>
DynamicRegistryManager.Info.registry
The field for theregistry
record component.private final RegistryKey<? extends Registry<T>>
Registry.registryKey
The key representing the type of elements held by this registry.static final RegistryKey<Registry<RuleTestType<?>>>
Registry.RULE_TEST_KEY
static final RegistryKey<Registry<Schedule>>
Registry.SCHEDULE_KEY
static final RegistryKey<Registry<SensorType<?>>>
Registry.SENSOR_TYPE_KEY
static final RegistryKey<Registry<SoundEvent>>
Registry.SOUND_EVENT_KEY
static final RegistryKey<Registry<StatType<?>>>
Registry.STAT_TYPE_KEY
static final RegistryKey<Registry<StructureFeature<?>>>
Registry.STRUCTURE_FEATURE_KEY
static final RegistryKey<Registry<StructurePieceType>>
Registry.STRUCTURE_PIECE_KEY
static final RegistryKey<Registry<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<TreeDecoratorType<?>>>
Registry.TREE_DECORATOR_TYPE_KEY
static final RegistryKey<Registry<TrunkPlacerType<?>>>
Registry.TRUNK_PLACER_TYPE_KEY
static final RegistryKey<Registry<VillagerProfession>>
Registry.VILLAGER_PROFESSION_KEY
static final RegistryKey<Registry<VillagerType>>
Registry.VILLAGER_TYPE_KEY
static final RegistryKey<Registry<World>>
Registry.WORLD_KEY
A registry key representing theWorld
type.Modifier and TypeFieldDescription(package private) static 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 BiMap<RegistryKey<T>,
T> SimpleRegistry.keyToEntry
private final Map<? extends RegistryKey<? extends Registry<?>>,
? extends SimpleRegistry<?>> DynamicRegistryManager.Impl.registries
Modifier and TypeMethodDescriptionprivate static <K extends RegistryKey<? extends Registry<?>>,
V extends SimpleRegistry<?>>
com.mojang.serialization.Codec<DynamicRegistryManager.Impl>DynamicRegistryManager.Impl.fromRegistryCodecs
(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> unboundedMapCodec) Modifier and TypeMethodDescriptionprivate static <T> RegistryKey<Registry<T>>
Registry.createRegistryKey
(String registryId) RegistryKey<? extends Registry<T>>
Registry.getKey()
SimpleRegistry.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.Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<RegistryKey<T>>
RegistryKey.createCodec
(RegistryKey<? extends Registry<T>> registry) static <T> Function<Identifier,
RegistryKey<T>> RegistryKey.createKeyFactory
(RegistryKey<? extends Registry<T>> registry) Creates a function that converts an identifier to a registry key for the registry thatregistry
refers to in the root registry.abstract Set<Map.Entry<RegistryKey<T>,
T>> Registry.getEntries()
Set<Map.Entry<RegistryKey<T>,
T>> SimpleRegistry.getEntries()
abstract Optional<RegistryKey<T>>
<E> Optional<RegistryKey<E>>
RegistryKey.method_39752
(RegistryKey<? extends Registry<E>> registryKey) Modifier and TypeMethodDescriptionstatic <V,
T extends V>
TBuiltinRegistries.add
(Registry<V> registry, RegistryKey<V> key, T object) abstract <V extends T>
VMutableRegistry.add
(RegistryKey<T> key, V entry, com.mojang.serialization.Lifecycle lifecycle) <V extends T>
VSimpleRegistry.add
(RegistryKey<T> key, V entry, com.mojang.serialization.Lifecycle lifecycle) private static <T> Registry<T>
BuiltinRegistries.addRegistry
(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, Supplier<T> defaultValueSupplier) private static <T> Registry<T>
BuiltinRegistries.addRegistry
(RegistryKey<? extends Registry<T>> registryRef, Supplier<T> defaultValueSupplier) private static <T,
R extends MutableRegistry<T>>
RBuiltinRegistries.addRegistry
(RegistryKey<? extends Registry<T>> registryRef, R registry, Supplier<T> defaultValueSupplier, com.mojang.serialization.Lifecycle lifecycle) abstract boolean
Registry.contains
(RegistryKey<T> key) boolean
SimpleRegistry.contains
(RegistryKey<T> key) private static <R extends Registry<?>>
voidDynamicRegistryManager.copyFromBuiltin
(DynamicRegistryManager.Impl manager, RegistryKey<R> registryRef) Add all entries of the registry referred byregistryRef
to the corresponding registry within this manager.private static <T> Registry<T>
Registry.create
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Supplier<T> defaultEntry) private static <T> DefaultedRegistry<T>
Registry.create
(RegistryKey<? extends Registry<T>> key, String defaultId, com.mojang.serialization.Lifecycle lifecycle, Supplier<T> defaultEntry) private static <T> DefaultedRegistry<T>
Registry.create
(RegistryKey<? extends Registry<T>> key, String defaultId, Supplier<T> defaultEntry) private static <T> Registry<T>
Registry.create
(RegistryKey<? extends Registry<T>> key, Supplier<T> defaultEntry) private static <T,
R extends MutableRegistry<T>>
RRegistry.create
(RegistryKey<? extends Registry<T>> key, R registry, Supplier<T> defaultEntry, com.mojang.serialization.Lifecycle lifecycle) static <T> com.mojang.serialization.Codec<RegistryKey<T>>
RegistryKey.createCodec
(RegistryKey<? extends Registry<T>> registry) static <T> com.mojang.serialization.Codec<SimpleRegistry<T>>
SimpleRegistry.createCodec
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> entryCodec) static <T> Function<Identifier,
RegistryKey<T>> RegistryKey.createKeyFactory
(RegistryKey<? extends Registry<T>> registry) Creates a function that converts an identifier to a registry key for the registry thatregistry
refers to in the root registry.private static <E> SimpleRegistry<?>
DynamicRegistryManager.Impl.createRegistry
(RegistryKey<? extends Registry<?>> registryRef) static <T> com.mojang.serialization.Codec<SimpleRegistry<T>>
SimpleRegistry.createRegistryCodec
(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> entryCodec) static <T> com.mojang.serialization.Codec<SimpleRegistry<T>>
SimpleRegistry.createRegistryManagerCodec
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, com.mojang.serialization.Codec<T> entryCodec) static <T> com.mojang.serialization.MapCodec<SimpleRegistry.RegistryManagerEntry<T>>
SimpleRegistry.createRegistryManagerEntryCodec
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.MapCodec<T> entryCodec) <E> Registry<E>
DynamicRegistryManager.get
(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry from this manager, or throws an exception when the registry does not exist.abstract T
Registry.get
(@Nullable RegistryKey<T> key) SimpleRegistry.get
(@Nullable RegistryKey<T> key) private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>
DynamicRegistryManager.Impl.getDataResultForCodec
(RegistryKey<? extends Registry<E>> registryRef) <E> MutableRegistry<E>
DynamicRegistryManager.getMutable
(RegistryKey<? extends Registry<? extends E>> key) DynamicRegistryManager.getOptional
(RegistryKey<? extends Registry<? extends E>> key) abstract <E> Optional<MutableRegistry<E>>
DynamicRegistryManager.getOptionalMutable
(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.<E> Optional<MutableRegistry<E>>
DynamicRegistryManager.Impl.getOptionalMutable
(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.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 <E> SimpleRegistry<?>
DynamicRegistryManager.Impl.method_39201
(RegistryKey<? extends Registry<?>> registryKey, com.mojang.serialization.Dynamic<?> dynamic) <E> Optional<RegistryKey<E>>
RegistryKey.method_39752
(RegistryKey<? extends Registry<E>> registryKey) 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) abstract <V extends T>
VMutableRegistry.replace
(OptionalInt rawId, RegistryKey<T> key, V 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.<V extends T>
VSimpleRegistry.replace
(OptionalInt rawId, RegistryKey<T> key, V 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.static <V,
T extends V>
TBuiltinRegistries.set
(Registry<V> registry, RegistryKey<V> key, T object) <V extends T>
VDefaultedRegistry.set
(int rawId, RegistryKey<T> key, V entry, com.mojang.serialization.Lifecycle lifecycle) abstract <V extends T>
VMutableRegistry.set
(int rawId, RegistryKey<T> key, V entry, com.mojang.serialization.Lifecycle lifecycle) <V extends T>
VSimpleRegistry.set
(int rawId, RegistryKey<T> key, V entry, com.mojang.serialization.Lifecycle lifecycle) private <V extends T>
VSimpleRegistry.set
(int rawId, RegistryKey<T> key, V entry, com.mojang.serialization.Lifecycle lifecycle, boolean checkDuplicateKeys) Modifier and TypeMethodDescriptionprivate 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) 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) protected
Registry
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) (package private)
RegistryManagerEntry
(RegistryKey<T> key, int rawId, T entry) Creates an instance of aRegistryManagerEntry
record class.SimpleRegistry
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) ModifierConstructorDescriptionprivate
Impl
(Map<? extends RegistryKey<? extends Registry<?>>, ? extends SimpleRegistry<?>> registries) -
Uses of RegistryKey in net.minecraft.village
Modifier and TypeFieldDescriptionprivate static final Map<RegistryKey<Biome>,
VillagerType> VillagerType.BIOME_TO_TYPE
Modifier and TypeMethodDescriptionstatic VillagerType
VillagerType.forBiome
(Optional<RegistryKey<Biome>> biomeKey) -
Uses of RegistryKey in net.minecraft.world
Modifier and TypeFieldDescriptionstatic 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 TypeMethodDescriptiondefault Optional<RegistryKey<Biome>>
RegistryWorldView.getBiomeKey
(BlockPos pos) Modifier and TypeMethodDescriptionstatic FeatureUpdater
FeatureUpdater.create
(RegistryKey<World> world, @Nullable PersistentStateManager persistentStateManager) Modifier and TypeMethodDescriptionprivate <FC extends FeatureConfig,
F extends StructureFeature<FC>>
booleanStructureLocator.isGenerationPossible
(ChunkPos pos, ConfiguredStructureFeature<FC, F> feature, Collection<RegistryKey<Biome>> allowedBiomes) Returns whetherfeature
is able to generate inpos
.ModifierConstructorDescriptionStructureLocator
(NbtScannable chunkIoWorker, DynamicRegistryManager registryManager, StructureManager structureManager, RegistryKey<World> worldKey, ChunkGenerator chunkGenerator, HeightLimitView world, BiomeSource biomeSource, long seed, com.mojang.datafixers.DataFixer dataFixer) protected
World
(MutableWorldProperties properties, RegistryKey<World> registryRef, DimensionType dimensionType, Supplier<Profiler> profiler, boolean isClient, boolean debugWorld, long seed) -
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_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.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
Modifier and TypeMethodDescriptionprivate static Biome
BuiltinBiomes.register
(RegistryKey<Biome> key, Biome biome) -
Uses of RegistryKey in net.minecraft.world.biome.source.util
Modifier and TypeFieldDescriptionprivate final RegistryKey<Biome>[][]
VanillaBiomeParameters.COMMON_BIOMES
private final RegistryKey<Biome>[][]
VanillaBiomeParameters.HILL_BIOMES
private final RegistryKey<Biome>[][]
VanillaBiomeParameters.NEAR_MOUNTAIN_BIOMES
private final RegistryKey<Biome>[][]
VanillaBiomeParameters.OCEAN_BIOMES
private final RegistryKey<Biome>[][]
VanillaBiomeParameters.SPECIAL_NEAR_MOUNTAIN_BIOMES
private final RegistryKey<Biome>[][]
VanillaBiomeParameters.UNCOMMON_BIOMES
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, RegistryKey<Biome> biome) private RegistryKey<Biome>
VanillaBiomeParameters.getFlatShoreBiome
(int temperature, int humidity, MultiNoiseUtil.ParameterRange weirdness) private RegistryKey<Biome>
VanillaBiomeParameters.getHillBiome
(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> biome) 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) 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) void
VanillaTerrainParameters.writeDebugBiomes
(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters) 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>>> parameters) -
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>
DimensionType.OVERWORLD_CAVES_REGISTRY_KEY
static final RegistryKey<DimensionType>
DimensionType.OVERWORLD_REGISTRY_KEY
static final RegistryKey<DimensionType>
DimensionType.THE_END_REGISTRY_KEY
static final RegistryKey<DimensionType>
DimensionType.THE_NETHER_REGISTRY_KEY
Modifier and TypeFieldDescriptionprivate static final Set<RegistryKey<DimensionOptions>>
DimensionOptions.BASE_DIMENSIONS
Modifier and TypeMethodDescriptionstatic 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) -
Uses of RegistryKey in net.minecraft.world.gen
Modifier and TypeMethodDescriptionstatic RegistryKey<DimensionOptions>
GeneratorOptions.toDimensionOptionsKey
(RegistryKey<World> worldKey) static RegistryKey<World>
GeneratorOptions.toWorldKey
(RegistryKey<DimensionOptions> dimensionOptionsKey) Modifier and TypeMethodDescriptionstatic NoiseChunkGenerator
GeneratorOptions.createGenerator
(DynamicRegistryManager registryManager, long seed, RegistryKey<ChunkGeneratorSettings> settings) static NoiseChunkGenerator
GeneratorOptions.createGenerator
(DynamicRegistryManager registryManager, long seed, RegistryKey<ChunkGeneratorSettings> settings, boolean bool) static RegistryKey<DimensionOptions>
GeneratorOptions.toDimensionOptionsKey
(RegistryKey<World> worldKey) static RegistryKey<World>
GeneratorOptions.toWorldKey
(RegistryKey<DimensionOptions> dimensionOptionsKey) -
Uses of RegistryKey in net.minecraft.world.gen.chunk
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 TypeFieldDescriptionprivate final ImmutableMap<StructureFeature<?>,
ImmutableMultimap<ConfiguredStructureFeature<?, ?>, RegistryKey<Biome>>> StructuresConfig.configuredStructures
Modifier and TypeMethodDescriptionOptional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
ChunkGenerator.getCodecKey()
StructuresConfig.getConfiguredStructureFeature
(StructureFeature<?> feature) Modifier and TypeMethodDescriptionboolean
ChunkGeneratorSettings.equals
(RegistryKey<ChunkGeneratorSettings> registryKey) boolean
NoiseChunkGenerator.matchesSettings
(long seed, RegistryKey<ChunkGeneratorSettings> settingsKey) private static void
ChunkGeneratorSettings.register
(RegistryKey<ChunkGeneratorSettings> registryKey, ChunkGeneratorSettings settings) Modifier and TypeMethodDescriptionprotected boolean
ChunkGenerator.testBiomeByKey
(Registry<Biome> registry, Predicate<RegistryKey<Biome>> condition, Biome biome) protected boolean
FlatChunkGenerator.testBiomeByKey
(Registry<Biome> registry, Predicate<RegistryKey<Biome>> condition, Biome biome) -
Uses of RegistryKey in net.minecraft.world.gen.feature
Modifier and TypeMethodDescriptionprivate static void
ConfiguredStructureFeatures.register
(BiConsumer<ConfiguredStructureFeature<?, ?>, RegistryKey<Biome>> registrar, ConfiguredStructureFeature<?, ?> feature, RegistryKey<Biome> biome) Modifier and TypeMethodDescriptionprivate static void
ConfiguredStructureFeatures.register
(BiConsumer<ConfiguredStructureFeature<?, ?>, RegistryKey<Biome>> registrar, ConfiguredStructureFeature<?, ?> feature, Set<RegistryKey<Biome>> biomes) private static void
ConfiguredStructureFeatures.register
(BiConsumer<ConfiguredStructureFeature<?, ?>, RegistryKey<Biome>> registrar, ConfiguredStructureFeature<?, ?> feature, Set<RegistryKey<Biome>> biomes) private static void
ConfiguredStructureFeatures.register
(BiConsumer<ConfiguredStructureFeature<?, ?>, RegistryKey<Biome>> registrar, ConfiguredStructureFeature<?, ?> feature, RegistryKey<Biome> biome) static void
ConfiguredStructureFeatures.registerAll
(BiConsumer<ConfiguredStructureFeature<?, ?>, RegistryKey<Biome>> registrar) -
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 DoublePerlinNoiseSampler
NoiseParametersKeys.createNoiseSampler
(Registry<DoublePerlinNoiseSampler.NoiseParameters> noiseRegistry, RandomDeriver randomDeriver, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> noise) private static void
BuiltinNoiseParameters.register
(int firstOctaveOffset, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> temperature, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> vegetation, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> continentalness, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> erosion) private static void
BuiltinNoiseParameters.register
(RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> noise, int firstOctave, double firstAmplitude, double[] amplitudes) -
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 TypeFieldDescription(package private) Supplier<RegistryKey<Biome>>
MaterialRules.MaterialRuleContext.biomeKeySupplier
private final List<RegistryKey<Biome>>
MaterialRules.BiomeMaterialCondition.biomes
The field for thebiomes
record component.SurfaceBuilder.noiseSamplers
Modifier and TypeMethodDescriptionMaterialRules.NoiseThresholdMaterialCondition.noise()
Returns the value of thenoise
record component.Modifier and TypeMethodDescriptionMaterialRules.BiomeMaterialCondition.biomes()
Returns the value of thebiomes
record component.Modifier and TypeMethodDescriptionMaterialRules.biome
(RegistryKey<Biome>[] biomes) protected DoublePerlinNoiseSampler
SurfaceBuilder.getNoiseSampler
(RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> noise) 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>> list) -
Uses of RegistryKey in net.minecraft.world.level.storage
-
Uses of RegistryKey in net.minecraft.world.storage
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) 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)