Uses of Interface
net.minecraft.core.RegistryAccess
Package
Description
-
Uses of RegistryAccess in net.minecraft.client
Modifier and TypeMethodDescriptionvoid
Minecraft.createLevel
(String p_205186_, LevelSettings p_205187_, RegistryAccess p_205188_, WorldGenSettings p_205189_) -
Uses of RegistryAccess in net.minecraft.client.gui.screens
ModifierConstructorDescriptionCreateBuffetWorldScreen
(Screen p_205384_, RegistryAccess p_205385_, Consumer<Holder<Biome>> p_205386_, Holder<Biome> p_205387_) ModifierConstructorDescriptionPresetInfo
(Item p_96458_, Component p_96459_, Function<RegistryAccess, FlatLevelGeneratorSettings> p_96460_) -
Uses of RegistryAccess in net.minecraft.client.gui.screens.worldselection
Modifier and TypeMethodDescriptionWorldPreset.create
(RegistryAccess p_205486_, long p_205487_, boolean p_205488_, boolean p_205489_) (package private) static NoiseBasedChunkGenerator
WorldPreset.fixedBiomeGenerator
(RegistryAccess p_194086_, long p_194087_, ResourceKey<NoiseGeneratorSettings> p_194088_) private static WorldGenSettings
WorldPreset.fromBuffetSettings
(RegistryAccess p_205494_, WorldGenSettings p_205495_, Holder<Biome> p_205496_) protected abstract ChunkGenerator
WorldPreset.generator
(RegistryAccess p_194083_, long p_194084_) WorldPreset.parseBuffetSettings
(RegistryAccess p_205491_, WorldGenSettings p_205492_) -
Uses of RegistryAccess in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionClientLevel.registryAccess()
ClientPacketListener.registryAccess()
ClientSuggestionProvider.registryAccess()
-
Uses of RegistryAccess in net.minecraft.commands
Modifier and TypeMethodDescriptionCommandSourceStack.registryAccess()
SharedSuggestionProvider.registryAccess()
-
Uses of RegistryAccess in net.minecraft.core
Modifier and TypeInterfaceDescriptionstatic interface
static interface
Modifier and TypeClassDescriptionstatic final class
static final class
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryAccess>
RegistryAccess.NETWORK_CODEC
Modifier and TypeMethodDescriptionstatic RegistryAccess
RegistryAccess.readFromDisk
(com.mojang.serialization.Dynamic<?> p_206155_) Modifier and TypeMethodDescriptionprivate static <K extends ResourceKey<? extends Registry<?>>,
V extends Registry<?>>
com.mojang.serialization.Codec<RegistryAccess>RegistryAccess.captureMap
(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_206164_) private static <E> com.mojang.serialization.Codec<RegistryAccess>
RegistryAccess.makeNetworkCodec()
-
Uses of RegistryAccess in net.minecraft.data
-
Uses of RegistryAccess in net.minecraft.data.info
Modifier and TypeMethodDescriptionprivate static <T> void
WorldgenRegistryDumpReport.dumpRegistryCap
(HashCache p_194684_, Path p_194685_, RegistryAccess p_194686_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_194687_, RegistryAccess.RegistryData<T> p_194688_) -
Uses of RegistryAccess in net.minecraft.resources
Modifier and TypeMethodDescription<E> void
RegistryResourceAccess.InMemoryStorage.add
(RegistryAccess p_206837_, ResourceKey<E> p_206838_, com.mojang.serialization.Encoder<E> p_206839_, int p_206840_, E p_206841_, com.mojang.serialization.Lifecycle p_206842_) static <T> RegistryOps<T>
RegistryOps.create
(com.mojang.serialization.DynamicOps<T> p_206822_, RegistryAccess p_206823_) ModifierConstructorDescriptionprivate
RegistryOps
(com.mojang.serialization.DynamicOps<T> p_206809_, RegistryAccess p_206810_, Optional<RegistryLoader.Bound> p_206811_) -
Uses of RegistryAccess in net.minecraft.server
Modifier and TypeMethodDescriptionvoid
ReloadableServerResources.updateRegistryTags
(RegistryAccess p_206869_) private static <T> void
ReloadableServerResources.updateRegistryTags
(RegistryAccess p_206871_, TagManager.LoadResult<T> p_206872_) -
Uses of RegistryAccess in net.minecraft.server.dedicated
Modifier and TypeMethodDescriptionDedicatedServerProperties.getWorldGenSettings
(RegistryAccess p_180928_) protected DedicatedServerProperties
DedicatedServerProperties.reload
(RegistryAccess p_139761_, Properties p_139762_) protected abstract T
Settings.reload
(RegistryAccess p_139857_, Properties p_139858_) Settings.MutableValue.update
(RegistryAccess p_139896_, V p_139897_) -
Uses of RegistryAccess in net.minecraft.server.level
-
Uses of RegistryAccess in net.minecraft.tags
Modifier and TypeMethodDescriptionstatic Map<ResourceKey<? extends Registry<?>>,
TagNetworkSerialization.NetworkPayload> TagNetworkSerialization.serializeTagsToNetwork
(RegistryAccess p_203951_) -
Uses of RegistryAccess in net.minecraft.world.level
Modifier and TypeMethodDescriptionCommonLevelAccessor.registryAccess()
StructureFeatureManager.registryAccess()
-
Uses of RegistryAccess in net.minecraft.world.level.chunk
Modifier and TypeMethodDescriptionvoid
ChunkGenerator.createStructures
(RegistryAccess p_62200_, StructureFeatureManager p_62201_, ChunkAccess p_62202_, StructureManager p_62203_, long p_62204_) private boolean
ChunkGenerator.tryGenerateStructure
(StructureSet.StructureSelectionEntry p_208017_, StructureFeatureManager p_208018_, RegistryAccess p_208019_, StructureManager p_208020_, long p_208021_, ChunkAccess p_208022_, ChunkPos p_208023_, SectionPos p_208024_) -
Uses of RegistryAccess in net.minecraft.world.level.chunk.storage
Modifier and TypeMethodDescriptionprivate static Map<ConfiguredStructureFeature<?,
?>, it.unimi.dsi.fastutil.longs.LongSet> ChunkSerializer.unpackStructureReferences
(RegistryAccess p_208155_, ChunkPos p_208156_, CompoundTag p_208157_) -
Uses of RegistryAccess in net.minecraft.world.level.dimension
Modifier and TypeMethodDescriptionDimensionType.defaultDimensions
(RegistryAccess p_204491_, long p_204492_) DimensionType.defaultDimensions
(RegistryAccess p_204494_, long p_204495_, boolean p_204496_) -
Uses of RegistryAccess in net.minecraft.world.level.levelgen
Modifier and TypeMethodDescriptionstatic WorldGenSettings
WorldGenSettings.create
(RegistryAccess p_209717_, DedicatedServerProperties.WorldGenProperties p_209718_) static WorldGenSettings
WorldGenSettings.demoSettings
(RegistryAccess p_64646_) static WorldGenSettings
WorldGenSettings.makeDefault
(RegistryAccess p_190051_) static NoiseBasedChunkGenerator
WorldGenSettings.makeDefaultOverworld
(RegistryAccess p_190028_, long p_190029_) static NoiseBasedChunkGenerator
WorldGenSettings.makeDefaultOverworld
(RegistryAccess p_190040_, long p_190041_, boolean p_190042_) static NoiseBasedChunkGenerator
WorldGenSettings.makeOverworld
(RegistryAccess p_190031_, long p_190032_, ResourceKey<NoiseGeneratorSettings> p_190033_) static NoiseBasedChunkGenerator
WorldGenSettings.makeOverworld
(RegistryAccess p_190035_, long p_190036_, ResourceKey<NoiseGeneratorSettings> p_190037_, boolean p_190038_) -
Uses of RegistryAccess in net.minecraft.world.level.levelgen.carver
ModifierConstructorDescriptionCarvingContext
(NoiseBasedChunkGenerator p_190642_, RegistryAccess p_190643_, LevelHeightAccessor p_190644_, NoiseChunk p_190645_) -
Uses of RegistryAccess in net.minecraft.world.level.levelgen.feature
Modifier and TypeMethodDescriptionboolean
StructureFeature.canGenerate
(RegistryAccess p_197172_, ChunkGenerator p_197173_, BiomeSource p_197174_, StructureManager p_197175_, long p_197176_, ChunkPos p_197177_, C p_197178_, LevelHeightAccessor p_197179_, Predicate<Holder<Biome>> p_197180_) ConfiguredStructureFeature.generate
(RegistryAccess p_204708_, ChunkGenerator p_204709_, BiomeSource p_204710_, StructureManager p_204711_, long p_204712_, ChunkPos p_204713_, int p_204714_, LevelHeightAccessor p_204715_, Predicate<Holder<Biome>> p_204716_) -
Uses of RegistryAccess in net.minecraft.world.level.levelgen.structure
ModifierConstructorDescriptionStructureCheck
(ChunkScanAccess p_197251_, RegistryAccess p_197252_, StructureManager p_197253_, ResourceKey<Level> p_197254_, ChunkGenerator p_197255_, LevelHeightAccessor p_197256_, BiomeSource p_197257_, long p_197258_, com.mojang.datafixers.DataFixer p_197259_) -
Uses of RegistryAccess in net.minecraft.world.level.levelgen.structure.pieces
Modifier and TypeFieldDescriptionprivate final RegistryAccess
PieceGeneratorSupplier.Context.registryAccess
The field for theregistryAccess
record component.private final RegistryAccess
StructurePieceSerializationContext.registryAccess
The field for theregistryAccess
record component.Modifier and TypeMethodDescriptionPieceGeneratorSupplier.Context.registryAccess()
Returns the value of theregistryAccess
record component.StructurePieceSerializationContext.registryAccess()
Returns the value of theregistryAccess
record component.ModifierConstructorDescriptionContext
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long seed, ChunkPos chunkPos, C config, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome, StructureManager structureManager, RegistryAccess registryAccess) Creates an instance of aContext
record class.StructurePieceSerializationContext
(ResourceManager resourceManager, RegistryAccess registryAccess, StructureManager structureManager) Creates an instance of aStructurePieceSerializationContext
record class. -
Uses of RegistryAccess in net.minecraft.world.level.levelgen.structure.pools
Modifier and TypeMethodDescriptionstatic void
JigsawPlacement.addPieces
(RegistryAccess p_210291_, PoolElementStructurePiece p_210292_, int p_210293_, JigsawPlacement.PieceFactory p_210294_, ChunkGenerator p_210295_, StructureManager p_210296_, List<? super PoolElementStructurePiece> p_210297_, Random p_210298_, LevelHeightAccessor p_210299_) -
Uses of RegistryAccess in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionPrimaryLevelData.createTag
(RegistryAccess p_78543_, CompoundTag p_78544_) WorldData.createTag
(RegistryAccess p_78636_, CompoundTag p_78637_) void
LevelStorageSource.LevelStorageAccess.saveDataTag
(RegistryAccess p_78288_, WorldData p_78289_) void
LevelStorageSource.LevelStorageAccess.saveDataTag
(RegistryAccess p_78291_, WorldData p_78292_, CompoundTag p_78293_) private void
PrimaryLevelData.setTagData
(RegistryAccess p_78546_, CompoundTag p_78547_, CompoundTag p_78548_) -
Uses of RegistryAccess in net.minecraftforge.client
Modifier and TypeMethodDescriptionClientCommandSourceStack.registryAccess()
Gets theRegistryAccess
from the client sideModifier and TypeMethodDescriptionForgeWorldPresetScreens.GeneratorPreset.create
(RegistryAccess dynamicRegistries, long seed, boolean generateStructures, boolean bonusChest) protected ChunkGenerator
ForgeWorldPresetScreens.GeneratorPreset.generator
(RegistryAccess p_194083_, long p_194084_) -
Uses of RegistryAccess in net.minecraftforge.common.world
Modifier and TypeMethodDescriptionForgeWorldPreset.createChunkGenerator
(RegistryAccess registryAccess, long seed, String generatorSettings) Called from both the dedicated server and the world creation screen in the client.ForgeWorldPreset.IBasicChunkGeneratorFactory.createChunkGenerator
(RegistryAccess registryAccess, long seed) default ChunkGenerator
ForgeWorldPreset.IBasicChunkGeneratorFactory.createChunkGenerator
(RegistryAccess registryAccess, long seed, String generatorSettings) ForgeWorldPreset.IChunkGeneratorFactory.createChunkGenerator
(RegistryAccess dynamicRegistries, long seed, String generatorSettings) ForgeWorldPreset.createSettings
(RegistryAccess registryAccess, long seed, boolean generateStructures, boolean generateLoot, String generatorSettings) default WorldGenSettings
ForgeWorldPreset.IChunkGeneratorFactory.createSettings
(RegistryAccess dynamicRegistries, long seed, boolean generateStructures, boolean bonusChest, String generatorSettings) -
Uses of RegistryAccess in net.minecraftforge.debug.world
Modifier and TypeMethodDescriptionprivate ChunkGenerator
ForgeWorldTypeTest.createChunkGenerator
(RegistryAccess registry, long seed, String settings) -
Uses of RegistryAccess in net.minecraftforge.event
ModifierConstructorDescriptionTagsUpdatedEvent
(RegistryAccess registries) Deprecated, for removal: This API element is subject to removal in a future version.TagsUpdatedEvent
(RegistryAccess registries, boolean fromClientPacket, boolean isIntegratedServerConnection)