Uses of Interface
net.minecraft.core.RegistryAccess
Package
Description
-
Uses of RegistryAccess in net.minecraft.client
Modifier and TypeMethodDescriptionvoid
ClientRecipeBook.setupCollections
(Iterable<Recipe<?>> p_266814_, RegistryAccess p_266878_) -
Uses of RegistryAccess in net.minecraft.client.gui.screens
-
Uses of RegistryAccess in net.minecraft.client.gui.screens.recipebook
Modifier and TypeMethodDescriptionprivate static boolean
RecipeCollection.allRecipesHaveSameResult
(RegistryAccess p_267210_, List<Recipe<?>> p_100509_) ModifierConstructorDescriptionRecipeCollection
(RegistryAccess p_266782_, List<Recipe<?>> p_267051_) -
Uses of RegistryAccess in net.minecraft.client.gui.screens.worldselection
Modifier and TypeMethodDescriptionvoid
WorldOpenFlows.createFreshLevel
(String p_233158_, LevelSettings p_233159_, WorldOptions p_249243_, Function<RegistryAccess, WorldDimensions> p_249252_) -
Uses of RegistryAccess in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionClientPacketListener.registryAccess()
ClientSuggestionProvider.registryAccess()
-
Uses of RegistryAccess in net.minecraft.commands
Modifier and TypeMethodDescriptionCommandSourceStack.registryAccess()
SharedSuggestionProvider.registryAccess()
Modifier and TypeMethodDescriptionCommandBuildContext.configurable
(RegistryAccess p_255925_, FeatureFlagSet p_255945_) -
Uses of RegistryAccess in net.minecraft.core
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RegistryAccess>
RegistrySynchronization.NETWORK_CODEC
Modifier 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()
Modifier and TypeMethodDescriptionRegistrySetBuilder.build
(RegistryAccess p_256112_) RegistrySetBuilder.buildPatch
(RegistryAccess p_255676_, HolderLookup.Provider p_255900_) RegistrySetBuilder.BuildState.create
(RegistryAccess p_255995_, Stream<ResourceKey<? extends Registry<?>>> p_256495_) private RegistrySetBuilder.BuildState
RegistrySetBuilder.createState
(RegistryAccess p_256400_) private static Stream<RegistryAccess.RegistryEntry<?>>
RegistrySynchronization.ownedNetworkableRegistries
(RegistryAccess p_251842_) Modifier and TypeMethodDescriptionprivate static Map<ResourceKey<? extends Registry<?>>,
Registry<?>> LayeredRegistryAccess.collectRegistries
(Stream<? extends RegistryAccess> p_248595_) -
Uses of RegistryAccess in net.minecraft.network.chat
Modifier 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
Modifier 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
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.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
-
Uses of RegistryAccess in net.minecraft.tags
-
Uses of RegistryAccess in net.minecraft.world.damagesource
-
Uses of RegistryAccess in net.minecraft.world.entity.ai.village.poi
ModifierConstructorDescriptionPoiManager
(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
Modifier 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_) static boolean
ArmorTrim.setTrim
(RegistryAccess p_267181_, ItemStack p_266994_, ArmorTrim p_267002_) -
Uses of RegistryAccess in net.minecraft.world.item.crafting
Modifier 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
Modifier and TypeMethodDescriptionLevel.registryAccess()
LevelReader.registryAccess()
StructureManager.registryAccess()
ModifierConstructorDescriptionprotected
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
Modifier and TypeMethodDescriptionprivate boolean
AbstractFurnaceBlockEntity.burn
(RegistryAccess p_266740_, Recipe<?> p_266780_, NonNullList<ItemStack> p_267073_, int p_267157_) private boolean
AbstractFurnaceBlockEntity.canBurn
(RegistryAccess p_266924_, Recipe<?> p_155006_, NonNullList<ItemStack> p_155007_, int p_155008_) -
Uses of RegistryAccess in net.minecraft.world.level.chunk
Modifier 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
Modifier and TypeMethodDescriptionChunkSerializer.unpackStructureReferences
(RegistryAccess p_208155_, ChunkPos p_208156_, CompoundTag p_208157_) ModifierConstructorDescriptionSectionStorage
(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
Modifier 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
ModifierConstructorDescriptionCarvingContext
(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
Modifier 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
Modifier and TypeFieldDescriptionprivate final RegistryAccess
Structure.GenerationContext.registryAccess
The field for theregistryAccess
record component.private final RegistryAccess
StructureCheck.registryAccess
Modifier and TypeMethodDescriptionStructure.GenerationContext.registryAccess()
Returns the value of theregistryAccess
record component.Modifier 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_) ModifierConstructorDescriptionGenerationContext
(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
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, 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
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()
Returns theRegistryAccess
from the client side. -
Uses of RegistryAccess in net.minecraftforge.debug.recipe.recipebook
Modifier and TypeMethodDescriptionRecipeBookTestRecipe.assemble
(RecipeBookExtensionTest.RecipeBookTestContainer p_44001_, RegistryAccess registryAccess) RecipeBookTestRecipe.getResultItem
(RegistryAccess registryAccess) -
Uses of RegistryAccess in net.minecraftforge.event
Modifier and TypeFieldDescriptionprivate final RegistryAccess
AddReloadListenerEvent.registryAccess
private final RegistryAccess
TagsUpdatedEvent.registryAccess
Modifier and TypeMethodDescriptionAddReloadListenerEvent.getRegistryAccess()
Provides access to the loaded registries associated with these server resources.TagsUpdatedEvent.getRegistryAccess()
Modifier and TypeMethodDescriptionstatic List<PreparableReloadListener>
ForgeEventFactory.onResourceReload
(ReloadableServerResources serverResources, RegistryAccess registryAccess) ModifierConstructorDescriptionAddReloadListenerEvent
(ReloadableServerResources serverResources, RegistryAccess registryAccess) TagsUpdatedEvent
(RegistryAccess registryAccess, boolean fromClientPacket, boolean isIntegratedServerConnection)