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 TypeMethodDescriptionprivate void
Minecraft.addCustomNbtData
(ItemStack p_263370_, BlockEntity p_263368_, RegistryAccess p_323897_) void
ClientRecipeBook.setupCollections
(Iterable<RecipeHolder<?>> p_266814_, RegistryAccess p_266878_) -
Uses of RegistryAccess in net.minecraft.client.gui.screens
Constructors in net.minecraft.client.gui.screens with parameters of type RegistryAccess -
Uses of RegistryAccess in net.minecraft.client.gui.screens.recipebook
Fields in net.minecraft.client.gui.screens.recipebook declared as RegistryAccessMethods in net.minecraft.client.gui.screens.recipebook that return RegistryAccessMethods in net.minecraft.client.gui.screens.recipebook with parameters of type RegistryAccessModifier and TypeMethodDescriptionprivate static boolean
RecipeCollection.allRecipesHaveSameResult
(RegistryAccess p_267210_, List<RecipeHolder<?>> p_100509_) Constructors in net.minecraft.client.gui.screens.recipebook with parameters of type RegistryAccessModifierConstructorDescriptionRecipeCollection
(RegistryAccess p_266782_, List<RecipeHolder<?>> p_267051_) -
Uses of RegistryAccess in net.minecraft.client.gui.screens.worldselection
Method parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type RegistryAccessModifier and TypeMethodDescriptionvoid
WorldOpenFlows.createFreshLevel
(String p_233158_, LevelSettings p_233159_, WorldOptions p_249243_, Function<RegistryAccess, WorldDimensions> p_249252_, Screen p_307305_) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type RegistryAccessModifierConstructorDescriptionprivate
OptimizeWorldScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_251295_, com.mojang.datafixers.DataFixer p_250489_, LevelStorageSource.LevelStorageAccess p_248781_, LevelSettings p_251180_, boolean p_250358_, RegistryAccess p_323621_) -
Uses of RegistryAccess in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer that return RegistryAccessModifier and TypeMethodDescriptionRegistryDataCollector.ContentsCollector.loadRegistries
(ResourceProvider p_326039_, RegistryAccess p_321627_) ClientSuggestionProvider.registryAccess()
Methods in net.minecraft.client.multiplayer with parameters of type RegistryAccessModifier and TypeMethodDescriptionprivate void
TagCollector.applyTags
(RegistryAccess p_326395_, Predicate<ResourceKey<? extends Registry<?>>> p_326512_) RegistryDataCollector.collectGameRegistries
(ResourceProvider p_326319_, RegistryAccess p_321556_, boolean p_321683_) RegistryDataCollector.ContentsCollector.loadRegistries
(ResourceProvider p_326039_, RegistryAccess p_321627_) void
TagCollector.updateTags
(RegistryAccess p_326147_, boolean p_326486_) -
Uses of RegistryAccess in net.minecraft.client.player.inventory
Methods in net.minecraft.client.player.inventory with parameters of type RegistryAccessModifier and TypeMethodDescriptionvoid
Hotbar.storeFrom
(Inventory p_324559_, RegistryAccess p_324514_) -
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.coreClasses in net.minecraft.core that implement RegistryAccessMethods in net.minecraft.core with parameters of type RegistryAccessModifier and TypeMethodDescriptionRegistrySetBuilder.build
(RegistryAccess p_256112_) RegistrySetBuilder.buildPatch
(RegistryAccess p_255676_, HolderLookup.Provider p_255900_, Cloner.Factory p_312173_) private static HolderLookup.Provider
RegistrySetBuilder.buildProviderWithContext
(RegistrySetBuilder.UniversalOwner p_326837_, RegistryAccess p_312694_, Stream<HolderLookup.RegistryLookup<?>> p_312024_) RegistrySetBuilder.BuildState.create
(RegistryAccess p_255995_, Stream<ResourceKey<? extends Registry<?>>> p_256495_) private HolderLookup.Provider
RegistrySetBuilder.createLazyFullPatchedRegistries
(RegistryAccess p_312301_, HolderLookup.Provider p_311942_, Cloner.Factory p_312464_, Map<ResourceKey<? extends Registry<?>>, RegistrySetBuilder.RegistryContents<?>> p_312890_, HolderLookup.Provider p_311825_) private RegistrySetBuilder.BuildState
RegistrySetBuilder.createState
(RegistryAccess p_256400_) private static Stream
<RegistryAccess.RegistryEntry<?>> RegistrySynchronization.ownedNetworkableRegistries
(RegistryAccess p_251842_) static void
RegistrySynchronization.packRegistries
(com.mojang.serialization.DynamicOps<Tag> p_321796_, RegistryAccess p_321733_, Set<KnownPack> p_326143_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321539_) private static <T> void
RegistrySynchronization.packRegistry
(com.mojang.serialization.DynamicOps<Tag> p_321608_, RegistryDataLoader.RegistryData<T> p_321701_, RegistryAccess p_321717_, Set<KnownPack> p_326432_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321724_) Method parameters in net.minecraft.core with type arguments of type RegistryAccessModifier and TypeMethodDescriptionprivate static Map
<ResourceKey<? extends Registry<?>>, Registry<?>> LayeredRegistryAccess.collectRegistries
(Stream<? extends RegistryAccess> p_248595_) -
Uses of RegistryAccess in net.minecraft.network
Fields in net.minecraft.network declared as RegistryAccessModifier and TypeFieldDescriptionprivate final RegistryAccess
RegistryFriendlyByteBuf.registryAccess
Methods in net.minecraft.network that return RegistryAccessMethods in net.minecraft.network with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic Function
<io.netty.buffer.ByteBuf, RegistryFriendlyByteBuf> RegistryFriendlyByteBuf.decorator
(RegistryAccess p_320166_) Deprecated.Neo: use overload with ConnectionType contextstatic Function
<io.netty.buffer.ByteBuf, RegistryFriendlyByteBuf> RegistryFriendlyByteBuf.decorator
(RegistryAccess p_320166_, ConnectionType connectionType) Constructors in net.minecraft.network with parameters of type RegistryAccessModifierConstructorDescriptionRegistryFriendlyByteBuf
(io.netty.buffer.ByteBuf p_320951_, RegistryAccess p_319803_) Deprecated.Neo: use overload with ConnectionType contextRegistryFriendlyByteBuf
(io.netty.buffer.ByteBuf p_320951_, RegistryAccess p_319803_, ConnectionType connectionType) -
Uses of RegistryAccess in net.minecraft.network.chat
Methods in net.minecraft.network.chat with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic ChatType.Bound
ChatType.bind
(ResourceKey<ChatType> p_241284_, RegistryAccess p_241373_, Component p_241455_) -
Uses of RegistryAccess in net.minecraft.network.protocol.game
Method parameters in net.minecraft.network.protocol.game with type arguments of type RegistryAccessModifier and TypeMethodDescriptionClientboundBlockEntityDataPacket.create
(BlockEntity p_195643_, BiFunction<BlockEntity, RegistryAccess, CompoundTag> p_324611_) -
Uses of RegistryAccess in net.minecraft.resources
Methods in net.minecraft.resources with parameters of type RegistryAccessModifier and TypeMethodDescriptionprivate static RegistryOps.RegistryInfoLookup
RegistryDataLoader.createContext
(RegistryAccess p_256568_, List<RegistryDataLoader.Loader<?>> p_255821_) static RegistryAccess.Frozen
RegistryDataLoader.load
(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321642_, ResourceProvider p_326068_, RegistryAccess p_321850_, List<RegistryDataLoader.RegistryData<?>> p_321716_) static RegistryAccess.Frozen
RegistryDataLoader.load
(RegistryDataLoader.LoadingFunction p_321713_, RegistryAccess p_321583_, List<RegistryDataLoader.RegistryData<?>> p_321856_) static RegistryAccess.Frozen
RegistryDataLoader.load
(ResourceManager p_252046_, RegistryAccess p_249916_, List<RegistryDataLoader.RegistryData<?>> p_250344_) -
Uses of RegistryAccess in net.minecraft.server
Fields in net.minecraft.server declared as RegistryAccessModifier and TypeFieldDescriptionprivate final RegistryAccess
ReloadableServerRegistries.EmptyTagLookupWrapper.registryAccess
private final RegistryAccess
ReloadableServerResources.ConfigurableRegistryLookup.registryAccess
Methods in net.minecraft.server with parameters of type RegistryAccessModifier and TypeMethodDescriptionprivate static void
Main.forceUpgrade
(LevelStorageSource.LevelStorageAccess p_195489_, com.mojang.datafixers.DataFixer p_195490_, boolean p_195491_, BooleanSupplier p_195492_, RegistryAccess p_323503_, boolean p_321704_) private static <T> void
ReloadableServerResources.updateRegistryTags
(RegistryAccess p_206871_, TagManager.LoadResult<T> p_206872_) private static <T> void
ReloadableServerRegistries.validateRegistry
(ValidationContext p_335565_, LootDataType<T> p_335997_, RegistryAccess p_335400_) Constructors in net.minecraft.server with parameters of type RegistryAccessModifierConstructorDescription(package private)
ConfigurableRegistryLookup
(RegistryAccess p_324146_) (package private)
EmptyTagLookupWrapper
(RegistryAccess p_335912_) -
Uses of RegistryAccess in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated with parameters of type RegistryAccessModifier and TypeMethodDescriptionDedicatedServerProperties.WorldDimensionData.create
(RegistryAccess p_248812_) DedicatedServerProperties.createDimensions
(RegistryAccess p_250466_) 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 RegistryAccessConstructors in net.minecraft.tags with parameters of type RegistryAccess -
Uses of RegistryAccess in net.minecraft.util.worldupdate
Constructors in net.minecraft.util.worldupdate with parameters of type RegistryAccessModifierConstructorDescriptionWorldUpgrader
(LevelStorageSource.LevelStorageAccess p_249922_, com.mojang.datafixers.DataFixer p_250273_, RegistryAccess p_323645_, boolean p_250738_, boolean p_321700_) -
Uses of RegistryAccess in net.minecraft.world.damagesource
Constructors in net.minecraft.world.damagesource with parameters of type RegistryAccess -
Uses of RegistryAccess in net.minecraft.world.entity
Methods in net.minecraft.world.entity that return RegistryAccess -
Uses of RegistryAccess in net.minecraft.world.entity.ai.village.poi
Constructors in net.minecraft.world.entity.ai.village.poi with parameters of type RegistryAccessModifierConstructorDescriptionPoiManager
(RegionStorageInfo p_325948_, Path p_217869_, com.mojang.datafixers.DataFixer p_217870_, boolean p_217871_, RegistryAccess p_217872_, LevelHeightAccessor p_217873_) -
Uses of RegistryAccess in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic Holder
<WolfVariant> WolfVariants.getSpawnVariant
(RegistryAccess p_332694_, Holder<Biome> p_332773_) -
Uses of RegistryAccess in net.minecraft.world.level
Fields in net.minecraft.world.level declared as RegistryAccessMethods in net.minecraft.world.level that return RegistryAccessModifier and TypeMethodDescriptionLevel.registryAccess()
LevelReader.registryAccess()
StructureManager.registryAccess()
Constructors in net.minecraft.world.level with parameters of type RegistryAccessModifierConstructorDescriptionprotected
Level
(WritableLevelData p_270739_, ResourceKey<Level> p_270683_, RegistryAccess p_270200_, Holder<DimensionType> p_270240_, Supplier<ProfilerFiller> p_270692_, boolean p_270904_, boolean p_270470_, long p_270248_, int p_270466_) -
Uses of RegistryAccess in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity with parameters of type RegistryAccessModifier and TypeMethodDescriptionprivate static boolean
AbstractFurnaceBlockEntity.burn
(RegistryAccess p_266740_, RecipeHolder<?> p_300910_, NonNullList<ItemStack> p_267073_, int p_267157_, AbstractFurnaceBlockEntity furnace) private static boolean
AbstractFurnaceBlockEntity.canBurn
(RegistryAccess p_266924_, RecipeHolder<?> p_301107_, NonNullList<ItemStack> p_155007_, int p_155008_, AbstractFurnaceBlockEntity furnace) -
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_255835_, ChunkGeneratorStructureState p_256505_, StructureManager p_255934_, ChunkAccess p_255767_, StructureTemplateManager p_255832_) private boolean
ChunkGenerator.tryGenerateStructure
(StructureSet.StructureSelectionEntry p_223105_, StructureManager p_223106_, RegistryAccess p_223107_, RandomState p_223108_, StructureTemplateManager p_223109_, long p_223110_, ChunkAccess p_223111_, ChunkPos p_223112_, SectionPos p_223113_) -
Uses of RegistryAccess in net.minecraft.world.level.chunk.storage
Fields in net.minecraft.world.level.chunk.storage declared as RegistryAccessMethods in net.minecraft.world.level.chunk.storage with parameters of type RegistryAccessModifier and TypeMethodDescriptionChunkSerializer.unpackStructureReferences
(RegistryAccess p_208155_, ChunkPos p_208156_, CompoundTag p_208157_) Constructors in net.minecraft.world.level.chunk.storage with parameters of type RegistryAccessModifierConstructorDescriptionSectionStorage
(SimpleRegionStorage p_321814_, Function<Runnable, com.mojang.serialization.Codec<R>> p_223510_, Function<Runnable, R> p_223511_, RegistryAccess p_223515_, LevelHeightAccessor p_223516_) -
Uses of RegistryAccess in net.minecraft.world.level.levelgen
Methods in net.minecraft.world.level.levelgen with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.DataResult
<T> WorldGenSettings.encode
(com.mojang.serialization.DynamicOps<T> p_250917_, WorldOptions p_250366_, RegistryAccess p_251515_) WorldDimensions.replaceOverworldGenerator
(RegistryAccess p_251390_, ChunkGenerator p_248755_) -
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_224845_, RegistryAccess p_224846_, LevelHeightAccessor p_224847_, NoiseChunk p_224848_, RandomState p_224849_, SurfaceRules.RuleSource p_224850_) -
Uses of RegistryAccess in net.minecraft.world.level.levelgen.presets
Methods in net.minecraft.world.level.levelgen.presets with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic WorldDimensions
WorldPresets.createNormalWorldDimensions
(RegistryAccess p_251732_) static LevelStem
WorldPresets.getNormalOverworld
(RegistryAccess p_226464_) -
Uses of RegistryAccess in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as RegistryAccessModifier and TypeFieldDescriptionprivate final RegistryAccess
Structure.GenerationContext.registryAccess
The field for theregistryAccess
record component.private final RegistryAccess
StructureCheck.registryAccess
Methods in net.minecraft.world.level.levelgen.structure that return RegistryAccessModifier and TypeMethodDescriptionStructure.GenerationContext.registryAccess()
Returns the value of theregistryAccess
record component.Methods in net.minecraft.world.level.levelgen.structure with parameters of type RegistryAccessModifier and TypeMethodDescriptionStructure.generate
(RegistryAccess p_226597_, ChunkGenerator p_226598_, BiomeSource p_226599_, RandomState p_226600_, StructureTemplateManager p_226601_, long p_226602_, ChunkPos p_226603_, int p_226604_, LevelHeightAccessor p_226605_, Predicate<Holder<Biome>> p_226606_) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type RegistryAccessModifierConstructorDescriptionGenerationContext
(RegistryAccess p_226632_, ChunkGenerator p_226633_, BiomeSource p_226634_, RandomState p_226635_, StructureTemplateManager p_226636_, long p_226637_, ChunkPos p_226638_, LevelHeightAccessor p_226639_, Predicate<Holder<Biome>> p_226640_) GenerationContext
(RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, StructureTemplateManager structureTemplateManager, WorldgenRandom random, long seed, ChunkPos chunkPos, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) Creates an instance of aGenerationContext
record class.StructureCheck
(ChunkScanAccess p_226712_, RegistryAccess p_226713_, StructureTemplateManager p_226714_, ResourceKey<Level> p_226715_, ChunkGenerator p_226716_, RandomState p_226717_, LevelHeightAccessor p_226718_, BiomeSource p_226719_, long p_226720_, com.mojang.datafixers.DataFixer p_226721_) -
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, RandomState randomState, long seed, ChunkPos chunkPos, C config, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome, StructureTemplateManager structureTemplateManager, RegistryAccess registryAccess) Creates an instance of aContext
record class.StructurePieceSerializationContext
(ResourceManager resourceManager, RegistryAccess registryAccess, StructureTemplateManager structureTemplateManager) Creates an instance of aStructurePieceSerializationContext
record class. -
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.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client that return RegistryAccessModifier and TypeMethodDescriptionClientCommandSourceStack.registryAccess()
Returns theRegistryAccess
from the client side. -
Uses of RegistryAccess in net.neoforged.neoforge.common.util
Methods in net.neoforged.neoforge.common.util with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic byte[]
FriendlyByteBufUtil.writeCustomData
(Consumer<RegistryFriendlyByteBuf> dataWriter, RegistryAccess registryAccess) Writes custom data to aRegistryFriendlyByteBuf
, then returns the written data as a byte array. -
Uses of RegistryAccess in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as RegistryAccessModifier and TypeFieldDescriptionprivate final RegistryAccess
AddReloadListenerEvent.registryAccess
private final RegistryAccess
TagsUpdatedEvent.registryAccess
Methods in net.neoforged.neoforge.event that return RegistryAccessModifier and TypeMethodDescriptionAddReloadListenerEvent.getRegistryAccess()
Provides access to the loaded registries associated with these server resources.TagsUpdatedEvent.getRegistryAccess()
Methods in net.neoforged.neoforge.event with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic List
<PreparableReloadListener> EventHooks.onResourceReload
(ReloadableServerResources serverResources, RegistryAccess registryAccess) Constructors in net.neoforged.neoforge.event with parameters of type RegistryAccessModifierConstructorDescriptionAddReloadListenerEvent
(ReloadableServerResources serverResources, RegistryAccess registryAccess) TagsUpdatedEvent
(RegistryAccess registryAccess, boolean fromClientPacket, boolean isIntegratedServerConnection) -
Uses of RegistryAccess in net.neoforged.neoforge.registries
Fields in net.neoforged.neoforge.registries declared as RegistryAccessMethods in net.neoforged.neoforge.registries with parameters of type RegistryAccessModifier and TypeMethodDescriptionprivate static Map
<ResourceKey<? extends Registry<?>>, DataMapLoader.LoadResult<?>> DataMapLoader.load
(ResourceManager manager, ProfilerFiller profiler, RegistryAccess access, ICondition.IContext context) Constructors in net.neoforged.neoforge.registries with parameters of type RegistryAccessModifierConstructorDescriptionDataMapLoader
(ICondition.IContext conditionContext, RegistryAccess registryAccess) -
Uses of RegistryAccess in net.neoforged.neoforge.registries.datamaps
Fields in net.neoforged.neoforge.registries.datamaps declared as RegistryAccessModifier and TypeFieldDescriptionprivate final RegistryAccess
DataMapsUpdatedEvent.registryAccess
Methods in net.neoforged.neoforge.registries.datamaps that return RegistryAccessModifier and TypeMethodDescriptionDataMapsUpdatedEvent.getRegistries()
Returns a registry access.Constructors in net.neoforged.neoforge.registries.datamaps with parameters of type RegistryAccessModifierConstructorDescriptionDataMapsUpdatedEvent
(RegistryAccess registryAccess, Registry<?> registry, DataMapsUpdatedEvent.UpdateCause cause)