Uses of Interface
net.minecraft.core.Registry
Package
Description
-
Uses of Registry in net.minecraft
Modifier and TypeMethodDescriptionstatic <T> String
Util.getRegisteredName
(Registry<T> p_331026_, T p_331334_) -
Uses of Registry in net.minecraft.advancements
Modifier and TypeMethodDescriptionstatic CriterionTrigger
<?> CriteriaTriggers.bootstrap
(Registry<CriterionTrigger<?>> p_312285_) -
Uses of Registry in net.minecraft.advancements.critereon
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EntitySubPredicate> EntitySubPredicates.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>> p_333899_) static ItemSubPredicate.Type
<?> ItemSubPredicates.bootstrap
(Registry<ItemSubPredicate.Type<?>> p_333896_) static <V> EntitySubPredicates.EntityVariantPredicateType
<V> EntitySubPredicates.EntityVariantPredicateType.create
(Registry<V> p_333921_, Function<Entity, Optional<V>> p_334088_) Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec
<TagPredicate<T>> TagPredicate.codec
(ResourceKey<? extends Registry<T>> p_298649_) static <V> EntitySubPredicates.EntityHolderVariantPredicateType
<V> EntitySubPredicates.EntityHolderVariantPredicateType.create
(ResourceKey<? extends Registry<V>> p_335749_, Function<Entity, Optional<Holder<V>>> p_336155_) ModifierConstructorDescriptionEntityHolderVariantPredicateType
(ResourceKey<? extends Registry<V>> p_336141_, Function<Entity, Optional<Holder<V>>> p_336167_) -
Uses of Registry in net.minecraft.client.gui.screens
-
Uses of Registry in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionWorldCreationContext.datapackDimensions
The field for thedatapackDimensions
record component.Modifier and TypeMethodDescriptionWorldCreationContext.datapackDimensions()
Returns the value of thedatapackDimensions
record component.Modifier and TypeMethodDescriptionprivate static Optional
<List<WorldCreationUiState.WorldTypeEntry>> WorldCreationUiState.getNonEmptyList
(Registry<WorldPreset> p_268296_, TagKey<WorldPreset> p_268097_) ModifierConstructorDescriptionWorldCreationContext
(WorldOptions options, Registry<LevelStem> datapackDimensions, WorldDimensions selectedDimensions, LayeredRegistryAccess<RegistryLayer> worldgenRegistries, ReloadableServerResources dataPackResources, WorldDataConfiguration dataConfiguration) Creates an instance of aWorldCreationContext
record class. -
Uses of Registry in net.minecraft.client.multiplayer
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> RegistryDataCollector.ContentsCollector.elements
private final Map
<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> TagCollector.tags
Modifier and TypeMethodDescriptionvoid
RegistryDataCollector.ContentsCollector.append
(ResourceKey<? extends Registry<?>> p_321577_, List<RegistrySynchronization.PackedRegistryEntry> p_321551_) void
TagCollector.append
(ResourceKey<? extends Registry<?>> p_326295_, TagNetworkSerialization.NetworkPayload p_326414_) void
RegistryDataCollector.appendContents
(ResourceKey<? extends Registry<?>> p_321794_, List<RegistrySynchronization.PackedRegistryEntry> p_321772_) void
RegistryDataCollector.appendTags
(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> p_321771_) private void
TagCollector.applyTags
(RegistryAccess p_326395_, Predicate<ResourceKey<? extends Registry<?>>> p_326512_) CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> ClientSuggestionProvider.suggestRegistryElements
(ResourceKey<? extends Registry<?>> p_212429_, SharedSuggestionProvider.ElementSuggestionType p_212430_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212431_, com.mojang.brigadier.context.CommandContext<?> p_212432_) -
Uses of Registry in net.minecraft.commands
Modifier and TypeMethodDescriptiondefault void
SharedSuggestionProvider.suggestRegistryElements
(Registry<?> p_212336_, SharedSuggestionProvider.ElementSuggestionType p_212337_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212338_) Modifier and TypeMethodDescriptionCompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> CommandSourceStack.suggestRegistryElements
(ResourceKey<? extends Registry<?>> p_212330_, SharedSuggestionProvider.ElementSuggestionType p_212331_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212332_, com.mojang.brigadier.context.CommandContext<?> p_212333_) CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestRegistryElements
(ResourceKey<? extends Registry<?>> p_212339_, SharedSuggestionProvider.ElementSuggestionType p_212340_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212341_, com.mojang.brigadier.context.CommandContext<?> p_212342_) -
Uses of Registry in net.minecraft.commands.arguments
Modifier and TypeFieldDescription(package private) final ResourceKey
<? extends Registry<T>> ResourceArgument.Info.Template.registryKey
(package private) final ResourceKey
<? extends Registry<T>> ResourceArgument.registryKey
(package private) final ResourceKey
<? extends Registry<T>> ResourceKeyArgument.Info.Template.registryKey
(package private) final ResourceKey
<? extends Registry<T>> ResourceKeyArgument.registryKey
(package private) final ResourceKey
<? extends Registry<T>> ResourceOrTagArgument.Info.Template.registryKey
(package private) final ResourceKey
<? extends Registry<T>> ResourceOrTagArgument.registryKey
(package private) final ResourceKey
<? extends Registry<T>> ResourceOrTagKeyArgument.Info.Template.registryKey
(package private) final ResourceKey
<? extends Registry<T>> ResourceOrTagKeyArgument.registryKey
Modifier and TypeMethodDescriptionprivate static <T> Registry
<T> ResourceKeyArgument.getRegistry
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212379_, ResourceKey<? extends Registry<T>> p_212380_) Modifier and TypeMethodDescription<E> Optional
<ResourceOrTagArgument.Result<E>> ResourceOrTagArgument.ResourceResult.cast
(ResourceKey<? extends Registry<E>> p_250007_) <E> Optional
<ResourceOrTagArgument.Result<E>> ResourceOrTagArgument.Result.cast
(ResourceKey<? extends Registry<E>> p_249572_) <E> Optional
<ResourceOrTagArgument.Result<E>> ResourceOrTagArgument.TagResult.cast
(ResourceKey<? extends Registry<E>> p_250945_) ResourceOrTagKeyArgument.ResourceResult.cast
(ResourceKey<? extends Registry<E>> p_251369_) ResourceOrTagKeyArgument.Result.cast
(ResourceKey<? extends Registry<E>> p_251612_) ResourceOrTagKeyArgument.TagResult.cast
(ResourceKey<? extends Registry<E>> p_251833_) private static <T> Registry
<T> ResourceKeyArgument.getRegistry
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212379_, ResourceKey<? extends Registry<T>> p_212380_) private static <T> ResourceKey
<T> ResourceKeyArgument.getRegistryKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212374_, String p_212375_, ResourceKey<Registry<T>> p_212376_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_212377_) static <T> Holder.Reference
<T> ResourceArgument.getResource
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_251788_, String p_251996_, ResourceKey<Registry<T>> p_250077_) static <T> ResourceOrTagArgument.Result
<T> ResourceOrTagArgument.getResourceOrTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_249001_, String p_251520_, ResourceKey<Registry<T>> p_250370_) static <T> ResourceOrTagKeyArgument.Result
<T> ResourceOrTagKeyArgument.getResourceOrTagKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_252162_, String p_248628_, ResourceKey<Registry<T>> p_249008_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_251387_) static <T> ResourceKeyArgument
<T> ResourceKeyArgument.key
(ResourceKey<? extends Registry<T>> p_212387_) private static <T> Holder.Reference
<T> ResourceKeyArgument.resolveKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_248662_, String p_252172_, ResourceKey<Registry<T>> p_249701_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_249790_) static <T> ResourceArgument
<T> ResourceArgument.resource
(CommandBuildContext p_249973_, ResourceKey<? extends Registry<T>> p_251405_) static <T> ResourceOrTagArgument
<T> ResourceOrTagArgument.resourceOrTag
(CommandBuildContext p_251101_, ResourceKey<? extends Registry<T>> p_248888_) static <T> ResourceOrTagKeyArgument
<T> ResourceOrTagKeyArgument.resourceOrTagKey
(ResourceKey<? extends Registry<T>> p_249175_) ModifierConstructorDescriptionResourceArgument
(CommandBuildContext p_248597_, ResourceKey<? extends Registry<T>> p_251778_) ResourceKeyArgument
(ResourceKey<? extends Registry<T>> p_212367_) protected
ResourceOrIdArgument
(CommandBuildContext p_335864_, ResourceKey<Registry<T>> p_335475_, com.mojang.serialization.Codec<Holder<T>> p_335632_) ResourceOrTagArgument
(CommandBuildContext p_249382_, ResourceKey<? extends Registry<T>> p_251209_) ResourceOrTagKeyArgument
(ResourceKey<? extends Registry<T>> p_248579_) (package private)
Template
(ResourceKey<? extends Registry<T>> p_250598_) (package private)
Template
(ResourceKey<? extends Registry<T>> p_233296_) (package private)
Template
(ResourceKey<? extends Registry<T>> p_250107_) (package private)
Template
(ResourceKey<? extends Registry<T>> p_251992_) -
Uses of Registry in net.minecraft.commands.synchronization
Modifier and TypeMethodDescriptionstatic ArgumentTypeInfo
<?, ?> ArgumentTypeInfos.bootstrap
(Registry<ArgumentTypeInfo<?, ?>> p_235385_) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends ArgumentTypeInfo.Template<A>>
ArgumentTypeInfo<A, T> ArgumentTypeInfos.register
(Registry<ArgumentTypeInfo<?, ?>> p_235387_, String p_235388_, Class<? extends A> p_235389_, ArgumentTypeInfo<A, T> p_235390_) -
Uses of Registry in net.minecraft.core
Modifier and TypeInterfaceDescriptioninterface
interface
Modifier and TypeFieldDescriptionRegistryAccess.RegistryEntry.value
The field for thevalue
record component.Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<? extends Registry<?>>, Cloner<?>> Cloner.Factory.codecs
(package private) final ResourceKey
<? extends Registry<T>> MappedRegistry.key
private final ResourceKey
<? extends Registry<T>> RegistryAccess.RegistryEntry.key
The field for thekey
record component.private final ResourceKey
<? extends Registry<? extends T>> RegistrySetBuilder.RegistryContents.key
The field for thekey
record component.private final ResourceKey
<? extends Registry<T>> RegistrySetBuilder.RegistryStub.key
The field for thekey
record component.static final Set
<ResourceKey<? extends Registry<?>>> RegistrySynchronization.NETWORKABLE_REGISTRIES
private final Map
<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> RegistryAccess.ImmutableRegistryAccess.registries
private final Map
<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> RegistryAccess.ImmutableRegistryAccess.registries
Modifier and TypeMethodDescriptionprivate static <T,
R extends Registry<? extends T>>
RegistryAccess.RegistryEntry<T> RegistryAccess.RegistryEntry.fromMapEntry
(Map.Entry<? extends ResourceKey<? extends Registry<?>>, R> p_206242_) Modifier and TypeMethodDescriptionMappedRegistry.freeze()
Registry.freeze()
default <E> Registry
<E> RegistryAccess.registryOrThrow
(ResourceKey<? extends Registry<? extends E>> p_175516_) RegistryAccess.RegistryEntry.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptionprivate static Map
<ResourceKey<? extends Registry<?>>, Registry<?>> LayeredRegistryAccess.collectRegistries
(Stream<? extends RegistryAccess> p_248595_) private static Map
<ResourceKey<? extends Registry<?>>, Registry<?>> LayeredRegistryAccess.collectRegistries
(Stream<? extends RegistryAccess> p_248595_) List
<? extends ResourceKey<? extends Registry<?>>> RegistrySetBuilder.getEntryKeys()
default ResourceKey
<? extends Registry<? extends T>> HolderLookup.RegistryLookup.Delegate.key()
ResourceKey
<? extends Registry<? extends T>> HolderLookup.RegistryLookup.key()
ResourceKey
<? extends Registry<T>> MappedRegistry.key()
ResourceKey
<? extends Registry<T>> Registry.key()
ResourceKey
<? extends Registry<T>> RegistryAccess.RegistryEntry.key()
Returns the value of thekey
record component.ResourceKey
<? extends Registry<? extends T>> RegistrySetBuilder.RegistryContents.key()
Returns the value of thekey
record component.ResourceKey
<? extends Registry<T>> RegistrySetBuilder.RegistryStub.key()
Returns the value of thekey
record component.Stream
<ResourceKey<? extends Registry<?>>> HolderLookup.Provider.listRegistries()
default Stream
<ResourceKey<? extends Registry<?>>> RegistryAccess.listRegistries()
RegistryAccess.ImmutableRegistryAccess.registry
(ResourceKey<? extends Registry<? extends E>> p_206229_) RegistryAccess.registry
(ResourceKey<? extends Registry<? extends E>> p_123085_) Modifier and TypeMethodDescriptionstatic RegistryAccess.Frozen
RegistryAccess.fromRegistryOfRegistries
(Registry<? extends Registry<?>> p_206166_) private static <T> RegistryAccess.RegistryEntry
<T> RegistryAccess.RegistryEntry.fromUntyped
(ResourceKey<? extends Registry<?>> p_206244_, Registry<?> p_206245_) static <T> T
static <V,
T extends V>
TRegistry.register
(Registry<V> p_194580_, ResourceKey<V> p_194581_, T p_194582_) static <V,
T extends V>
TRegistry.register
(Registry<V> p_122966_, ResourceLocation p_122967_, T p_122968_) static <T> Holder.Reference
<T> Registry.registerForHolder
(Registry<T> p_263347_, ResourceKey<T> p_263355_, T p_263428_) static <T> Holder.Reference
<T> Registry.registerForHolder
(Registry<T> p_263351_, ResourceLocation p_263363_, T p_263423_) Modifier and TypeMethodDescriptionRegistrySetBuilder.add
(ResourceKey<? extends Registry<T>> p_256446_, com.mojang.serialization.Lifecycle p_256394_, RegistrySetBuilder.RegistryBootstrap<T> p_256638_) RegistrySetBuilder.add
(ResourceKey<? extends Registry<T>> p_256261_, RegistrySetBuilder.RegistryBootstrap<T> p_256010_) <T> Cloner.Factory
Cloner.Factory.addCodec
(ResourceKey<? extends Registry<? extends T>> p_311972_, com.mojang.serialization.Codec<T> p_312658_) <T> Cloner
<T> Cloner.Factory.cloner
(ResourceKey<? extends Registry<? extends T>> p_312530_) RegistrySetBuilder.BuildState.create
(RegistryAccess p_255995_, Stream<ResourceKey<? extends Registry<?>>> p_256495_) private <T> HolderLookup.RegistryLookup
<T> RegistrySetBuilder.createLazyFullPatchedRegistries
(HolderOwner<T> p_312323_, Cloner.Factory p_311780_, ResourceKey<? extends Registry<? extends T>> p_311836_, HolderLookup.Provider p_312115_, HolderLookup.Provider p_312725_, org.apache.commons.lang3.mutable.MutableObject<HolderLookup.Provider> p_311797_) 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 static <T,
R extends Registry<? extends T>>
RegistryAccess.RegistryEntry<T> RegistryAccess.RegistryEntry.fromMapEntry
(Map.Entry<? extends ResourceKey<? extends Registry<?>>, R> p_206242_) static RegistryAccess.Frozen
RegistryAccess.fromRegistryOfRegistries
(Registry<? extends Registry<?>> p_206166_) private static <T> RegistryAccess.RegistryEntry
<T> RegistryAccess.RegistryEntry.fromUntyped
(ResourceKey<? extends Registry<?>> p_206244_, Registry<?> p_206245_) default <T> Optional
<Holder.Reference<T>> HolderGetter.Provider.get
(ResourceKey<? extends Registry<? extends T>> p_336145_, ResourceKey<T> p_335555_) static <E> com.mojang.serialization.Codec
<HolderSet<E>> RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206278_) static <E> com.mojang.serialization.Codec
<HolderSet<E>> RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206311_, boolean p_206312_) static <E> com.mojang.serialization.Codec
<HolderSet<E>> RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206280_, com.mojang.serialization.Codec<E> p_206281_) static <E> com.mojang.serialization.Codec
<HolderSet<E>> RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206288_, com.mojang.serialization.Codec<E> p_206289_, boolean p_206290_) <T> Optional
<HolderGetter<T>> HolderGetter.Provider.lookup
(ResourceKey<? extends Registry<? extends T>> p_256648_) <T> Optional
<HolderLookup.RegistryLookup<T>> HolderLookup.Provider.lookup
(ResourceKey<? extends Registry<? extends T>> p_256285_) default <T> Optional
<HolderLookup.RegistryLookup<T>> RegistryAccess.lookup
(ResourceKey<? extends Registry<? extends T>> p_256275_) (package private) static <T> HolderLookup.RegistryLookup
<T> RegistrySetBuilder.lookupFromMap
(ResourceKey<? extends Registry<? extends T>> p_312781_, com.mojang.serialization.Lifecycle p_312783_, HolderOwner<T> p_326787_, Map<ResourceKey<T>, Holder.Reference<T>> p_312180_) default <T> HolderGetter
<T> HolderGetter.Provider.lookupOrThrow
(ResourceKey<? extends Registry<? extends T>> p_255881_) default <T> HolderLookup.RegistryLookup
<T> HolderLookup.Provider.lookupOrThrow
(ResourceKey<? extends Registry<? extends T>> p_255957_) 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_) RegistryAccess.ImmutableRegistryAccess.registry
(ResourceKey<? extends Registry<? extends E>> p_206229_) RegistryAccess.registry
(ResourceKey<? extends Registry<? extends E>> p_123085_) default <E> Registry
<E> RegistryAccess.registryOrThrow
(ResourceKey<? extends Registry<? extends E>> p_175516_) ModifierConstructorDescriptionRegistryEntry
(ResourceKey<? extends Registry<T>> key, Registry<T> value) Creates an instance of aRegistryEntry
record class.ModifierConstructorDescriptionDefaultedMappedRegistry
(String p_260196_, ResourceKey<? extends Registry<T>> p_259440_, com.mojang.serialization.Lifecycle p_260260_, boolean p_259808_) ImmutableRegistryAccess
(List<? extends Registry<?>> p_248540_) ImmutableRegistryAccess
(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> p_206225_) ImmutableRegistryAccess
(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> p_206225_) MappedRegistry
(ResourceKey<? extends Registry<T>> p_249899_, com.mojang.serialization.Lifecycle p_252249_) MappedRegistry
(ResourceKey<? extends Registry<T>> p_252132_, com.mojang.serialization.Lifecycle p_249215_, boolean p_251014_) (package private)
RegistryContents
(ResourceKey<? extends Registry<? extends T>> key, com.mojang.serialization.Lifecycle lifecycle, Map<ResourceKey<T>, RegistrySetBuilder.ValueAndHolder<T>> values) Creates an instance of aRegistryContents
record class.RegistryEntry
(ResourceKey<? extends Registry<T>> key, Registry<T> value) Creates an instance of aRegistryEntry
record class.(package private)
RegistryStub
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, RegistrySetBuilder.RegistryBootstrap<T> bootstrap) Creates an instance of aRegistryStub
record class. -
Uses of Registry in net.minecraft.core.component
Modifier and TypeMethodDescriptionstatic DataComponentType
<?> DataComponents.bootstrap
(Registry<DataComponentType<?>> p_330821_) -
Uses of Registry in net.minecraft.core.registries
Modifier and TypeFieldDescriptionBuiltInRegistries.ACTIVITY
static final Registry
<ArmorMaterial> BuiltInRegistries.ARMOR_MATERIAL
BuiltInRegistries.ATTRIBUTE
static final Registry
<com.mojang.serialization.MapCodec<? extends BiomeSource>> BuiltInRegistries.BIOME_SOURCE
static final Registry
<BlockEntityType<?>> BuiltInRegistries.BLOCK_ENTITY_TYPE
static final Registry
<BlockPredicateType<?>> BuiltInRegistries.BLOCK_PREDICATE_TYPE
BuiltInRegistries.BLOCK_TYPE
static final Registry
<BlockStateProviderType<?>> BuiltInRegistries.BLOCKSTATE_PROVIDER_TYPE
static final Registry
<WorldCarver<?>> BuiltInRegistries.CARVER
static final Registry
<CatVariant> BuiltInRegistries.CAT_VARIANT
static final Registry
<com.mojang.serialization.MapCodec<? extends ChunkGenerator>> BuiltInRegistries.CHUNK_GENERATOR
static final Registry
<ArgumentTypeInfo<?, ?>> BuiltInRegistries.COMMAND_ARGUMENT_TYPE
static final Registry
<CreativeModeTab> BuiltInRegistries.CREATIVE_MODE_TAB
static final Registry
<ResourceLocation> BuiltInRegistries.CUSTOM_STAT
static final Registry
<DataComponentType<?>> BuiltInRegistries.DATA_COMPONENT_TYPE
static final Registry
<DecoratedPotPattern> BuiltInRegistries.DECORATED_POT_PATTERN
static final Registry
<com.mojang.serialization.MapCodec<? extends DensityFunction>> BuiltInRegistries.DENSITY_FUNCTION_TYPE
static final Registry
<DataComponentType<?>> BuiltInRegistries.ENCHANTMENT_EFFECT_COMPONENT_TYPE
static final Registry
<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>> BuiltInRegistries.ENCHANTMENT_ENTITY_EFFECT_TYPE
static final Registry
<com.mojang.serialization.MapCodec<? extends LevelBasedValue>> BuiltInRegistries.ENCHANTMENT_LEVEL_BASED_VALUE_TYPE
static final Registry
<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>> BuiltInRegistries.ENCHANTMENT_LOCATION_BASED_EFFECT_TYPE
static final Registry
<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>> BuiltInRegistries.ENCHANTMENT_PROVIDER_TYPE
static final Registry
<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>> BuiltInRegistries.ENCHANTMENT_VALUE_EFFECT_TYPE
static final Registry
<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>> BuiltInRegistries.ENTITY_SUB_PREDICATE_TYPE
BuiltInRegistries.FEATURE
static final Registry
<FeatureSizeType<?>> BuiltInRegistries.FEATURE_SIZE_TYPE
static final Registry
<FloatProviderType<?>> BuiltInRegistries.FLOAT_PROVIDER_TYPE
static final Registry
<FoliagePlacerType<?>> BuiltInRegistries.FOLIAGE_PLACER_TYPE
static final Registry
<FrogVariant> BuiltInRegistries.FROG_VARIANT
static final Registry
<HeightProviderType<?>> BuiltInRegistries.HEIGHT_PROVIDER_TYPE
static final Registry
<Instrument> BuiltInRegistries.INSTRUMENT
static final Registry
<IntProviderType<?>> BuiltInRegistries.INT_PROVIDER_TYPE
static final Registry
<ItemSubPredicate.Type<?>> BuiltInRegistries.ITEM_SUB_PREDICATE_TYPE
static final Registry
<LootItemConditionType> BuiltInRegistries.LOOT_CONDITION_TYPE
static final Registry
<LootItemFunctionType<?>> BuiltInRegistries.LOOT_FUNCTION_TYPE
static final Registry
<LootNbtProviderType> BuiltInRegistries.LOOT_NBT_PROVIDER_TYPE
static final Registry
<LootNumberProviderType> BuiltInRegistries.LOOT_NUMBER_PROVIDER_TYPE
static final Registry
<LootPoolEntryType> BuiltInRegistries.LOOT_POOL_ENTRY_TYPE
static final Registry
<LootScoreProviderType> BuiltInRegistries.LOOT_SCORE_PROVIDER_TYPE
static final Registry
<MapDecorationType> BuiltInRegistries.MAP_DECORATION_TYPE
static final Registry
<com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource>> BuiltInRegistries.MATERIAL_CONDITION
static final Registry
<com.mojang.serialization.MapCodec<? extends SurfaceRules.RuleSource>> BuiltInRegistries.MATERIAL_RULE
BuiltInRegistries.MENU
BuiltInRegistries.MOB_EFFECT
static final Registry
<NumberFormatType<?>> BuiltInRegistries.NUMBER_FORMAT_TYPE
static final Registry
<ParticleType<?>> BuiltInRegistries.PARTICLE_TYPE
static final Registry
<PlacementModifierType<?>> BuiltInRegistries.PLACEMENT_MODIFIER_TYPE
BuiltInRegistries.POINT_OF_INTEREST_TYPE
static final Registry
<com.mojang.serialization.MapCodec<? extends PoolAliasBinding>> BuiltInRegistries.POOL_ALIAS_BINDING_TYPE
static final Registry
<PosRuleTestType<?>> BuiltInRegistries.POS_RULE_TEST
static final Registry
<PositionSourceType<?>> BuiltInRegistries.POSITION_SOURCE_TYPE
BuiltInRegistries.POTION
static final Registry
<RecipeSerializer<?>> BuiltInRegistries.RECIPE_SERIALIZER
static final Registry
<RecipeType<?>> BuiltInRegistries.RECIPE_TYPE
BuiltInRegistries.REGISTRY
static final Registry
<RootPlacerType<?>> BuiltInRegistries.ROOT_PLACER_TYPE
static final Registry
<RuleBlockEntityModifierType<?>> BuiltInRegistries.RULE_BLOCK_ENTITY_MODIFIER
static final Registry
<RuleTestType<?>> BuiltInRegistries.RULE_TEST
BuiltInRegistries.SCHEDULE
static final Registry
<SoundEvent> BuiltInRegistries.SOUND_EVENT
BuiltInRegistries.STAT_TYPE
static final Registry
<StructurePieceType> BuiltInRegistries.STRUCTURE_PIECE
static final Registry
<StructurePlacementType<?>> BuiltInRegistries.STRUCTURE_PLACEMENT
static final Registry
<StructurePoolElementType<?>> BuiltInRegistries.STRUCTURE_POOL_ELEMENT
static final Registry
<StructureProcessorType<?>> BuiltInRegistries.STRUCTURE_PROCESSOR
static final Registry
<StructureType<?>> BuiltInRegistries.STRUCTURE_TYPE
static final Registry
<TreeDecoratorType<?>> BuiltInRegistries.TREE_DECORATOR_TYPE
static final Registry
<CriterionTrigger<?>> BuiltInRegistries.TRIGGER_TYPES
static final Registry
<TrunkPlacerType<?>> BuiltInRegistries.TRUNK_PLACER_TYPE
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<Activity>> Registries.ACTIVITY
static final ResourceKey
<Registry<Advancement>> Registries.ADVANCEMENT
static final ResourceKey
<Registry<ArmorMaterial>> Registries.ARMOR_MATERIAL
static final ResourceKey
<Registry<Attribute>> Registries.ATTRIBUTE
static final ResourceKey
<Registry<BannerPattern>> Registries.BANNER_PATTERN
static final ResourceKey
<Registry<Biome>> Registries.BIOME
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends BiomeSource>>> Registries.BIOME_SOURCE
static final ResourceKey
<Registry<Block>> Registries.BLOCK
static final ResourceKey
<Registry<BlockEntityType<?>>> Registries.BLOCK_ENTITY_TYPE
static final ResourceKey
<Registry<BlockPredicateType<?>>> Registries.BLOCK_PREDICATE_TYPE
static final ResourceKey
<Registry<BlockStateProviderType<?>>> Registries.BLOCK_STATE_PROVIDER_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends Block>>> Registries.BLOCK_TYPE
static final ResourceKey
<Registry<WorldCarver<?>>> Registries.CARVER
static final ResourceKey
<Registry<CatVariant>> Registries.CAT_VARIANT
static final ResourceKey
<Registry<ChatType>> Registries.CHAT_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> Registries.CHUNK_GENERATOR
static final ResourceKey
<Registry<ChunkStatus>> Registries.CHUNK_STATUS
static final ResourceKey
<Registry<ArgumentTypeInfo<?, ?>>> Registries.COMMAND_ARGUMENT_TYPE
static final ResourceKey
<Registry<ConfiguredWorldCarver<?>>> Registries.CONFIGURED_CARVER
static final ResourceKey
<Registry<ConfiguredFeature<?, ?>>> Registries.CONFIGURED_FEATURE
static final ResourceKey
<Registry<CreativeModeTab>> Registries.CREATIVE_MODE_TAB
static final ResourceKey
<Registry<ResourceLocation>> Registries.CUSTOM_STAT
static final ResourceKey
<Registry<DamageType>> Registries.DAMAGE_TYPE
static final ResourceKey
<Registry<DataComponentType<?>>> Registries.DATA_COMPONENT_TYPE
static final ResourceKey
<Registry<DecoratedPotPattern>> Registries.DECORATED_POT_PATTERN
static final ResourceKey
<Registry<DensityFunction>> Registries.DENSITY_FUNCTION
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>>> Registries.DENSITY_FUNCTION_TYPE
static final ResourceKey
<Registry<Level>> Registries.DIMENSION
static final ResourceKey
<Registry<DimensionType>> Registries.DIMENSION_TYPE
static final ResourceKey
<Registry<Enchantment>> Registries.ENCHANTMENT
static final ResourceKey
<Registry<DataComponentType<?>>> Registries.ENCHANTMENT_EFFECT_COMPONENT_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>>> Registries.ENCHANTMENT_ENTITY_EFFECT_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends LevelBasedValue>>> Registries.ENCHANTMENT_LEVEL_BASED_VALUE_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>>> Registries.ENCHANTMENT_LOCATION_BASED_EFFECT_TYPE
static final ResourceKey
<Registry<EnchantmentProvider>> Registries.ENCHANTMENT_PROVIDER
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>>> Registries.ENCHANTMENT_PROVIDER_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>>> Registries.ENCHANTMENT_VALUE_EFFECT_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>>> Registries.ENTITY_SUB_PREDICATE_TYPE
static final ResourceKey
<Registry<EntityType<?>>> Registries.ENTITY_TYPE
static final ResourceKey
<Registry<Feature<?>>> Registries.FEATURE
static final ResourceKey
<Registry<FeatureSizeType<?>>> Registries.FEATURE_SIZE_TYPE
static final ResourceKey
<Registry<FlatLevelGeneratorPreset>> Registries.FLAT_LEVEL_GENERATOR_PRESET
static final ResourceKey
<Registry<FloatProviderType<?>>> Registries.FLOAT_PROVIDER_TYPE
static final ResourceKey
<Registry<Fluid>> Registries.FLUID
static final ResourceKey
<Registry<FoliagePlacerType<?>>> Registries.FOLIAGE_PLACER_TYPE
static final ResourceKey
<Registry<FrogVariant>> Registries.FROG_VARIANT
static final ResourceKey
<Registry<GameEvent>> Registries.GAME_EVENT
static final ResourceKey
<Registry<HeightProviderType<?>>> Registries.HEIGHT_PROVIDER_TYPE
static final ResourceKey
<Registry<Instrument>> Registries.INSTRUMENT
static final ResourceKey
<Registry<IntProviderType<?>>> Registries.INT_PROVIDER_TYPE
static final ResourceKey
<Registry<Item>> Registries.ITEM
static final ResourceKey
<Registry<LootItemFunction>> Registries.ITEM_MODIFIER
static final ResourceKey
<Registry<ItemSubPredicate.Type<?>>> Registries.ITEM_SUB_PREDICATE_TYPE
static final ResourceKey
<Registry<JukeboxSong>> Registries.JUKEBOX_SONG
static final ResourceKey
<Registry<LevelStem>> Registries.LEVEL_STEM
static final ResourceKey
<Registry<LootItemConditionType>> Registries.LOOT_CONDITION_TYPE
static final ResourceKey
<Registry<LootItemFunctionType<?>>> Registries.LOOT_FUNCTION_TYPE
static final ResourceKey
<Registry<LootNbtProviderType>> Registries.LOOT_NBT_PROVIDER_TYPE
static final ResourceKey
<Registry<LootNumberProviderType>> Registries.LOOT_NUMBER_PROVIDER_TYPE
static final ResourceKey
<Registry<LootPoolEntryType>> Registries.LOOT_POOL_ENTRY_TYPE
static final ResourceKey
<Registry<LootScoreProviderType>> Registries.LOOT_SCORE_PROVIDER_TYPE
static final ResourceKey
<Registry<LootTable>> Registries.LOOT_TABLE
static final ResourceKey
<Registry<MapDecorationType>> Registries.MAP_DECORATION_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource>>> Registries.MATERIAL_CONDITION
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.RuleSource>>> Registries.MATERIAL_RULE
static final ResourceKey
<Registry<MemoryModuleType<?>>> Registries.MEMORY_MODULE_TYPE
static final ResourceKey
<Registry<MenuType<?>>> Registries.MENU
static final ResourceKey
<Registry<MobEffect>> Registries.MOB_EFFECT
static final ResourceKey
<Registry<MultiNoiseBiomeSourceParameterList>> Registries.MULTI_NOISE_BIOME_SOURCE_PARAMETER_LIST
static final ResourceKey
<Registry<NormalNoise.NoiseParameters>> Registries.NOISE
static final ResourceKey
<Registry<NoiseGeneratorSettings>> Registries.NOISE_SETTINGS
static final ResourceKey
<Registry<NumberFormatType<?>>> Registries.NUMBER_FORMAT_TYPE
static final ResourceKey
<Registry<PaintingVariant>> Registries.PAINTING_VARIANT
static final ResourceKey
<Registry<ParticleType<?>>> Registries.PARTICLE_TYPE
static final ResourceKey
<Registry<PlacedFeature>> Registries.PLACED_FEATURE
static final ResourceKey
<Registry<PlacementModifierType<?>>> Registries.PLACEMENT_MODIFIER_TYPE
static final ResourceKey
<Registry<PoiType>> Registries.POINT_OF_INTEREST_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends PoolAliasBinding>>> Registries.POOL_ALIAS_BINDING
static final ResourceKey
<Registry<PosRuleTestType<?>>> Registries.POS_RULE_TEST
static final ResourceKey
<Registry<PositionSourceType<?>>> Registries.POSITION_SOURCE_TYPE
static final ResourceKey
<Registry<Potion>> Registries.POTION
static final ResourceKey
<Registry<LootItemCondition>> Registries.PREDICATE
static final ResourceKey
<Registry<StructureProcessorList>> Registries.PROCESSOR_LIST
static final ResourceKey
<Registry<Recipe<?>>> Registries.RECIPE
static final ResourceKey
<Registry<RecipeSerializer<?>>> Registries.RECIPE_SERIALIZER
static final ResourceKey
<Registry<RecipeType<?>>> Registries.RECIPE_TYPE
BuiltInRegistries.REGISTRY
static final ResourceKey
<Registry<RootPlacerType<?>>> Registries.ROOT_PLACER_TYPE
static final ResourceKey
<Registry<RuleBlockEntityModifierType<?>>> Registries.RULE_BLOCK_ENTITY_MODIFIER
static final ResourceKey
<Registry<RuleTestType<?>>> Registries.RULE_TEST
static final ResourceKey
<Registry<Schedule>> Registries.SCHEDULE
static final ResourceKey
<Registry<SensorType<?>>> Registries.SENSOR_TYPE
static final ResourceKey
<Registry<SoundEvent>> Registries.SOUND_EVENT
static final ResourceKey
<Registry<StatType<?>>> Registries.STAT_TYPE
static final ResourceKey
<Registry<Structure>> Registries.STRUCTURE
static final ResourceKey
<Registry<StructurePieceType>> Registries.STRUCTURE_PIECE
static final ResourceKey
<Registry<StructurePlacementType<?>>> Registries.STRUCTURE_PLACEMENT
static final ResourceKey
<Registry<StructurePoolElementType<?>>> Registries.STRUCTURE_POOL_ELEMENT
static final ResourceKey
<Registry<StructureProcessorType<?>>> Registries.STRUCTURE_PROCESSOR
static final ResourceKey
<Registry<StructureSet>> Registries.STRUCTURE_SET
static final ResourceKey
<Registry<StructureType<?>>> Registries.STRUCTURE_TYPE
static final ResourceKey
<Registry<StructureTemplatePool>> Registries.TEMPLATE_POOL
static final ResourceKey
<Registry<TreeDecoratorType<?>>> Registries.TREE_DECORATOR_TYPE
static final ResourceKey
<Registry<CriterionTrigger<?>>> Registries.TRIGGER_TYPE
static final ResourceKey
<Registry<TrimMaterial>> Registries.TRIM_MATERIAL
static final ResourceKey
<Registry<TrimPattern>> Registries.TRIM_PATTERN
static final ResourceKey
<Registry<TrunkPlacerType<?>>> Registries.TRUNK_PLACER_TYPE
static final ResourceKey
<Registry<VillagerProfession>> Registries.VILLAGER_PROFESSION
static final ResourceKey
<Registry<VillagerType>> Registries.VILLAGER_TYPE
static final ResourceKey
<Registry<WolfVariant>> Registries.WOLF_VARIANT
static final ResourceKey
<Registry<WorldPreset>> Registries.WORLD_PRESET
Modifier and TypeMethodDescriptionprivate static <T> Registry
<T> BuiltInRegistries.registerSimple
(ResourceKey<? extends Registry<T>> p_260095_, BuiltInRegistries.RegistryBootstrap<T> p_259057_) private static <T> Registry
<T> BuiltInRegistries.registerSimpleWithIntrusiveHolders
(ResourceKey<? extends Registry<T>> p_298703_, BuiltInRegistries.RegistryBootstrap<T> p_298612_) Modifier and TypeMethodDescriptionprivate static <T> ResourceKey
<Registry<T>> Registries.createRegistryKey
(String p_259572_) Modifier and TypeMethodDescriptionstatic String
Registries.elementsDirPath
(ResourceKey<? extends Registry<?>> p_350960_) private static <T,
R extends WritableRegistry<T>>
RBuiltInRegistries.internalRegister
(ResourceKey<? extends Registry<T>> p_259230_, R p_260327_, BuiltInRegistries.RegistryBootstrap<T> p_259210_) private static <T> DefaultedRegistry
<T> BuiltInRegistries.registerDefaulted
(ResourceKey<? extends Registry<T>> p_259887_, String p_259325_, BuiltInRegistries.RegistryBootstrap<T> p_259759_) private static <T> DefaultedRegistry
<T> BuiltInRegistries.registerDefaultedWithIntrusiveHolders
(ResourceKey<? extends Registry<T>> p_259296_, String p_259101_, BuiltInRegistries.RegistryBootstrap<T> p_259485_) private static <T> Registry
<T> BuiltInRegistries.registerSimple
(ResourceKey<? extends Registry<T>> p_260095_, BuiltInRegistries.RegistryBootstrap<T> p_259057_) private static <T> Registry
<T> BuiltInRegistries.registerSimpleWithIntrusiveHolders
(ResourceKey<? extends Registry<T>> p_298703_, BuiltInRegistries.RegistryBootstrap<T> p_298612_) static String
Registries.tagsDirPath
(ResourceKey<? extends Registry<?>> p_350980_) -
Uses of Registry in net.minecraft.data
Modifier and TypeMethodDescriptionPackOutput.createRegistryElementsPathProvider
(ResourceKey<? extends Registry<?>> p_350282_) PackOutput.createRegistryTagsPathProvider
(ResourceKey<? extends Registry<?>> p_350766_) -
Uses of Registry in net.minecraft.data.info
Modifier and TypeMethodDescriptionprivate static <T> com.google.gson.JsonElement
RegistryDumpReport.dumpRegistry
(Registry<T> p_124059_) -
Uses of Registry in net.minecraft.data.registries
Modifier and TypeFieldDescriptionstatic final List
<? extends ResourceKey<? extends Registry<?>>> VanillaRegistries.DATAPACK_REGISTRY_KEYS
-
Uses of Registry in net.minecraft.data.tags
Modifier and TypeFieldDescriptionprotected final ResourceKey
<? extends Registry<T>> TagsProvider.registryKey
ModifierConstructorDescriptionIntrinsicHolderTagsProvider
(PackOutput p_275304_, ResourceKey<? extends Registry<T>> p_275709_, CompletableFuture<HolderLookup.Provider> p_275227_, CompletableFuture<TagsProvider.TagLookup<T>> p_275311_, Function<T, ResourceKey<T>> p_275566_) Deprecated.IntrinsicHolderTagsProvider
(PackOutput p_275304_, ResourceKey<? extends Registry<T>> p_275709_, CompletableFuture<HolderLookup.Provider> p_275227_, CompletableFuture<TagsProvider.TagLookup<T>> p_275311_, Function<T, ResourceKey<T>> p_275566_, String modId, ExistingFileHelper existingFileHelper) IntrinsicHolderTagsProvider
(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_) Deprecated.IntrinsicHolderTagsProvider
(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_, String modId, ExistingFileHelper existingFileHelper) protected
TagsProvider
(PackOutput p_256596_, ResourceKey<? extends Registry<T>> p_255886_, CompletableFuture<HolderLookup.Provider> p_256513_) Deprecated.Forge: Use the mod id variantprotected
TagsProvider
(PackOutput p_256596_, ResourceKey<? extends Registry<T>> p_255886_, CompletableFuture<HolderLookup.Provider> p_256513_, String modId, ExistingFileHelper existingFileHelper) protected
TagsProvider
(PackOutput p_275432_, ResourceKey<? extends Registry<T>> p_275476_, CompletableFuture<HolderLookup.Provider> p_275222_, CompletableFuture<TagsProvider.TagLookup<T>> p_275565_) Deprecated.Forge: Use the mod id variantprotected
TagsProvider
(PackOutput p_275432_, ResourceKey<? extends Registry<T>> p_275476_, CompletableFuture<HolderLookup.Provider> p_275222_, CompletableFuture<TagsProvider.TagLookup<T>> p_275565_, String modId, ExistingFileHelper existingFileHelper) -
Uses of Registry in net.minecraft.data.worldgen
Modifier and TypeMethodDescription<S> HolderGetter
<S> BootstrapContext.lookup
(ResourceKey<? extends Registry<? extends S>> p_321547_) default <S> Optional
<HolderLookup.RegistryLookup<S>> BootstrapContext.registryLookup
(ResourceKey<? extends Registry<? extends S>> registry) -
Uses of Registry in net.minecraft.network
Modifier and TypeMethodDescription<T> ResourceKey
<? extends Registry<T>> FriendlyByteBuf.readRegistryKey()
Modifier and TypeMethodDescription<T> ResourceKey
<T> FriendlyByteBuf.readResourceKey
(ResourceKey<? extends Registry<T>> p_236802_) -
Uses of Registry in net.minecraft.network.chat.numbers
Modifier and TypeMethodDescriptionstatic NumberFormatType
<?> NumberFormatTypes.bootstrap
(Registry<NumberFormatType<?>> p_313781_) -
Uses of Registry in net.minecraft.network.codec
Modifier and TypeMethodDescriptionstatic <T> StreamCodec
<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder
(ResourceKey<? extends Registry<T>> p_320391_, StreamCodec<? super RegistryFriendlyByteBuf, T> p_320595_) static <T> StreamCodec
<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holderRegistry
(ResourceKey<? extends Registry<T>> p_320387_) static <T> StreamCodec
<RegistryFriendlyByteBuf, HolderSet<T>> ByteBufCodecs.holderSet
(ResourceKey<? extends Registry<T>> p_332137_) static <T> StreamCodec
<RegistryFriendlyByteBuf, T> ByteBufCodecs.registry
(ResourceKey<? extends Registry<T>> p_320404_) private static <T,
R> StreamCodec <RegistryFriendlyByteBuf, R> ByteBufCodecs.registry
(ResourceKey<? extends Registry<T>> p_319942_, Function<Registry<T>, IdMap<R>> p_320353_) private static <T,
R> StreamCodec <RegistryFriendlyByteBuf, R> ByteBufCodecs.registry
(ResourceKey<? extends Registry<T>> p_319942_, Function<Registry<T>, IdMap<R>> p_320353_) -
Uses of Registry in net.minecraft.network.protocol.common
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.tags
Modifier and TypeMethodDescriptionMap
<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.getTags()
ModifierConstructorDescriptionClientboundUpdateTagsPacket
(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> p_296316_) -
Uses of Registry in net.minecraft.network.protocol.configuration
Modifier and TypeFieldDescriptionprivate final ResourceKey
<? extends Registry<?>> ClientboundRegistryDataPacket.registry
The field for theregistry
record component.private static final StreamCodec
<io.netty.buffer.ByteBuf, ResourceKey<? extends Registry<?>>> ClientboundRegistryDataPacket.REGISTRY_KEY_STREAM_CODEC
Modifier and TypeMethodDescriptionResourceKey
<? extends Registry<?>> ClientboundRegistryDataPacket.registry()
Returns the value of theregistry
record component.ModifierConstructorDescriptionClientboundRegistryDataPacket
(ResourceKey<? extends Registry<?>> registry, List<RegistrySynchronization.PackedRegistryEntry> entries) Creates an instance of aClientboundRegistryDataPacket
record class. -
Uses of Registry in net.minecraft.resources
Modifier and TypeFieldDescriptionprivate final ResourceKey
<? extends Registry<T>> RegistryDataLoader.RegistryData.key
The field for thekey
record component.private final Map
<ResourceKey<? extends Registry<?>>, Optional<? extends RegistryOps.RegistryInfo<?>>> RegistryOps.HolderLookupAdapter.lookups
private final ResourceKey
<? extends Registry<E>> HolderSetCodec.registryKey
private final ResourceKey
<? extends Registry<E>> RegistryFileCodec.registryKey
private final ResourceKey
<? extends Registry<E>> RegistryFixedCodec.registryKey
Modifier and TypeMethodDescriptionstatic <T> ResourceKey
<Registry<T>> ResourceKey.createRegistryKey
(ResourceLocation p_135789_) ResourceKey
<? extends Registry<T>> RegistryDataLoader.RegistryData.key()
Returns the value of thekey
record component.ResourceKey.registryKey()
Modifier and TypeMethodDescriptionprivate static <T> RegistryOps.RegistryInfo
<T> RegistryDataLoader.createInfoForContextRegistry
(Registry<T> p_256230_) Modifier and TypeMethodDescription<E> Optional
<ResourceKey<E>> ResourceKey.cast
(ResourceKey<? extends Registry<E>> p_195976_) static <T> com.mojang.serialization.Codec
<ResourceKey<T>> ResourceKey.codec
(ResourceKey<? extends Registry<T>> p_195967_) static <E> com.mojang.serialization.Codec
<HolderSet<E>> HolderSetCodec.create
(ResourceKey<? extends Registry<E>> p_206686_, com.mojang.serialization.Codec<Holder<E>> p_206687_, boolean p_206688_) static <E> RegistryFileCodec
<E> RegistryFileCodec.create
(ResourceKey<? extends Registry<E>> p_135590_, com.mojang.serialization.Codec<E> p_135591_) static <E> RegistryFileCodec
<E> RegistryFileCodec.create
(ResourceKey<? extends Registry<E>> p_135593_, com.mojang.serialization.Codec<E> p_135594_, boolean p_135595_) static <E> RegistryFixedCodec
<E> RegistryFixedCodec.create
(ResourceKey<? extends Registry<E>> p_206741_) static <T> ResourceKey
<T> ResourceKey.create
(ResourceKey<? extends Registry<T>> p_135786_, ResourceLocation p_135787_) private Optional
<RegistryOps.RegistryInfo<Object>> RegistryOps.HolderLookupAdapter.createLookup
(ResourceKey<? extends Registry<?>> p_341910_) <E> Optional
<HolderGetter<E>> RegistryOps.getter
(ResourceKey<? extends Registry<? extends E>> p_256031_) boolean
ResourceKey.isFor
(ResourceKey<? extends Registry<?>> p_135784_) 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_) (package private) static <E> void
RegistryDataLoader.loadContentsFromNetwork
(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321633_, ResourceProvider p_326020_, RegistryOps.RegistryInfoLookup p_321801_, WritableRegistry<E> p_321671_, com.mojang.serialization.Decoder<E> p_321718_, Map<ResourceKey<?>, Exception> p_321625_) void
RegistryDataLoader.Loader.loadFromNetwork
(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321562_, ResourceProvider p_326419_, RegistryOps.RegistryInfoLookup p_321617_) <E> Optional
<RegistryOps.RegistryInfo<E>> RegistryOps.HolderLookupAdapter.lookup
(ResourceKey<? extends Registry<? extends E>> p_341913_) <T> Optional
<RegistryOps.RegistryInfo<T>> RegistryOps.RegistryInfoLookup.lookup
(ResourceKey<? extends Registry<? extends T>> p_256623_) <E> Optional
<HolderOwner<E>> RegistryOps.owner
(ResourceKey<? extends Registry<? extends E>> p_255757_) static <E,
O> com.mojang.serialization.codecs.RecordCodecBuilder <O, HolderGetter<E>> RegistryOps.retrieveGetter
(ResourceKey<? extends Registry<? extends E>> p_206833_) static <E> com.mojang.serialization.MapCodec
<HolderLookup.RegistryLookup<E>> RegistryOps.retrieveRegistryLookup
(ResourceKey<? extends Registry<? extends E>> resourceKey) void
RegistryDataLoader.RegistryData.runWithArguments
(BiConsumer<ResourceKey<? extends Registry<T>>, com.mojang.serialization.Codec<T>> p_312899_) static <T> StreamCodec
<io.netty.buffer.ByteBuf, ResourceKey<T>> ResourceKey.streamCodec
(ResourceKey<? extends Registry<T>> p_320330_) ModifierConstructorDescriptionprivate
HolderSetCodec
(ResourceKey<? extends Registry<E>> p_206660_, com.mojang.serialization.Codec<Holder<E>> p_206661_, boolean p_206662_) (package private)
RegistryData
(ResourceKey<? extends Registry<T>> p_251360_, com.mojang.serialization.Codec<T> p_248976_) RegistryData
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec, boolean requiredNonEmpty) Creates an instance of aRegistryData
record class.private
RegistryFileCodec
(ResourceKey<? extends Registry<E>> p_135574_, com.mojang.serialization.Codec<E> p_135575_, boolean p_135576_) private
RegistryFixedCodec
(ResourceKey<? extends Registry<E>> p_206723_) -
Uses of Registry in net.minecraft.server
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<CommandFunction<CommandSourceStack>>> ServerFunctionLibrary.TYPE_KEY
Modifier and TypeMethodDescriptionStream
<ResourceKey<? extends Registry<?>>> ReloadableServerRegistries.EmptyTagLookupWrapper.listRegistries()
Stream
<ResourceKey<? extends Registry<?>>> ReloadableServerResources.ConfigurableRegistryLookup.listRegistries()
Modifier and TypeMethodDescriptionReloadableServerRegistries.Holder.getKeys
(ResourceKey<? extends Registry<?>> p_335695_) <T> Optional
<HolderLookup.RegistryLookup<T>> ReloadableServerRegistries.EmptyTagLookupWrapper.lookup
(ResourceKey<? extends Registry<? extends T>> p_335976_) <T> Optional
<HolderLookup.RegistryLookup<T>> ReloadableServerResources.ConfigurableRegistryLookup.lookup
(ResourceKey<? extends Registry<? extends T>> p_323818_) -
Uses of Registry in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static Optional
<? extends HolderSet.ListBacked<Structure>> LocateCommand.getHolders
(ResourceOrTagKeyArgument.Result<Structure> p_251212_, Registry<Structure> p_249691_) -
Uses of Registry in net.minecraft.stats
Modifier and TypeMethodDescriptionprivate static <T> StatType
<T> Stats.makeRegistryStatType
(String p_13011_, Registry<T> p_13012_) -
Uses of Registry in net.minecraft.tags
Modifier and TypeFieldDescriptionprivate final ResourceKey
<? extends Registry<T>> TagManager.LoadResult.key
The field for thekey
record component.private final ResourceKey
<? extends Registry<T>> TagKey.registry
The field for theregistry
record component.Modifier and TypeMethodDescriptionResourceKey
<? extends Registry<T>> TagManager.LoadResult.key()
Returns the value of thekey
record component.ResourceKey
<? extends Registry<T>> TagKey.registry()
Returns the value of theregistry
record component.static Map
<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> TagNetworkSerialization.serializeTagsToNetwork
(LayeredRegistryAccess<RegistryLayer> p_251774_) Modifier and TypeMethodDescription<T> void
TagNetworkSerialization.NetworkPayload.applyToRegistry
(Registry<T> p_321755_) (package private) static <T> void
TagNetworkSerialization.deserializeTagsFromNetwork
(ResourceKey<? extends Registry<T>> p_203953_, Registry<T> p_203954_, TagNetworkSerialization.NetworkPayload p_203955_, TagNetworkSerialization.TagOutput<T> p_203956_) private static <T> TagNetworkSerialization.NetworkPayload
TagNetworkSerialization.serializeToNetwork
(Registry<T> p_203943_) Modifier and TypeMethodDescriptionTagKey.cast
(ResourceKey<? extends Registry<E>> p_207648_) static <T> com.mojang.serialization.Codec
<TagKey<T>> TagKey.codec
(ResourceKey<? extends Registry<T>> p_203878_) static <T> TagKey
<T> TagKey.create
(ResourceKey<? extends Registry<T>> p_203883_, ResourceLocation p_203884_) (package private) static <T> void
TagNetworkSerialization.deserializeTagsFromNetwork
(ResourceKey<? extends Registry<T>> p_203953_, Registry<T> p_203954_, TagNetworkSerialization.NetworkPayload p_203955_, TagNetworkSerialization.TagOutput<T> p_203956_) static <T> com.mojang.serialization.Codec
<TagKey<T>> TagKey.hashedCodec
(ResourceKey<? extends Registry<T>> p_203887_) boolean
TagKey.isFor
(ResourceKey<? extends Registry<?>> p_207646_) ModifierConstructorDescriptionLoadResult
(ResourceKey<? extends Registry<T>> key, Map<ResourceLocation, Collection<Holder<T>>> tags) Creates an instance of aLoadResult
record class.TagKey
(ResourceKey<? extends Registry<T>> registry, ResourceLocation location) Deprecated. -
Uses of Registry in net.minecraft.util.worldupdate
-
Uses of Registry in net.minecraft.world.damagesource
-
Uses of Registry in net.minecraft.world.effect
-
Uses of Registry in net.minecraft.world.entity.ai.attributes
-
Uses of Registry in net.minecraft.world.entity.ai.village.poi
-
Uses of Registry in net.minecraft.world.entity.animal
Modifier and TypeMethodDescriptionstatic CatVariant
CatVariant.bootstrap
(Registry<CatVariant> p_256435_) static FrogVariant
FrogVariant.bootstrap
(Registry<FrogVariant> p_336150_) private static CatVariant
CatVariant.register
(Registry<CatVariant> p_255735_, ResourceKey<CatVariant> p_256159_, String p_256466_) private static FrogVariant
FrogVariant.register
(Registry<FrogVariant> p_336004_, ResourceKey<FrogVariant> p_335508_, String p_218194_) -
Uses of Registry in net.minecraft.world.flag
Modifier and TypeFieldDescriptionstatic final Set
<ResourceKey<? extends Registry<? extends FeatureElement>>> FeatureElement.FILTERED_REGISTRIES
-
Uses of Registry in net.minecraft.world.item
Modifier and TypeMethodDescriptionstatic Holder
<ArmorMaterial> ArmorMaterials.bootstrap
(Registry<ArmorMaterial> p_323827_) static CreativeModeTab
CreativeModeTabs.bootstrap
(Registry<CreativeModeTab> p_283144_) static Instrument
Instruments.bootstrap
(Registry<Instrument> p_220149_) Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec
<EitherHolder<T>> EitherHolder.codec
(ResourceKey<Registry<T>> p_350627_, com.mojang.serialization.Codec<Holder<T>> p_350442_) static <T> StreamCodec
<RegistryFriendlyByteBuf, EitherHolder<T>> EitherHolder.streamCodec
(ResourceKey<Registry<T>> p_350628_, StreamCodec<RegistryFriendlyByteBuf, Holder<T>> p_350420_) -
Uses of Registry in net.minecraft.world.item.alchemy
-
Uses of Registry in net.minecraft.world.item.enchantment
Modifier and TypeMethodDescriptionstatic DataComponentType
<?> EnchantmentEffectComponents.bootstrap
(Registry<DataComponentType<?>> p_345744_) static com.mojang.serialization.MapCodec
<? extends LevelBasedValue> LevelBasedValue.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends LevelBasedValue>> p_345955_) Modifier and TypeMethodDescriptionprivate static <T> HolderSet
<T> ItemEnchantments.getTagOrEmpty
(HolderLookup.Provider p_341186_, ResourceKey<Registry<T>> p_341113_, TagKey<T> p_341409_) -
Uses of Registry in net.minecraft.world.item.enchantment.effects
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EnchantmentEntityEffect> EnchantmentEntityEffect.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>> p_345205_) static com.mojang.serialization.MapCodec
<? extends EnchantmentLocationBasedEffect> EnchantmentLocationBasedEffect.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>> p_344955_) static com.mojang.serialization.MapCodec
<? extends EnchantmentValueEffect> EnchantmentValueEffect.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>> p_345804_) -
Uses of Registry in net.minecraft.world.item.enchantment.providers
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EnchantmentProvider> EnchantmentProviderTypes.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>> p_346162_) -
Uses of Registry in net.minecraft.world.level
Modifier and TypeMethodDescriptiondefault <T> HolderLookup
<T> LevelReader.holderLookup
(ResourceKey<? extends Registry<? extends T>> p_249578_) -
Uses of Registry in net.minecraft.world.level.biome
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends BiomeSource> BiomeSources.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends BiomeSource>> p_220587_) -
Uses of Registry in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends Block> private void
NyliumBlock.place
(Registry<ConfiguredFeature<?, ?>> p_255879_, ResourceKey<ConfiguredFeature<?, ?>> p_256032_, ServerLevel p_255631_, ChunkGenerator p_256445_, RandomSource p_255709_, BlockPos p_256019_) -
Uses of Registry in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionstatic DecoratedPotPattern
DecoratedPotPatterns.bootstrap
(Registry<DecoratedPotPattern> p_273479_) private static DecoratedPotPattern
DecoratedPotPatterns.register
(Registry<DecoratedPotPattern> p_347598_, ResourceKey<DecoratedPotPattern> p_347620_, String p_347616_) -
Uses of Registry in net.minecraft.world.level.chunk
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends ChunkGenerator> ChunkGenerators.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends ChunkGenerator>> p_223243_) private static void
ChunkAccess.replaceMissingSections
(Registry<Biome> p_281389_, LevelChunkSection[] p_282796_) ModifierConstructorDescriptionChunkAccess
(ChunkPos p_187621_, UpgradeData p_187622_, LevelHeightAccessor p_187623_, Registry<Biome> p_187624_, long p_187625_, LevelChunkSection[] p_187626_, BlendingData p_187627_) LevelChunkSection
(Registry<Biome> p_282873_) ProtoChunk
(ChunkPos p_188173_, UpgradeData p_188174_, LevelChunkSection[] p_188175_, ProtoChunkTicks<Block> p_188176_, ProtoChunkTicks<Fluid> p_188177_, LevelHeightAccessor p_188178_, Registry<Biome> p_188179_, BlendingData p_188180_) ProtoChunk
(ChunkPos p_188167_, UpgradeData p_188168_, LevelHeightAccessor p_188169_, Registry<Biome> p_188170_, BlendingData p_188171_) -
Uses of Registry in net.minecraft.world.level.chunk.storage
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec
<PalettedContainerRO<Holder<Biome>>> ChunkSerializer.makeBiomeCodec
(Registry<Biome> p_188261_) -
Uses of Registry in net.minecraft.world.level.gameevent
-
Uses of Registry in net.minecraft.world.level.levelgen
Modifier and TypeFieldDescriptionWorldDimensions.Complete.dimensions
The field for thedimensions
record component.Modifier and TypeMethodDescriptionWorldDimensions.Complete.dimensions()
Returns the value of thedimensions
record component.Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends DensityFunction> DensityFunctions.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> p_208343_) static com.mojang.serialization.MapCodec
<? extends SurfaceRules.ConditionSource> SurfaceRules.ConditionSource.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource>> p_204625_) static com.mojang.serialization.MapCodec
<? extends SurfaceRules.RuleSource> SurfaceRules.RuleSource.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.RuleSource>> p_204631_) void
NoiseBasedChunkGenerator.buildSurface
(ChunkAccess p_224262_, WorldGenerationContext p_224263_, RandomState p_224264_, StructureManager p_224265_, BiomeManager p_224266_, Registry<Biome> p_224267_, Blender p_224268_) void
SurfaceSystem.buildSurface
(RandomState p_224649_, BiomeManager p_224650_, Registry<Biome> p_224651_, boolean p_224652_, WorldGenerationContext p_224653_, ChunkAccess p_224654_, NoiseChunk p_224655_, SurfaceRules.RuleSource p_224656_) private static com.mojang.serialization.MapCodec
<? extends DensityFunction> DensityFunctions.register
(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> p_224035_, String p_224036_, KeyDispatchDataCodec<? extends DensityFunction> p_224037_) (package private) static <A> com.mojang.serialization.MapCodec
<? extends A> SurfaceRules.register
(Registry<com.mojang.serialization.MapCodec<? extends A>> p_224604_, String p_224605_, KeyDispatchDataCodec<? extends A> p_224606_) private static PrimaryLevelData.SpecialWorldProperty
WorldDimensions.specialWorldProperty
(Registry<LevelStem> p_251549_) static Map
<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld
(Registry<DimensionType> p_248907_, Map<ResourceKey<LevelStem>, LevelStem> p_326250_, ChunkGenerator p_250220_) ModifierConstructorDescriptionComplete
(Registry<LevelStem> dimensions, PrimaryLevelData.SpecialWorldProperty specialWorldProperty) Creates an instance of aComplete
record class.protected
Context
(SurfaceSystem p_224616_, RandomState p_224617_, ChunkAccess p_224618_, NoiseChunk p_224619_, Function<BlockPos, Holder<Biome>> p_224620_, Registry<Biome> p_224621_, WorldGenerationContext p_224622_) WorldDimensions
(Registry<LevelStem> p_251356_) -
Uses of Registry in net.minecraft.world.level.levelgen.structure.pools
Modifier and TypeFieldDescriptionprivate final Registry
<StructureTemplatePool> JigsawPlacement.Placer.pools
Modifier and TypeMethodDescriptionprivate static void
JigsawPlacement.addPieces
(RandomState p_227211_, int p_227212_, boolean p_227213_, ChunkGenerator p_227214_, StructureTemplateManager p_227215_, LevelHeightAccessor p_227216_, RandomSource p_227217_, Registry<StructureTemplatePool> p_227218_, PoolElementStructurePiece p_227219_, List<PoolElementStructurePiece> p_227220_, VoxelShape p_227221_, PoolAliasLookup p_307210_, LiquidSettings p_352331_) ModifierConstructorDescription(package private)
Placer
(Registry<StructureTemplatePool> p_227258_, int p_227259_, ChunkGenerator p_227260_, StructureTemplateManager p_227261_, List<? super PoolElementStructurePiece> p_227262_, RandomSource p_227263_) -
Uses of Registry in net.minecraft.world.level.levelgen.structure.pools.alias
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends PoolAliasBinding> PoolAliasBindings.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends PoolAliasBinding>> p_307584_) -
Uses of Registry in net.minecraft.world.level.saveddata.maps
Modifier and TypeMethodDescriptionstatic Holder
<MapDecorationType> MapDecorationTypes.bootstrap
(Registry<MapDecorationType> p_336048_) -
Uses of Registry in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionstatic LevelDataAndDimensions
LevelStorageSource.getLevelDataAndDimensions
(com.mojang.serialization.Dynamic<?> p_307313_, WorldDataConfiguration p_307486_, Registry<LevelStem> p_307597_, RegistryAccess.Frozen p_307648_) -
Uses of Registry in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Registry<T>> LootDataType.registryKey
The field for theregistryKey
record component.Modifier and TypeMethodDescriptionLootDataType.registryKey()
Returns the value of theregistryKey
record component.ModifierConstructorDescriptionprivate
LootDataType
(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator) Deprecated.Neo: use the constructorinvalid reference
with a default value and id setter
LootDataType
(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator, T defaultValue, com.mojang.serialization.Codec<Optional<T>> conditionalCodec, BiConsumer<T, ResourceLocation> idSetter) Creates an instance of aLootDataType
record class.private
LootDataType
(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator, T defaultValue, BiConsumer<T, ResourceLocation> idSetter) -
Uses of Registry in net.neoforged.neoforge.client
Modifier and TypeMethodDescriptionprivate static void
TagConventionLogWarningClient.extractUnregisteredModdedTags
(Registry<?> registry, List<TagKey<?>> untranslatedTags) Modifier and TypeMethodDescriptionstatic <T> @Nullable HolderLookup.RegistryLookup
<T> ClientHooks.resolveLookup
(ResourceKey<? extends Registry<T>> key) -
Uses of Registry in net.neoforged.neoforge.common
Modifier and TypeMethodDescriptionprivate <T> void
NeoForgeEventHandler.handleSync
(ServerPlayer player, Registry<T> registry, Collection<ResourceLocation> attachments) Modifier and TypeMethodDescriptionprivate static <T> AbstractMap.SimpleEntry
<TagKey<T>, String> TagConventionLogWarning.createForgeMapEntry
(ResourceKey<Registry<T>> registryKey, String tagId1, String tagId2) private static <T,
R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createForgeMapEntry
(ResourceKey<Registry<T>> registryKey, String tagId1, TagKey<R> tag2) private static <T,
R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createMapEntry
(ResourceKey<Registry<T>> registryKey, String tagNamespace1, String tagId1, TagKey<R> tag2) private static <T,
R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createMapEntry
(ResourceKey<Registry<T>> registryKey, String tagNamespace1, String tagId1, TagKey<R>... replacementTags) private static <T> TagKey
<T> TagConventionLogWarning.createTagKey
(ResourceKey<Registry<T>> registryKey, String namespace, String tagId) static <T> @Nullable HolderLookup.RegistryLookup
<T> CommonHooks.resolveLookup
(ResourceKey<? extends Registry<T>> key) Attempts to resolve aHolderLookup.RegistryLookup
using the current global state. -
Uses of Registry in net.neoforged.neoforge.common.conditions
Modifier and TypeMethodDescription<T> Map
<ResourceLocation, Collection<Holder<T>>> ConditionContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) <T> Map
<ResourceLocation, Collection<Holder<T>>> ICondition.IContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) Return all the loaded tags for the passed registry, or an empty map if none is available. -
Uses of Registry in net.neoforged.neoforge.common.data
Modifier and TypeFieldDescriptionprotected final ResourceKey
<Registry<R>> DataMapProvider.Builder.registryKey
-
Uses of Registry in net.neoforged.neoforge.network.codec
Modifier and TypeMethodDescriptionstatic <B extends FriendlyByteBuf>
StreamCodec<B, ResourceKey<? extends Registry<?>>> NeoForgeStreamCodecs.registryKey()
Creates a stream codec to encode and decode aResourceKey
that identifies a registry. -
Uses of Registry in net.neoforged.neoforge.network.payload
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<? extends Registry<?>>, List<KnownRegistryDataMapsPayload.KnownDataMap>> KnownRegistryDataMapsPayload.dataMaps
The field for thedataMaps
record component.private final Map
<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> KnownRegistryDataMapsReplyPayload.dataMaps
The field for thedataMaps
record component.private final ResourceKey
<? extends Registry<T>> RegistryDataMapSyncPayload.registryKey
The field for theregistryKey
record component.Modifier and TypeMethodDescriptionMap
<ResourceKey<? extends Registry<?>>, List<KnownRegistryDataMapsPayload.KnownDataMap>> KnownRegistryDataMapsPayload.dataMaps()
Returns the value of thedataMaps
record component.Map
<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> KnownRegistryDataMapsReplyPayload.dataMaps()
Returns the value of thedataMaps
record component.ResourceKey
<? extends Registry<T>> RegistryDataMapSyncPayload.registryKey()
Returns the value of theregistryKey
record component.ModifierConstructorDescriptionKnownRegistryDataMapsPayload
(Map<ResourceKey<? extends Registry<?>>, List<KnownRegistryDataMapsPayload.KnownDataMap>> dataMaps) Creates an instance of aKnownRegistryDataMapsPayload
record class.KnownRegistryDataMapsReplyPayload
(Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> dataMaps) Creates an instance of aKnownRegistryDataMapsReplyPayload
record class.RegistryDataMapSyncPayload
(ResourceKey<? extends Registry<T>> registryKey, Map<ResourceLocation, Map<ResourceKey<T>, ?>> dataMaps) Creates an instance of aRegistryDataMapSyncPayload
record class. -
Uses of Registry in net.neoforged.neoforge.oldtest
Modifier and TypeFieldDescriptionprivate static final Registry
<DeferredRegistryTest.Custom> DeferredRegistryTest.CUSTOM_REG
Modifier and TypeFieldDescriptionprivate static final ResourceKey
<Registry<DeferredRegistryTest.Custom>> DeferredRegistryTest.CUSTOM_REGISTRY_KEY
-
Uses of Registry in net.neoforged.neoforge.oldtest.misc
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<DataPackRegistriesTest.Syncable>> DataPackRegistriesTest.Syncable.REGISTRY_KEY
static final ResourceKey
<Registry<DataPackRegistriesTest.Unsyncable>> DataPackRegistriesTest.Unsyncable.REGISTRY_KEY
-
Uses of Registry in net.neoforged.neoforge.oldtest.world
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<LoginPacketSplitTest.BigData>> LoginPacketSplitTest.BIG_DATA
-
Uses of Registry in net.neoforged.neoforge.registries
Modifier and TypeFieldDescriptionstatic final Registry
<AttachmentType<?>> NeoForgeRegistries.ATTACHMENT_TYPES
static final Registry
<com.mojang.serialization.MapCodec<? extends BiomeModifier>> NeoForgeRegistries.BIOME_MODIFIER_SERIALIZERS
static final Registry
<com.mojang.serialization.MapCodec<? extends ICondition>> NeoForgeRegistries.CONDITION_SERIALIZERS
DeferredRegister.customRegistry
static final Registry
<EntityDataSerializer<?>> NeoForgeRegistries.ENTITY_DATA_SERIALIZERS
static final Registry
<FluidIngredientType<?>> NeoForgeRegistries.FLUID_INGREDIENT_TYPES
NeoForgeRegistries.FLUID_TYPES
private final @Nullable Registry
<?> RegistrySnapshot.fullBackup
static final Registry
<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>> NeoForgeRegistries.GLOBAL_LOOT_MODIFIER_SERIALIZERS
static final Registry
<HolderSetType> NeoForgeRegistries.HOLDER_SET_TYPES
static final Registry
<IngredientType<?>> NeoForgeRegistries.INGREDIENT_TYPES
DeferredRegister.RegistryHolder.registry
private final Registry
<?> RegisterEvent.registry
static final Registry
<com.mojang.serialization.MapCodec<? extends StructureModifier>> NeoForgeRegistries.STRUCTURE_MODIFIER_SERIALIZERS
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<AttachmentType<?>>> NeoForgeRegistries.Keys.ATTACHMENT_TYPES
static final io.netty.util.AttributeKey
<Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>>> RegistryManager.ATTRIBUTE_KNOWN_DATA_MAPS
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends BiomeModifier>>> NeoForgeRegistries.Keys.BIOME_MODIFIER_SERIALIZERS
static final ResourceKey
<Registry<BiomeModifier>> NeoForgeRegistries.Keys.BIOME_MODIFIERS
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends ICondition>>> NeoForgeRegistries.Keys.CONDITION_CODECS
private static Map
<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegistryManager.dataMaps
static final ResourceKey
<Registry<EntityDataSerializer<?>>> NeoForgeRegistries.Keys.ENTITY_DATA_SERIALIZERS
static final ResourceKey
<Registry<FluidIngredientType<?>>> NeoForgeRegistries.Keys.FLUID_INGREDIENT_TYPES
static final ResourceKey
<Registry<FluidType>> NeoForgeRegistries.Keys.FLUID_TYPES
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>>> NeoForgeRegistries.Keys.GLOBAL_LOOT_MODIFIER_SERIALIZERS
static final ResourceKey
<Registry<HolderSetType>> NeoForgeRegistries.Keys.HOLDER_SET_TYPES
static final ResourceKey
<Registry<IngredientType<?>>> NeoForgeRegistries.Keys.INGREDIENT_TYPES
NewRegistryEvent.registries
private final ResourceKey
<? extends Registry<V>> DeferredRegister.RegistryHolder.registryKey
private final ResourceKey
<? extends Registry<T>> DeferredRegister.registryKey
private final ResourceKey
<? extends Registry<?>> RegisterEvent.registryKey
private final ResourceKey
<? extends Registry<T>> RegistryBuilder.registryKey
private Map
<ResourceKey<? extends Registry<?>>, DataMapLoader.LoadResult<?>> DataMapLoader.results
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends StructureModifier>>> NeoForgeRegistries.Keys.STRUCTURE_MODIFIER_SERIALIZERS
static final ResourceKey
<Registry<StructureModifier>> NeoForgeRegistries.Keys.STRUCTURE_MODIFIERS
private static final Set
<ResourceKey<? extends Registry<?>>> DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIES
private static final Set
<ResourceKey<? extends Registry<?>>> DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIES_VIEW
NeoForgeRegistriesSetup.VANILLA_SYNC_REGISTRIES
The set of vanilla registries which should be synced to the client.Modifier and TypeMethodDescription<T> Registry
<T> NewRegistryEvent.create
(RegistryBuilder<T> builder) Creates a registry using thebuilder
and registers it.RegistryBuilder.create()
Creates a new registry from this builder.DeferredRegister.RegistryHolder.get()
<T> @Nullable Registry
<T> RegistrySnapshot.getFullBackup()
DeferredHolder.getRegistry()
Returns the registry that this DeferredHolder is pointing at, ornull
if it doesn't exist.<T> Registry
<T> ModifyRegistriesEvent.getRegistry
(ResourceKey<? extends Registry<T>> key) Retrieve a builtin registry by its key.Registry
<?> RegisterEvent.getRegistry()
<T> @Nullable Registry
<T> RegisterEvent.getRegistry
(ResourceKey<? extends Registry<T>> key) DeferredRegister.makeRegistry
(Consumer<RegistryBuilder<T>> consumer) This method is used to configure a custom modded registry.DeferredRegister.makeRegistry
(ResourceLocation registryName, Consumer<RegistryBuilder<T>> consumer) Modifier and TypeMethodDescriptionstatic Map
<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegistryManager.getDataMaps()
Returns a view of all registered data maps.ModifyRegistriesEvent.getRegistries()
Returns all builtin registries.DeferredRegister.getRegistry()
Returns a supplier for theRegistry
linked to this deferred register.ResourceKey
<? extends Registry<T>> DeferredRegister.getRegistryKey()
ResourceKey
<? extends Registry<?>> RegisterEvent.getRegistryKey()
static Set
<ResourceKey<? extends Registry<?>>> DataPackRegistriesHooks.getSyncedCustomRegistries()
Returns An unmodifiable view of the set of synced non-vanilla datapack registry IDs.private static <T> ResourceKey
<Registry<T>> private CompletableFuture
<Map<ResourceKey<? extends Registry<?>>, DataMapLoader.LoadResult<?>>> DataMapLoader.load
(ResourceManager manager, Executor executor, ProfilerFiller profiler) private static Map
<ResourceKey<? extends Registry<?>>, DataMapLoader.LoadResult<?>> DataMapLoader.load
(ResourceManager manager, ProfilerFiller profiler, RegistryAccess access, ICondition.IContext context) Modifier and TypeMethodDescriptionprivate <T,
R> Map <ResourceKey<R>, T> DataMapLoader.buildDataMap
(Registry<R> registry, DataMapType<R, T> attachment, List<DataMapFile<T, R>> entries) static <T> DeferredRegister
<T> DeferredRegister factory for modded registries or vanilla registries.static boolean
RegistryManager.isNonSyncedBuiltInRegistry
(Registry<?> registry) void
NeoForgeRegistryCallbacks.BlockCallbacks.onAdd
(Registry<Block> registry, int id, ResourceKey<Block> key, Block value) void
NeoForgeRegistryCallbacks.ItemCallbacks.onAdd
(Registry<Item> registry, int id, ResourceKey<Item> key, Item item) void
NeoForgeRegistryCallbacks.PoiTypeCallbacks.onAdd
(Registry<PoiType> registry, int id, ResourceKey<PoiType> key, PoiType value) void
void
void
void
void
<T> void
Registers an already-created registry.private void
NewRegistryEvent.registerToRootRegistry
(Registry<?> registry) Modifier and TypeMethodDescriptionstatic <R,
T extends R>
DeferredHolder<R, T> DeferredHolder.create
(ResourceKey<? extends Registry<R>> registryKey, ResourceLocation valueName) Creates a new DeferredHolder targeting the value with the specified name in the specified registry.static <T> DeferredRegister
<T> DeferredRegister.create
(ResourceKey<? extends Registry<T>> key, String namespace) DeferredRegister factory for modded registries or vanilla registries to lookup based on the provided registry key.protected <I extends Block>
DeferredBlock<I> DeferredRegister.Blocks.createHolder
(ResourceKey<? extends Registry<Block>> registryKey, ResourceLocation key) protected <I extends T>
DeferredHolder<T, I> DeferredRegister.createHolder
(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation key) Create aDeferredHolder
or an inheriting type to be stored.protected <I extends Item>
DeferredItem<I> DeferredRegister.Items.createHolder
(ResourceKey<? extends Registry<Item>> registryKey, ResourceLocation key) <T> void
DataPackRegistryEvent.NewRegistry.dataPackRegistry
(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec) Registers the given registry key as an unsynced datapack registry, which will cause data to be loaded from a datapack folder based on the registry's name.<T> void
DataPackRegistryEvent.NewRegistry.dataPackRegistry
(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec) Registers the registry key as a datapack registry, which will cause data to be loaded from a datapack folder based on the registry's name.static <R> @Nullable DataMapType
<R, ?> RegistryManager.getDataMap
(ResourceKey<? extends Registry<R>> registry, ResourceLocation key) <T> Registry
<T> ModifyRegistriesEvent.getRegistry
(ResourceKey<? extends Registry<T>> key) Retrieve a builtin registry by its key.<T> @Nullable Registry
<T> RegisterEvent.getRegistry
(ResourceKey<? extends Registry<T>> key) static <T> RegistryDataLoader.RegistryData
<T> DataPackRegistriesHooks.getSyncedRegistry
(ResourceKey<? extends Registry<T>> registry) private static <A,
T> List <DataMapFile<A, T>> DataMapLoader.readData
(RegistryOps<com.google.gson.JsonElement> ops, DataMapType<T, A> attachmentType, ResourceKey<Registry<T>> registryKey, List<Resource> resources) <T> void
RegisterEvent.register
(ResourceKey<? extends Registry<T>> registryKey, Consumer<RegisterEvent.RegisterHelper<T>> consumer) Calls the provided consumer with a register helper if the provided registry key matches this event's registry key.<T> void
RegisterEvent.register
(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation name, Supplier<T> valueSupplier) Registers the value with the given name to the stored registry if the provided registry key matches this event's registry key.ModifierConstructorDescription(package private)
RegisterEvent
(ResourceKey<? extends Registry<?>> registryKey, Registry<?> registry) RegistrySnapshot
(Registry<T> registry, boolean full) Creates a registry snapshot based on the given registry.ModifierConstructorDescriptionprotected
DeferredRegister
(ResourceKey<? extends Registry<T>> registryKey, String namespace) (package private)
RegisterEvent
(ResourceKey<? extends Registry<?>> registryKey, Registry<?> registry) RegistryBuilder
(ResourceKey<? extends Registry<T>> registryKey) private
RegistryHolder
(ResourceKey<? extends Registry<V>> registryKey) -
Uses of Registry in net.neoforged.neoforge.registries.callback
Modifier and TypeMethodDescriptionvoid
Called when an entry is added to the registry.void
Called when the registry is frozen, and all registration is finished.void
Called when the registry is cleared before anything is done to the registry. -
Uses of Registry in net.neoforged.neoforge.registries.datamaps
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegisterDataMapTypesEvent.attachments
protected final ResourceKey
<Registry<R>> DataMapType.Builder.registryKey
private final ResourceKey
<Registry<R>> DataMapType.registryKey
Modifier and TypeMethodDescriptionRegistry
<?> DataMapsUpdatedEvent.getRegistry()
Returns the registry that had its data maps updated.Modifier and TypeMethodDescriptionResourceKey
<? extends Registry<?>> DataMapsUpdatedEvent.getRegistryKey()
Returns the key of the registry that had its data maps updated.DataMapType.registryKey()
Returns the key of the registry this data map is for.Modifier and TypeMethodDescriptionDataMapValueMerger.merge
(Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> first, T firstValue, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> second, T secondValue) Merge two conflicting data map values.DataMapValueRemover.Default.remove
(T value, Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> source, R object) DataMapValueRemover.remove
(T value, Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> source, R object) Remove the entry specified in this remover from thevalue
.Modifier and TypeMethodDescriptionstatic <T,
R> AdvancedDataMapType.Builder <T, R, DataMapValueRemover.Default<T, R>> AdvancedDataMapType.builder
(ResourceLocation id, ResourceKey<Registry<R>> registry, com.mojang.serialization.Codec<T> codec) Returns an advanced data map type builder.static <T,
R> DataMapType.Builder <T, R> DataMapType.builder
(ResourceLocation id, ResourceKey<Registry<R>> registry, com.mojang.serialization.Codec<T> codec) Returns a data map type builder.static <T,
R> com.mojang.serialization.Codec <DataMapFile<T, R>> DataMapFile.codec
(ResourceKey<Registry<R>> registryKey, DataMapType<R, T> dataMap) <T> void
DataMapsUpdatedEvent.ifRegistry
(ResourceKey<Registry<T>> type, Consumer<Registry<T>> consumer) Runs the givenconsumer
if the registry is of the giventype
.<T> void
DataMapsUpdatedEvent.ifRegistry
(ResourceKey<Registry<T>> type, Consumer<Registry<T>> consumer) Runs the givenconsumer
if the registry is of the giventype
.ModifierConstructorDescriptionDataMapsUpdatedEvent
(RegistryAccess registryAccess, Registry<?> registry, DataMapsUpdatedEvent.UpdateCause cause) ModifierConstructorDescriptionprivate
AdvancedDataMapType
(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, boolean mandatorySync, com.mojang.serialization.Codec<VR> remover, DataMapValueMerger<R, T> merger) (package private)
Builder
(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec) (package private)
Builder
(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec) (package private)
DataMapType
(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, boolean mandatorySync) RegisterDataMapTypesEvent
(Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> attachments) -
Uses of Registry in net.neoforged.neoforge.registries.holdersets
Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.MapCodec
<? extends ICustomHolderSet<T>> AndHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.MapCodec
<? extends ICustomHolderSet<T>> AnyHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.MapCodec
<? extends ICustomHolderSet<T>> NotHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.MapCodec
<? extends ICustomHolderSet<T>> OrHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec
<? extends ICustomHolderSet<T>> HolderSetType.makeCodec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) -
Uses of Registry in net.neoforged.neoforge.server.command
Modifier and TypeFieldDescriptionprivate static final ResourceKey
<Registry<Registry<?>>> DumpCommand.ROOT_REGISTRY_KEY
private static final ResourceKey
<Registry<Registry<?>>> DumpCommand.ROOT_REGISTRY_KEY
private static final ResourceKey
<Registry<Registry<?>>> TagsCommand.ROOT_REGISTRY_KEY
private static final ResourceKey
<Registry<Registry<?>>> TagsCommand.ROOT_REGISTRY_KEY
Modifier and TypeMethodDescriptionstatic <T extends Registry<?>>
com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> CommandUtils.suggestFromRegistry
(Function<Registry<?>, Iterable<ResourceLocation>> namesFunction, String argumentString, ResourceKey<Registry<T>> registryKey) Modifier and TypeMethodDescriptionprivate static List
<ResourceLocation> DumpCommand.getSortedRegistryKeys
(boolean alphabeticalSort, boolean printNumericIds, Registry<?> registry) Modifier and TypeMethodDescriptionstatic <T> Optional
<ResourceKey<T>> CommandUtils.getResourceKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name, ResourceKey<Registry<T>> registryKey) static <T extends Registry<?>>
com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> CommandUtils.suggestFromRegistry
(Function<Registry<?>, Iterable<ResourceLocation>> namesFunction, String argumentString, ResourceKey<Registry<T>> registryKey) static <T extends Registry<?>>
com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> CommandUtils.suggestFromRegistry
(Function<Registry<?>, Iterable<ResourceLocation>> namesFunction, String argumentString, ResourceKey<Registry<T>> registryKey) -
Uses of Registry in net.neoforged.testframework.impl.reg
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<? extends Registry<?>>, DeferredRegister<?>> RegistrationHelperImpl.registrars
Modifier and TypeMethodDescription<T> DeferredRegister
<T> RegistrationHelperImpl.registrar
(ResourceKey<Registry<T>> registry) -
Uses of Registry in net.neoforged.testframework.registration
Modifier and TypeMethodDescriptionprotected <I extends Block>
DeferredBlockBuilder<I> DeferredBlocks.createHolder
(ResourceKey<? extends Registry<Block>> registryKey, ResourceLocation key) protected <I extends EntityType<?>>
DeferredEntityTypeBuilderDeferredEntityTypes.createHolder
(ResourceKey<? extends Registry<EntityType<?>>> registryKey, ResourceLocation key) protected <I extends Item>
DeferredItemBuilder<I> DeferredItems.createHolder
(ResourceKey<? extends Registry<Item>> registryKey, ResourceLocation key) <T> DeferredRegister
<T> RegistrationHelper.registrar
(ResourceKey<Registry<T>> registry) Returns a deferred register for the givenregistry
.