Uses of Interface
net.minecraft.registry.RegistryEntryLookup
Package
Description
The Named Binary Tag (NBT) data format.
-
Uses of RegistryEntryLookup in net.minecraft.client.gui.screen
Modifier and TypeMethodDescriptionprivate static @Nullable FlatChunkGeneratorLayer
PresetsScreen.parseLayerString
(RegistryEntryLookup<Block> blockLookup, String layer, int layerStartHeight) Parse a string like"60*minecraft:stone"
to aFlatChunkGeneratorLayer
.private static List<FlatChunkGeneratorLayer>
PresetsScreen.parsePresetLayersString
(RegistryEntryLookup<Block> blockLookup, String layers) Parse a string like"minecraft:bedrock,3*minecraft:dirt,minecraft:grass_block"
to a list ofFlatChunkGeneratorLayer
.static FlatChunkGeneratorConfig
PresetsScreen.parsePresetString
(RegistryEntryLookup<Block> blockLookup, RegistryEntryLookup<Biome> biomeLookup, RegistryEntryLookup<StructureSet> structureSetLookup, RegistryEntryLookup<PlacedFeature> placedFeatureLookup, String preset, FlatChunkGeneratorConfig config) -
Uses of RegistryEntryLookup in net.minecraft.nbt
Modifier and TypeMethodDescriptionstatic BlockState
NbtHelper.toBlockState
(RegistryEntryLookup<Block> blockLookup, NbtCompound nbt) Returns the block state from thenbt
. -
Uses of RegistryEntryLookup in net.minecraft.registry
Modifier and TypeInterfaceDescriptioninterface
A read-only wrapper of a registry.static interface
Modifier and TypeClassDescriptionprivate static class
private static class
static class
static class
Modifier and TypeFieldDescriptionprivate final RegistryEntryLookup<T>
RegistryOps.RegistryInfo.entryLookup
The field for theentryLookup
record component.Modifier and TypeFieldDescriptionprivate final Map<Identifier,
RegistryEntryLookup<?>> RegistryBuilder.Registries.registries
The field for theregistries
record component.Modifier and TypeMethodDescriptionMutableRegistry.createMutableEntryLookup()
SimpleRegistry.createMutableEntryLookup()
RegistryOps.RegistryInfo.entryLookup()
Returns the value of theentryLookup
record component.default <T> RegistryEntryLookup<T>
RegistryEntryLookup.RegistryLookup.getOrThrow
(RegistryKey<? extends Registry<? extends T>> registryRef) <S> RegistryEntryLookup<S>
Registerable.getRegistryLookup
(RegistryKey<? extends Registry<? extends S>> registryRef) (package private) static <T> RegistryEntryLookup<T>
RegistryBuilder.toLookup
(RegistryWrapper.Impl<T> wrapper) Modifier and TypeMethodDescription<E> Optional<RegistryEntryLookup<E>>
RegistryOps.getEntryLookup
(RegistryKey<? extends Registry<? extends E>> registryRef) static <E,
O> com.mojang.serialization.codecs.RecordCodecBuilder<O, RegistryEntryLookup<E>> RegistryOps.getEntryLookupCodec
(RegistryKey<? extends Registry<? extends E>> registryRef) <T> Optional<RegistryEntryLookup<T>>
RegistryEntryLookup.RegistryLookup.getOptional
(RegistryKey<? extends Registry<? extends T>> registryRef) RegistryBuilder.Registries.registries()
Returns the value of theregistries
record component.Modifier and TypeMethodDescriptionstatic void
BuiltinRegistries.validate
(RegistryEntryLookup<PlacedFeature> placedFeatureLookup, RegistryWrapper<Biome> biomeLookup) ModifierConstructorDescriptionRegistryInfo
(RegistryEntryOwner<T> registryEntryOwner, RegistryEntryLookup<T> registryEntryLookup, com.mojang.serialization.Lifecycle lifecycle) ModifierConstructorDescriptionprivate
Registries
(RegistryBuilder.AnyOwner anyOwner, RegistryBuilder.StandAloneEntryCreatingLookup standAloneEntryCreatingLookup, Map<Identifier, RegistryEntryLookup<?>> map, Map<RegistryKey<?>, RegistryBuilder.RegisteredValue<?>> map2, List<RuntimeException> list) -
Uses of RegistryEntryLookup in net.minecraft.structure
Modifier and TypeFieldDescriptionprivate final RegistryEntryLookup<Block>
StructureTemplateManager.blockLookup
Modifier and TypeMethodDescriptionprivate void
StructureTemplate.loadPalettedBlockInfo
(RegistryEntryLookup<Block> blockLookup, NbtList palette, NbtList blocks) void
StructureTemplate.readNbt
(RegistryEntryLookup<Block> blockLookup, NbtCompound nbt) ModifierConstructorDescriptionStructureTemplateManager
(ResourceManager resourceManager, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, RegistryEntryLookup<Block> blockLookup) -
Uses of RegistryEntryLookup in net.minecraft.world.biome
Modifier and TypeFieldDescriptionprivate final RegistryEntryLookup<ConfiguredCarver<?>>
GenerationSettings.LookupBackedBuilder.configuredCarverLookup
private final RegistryEntryLookup<PlacedFeature>
GenerationSettings.LookupBackedBuilder.placedFeatureLookup
Modifier and TypeMethodDescriptionstatic Biome
OverworldBiomeCreator.createBadlands
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup, boolean plateau) static Biome
TheNetherBiomeCreator.createBasaltDeltas
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createBeach
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup, boolean snowy, boolean stony) static Biome
OverworldBiomeCreator.createColdOcean
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup, boolean deep) static Biome
TheNetherBiomeCreator.createCrimsonForest
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createDarkForest
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createDeepDark
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createDesert
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createDripstoneCaves
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
TheEndBiomeCreator.createEndBarrens
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
TheEndBiomeCreator.createEndHighlands
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
TheEndBiomeCreator.createEndMidlands
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createFrozenOcean
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup, boolean deep) static Biome
OverworldBiomeCreator.createFrozenPeaks
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createGrove
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createJaggedPeaks
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createJungle
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) private static Biome
OverworldBiomeCreator.createJungleFeatures
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup, float depth, boolean bamboo, boolean sparse, boolean unmodified, SpawnSettings.Builder spawnSettings) static Biome
OverworldBiomeCreator.createLukewarmOcean
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup, boolean deep) static Biome
OverworldBiomeCreator.createLushCaves
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createMangroveSwamp
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createMeadow
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup, boolean cherryGrove) static Biome
OverworldBiomeCreator.createMushroomFields
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
TheNetherBiomeCreator.createNetherWastes
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createNormalBambooJungle
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createNormalForest
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup, boolean birch, boolean oldGrowth, boolean flower) static Biome
OverworldBiomeCreator.createNormalOcean
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup, boolean deep) private static GenerationSettings.LookupBackedBuilder
OverworldBiomeCreator.createOceanGenerationSettings
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createOldGrowthTaiga
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup, boolean spruce) static Biome
OverworldBiomeCreator.createPlains
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup, boolean sunflower, boolean snowy, boolean iceSpikes) static Biome
OverworldBiomeCreator.createRiver
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup, boolean frozen) static Biome
OverworldBiomeCreator.createSavanna
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup, boolean windswept, boolean plateau) static Biome
TheEndBiomeCreator.createSmallEndIslands
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createSnowySlopes
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
TheNetherBiomeCreator.createSoulSandValley
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createSparseJungle
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createStonyPeaks
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createSwamp
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createTaiga
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup, boolean snowy) static Biome
TheEndBiomeCreator.createTheEnd
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createTheVoid
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createWarmOcean
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
TheNetherBiomeCreator.createWarpedForest
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup) static Biome
OverworldBiomeCreator.createWindsweptHills
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup, boolean forest) ModifierConstructorDescriptionLookupBackedBuilder
(RegistryEntryLookup<PlacedFeature> placedFeatureLookup, RegistryEntryLookup<ConfiguredCarver<?>> configuredCarverLookup) -
Uses of RegistryEntryLookup in net.minecraft.world.biome.source
Modifier and TypeMethodDescriptionstatic TheEndBiomeSource
TheEndBiomeSource.createVanilla
(RegistryEntryLookup<Biome> biomeLookup) ModifierConstructorDescriptionMultiNoiseBiomeSourceParameterList
(MultiNoiseBiomeSourceParameterList.Preset preset, RegistryEntryLookup<Biome> biomeLookup) -
Uses of RegistryEntryLookup in net.minecraft.world.gen
Modifier and TypeFieldDescriptionprivate final RegistryEntryLookup<Biome>
WorldPresets.Registrar.biomeLookup
private final RegistryEntryLookup<ChunkGeneratorSettings>
WorldPresets.Registrar.chunkGeneratorSettingsLookup
private final RegistryEntryLookup<PlacedFeature>
WorldPresets.Registrar.featureLookup
private final RegistryEntryLookup<MultiNoiseBiomeSourceParameterList>
WorldPresets.Registrar.multiNoisePresetLookup
private final RegistryEntryLookup<StructureSet>
WorldPresets.Registrar.structureSetLookup
-
Uses of RegistryEntryLookup in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionstatic FlatChunkGeneratorConfig
FlatChunkGeneratorConfig.getDefaultConfig
(RegistryEntryLookup<Biome> biomeLookup, RegistryEntryLookup<StructureSet> structureSetLookup, RegistryEntryLookup<PlacedFeature> featureLookup) static List<RegistryEntry<PlacedFeature>>
FlatChunkGeneratorConfig.getLavaLakes
(RegistryEntryLookup<PlacedFeature> featureLookup) static RegistryEntry<Biome>
FlatChunkGeneratorConfig.getPlains
(RegistryEntryLookup<Biome> biomeLookup) -
Uses of RegistryEntryLookup in net.minecraft.world.gen.densityfunction
Modifier and TypeMethodDescriptionprivate static DensityFunction
DensityFunctions.applyCavesSlides
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, int minY, int maxY) Applies the slides for the nether and the caves world type.private static DensityFunction
DensityFunctions.createCavePillarsOverworldFunction
(RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) private static DensityFunction
DensityFunctions.createCavesEntrancesOverworldFunction
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) private static DensityFunction
DensityFunctions.createCavesFunction
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup, DensityFunction slopedCheese) protected static NoiseRouter
DensityFunctions.createCavesNoiseRouter
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) Creates theNoiseRouter
for the caves world type.private static DensityFunction
DensityFunctions.createCavesNoodleOverworldFunction
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) private static DensityFunction
DensityFunctions.createCavesSpaghetti2dOverworldFunction
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) private static DensityFunction
DensityFunctions.createCavesSpaghettiRoughnessOverworldFunction
(RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) protected static NoiseRouter
DensityFunctions.createEndNoiseRouter
(RegistryEntryLookup<DensityFunction> densityFunctionLookup) Creates theNoiseRouter
for The End.protected static NoiseRouter
DensityFunctions.createFloatingIslandsNoiseRouter
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) Creates theNoiseRouter
for the floating islands world type.private static NoiseRouter
DensityFunctions.createMultiNoiseDependentNoiseRouter
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup, DensityFunction density) protected static NoiseRouter
DensityFunctions.createNetherNoiseRouter
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) Creates theNoiseRouter
for the nether.protected static NoiseRouter
DensityFunctions.createSurfaceNoiseRouter
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup, boolean largeBiomes, boolean amplified) Creates theNoiseRouter
for the overworld and the surface world type.private static DensityFunction
DensityFunctions.entryHolder
(RegistryEntryLookup<DensityFunction> densityFunctionRegisterable, RegistryKey<DensityFunction> key) private static void
DensityFunctions.registerSlopedCheeseFunction
(Registerable<DensityFunction> densityFunctionRegisterable, RegistryEntryLookup<DensityFunction> densityFunctionLookup, DensityFunction jaggedNoise, RegistryEntry<DensityFunction> continents, RegistryEntry<DensityFunction> erosion, RegistryKey<DensityFunction> offsetKey, RegistryKey<DensityFunction> factorKey, RegistryKey<DensityFunction> jaggednessKey, RegistryKey<DensityFunction> depthKey, RegistryKey<DensityFunction> slopedCheeseKey, boolean amplified) Creates and registers thesloped_cheese
density function. -
Uses of RegistryEntryLookup in net.minecraft.world.gen.noise
Modifier and TypeFieldDescriptionprivate final RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters>
NoiseConfig.noiseParametersRegistry
Modifier and TypeMethodDescriptionstatic NoiseConfig
NoiseConfig.create
(ChunkGeneratorSettings chunkGeneratorSettings, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup, long legacyWorldSeed) static DoublePerlinNoiseSampler
NoiseParametersKeys.createNoiseSampler
(RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup, RandomSplitter splitter, RegistryKey<DoublePerlinNoiseSampler.NoiseParameters> key) ModifierConstructorDescriptionprivate
NoiseConfig
(ChunkGeneratorSettings chunkGeneratorSettings, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup, long seed)