Uses of Interface
net.minecraft.core.RegistryAccess
Packages that use RegistryAccess
Package
Description
-
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.worldselection
Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type RegistryAccessModifierConstructorDescriptionprivateOptimizeWorldScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorageSource.LevelStorageAccess levelSource, WorldData worldData, boolean eraseCache, RegistryAccess registryAccess) -
Uses of RegistryAccess in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer that return RegistryAccessModifier and TypeMethodDescriptionprivate RegistryAccessRegistryDataCollector.loadNewElementsAndTags(ResourceProvider knownDataSource, RegistryDataCollector.ContentsCollector contentsCollector, boolean tagsForSynchronizedRegistriesOnly) ClientSuggestionProvider.registryAccess() -
Uses of RegistryAccess in net.minecraft.client.player.inventory
Methods in net.minecraft.client.player.inventory with parameters of type RegistryAccessModifier and TypeMethodDescriptionvoidHotbar.storeFrom(Inventory inventory, RegistryAccess lookupProvider) -
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 context) RegistrySetBuilder.buildPatch(RegistryAccess context, HolderLookup.Provider fallbackProvider, Cloner.Factory clonerFactory) private static HolderLookup.ProviderRegistrySetBuilder.buildProviderWithContext(RegistrySetBuilder.UniversalOwner owner, RegistryAccess context, Stream<HolderLookup.RegistryLookup<?>> newRegistries) RegistrySetBuilder.BuildState.create(RegistryAccess context, Stream<ResourceKey<? extends Registry<?>>> newRegistries) private HolderLookup.ProviderRegistrySetBuilder.createLazyFullPatchedRegistries(RegistryAccess context, HolderLookup.Provider fallbackProvider, Cloner.Factory clonerFactory, Map<ResourceKey<? extends Registry<?>>, RegistrySetBuilder.RegistryContents<?>> newRegistries, HolderLookup.Provider patchOnlyRegistries) private RegistrySetBuilder.BuildStateRegistrySetBuilder.createState(RegistryAccess context) private static Stream<RegistryAccess.RegistryEntry<?>> RegistrySynchronization.ownedNetworkableRegistries(RegistryAccess access) static voidRegistrySynchronization.packRegistries(com.mojang.serialization.DynamicOps<Tag> ops, RegistryAccess registries, Set<KnownPack> clientKnownPacks, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> output) private static <T> voidRegistrySynchronization.packRegistry(com.mojang.serialization.DynamicOps<Tag> ops, RegistryDataLoader.RegistryData<T> registryData, RegistryAccess registries, Set<KnownPack> clientKnownPacks, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> output) 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> registries) -
Uses of RegistryAccess in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic Stream<Holder.Reference<GameTestInstance>> GameTestServer.getTestsForSelection(RegistryAccess registries, String selection) -
Uses of RegistryAccess in net.minecraft.network
Fields in net.minecraft.network declared as RegistryAccessModifier and TypeFieldDescriptionprivate final RegistryAccessRegistryFriendlyByteBuf.registryAccessMethods 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 registryAccess) Deprecated.Neo: use overload with ConnectionType contextstatic Function<io.netty.buffer.ByteBuf, RegistryFriendlyByteBuf> RegistryFriendlyByteBuf.decorator(RegistryAccess registryAccess, ConnectionType connectionType) Constructors in net.minecraft.network with parameters of type RegistryAccessModifierConstructorDescriptionRegistryFriendlyByteBuf(io.netty.buffer.ByteBuf source, RegistryAccess registryAccess) Deprecated.Neo: use overload with ConnectionType contextRegistryFriendlyByteBuf(io.netty.buffer.ByteBuf source, RegistryAccess registryAccess, ConnectionType connectionType) -
Uses of RegistryAccess in net.minecraft.network.chat
Methods in net.minecraft.network.chat with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic ChatType.BoundChatType.bind(ResourceKey<ChatType> chatType, RegistryAccess registryAccess, Component name) -
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 blockEntity, BiFunction<BlockEntity, RegistryAccess, CompoundTag> updateTagSaver) -
Uses of RegistryAccess in net.minecraft.server
Methods in net.minecraft.server with parameters of type RegistryAccessModifier and TypeMethodDescriptionprivate static voidMain.forceUpgrade(LevelStorageSource.LevelStorageAccess storageSource, com.mojang.datafixers.DataFixer fixerUpper, boolean eraseCache, BooleanSupplier isRunning, RegistryAccess registryAccess, boolean recreateRegionFiles) -
Uses of RegistryAccess in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated with parameters of type RegistryAccessModifier and TypeMethodDescriptionprotected DedicatedServerPropertiesDedicatedServerProperties.reload(RegistryAccess registryAccess, Properties properties) protected abstract TSettings.reload(RegistryAccess registryAccess, Properties properties) Settings.MutableValue.update(RegistryAccess registryAccess, V value) -
Uses of RegistryAccess in net.minecraft.server.level
Methods in net.minecraft.server.level that return RegistryAccess -
Uses of RegistryAccess in net.minecraft.tags
Methods in net.minecraft.tags with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic List<Registry.PendingTags<?>> TagLoader.loadTagsForExistingRegistries(ResourceManager manager, RegistryAccess layer) -
Uses of RegistryAccess in net.minecraft.util.worldupdate
Constructors in net.minecraft.util.worldupdate with parameters of type RegistryAccessModifierConstructorDescriptionWorldUpgrader(LevelStorageSource.LevelStorageAccess levelSource, com.mojang.datafixers.DataFixer dataFixer, RegistryAccess registryAccess, boolean eraseCache, boolean recreateRegionFiles) -
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 info, Path folder, com.mojang.datafixers.DataFixer fixerUpper, boolean sync, RegistryAccess registryAccess, ChunkIOErrorReporter errorReporter, LevelHeightAccessor levelHeightAccessor) -
Uses of RegistryAccess in net.minecraft.world.entity.animal.chicken
Methods in net.minecraft.world.entity.animal.chicken with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic Holder<ChickenSoundVariant> ChickenSoundVariants.pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) -
Uses of RegistryAccess in net.minecraft.world.entity.animal.cow
Methods in net.minecraft.world.entity.animal.cow with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic Holder<CowSoundVariant> CowSoundVariants.pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) -
Uses of RegistryAccess in net.minecraft.world.entity.animal.feline
Methods in net.minecraft.world.entity.animal.feline with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic Holder<CatSoundVariant> CatSoundVariants.pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) -
Uses of RegistryAccess in net.minecraft.world.entity.animal.pig
Methods in net.minecraft.world.entity.animal.pig with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic Holder<PigSoundVariant> PigSoundVariants.pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) -
Uses of RegistryAccess in net.minecraft.world.entity.animal.wolf
Methods in net.minecraft.world.entity.animal.wolf with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic Holder<WolfSoundVariant> WolfSoundVariants.pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) -
Uses of RegistryAccess in net.minecraft.world.entity.variant
Methods in net.minecraft.world.entity.variant with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic <T> Holder<T> VariantUtils.getAny(RegistryAccess registryAccess, ResourceKey<? extends Registry<T>> registryId) static <T> Holder<T> VariantUtils.getDefaultOrAny(RegistryAccess registryAccess, ResourceKey<T> id) -
Uses of RegistryAccess in net.minecraft.world.inventory
Methods in net.minecraft.world.inventory with parameters of type RegistryAccessModifier and TypeMethodDescriptionprivate List<EnchantmentInstance> EnchantmentMenu.getEnchantmentList(RegistryAccess access, ItemStack itemStack, int slot, int enchantmentCost) -
Uses of RegistryAccess in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type RegistryAccessModifier and TypeMethodDescriptionprivate static CompoundTagAdventureModePredicate.saveBlockEntity(BlockEntity blockEntity, RegistryAccess registryAccess, ProblemReporter reporter) -
Uses of RegistryAccess in net.minecraft.world.item.alchemy
Methods in net.minecraft.world.item.alchemy with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic PotionBrewingPotionBrewing.bootstrap(FeatureFlagSet enabledFeatures, RegistryAccess registryAccess) -
Uses of RegistryAccess in net.minecraft.world.item.enchantment
Methods in net.minecraft.world.item.enchantment with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic ItemStackEnchantmentHelper.enchantItem(RandomSource random, ItemStack itemStack, int enchantmentCost, RegistryAccess registryAccess, Optional<? extends HolderSet<Enchantment>> set) static voidEnchantmentHelper.enchantItemFromProvider(ItemStack itemStack, RegistryAccess registryAccess, ResourceKey<EnchantmentProvider> providerKey, DifficultyInstance difficulty, RandomSource random) -
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 RegistryAccessModifierConstructorDescriptionprotectedLevel(WritableLevelData levelData, ResourceKey<Level> dimension, RegistryAccess registryAccess, Holder<DimensionType> dimensionTypeRegistration, boolean isClientSide, boolean isDebug, long biomeZoomSeed, int maxChainedNeighborUpdates) -
Uses of RegistryAccess in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic PalettedContainerFactoryPalettedContainerFactory.create(RegistryAccess registries) voidChunkGenerator.createStructures(RegistryAccess registryAccess, ChunkGeneratorStructureState state, StructureManager structureManager, ChunkAccess centerChunk, StructureTemplateManager structureTemplateManager, ResourceKey<Level> level) private booleanChunkGenerator.tryGenerateStructure(StructureSet.StructureSelectionEntry selected, StructureManager structureManager, RegistryAccess registryAccess, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkAccess centerChunk, ChunkPos sourceChunkPos, SectionPos sectionPos, ResourceKey<Level> level) -
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 TypeMethodDescriptionSerializableChunkData.unpackStructureReferences(RegistryAccess registryAccess, ChunkPos pos, CompoundTag tag) Constructors in net.minecraft.world.level.chunk.storage with parameters of type RegistryAccessModifierConstructorDescriptionSectionStorage(SimpleRegionStorage simpleRegionStorage, com.mojang.serialization.Codec<P> codec, Function<R, P> packer, BiFunction<P, Runnable, R> unpacker, Function<Runnable, R> factory, RegistryAccess registryAccess, ChunkIOErrorReporter errorReporter, LevelHeightAccessor levelHeightAccessor) -
Uses of RegistryAccess in net.minecraft.world.level.levelgen
Methods in net.minecraft.world.level.levelgen with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic WorldGenSettingsWorldGenSettings.of(WorldOptions options, RegistryAccess registryAccess) -
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 generator, RegistryAccess registryAccess, LevelHeightAccessor heightAccessor, NoiseChunk noiseChunk, RandomState randomState, SurfaceRules.RuleSource surfaceRule) -
Uses of RegistryAccess in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as RegistryAccessModifier and TypeFieldDescriptionprivate final RegistryAccessStructure.GenerationContext.registryAccessThe field for theregistryAccessrecord component.private final RegistryAccessStructureCheck.registryAccessMethods in net.minecraft.world.level.levelgen.structure that return RegistryAccessModifier and TypeMethodDescriptionStructure.GenerationContext.registryAccess()Returns the value of theregistryAccessrecord component.Methods in net.minecraft.world.level.levelgen.structure with parameters of type RegistryAccessModifier and TypeMethodDescriptionStructure.generate(Holder<Structure> selected, ResourceKey<Level> dimension, RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkPos sourceChunkPos, int references, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type RegistryAccessModifierConstructorDescriptionGenerationContext(RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) 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 aGenerationContextrecord class.StructureCheck(ChunkScanAccess storageAccess, RegistryAccess registryAccess, StructureTemplateManager structureTemplateManager, ResourceKey<Level> dimension, ChunkGenerator chunkGenerator, RandomState randomState, LevelHeightAccessor heightAccessor, BiomeSource biomeSource, long seed, com.mojang.datafixers.DataFixer fixerUpper) -
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 RegistryAccessPieceGeneratorSupplier.Context.registryAccessThe field for theregistryAccessrecord component.private final RegistryAccessStructurePieceSerializationContext.registryAccessThe field for theregistryAccessrecord component.Methods in net.minecraft.world.level.levelgen.structure.pieces that return RegistryAccessModifier and TypeMethodDescriptionPieceGeneratorSupplier.Context.registryAccess()Returns the value of theregistryAccessrecord component.StructurePieceSerializationContext.registryAccess()Returns the value of theregistryAccessrecord 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 aContextrecord class.StructurePieceSerializationContext(ResourceManager resourceManager, RegistryAccess registryAccess, StructureTemplateManager structureTemplateManager) Creates an instance of aStructurePieceSerializationContextrecord class. -
Uses of RegistryAccess in net.neoforged.neoforge.attachment
Methods in net.neoforged.neoforge.attachment with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic voidAttachmentSync.receiveSyncedDataAttachments(AttachmentHolder holder, RegistryAccess registryAccess, List<AttachmentType<?>> types, byte[] bytes) -
Uses of RegistryAccess in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client that return RegistryAccessModifier and TypeMethodDescriptionClientCommandSourceStack.registryAccess()Returns theRegistryAccessfrom the client side. -
Uses of RegistryAccess in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic FuelValuesDataMapHooks.populateFuelValues(RegistryAccess lookupProvider, FeatureFlagSet features) -
Uses of RegistryAccess in net.neoforged.neoforge.common.conditions
Fields in net.neoforged.neoforge.common.conditions declared as RegistryAccessMethods in net.neoforged.neoforge.common.conditions that return RegistryAccessModifier and TypeMethodDescriptionConditionContext.registryAccess()default RegistryAccessICondition.IContext.registryAccess()Constructors in net.neoforged.neoforge.common.conditions with parameters of type RegistryAccessModifierConstructorDescriptionConditionContext(List<Registry.PendingTags<?>> pendingTags, RegistryAccess registryAccess, FeatureFlagSet enabledFeatures) -
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.common.world
Methods in net.neoforged.neoforge.common.world with parameters of type RegistryAccessModifier and TypeMethodDescriptionbooleanModifiableBiomeInfo.applyBiomeModifiers(Holder<Biome> biome, List<BiomeModifier> biomeModifiers, RegistryAccess registryAccess) Internal NeoForge method. -
Uses of RegistryAccess in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as RegistryAccessModifier and TypeFieldDescriptionprivate final RegistryAccessAddServerReloadListenersEvent.registryAccessMethods in net.neoforged.neoforge.event that return RegistryAccessModifier and TypeMethodDescriptionAddServerReloadListenersEvent.getRegistryAccess()Provides access to the loaded registries associated with these server resources.Methods in net.neoforged.neoforge.event with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic List<PreparableReloadListener> EventHooks.onResourceReload(ReloadableServerResources serverResources, RegistryAccess registryAccess) Fires theAddServerReloadListenersEventand returns the sorted list of reload listeners.Constructors in net.neoforged.neoforge.event with parameters of type RegistryAccessModifierConstructorDescriptionAddServerReloadListenersEvent(ReloadableServerResources serverResources, RegistryAccess registryAccess) -
Uses of RegistryAccess in net.neoforged.neoforge.event.brewing
Fields in net.neoforged.neoforge.event.brewing declared as RegistryAccessModifier and TypeFieldDescriptionprivate final RegistryAccessRegisterBrewingRecipesEvent.registryAccessMethods in net.neoforged.neoforge.event.brewing that return RegistryAccessConstructors in net.neoforged.neoforge.event.brewing with parameters of type RegistryAccessModifierConstructorDescriptionRegisterBrewingRecipesEvent(PotionBrewing.Builder builder, RegistryAccess registryAccess) -
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 RegistryAccessDataMapsUpdatedEvent.registryAccessMethods 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)