Uses of Interface
net.minecraft.core.RegistryAccess
Packages that use RegistryAccess
Package
Description
-
Uses of RegistryAccess in net.minecraft.client
Methods in net.minecraft.client with parameters of type RegistryAccessModifier 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
Fields in net.minecraft.client.gui.screens with type parameters of type RegistryAccessConstructors in net.minecraft.client.gui.screens with parameters of type RegistryAccessModifierConstructorDescriptionCreateBuffetWorldScreen
(Screen p_205384_, RegistryAccess p_205385_, Consumer<Holder<Biome>> p_205386_, Holder<Biome> p_205387_) Constructor parameters in net.minecraft.client.gui.screens with type arguments of type RegistryAccessModifierConstructorDescriptionPresetInfo
(Item p_96458_, Component p_96459_, Function<RegistryAccess, FlatLevelGeneratorSettings> p_96460_) -
Uses of RegistryAccess in net.minecraft.client.gui.screens.worldselection
Methods in net.minecraft.client.gui.screens.worldselection that return RegistryAccessMethods in net.minecraft.client.gui.screens.worldselection with parameters of type RegistryAccessModifier 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
Methods in net.minecraft.client.multiplayer that return RegistryAccessModifier and TypeMethodDescriptionClientLevel.registryAccess()
ClientPacketListener.registryAccess()
ClientSuggestionProvider.registryAccess()
-
Uses of RegistryAccess in net.minecraft.commands
Methods in net.minecraft.commands that return RegistryAccessModifier and TypeMethodDescriptionCommandSourceStack.registryAccess()
SharedSuggestionProvider.registryAccess()
-
Uses of RegistryAccess in net.minecraft.core
Subinterfaces of RegistryAccess in net.minecraft.coreModifier and TypeInterfaceDescriptionstatic interface
static interface
Classes in net.minecraft.core that implement RegistryAccessModifier and TypeClassDescriptionstatic final class
static final class
Fields in net.minecraft.core with type parameters of type RegistryAccessModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryAccess>
RegistryAccess.NETWORK_CODEC
Methods in net.minecraft.core that return RegistryAccessModifier and TypeMethodDescriptionstatic RegistryAccess
RegistryAccess.readFromDisk
(com.mojang.serialization.Dynamic<?> p_206155_) Methods in net.minecraft.core that return types with arguments of type RegistryAccessModifier 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
Fields in net.minecraft.data declared as RegistryAccess -
Uses of RegistryAccess in net.minecraft.data.info
Methods in net.minecraft.data.info with parameters of type RegistryAccessModifier 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
Fields in net.minecraft.resources declared as RegistryAccessMethods in net.minecraft.resources with parameters of type RegistryAccessModifier 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_) Constructors in net.minecraft.resources with parameters of type RegistryAccessModifierConstructorDescriptionprivate
RegistryOps
(com.mojang.serialization.DynamicOps<T> p_206809_, RegistryAccess p_206810_, Optional<RegistryLoader.Bound> p_206811_) -
Uses of RegistryAccess in net.minecraft.server
Methods in net.minecraft.server with parameters of type RegistryAccessModifier 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
Methods in net.minecraft.server.dedicated with parameters of type RegistryAccessModifier 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
Methods in net.minecraft.server.level that return RegistryAccess -
Uses of RegistryAccess in net.minecraft.tags
Fields in net.minecraft.tags declared as RegistryAccessMethods in net.minecraft.tags with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic Map<ResourceKey<? extends Registry<?>>,
TagNetworkSerialization.NetworkPayload> TagNetworkSerialization.serializeTagsToNetwork
(RegistryAccess p_203951_) Constructors in net.minecraft.tags with parameters of type RegistryAccess -
Uses of RegistryAccess in net.minecraft.world.level
Methods in net.minecraft.world.level that return RegistryAccessModifier and TypeMethodDescriptionCommonLevelAccessor.registryAccess()
StructureFeatureManager.registryAccess()
-
Uses of RegistryAccess in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk with parameters of type RegistryAccessModifier 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
Methods in net.minecraft.world.level.chunk.storage with parameters of type RegistryAccessModifier 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
Methods in net.minecraft.world.level.dimension with parameters of type RegistryAccessModifier 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
Methods in net.minecraft.world.level.levelgen with parameters of type RegistryAccessModifier 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
Fields in net.minecraft.world.level.levelgen.carver declared as RegistryAccessMethods in net.minecraft.world.level.levelgen.carver that return RegistryAccessConstructors in net.minecraft.world.level.levelgen.carver with parameters of type RegistryAccessModifierConstructorDescriptionCarvingContext
(NoiseBasedChunkGenerator p_190642_, RegistryAccess p_190643_, LevelHeightAccessor p_190644_, NoiseChunk p_190645_) -
Uses of RegistryAccess in net.minecraft.world.level.levelgen.feature
Methods in net.minecraft.world.level.levelgen.feature with parameters of type RegistryAccessModifier 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
Fields in net.minecraft.world.level.levelgen.structure declared as RegistryAccessConstructors in net.minecraft.world.level.levelgen.structure with parameters of type RegistryAccessModifierConstructorDescriptionStructureCheck
(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
Fields in net.minecraft.world.level.levelgen.structure.pieces declared as RegistryAccessModifier and TypeFieldDescriptionprivate final RegistryAccess
PieceGeneratorSupplier.Context.registryAccess
The field for theregistryAccess
record component.private final RegistryAccess
StructurePieceSerializationContext.registryAccess
The field for theregistryAccess
record component.Methods in net.minecraft.world.level.levelgen.structure.pieces that return RegistryAccessModifier and TypeMethodDescriptionPieceGeneratorSupplier.Context.registryAccess()
Returns the value of theregistryAccess
record component.StructurePieceSerializationContext.registryAccess()
Returns the value of theregistryAccess
record component.Constructors in net.minecraft.world.level.levelgen.structure.pieces with parameters of type RegistryAccessModifierConstructorDescriptionContext
(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
Methods in net.minecraft.world.level.levelgen.structure.pools with parameters of type RegistryAccessModifier 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
Methods in net.minecraft.world.level.storage with parameters of type RegistryAccessModifier 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
Methods in net.minecraftforge.client that return RegistryAccessModifier and TypeMethodDescriptionClientCommandSourceStack.registryAccess()
Gets theRegistryAccess
from the client sideMethods in net.minecraftforge.client with parameters of type RegistryAccessModifier 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
Methods in net.minecraftforge.common.world with parameters of type RegistryAccessModifier 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
Methods in net.minecraftforge.debug.world with parameters of type RegistryAccessModifier and TypeMethodDescriptionprivate ChunkGenerator
ForgeWorldTypeTest.createChunkGenerator
(RegistryAccess registry, long seed, String settings) -
Uses of RegistryAccess in net.minecraftforge.event
Fields in net.minecraftforge.event declared as RegistryAccessMethods in net.minecraftforge.event that return RegistryAccessConstructors in net.minecraftforge.event with parameters of type RegistryAccessModifierConstructorDescriptionTagsUpdatedEvent
(RegistryAccess registries) Deprecated, for removal: This API element is subject to removal in a future version.TagsUpdatedEvent
(RegistryAccess registries, boolean fromClientPacket, boolean isIntegratedServerConnection)