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
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_310233_) -
Uses of RegistryAccess in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer that return RegistryAccess -
Uses of RegistryAccess in net.minecraft.commands
Methods in net.minecraft.commands that return RegistryAccessModifier and TypeMethodDescriptionCommandSourceStack.registryAccess()
SharedSuggestionProvider.registryAccess()
Methods in net.minecraft.commands with parameters of type RegistryAccessModifier and TypeMethodDescriptionCommandBuildContext.configurable
(RegistryAccess p_255925_, FeatureFlagSet p_255945_) -
Uses of RegistryAccess in net.minecraft.core
Subinterfaces of RegistryAccess in net.minecraft.coreClasses in net.minecraft.core that implement RegistryAccessFields in net.minecraft.core with type parameters of type RegistryAccessModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryAccess>
RegistrySynchronization.NETWORK_CODEC
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>RegistrySynchronization.captureMap
(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_249934_) private static <E> com.mojang.serialization.Codec<RegistryAccess>
RegistrySynchronization.makeNetworkCodec()
Methods 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_310265_) private static HolderLookup.Provider
RegistrySetBuilder.buildProviderWithContext
(RegistryAccess p_311176_, Stream<HolderLookup.RegistryLookup<?>> p_311668_) RegistrySetBuilder.BuildState.create
(RegistryAccess p_255995_, Stream<ResourceKey<? extends Registry<?>>> p_256495_) private HolderLookup.Provider
RegistrySetBuilder.createLazyFullPatchedRegistries
(RegistryAccess p_312999_, HolderLookup.Provider p_309815_, Cloner.Factory p_311992_, Map<ResourceKey<? extends Registry<?>>, RegistrySetBuilder.RegistryContents<?>> p_309672_, HolderLookup.Provider p_312434_) private RegistrySetBuilder.BuildState
RegistrySetBuilder.createState
(RegistryAccess p_256400_) private static Stream<RegistryAccess.RegistryEntry<?>>
RegistrySynchronization.ownedNetworkableRegistries
(RegistryAccess p_251842_) 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.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_) ChatType.BoundNetwork.resolve
(RegistryAccess p_242936_) ChatType.Bound.toNetwork
(RegistryAccess p_241362_) -
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<com.mojang.datafixers.util.Pair<WritableRegistry<?>, RegistryDataLoader.Loader>> p_255821_) static RegistryAccess.Frozen
RegistryDataLoader.load
(ResourceManager p_252046_, RegistryAccess p_249916_, List<RegistryDataLoader.RegistryData<?>> p_250344_) -
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.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.world.damagesource
Constructors in net.minecraft.world.damagesource with parameters of type 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
(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.item.armortrim
Methods in net.minecraft.world.item.armortrim with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic void
ArmorTrim.appendUpgradeHoverText
(ItemStack p_266761_, RegistryAccess p_266979_, List<Component> p_267199_) static Optional<Holder.Reference<TrimMaterial>>
TrimMaterials.getFromIngredient
(RegistryAccess p_266981_, ItemStack p_267327_) static Optional<Holder.Reference<TrimPattern>>
TrimPatterns.getFromTemplate
(RegistryAccess p_267205_, ItemStack p_267001_) ArmorTrim.getTrim
(RegistryAccess p_266952_, ItemStack p_266766_, boolean p_297853_) static boolean
ArmorTrim.setTrim
(RegistryAccess p_267181_, ItemStack p_266994_, ArmorTrim p_267002_) -
Uses of RegistryAccess in net.minecraft.world.item.crafting
Methods in net.minecraft.world.item.crafting with parameters of type RegistryAccessModifier and TypeMethodDescriptionAbstractCookingRecipe.assemble
(Container p_43746_, RegistryAccess p_267063_) ArmorDyeRecipe.assemble
(CraftingContainer p_43767_, RegistryAccess p_267017_) BannerDuplicateRecipe.assemble
(CraftingContainer p_43783_, RegistryAccess p_267308_) BookCloningRecipe.assemble
(CraftingContainer p_43812_, RegistryAccess p_267039_) DecoratedPotRecipe.assemble
(CraftingContainer p_272861_, RegistryAccess p_273288_) FireworkRocketRecipe.assemble
(CraftingContainer p_43852_, RegistryAccess p_266791_) FireworkStarFadeRecipe.assemble
(CraftingContainer p_43871_, RegistryAccess p_266682_) FireworkStarRecipe.assemble
(CraftingContainer p_43893_, RegistryAccess p_266692_) MapCloningRecipe.assemble
(CraftingContainer p_43978_, RegistryAccess p_267299_) MapExtendingRecipe.assemble
(CraftingContainer p_43991_, RegistryAccess p_266892_) Recipe.assemble
(C p_44001_, RegistryAccess p_267165_) RepairItemRecipe.assemble
(CraftingContainer p_44136_, RegistryAccess p_267094_) ShapedRecipe.assemble
(CraftingContainer p_266686_, RegistryAccess p_266725_) ShapelessRecipe.assemble
(CraftingContainer p_44260_, RegistryAccess p_266797_) ShieldDecorationRecipe.assemble
(CraftingContainer p_44306_, RegistryAccess p_267112_) ShulkerBoxColoring.assemble
(CraftingContainer p_44322_, RegistryAccess p_266985_) SingleItemRecipe.assemble
(Container p_44427_, RegistryAccess p_266999_) SmithingTransformRecipe.assemble
(Container p_267036_, RegistryAccess p_266699_) SmithingTrimRecipe.assemble
(Container p_267320_, RegistryAccess p_267280_) SuspiciousStewRecipe.assemble
(CraftingContainer p_44497_, RegistryAccess p_266871_) TippedArrowRecipe.assemble
(CraftingContainer p_44513_, RegistryAccess p_267186_) AbstractCookingRecipe.getResultItem
(RegistryAccess p_266851_) CustomRecipe.getResultItem
(RegistryAccess p_267025_) FireworkRocketRecipe.getResultItem
(RegistryAccess p_267261_) FireworkStarRecipe.getResultItem
(RegistryAccess p_266932_) Recipe.getResultItem
(RegistryAccess p_267052_) ShapedRecipe.getResultItem
(RegistryAccess p_266881_) ShapelessRecipe.getResultItem
(RegistryAccess p_267111_) SingleItemRecipe.getResultItem
(RegistryAccess p_266964_) SmithingTransformRecipe.getResultItem
(RegistryAccess p_267209_) SmithingTrimRecipe.getResultItem
(RegistryAccess p_266948_) -
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 boolean
AbstractFurnaceBlockEntity.burn
(RegistryAccess p_266740_, RecipeHolder<?> p_299450_, NonNullList<ItemStack> p_267073_, int p_267157_) private boolean
AbstractFurnaceBlockEntity.canBurn
(RegistryAccess p_266924_, RecipeHolder<?> p_299207_, NonNullList<ItemStack> p_155007_, int p_155008_) -
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
(Path p_223509_, Function<Runnable, com.mojang.serialization.Codec<R>> p_223510_, Function<Runnable, R> p_223511_, com.mojang.datafixers.DataFixer p_223512_, DataFixTypes p_223513_, boolean p_223514_, 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.minecraftforge.client
Methods in net.minecraftforge.client that return RegistryAccessModifier and TypeMethodDescriptionClientCommandSourceStack.registryAccess()
Returns theRegistryAccess
from the client side. -
Uses of RegistryAccess in net.minecraftforge.common.crafting
Methods in net.minecraftforge.common.crafting with parameters of type RegistryAccessModifier and TypeMethodDescriptionConditionalRecipe.Wrapper.assemble
(Container inv, RegistryAccess reg) ConditionalRecipe.Wrapper.getResultItem
(RegistryAccess reg) -
Uses of RegistryAccess in net.minecraftforge.event
Fields in net.minecraftforge.event declared as RegistryAccessModifier and TypeFieldDescriptionprivate final RegistryAccess
AddReloadListenerEvent.registryAccess
private final RegistryAccess
TagsUpdatedEvent.registryAccess
Methods in net.minecraftforge.event that return RegistryAccessModifier and TypeMethodDescriptionAddReloadListenerEvent.getRegistryAccess()
Provides access to the loaded registries associated with these server resources.TagsUpdatedEvent.getRegistryAccess()
Methods in net.minecraftforge.event with parameters of type RegistryAccessModifier and TypeMethodDescriptionstatic List<PreparableReloadListener>
ForgeEventFactory.onResourceReload
(ReloadableServerResources serverResources, RegistryAccess registryAccess) Constructors in net.minecraftforge.event with parameters of type RegistryAccessModifierConstructorDescriptionAddReloadListenerEvent
(ReloadableServerResources serverResources, RegistryAccess registryAccess) TagsUpdatedEvent
(RegistryAccess registryAccess, boolean fromClientPacket, boolean isIntegratedServerConnection)