Uses of Class
net.minecraft.resources.ResourceKey
Packages that use ResourceKey
Package
Description
-
Uses of ResourceKey in com.mojang.realmsclient.util
Constructors in com.mojang.realmsclient.util with parameters of type ResourceKeyModifierConstructorDescriptionprivateLevelType(int p_239483_, ResourceKey<WorldPreset> p_239484_) -
Uses of ResourceKey in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Biome>LocationPredicate.biomeprivate ResourceKey<Biome>LocationPredicate.Builder.biomeprivate ResourceKey<Level>LocationPredicate.Builder.dimensionprivate final ResourceKey<Level>LocationPredicate.dimensionprivate final ResourceKey<Level>ChangeDimensionTrigger.TriggerInstance.fromprivate ResourceKey<Structure>LocationPredicate.Builder.structureprivate final ResourceKey<Structure>LocationPredicate.structureprivate final ResourceKey<Level>ChangeDimensionTrigger.TriggerInstance.toMethods in net.minecraft.advancements.critereon with parameters of type ResourceKeyModifier and TypeMethodDescriptionChangeDimensionTrigger.TriggerInstance.changedDimension(ResourceKey<Level> p_147561_, ResourceKey<Level> p_147562_) ChangeDimensionTrigger.TriggerInstance.changedDimensionFrom(ResourceKey<Level> p_147564_) ChangeDimensionTrigger.TriggerInstance.changedDimensionTo(ResourceKey<Level> p_19783_) static LocationPredicateLocationPredicate.inBiome(ResourceKey<Biome> p_52635_) static LocationPredicateLocationPredicate.inDimension(ResourceKey<Level> p_52639_) static LocationPredicateLocationPredicate.inStructure(ResourceKey<Structure> p_220590_) booleanChangeDimensionTrigger.TriggerInstance.matches(ResourceKey<Level> p_19785_, ResourceKey<Level> p_19786_) LocationPredicate.Builder.setBiome(ResourceKey<Biome> p_52657_) LocationPredicate.Builder.setDimension(ResourceKey<Level> p_153977_) LocationPredicate.Builder.setStructure(ResourceKey<Structure> p_220593_) voidChangeDimensionTrigger.trigger(ServerPlayer p_19758_, ResourceKey<Level> p_19759_, ResourceKey<Level> p_19760_) Constructors in net.minecraft.advancements.critereon with parameters of type ResourceKeyModifierConstructorDescriptionLocationPredicate(MinMaxBounds.Doubles p_207916_, MinMaxBounds.Doubles p_207917_, MinMaxBounds.Doubles p_207918_, ResourceKey<Biome> p_207919_, ResourceKey<Structure> p_207920_, ResourceKey<Level> p_207921_, Boolean p_207922_, LightPredicate p_207923_, BlockPredicate p_207924_, FluidPredicate p_207925_) TriggerInstance(EntityPredicate.Composite p_19777_, ResourceKey<Level> p_19778_, ResourceKey<Level> p_19779_) -
Uses of ResourceKey in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens declared as ResourceKeyModifier and TypeFieldDescriptionprivate static final ResourceKey<Biome>PresetFlatWorldScreen.DEFAULT_BIOME -
Uses of ResourceKey in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Level>>OptimizeWorldScreen.DIMENSION_COLORSstatic final Map<Optional<ResourceKey<WorldPreset>>,PresetEditor> PresetEditor.EDITORSMethod parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static Optional<Holder<WorldPreset>>WorldGenSettingsComponent.findPreset(WorldCreationContext p_233048_, Optional<ResourceKey<WorldPreset>> p_233049_) Constructor parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type ResourceKeyModifierConstructorDescriptionWorldGenSettingsComponent(WorldCreationContext p_233011_, Optional<ResourceKey<WorldPreset>> p_233012_, OptionalLong p_233013_) -
Uses of ResourceKey in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer with type parameters of type ResourceKeyMethods in net.minecraft.client.multiplayer that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionClientPacketListener.levels()ClientSuggestionProvider.levels()Methods in net.minecraft.client.multiplayer with parameters of type ResourceKeyModifier and TypeMethodDescriptionCompletableFuture<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_) private <T> voidClientPacketListener.updateTagsForRegistry(ResourceKey<? extends Registry<? extends T>> p_205561_, TagNetworkSerialization.NetworkPayload p_205562_) Constructors in net.minecraft.client.multiplayer with parameters of type ResourceKeyModifierConstructorDescriptionClientLevel(ClientPacketListener p_205505_, ClientLevel.ClientLevelData p_205506_, ResourceKey<Level> p_205507_, Holder<DimensionType> p_205508_, int p_205509_, int p_205510_, Supplier<ProfilerFiller> p_205511_, LevelRenderer p_205512_, boolean p_205513_, long p_205514_) -
Uses of ResourceKey in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic final Map<ResourceKey<BannerPattern>,Material> Sheets.BANNER_MATERIALSstatic final Map<ResourceKey<BannerPattern>,Material> Sheets.SHIELD_MATERIALSMethods in net.minecraft.client.renderer with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static MaterialSheets.createBannerMaterial(ResourceKey<BannerPattern> p_234352_) private static MaterialSheets.createShieldMaterial(ResourceKey<BannerPattern> p_234354_) static MaterialSheets.getBannerMaterial(ResourceKey<BannerPattern> p_234348_) static MaterialSheets.getShieldMaterial(ResourceKey<BannerPattern> p_234350_) -
Uses of ResourceKey in net.minecraft.commands
Methods in net.minecraft.commands that return types with arguments of type ResourceKeyMethods in net.minecraft.commands with parameters of type ResourceKeyModifier and TypeMethodDescription<T> HolderLookup<T>CommandBuildContext.holderLookup(ResourceKey<? extends Registry<T>> p_227134_) CompletableFuture<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 ResourceKey in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<T>ResourceOrTagKeyArgument.ResourceResult.keyThe field for thekeyrecord component.(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.registryKeyMethods in net.minecraft.commands.arguments that return ResourceKeyModifier and TypeMethodDescriptionprivate 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_) ResourceOrTagKeyArgument.ResourceResult.key()Returns the value of thekeyrecord component.ResourceKeyArgument.parse(com.mojang.brigadier.StringReader p_212369_) Methods in net.minecraft.commands.arguments that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<ResourceKey<T>,TagKey<T>> ResourceOrTagKeyArgument.ResourceResult.unwrap()com.mojang.datafixers.util.Either<ResourceKey<T>,TagKey<T>> ResourceOrTagKeyArgument.Result.unwrap()com.mojang.datafixers.util.Either<ResourceKey<T>,TagKey<T>> ResourceOrTagKeyArgument.TagResult.unwrap()Methods in net.minecraft.commands.arguments with parameters of type ResourceKeyModifier 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_) Constructors in net.minecraft.commands.arguments with parameters of type ResourceKeyModifierConstructorDescriptionResourceArgument(CommandBuildContext p_248597_, ResourceKey<? extends Registry<T>> p_251778_) ResourceKeyArgument(ResourceKey<? extends Registry<T>> p_212367_) ResourceOrTagArgument(CommandBuildContext p_249382_, ResourceKey<? extends Registry<T>> p_251209_) ResourceOrTagKeyArgument(ResourceKey<? extends Registry<T>> p_248579_) (package private)ResourceResult(ResourceKey<T> key) Creates an instance of aResourceResultrecord class.(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 ResourceKey in net.minecraft.core
Fields in net.minecraft.core declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level>GlobalPos.dimensionprivate ResourceKey<T>Holder.Reference.key(package private) final ResourceKey<? extends Registry<T>>MappedRegistry.keyprivate final ResourceKey<? extends Registry<T>>RegistryAccess.RegistryEntry.keyThe field for thekeyrecord component.private final ResourceKey<T>RegistryCodecs.RegistryEntry.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<T>>RegistrySetBuilder.RegistryStub.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<E>>RegistrySynchronization.NetworkedRegistryData.keyThe field for thekeyrecord component.Fields in net.minecraft.core with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<T>,Holder.Reference<T>> MappedRegistry.byKey(package private) final Map<ResourceKey<Object>,Holder.Reference<Object>> RegistrySetBuilder.UniversalLookup.holdersprivate static final Map<ResourceKey<? extends Registry<?>>,RegistrySynchronization.NetworkedRegistryData<?>> RegistrySynchronization.NETWORKABLE_REGISTRIESprivate final Map<ResourceKey<?>,RegistrySetBuilder.RegisteredValue<?>> RegistrySetBuilder.BuildState.registeredValuesThe field for theregisteredValuesrecord component.private final Map<? extends ResourceKey<? extends Registry<?>>,? extends Registry<?>> RegistryAccess.ImmutableRegistryAccess.registriesprivate final Map<ResourceKey<T>,RegistrySetBuilder.ValueAndHolder<T>> RegistrySetBuilder.RegistryContents.valuesThe field for thevaluesrecord component.Methods in net.minecraft.core with type parameters of type ResourceKeyModifier 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_) Methods in net.minecraft.core that return ResourceKeyModifier and TypeMethodDescriptionGlobalPos.dimension()Holder.Reference.key()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 thekeyrecord component.RegistryCodecs.RegistryEntry.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<T>>RegistrySetBuilder.RegistryStub.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<E>>RegistrySynchronization.NetworkedRegistryData.key()Returns the value of thekeyrecord component.Methods in net.minecraft.core that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static Map<ResourceKey<? extends Registry<?>>,Registry<?>> LayeredRegistryAccess.collectRegistries(Stream<? extends RegistryAccess> p_248595_) Set<Map.Entry<ResourceKey<T>,T>> MappedRegistry.entrySet()Set<Map.Entry<ResourceKey<T>,T>> Registry.entrySet()List<? extends ResourceKey<? extends Registry<?>>>RegistrySetBuilder.getEntryKeys()MappedRegistry.getResourceKey(T p_122755_) Registry.getResourceKey(T p_123008_) default Stream<ResourceKey<T>>HolderLookup.listElementIds()RegistrySetBuilder.BuildState.registeredValues()Returns the value of theregisteredValuesrecord component.Set<ResourceKey<T>>MappedRegistry.registryKeySet()Set<ResourceKey<T>>Registry.registryKeySet()com.mojang.datafixers.util.Either<ResourceKey<T>,T> Holder.Direct.unwrap()com.mojang.datafixers.util.Either<ResourceKey<T>,T> Holder.Reference.unwrap()com.mojang.datafixers.util.Either<ResourceKey<T>,T> Holder.unwrap()Holder.Direct.unwrapKey()Holder.Reference.unwrapKey()Holder.unwrapKey()RegistrySetBuilder.RegistryContents.values()Returns the value of thevaluesrecord component.Methods in net.minecraft.core with parameters of type ResourceKeyModifier 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_) voidHolder.Reference.bindKey(ResourceKey<T> p_251943_) booleanMappedRegistry.containsKey(ResourceKey<T> p_175392_) booleanRegistry.containsKey(ResourceKey<T> p_175475_) static <T> Holder.Reference<T>Holder.Reference.createStandAlone(HolderOwner<T> p_255955_, ResourceKey<T> p_255958_) private static <T> RegistryAccess.RegistryEntry<T>RegistryAccess.RegistryEntry.fromUntyped(ResourceKey<? extends Registry<?>> p_206244_, Registry<?> p_206245_) static <E> com.mojang.serialization.Codec<Registry<E>>RegistryCodecs.fullCodec(ResourceKey<? extends Registry<E>> p_248884_, com.mojang.serialization.Lifecycle p_251810_, com.mojang.serialization.Codec<E> p_250169_) HolderGetter.get(ResourceKey<T> p_255645_) HolderLookup.Delegate.get(ResourceKey<T> p_256195_) HolderLookup.RegistryLookup.Delegate.get(ResourceKey<T> p_255619_) MappedRegistry.get(ResourceKey<T> p_122714_) Registry.get(ResourceKey<T> p_122980_) RegistrySetBuilder.UniversalLookup.get(ResourceKey<Object> p_256303_) MappedRegistry.getHolder(ResourceKey<T> p_205905_) Registry.getHolder(ResourceKey<T> p_206050_) default Holder.Reference<T>Registry.getHolderOrThrow(ResourceKey<T> p_249087_) private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>RegistrySynchronization.getNetworkCodec(ResourceKey<? extends Registry<E>> p_252190_) Registry.getOptional(ResourceKey<T> p_123010_) (package private) <T> Holder.Reference<T>RegistrySetBuilder.UniversalLookup.getOrCreate(ResourceKey<T> p_256298_) (package private) Holder.Reference<T>MappedRegistry.getOrCreateHolderOrThrow(ResourceKey<T> p_248831_) default Holder.Reference<T>HolderGetter.getOrThrow(ResourceKey<T> p_255990_) default TRegistry.getOrThrow(ResourceKey<T> p_123014_) 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_) booleanHolder.Direct.is(ResourceKey<T> p_205725_) booleanHolder.is(ResourceKey<T> p_205712_) booleanHolder.Reference.is(ResourceKey<T> p_205774_) <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_) 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 <T> com.mojang.serialization.Codec<Registry<T>>RegistryCodecs.networkCodec(ResourceKey<? extends Registry<T>> p_206292_, com.mojang.serialization.Lifecycle p_206293_, com.mojang.serialization.Codec<T> p_206294_) static GlobalPosGlobalPos.of(ResourceKey<Level> p_122644_, BlockPos p_122645_) private static <E> voidRegistrySynchronization.put(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistrySynchronization.NetworkedRegistryData<?>> p_251643_, ResourceKey<? extends Registry<E>> p_249195_, com.mojang.serialization.Codec<E> p_249212_) MappedRegistry.register(ResourceKey<T> p_256252_, T p_256591_, com.mojang.serialization.Lifecycle p_256255_) static <V,T extends V>
TRegistry.register(Registry<V> p_194580_, ResourceKey<V> p_194581_, T p_194582_) WritableRegistry.register(ResourceKey<T> p_256320_, T p_255978_, com.mojang.serialization.Lifecycle p_256625_) static <T> Holder.Reference<T>Registry.registerForHolder(Registry<T> p_263347_, ResourceKey<T> p_263355_, T p_263428_) DefaultedMappedRegistry.registerMapping(int p_259787_, ResourceKey<T> p_259677_, T p_259430_, com.mojang.serialization.Lifecycle p_259516_) MappedRegistry.registerMapping(int p_256563_, ResourceKey<T> p_256594_, T p_256374_, com.mojang.serialization.Lifecycle p_256469_) WritableRegistry.registerMapping(int p_206368_, ResourceKey<T> p_206369_, T p_206370_, com.mojang.serialization.Lifecycle p_206371_) 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_) private voidMappedRegistry.validateWrite(ResourceKey<T> p_205922_) private static <T> com.mojang.serialization.MapCodec<RegistryCodecs.RegistryEntry<T>>RegistryCodecs.withNameAndId(ResourceKey<? extends Registry<T>> p_206304_, com.mojang.serialization.MapCodec<T> p_206305_) Method parameters in net.minecraft.core with type arguments of type ResourceKeyModifier and TypeMethodDescriptionRegistrySetBuilder.BuildState.create(RegistryAccess p_255995_, Stream<ResourceKey<? extends Registry<?>>> p_256495_) private static <T,R extends Registry<? extends T>>
RegistryAccess.RegistryEntry<T>RegistryAccess.RegistryEntry.fromMapEntry(Map.Entry<? extends ResourceKey<? extends Registry<?>>, R> p_206242_) booleanHolder.Direct.is(Predicate<ResourceKey<T>> p_205723_) booleanHolder.is(Predicate<ResourceKey<T>> p_205711_) booleanHolder.Reference.is(Predicate<ResourceKey<T>> p_205772_) private static <E> voidRegistrySynchronization.put(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistrySynchronization.NetworkedRegistryData<?>> p_251643_, ResourceKey<? extends Registry<E>> p_249195_, com.mojang.serialization.Codec<E> p_249212_) Constructors in net.minecraft.core with parameters of type ResourceKeyModifierConstructorDescriptionDefaultedMappedRegistry(String p_260196_, ResourceKey<? extends Registry<T>> p_259440_, com.mojang.serialization.Lifecycle p_260260_, boolean p_259808_) privateGlobalPos(ResourceKey<Level> p_122638_, BlockPos p_122639_) 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_) NetworkedRegistryData(ResourceKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> networkCodec) Creates an instance of aNetworkedRegistryDatarecord class.privateReference(Holder.Reference.Type p_256425_, HolderOwner<T> p_256562_, ResourceKey<T> p_256636_, T p_255889_) RegistryEntry(ResourceKey<? extends Registry<T>> key, Registry<T> value) Creates an instance of aRegistryEntryrecord class.(package private)RegistryEntry(ResourceKey<T> key, int id, T value) Creates an instance of aRegistryEntryrecord class.(package private)RegistryStub(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, RegistrySetBuilder.RegistryBootstrap<T> bootstrap) Creates an instance of aRegistryStubrecord class.Constructor parameters in net.minecraft.core with type arguments of type ResourceKeyModifierConstructorDescriptionImmutableRegistryAccess(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> p_206225_) (package private)RegistryContents(RegistrySetBuilder.RegistryStub<T> stub, Map<ResourceKey<T>, RegistrySetBuilder.ValueAndHolder<T>> values) Creates an instance of aRegistryContentsrecord class. -
Uses of ResourceKey in net.minecraft.core.registries
Fields in net.minecraft.core.registries declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<Activity>>Registries.ACTIVITYstatic final ResourceKey<Registry<Attribute>>Registries.ATTRIBUTEstatic final ResourceKey<Registry<BannerPattern>>Registries.BANNER_PATTERNstatic final ResourceKey<Registry<Biome>>Registries.BIOMEstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>Registries.BIOME_SOURCEstatic final ResourceKey<Registry<Block>>Registries.BLOCKstatic final ResourceKey<Registry<BlockEntityType<?>>>Registries.BLOCK_ENTITY_TYPEstatic final ResourceKey<Registry<BlockPredicateType<?>>>Registries.BLOCK_PREDICATE_TYPEstatic final ResourceKey<Registry<BlockStateProviderType<?>>>Registries.BLOCK_STATE_PROVIDER_TYPEstatic final ResourceKey<Registry<WorldCarver<?>>>Registries.CARVERstatic final ResourceKey<Registry<CatVariant>>Registries.CAT_VARIANTstatic final ResourceKey<Registry<ChatType>>Registries.CHAT_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>Registries.CHUNK_GENERATORstatic final ResourceKey<Registry<ChunkStatus>>Registries.CHUNK_STATUSstatic final ResourceKey<Registry<ArgumentTypeInfo<?,?>>> Registries.COMMAND_ARGUMENT_TYPEstatic final ResourceKey<Registry<ConfiguredWorldCarver<?>>>Registries.CONFIGURED_CARVERstatic final ResourceKey<Registry<ConfiguredFeature<?,?>>> Registries.CONFIGURED_FEATUREstatic final ResourceKey<Registry<ResourceLocation>>Registries.CUSTOM_STATstatic final ResourceKey<Registry<DensityFunction>>Registries.DENSITY_FUNCTIONstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>>Registries.DENSITY_FUNCTION_TYPEstatic final ResourceKey<Registry<Level>>Registries.DIMENSIONstatic final ResourceKey<Registry<DimensionType>>Registries.DIMENSION_TYPEstatic final ResourceKey<Registry<Enchantment>>Registries.ENCHANTMENTstatic final ResourceKey<Registry<EntityType<?>>>Registries.ENTITY_TYPEstatic final ResourceKey<Registry<Feature<?>>>Registries.FEATUREstatic final ResourceKey<Registry<FeatureSizeType<?>>>Registries.FEATURE_SIZE_TYPEstatic final ResourceKey<Registry<FlatLevelGeneratorPreset>>Registries.FLAT_LEVEL_GENERATOR_PRESETstatic final ResourceKey<Registry<FloatProviderType<?>>>Registries.FLOAT_PROVIDER_TYPEstatic final ResourceKey<Registry<Fluid>>Registries.FLUIDstatic final ResourceKey<Registry<FoliagePlacerType<?>>>Registries.FOLIAGE_PLACER_TYPEstatic final ResourceKey<Registry<FrogVariant>>Registries.FROG_VARIANTstatic final ResourceKey<Registry<GameEvent>>Registries.GAME_EVENTstatic final ResourceKey<Registry<HeightProviderType<?>>>Registries.HEIGHT_PROVIDER_TYPEstatic final ResourceKey<Registry<Instrument>>Registries.INSTRUMENTstatic final ResourceKey<Registry<IntProviderType<?>>>Registries.INT_PROVIDER_TYPEstatic final ResourceKey<Registry<Item>>Registries.ITEMstatic final ResourceKey<Registry<LevelStem>>Registries.LEVEL_STEMstatic final ResourceKey<Registry<LootItemConditionType>>Registries.LOOT_CONDITION_TYPEstatic final ResourceKey<Registry<LootItemFunctionType>>Registries.LOOT_FUNCTION_TYPEstatic final ResourceKey<Registry<LootNbtProviderType>>Registries.LOOT_NBT_PROVIDER_TYPEstatic final ResourceKey<Registry<LootNumberProviderType>>Registries.LOOT_NUMBER_PROVIDER_TYPEstatic final ResourceKey<Registry<LootPoolEntryType>>Registries.LOOT_POOL_ENTRY_TYPEstatic final ResourceKey<Registry<LootScoreProviderType>>Registries.LOOT_SCORE_PROVIDER_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>>>Registries.MATERIAL_CONDITIONstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>>>Registries.MATERIAL_RULEstatic final ResourceKey<Registry<MemoryModuleType<?>>>Registries.MEMORY_MODULE_TYPEstatic final ResourceKey<Registry<MenuType<?>>>Registries.MENUstatic final ResourceKey<Registry<MobEffect>>Registries.MOB_EFFECTstatic final ResourceKey<Registry<NormalNoise.NoiseParameters>>Registries.NOISEstatic final ResourceKey<Registry<NoiseGeneratorSettings>>Registries.NOISE_SETTINGSstatic final ResourceKey<Registry<PaintingVariant>>Registries.PAINTING_VARIANTstatic final ResourceKey<Registry<ParticleType<?>>>Registries.PARTICLE_TYPEstatic final ResourceKey<Registry<PlacedFeature>>Registries.PLACED_FEATUREstatic final ResourceKey<Registry<PlacementModifierType<?>>>Registries.PLACEMENT_MODIFIER_TYPEstatic final ResourceKey<Registry<PoiType>>Registries.POINT_OF_INTEREST_TYPEstatic final ResourceKey<Registry<PosRuleTestType<?>>>Registries.POS_RULE_TESTstatic final ResourceKey<Registry<PositionSourceType<?>>>Registries.POSITION_SOURCE_TYPEstatic final ResourceKey<Registry<Potion>>Registries.POTIONstatic final ResourceKey<Registry<StructureProcessorList>>Registries.PROCESSOR_LISTstatic final ResourceKey<Registry<RecipeSerializer<?>>>Registries.RECIPE_SERIALIZERstatic final ResourceKey<Registry<RecipeType<?>>>Registries.RECIPE_TYPEstatic final ResourceKey<Registry<RootPlacerType<?>>>Registries.ROOT_PLACER_TYPEstatic final ResourceKey<Registry<RuleTestType<?>>>Registries.RULE_TESTstatic final ResourceKey<Registry<Schedule>>Registries.SCHEDULEstatic final ResourceKey<Registry<SensorType<?>>>Registries.SENSOR_TYPEstatic final ResourceKey<Registry<SoundEvent>>Registries.SOUND_EVENTstatic final ResourceKey<Registry<StatType<?>>>Registries.STAT_TYPEstatic final ResourceKey<Registry<Structure>>Registries.STRUCTUREstatic final ResourceKey<Registry<StructurePieceType>>Registries.STRUCTURE_PIECEstatic final ResourceKey<Registry<StructurePlacementType<?>>>Registries.STRUCTURE_PLACEMENTstatic final ResourceKey<Registry<StructurePoolElementType<?>>>Registries.STRUCTURE_POOL_ELEMENTstatic final ResourceKey<Registry<StructureProcessorType<?>>>Registries.STRUCTURE_PROCESSORstatic final ResourceKey<Registry<StructureSet>>Registries.STRUCTURE_SETstatic final ResourceKey<Registry<StructureType<?>>>Registries.STRUCTURE_TYPEstatic final ResourceKey<Registry<StructureTemplatePool>>Registries.TEMPLATE_POOLstatic final ResourceKey<Registry<TreeDecoratorType<?>>>Registries.TREE_DECORATOR_TYPEstatic final ResourceKey<Registry<TrunkPlacerType<?>>>Registries.TRUNK_PLACER_TYPEstatic final ResourceKey<Registry<VillagerProfession>>Registries.VILLAGER_PROFESSIONstatic final ResourceKey<Registry<VillagerType>>Registries.VILLAGER_TYPEstatic final ResourceKey<Registry<WorldPreset>>Registries.WORLD_PRESETMethods in net.minecraft.core.registries that return ResourceKeyModifier and TypeMethodDescriptionprivate static <T> ResourceKey<Registry<T>>Registries.createRegistryKey(String p_259572_) static ResourceKey<Level>Registries.levelStemToLevel(ResourceKey<LevelStem> p_259475_) static ResourceKey<LevelStem>Registries.levelToLevelStem(ResourceKey<Level> p_260225_) Methods in net.minecraft.core.registries with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static <T> Registry<T>BuiltInRegistries.forge(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, BuiltInRegistries.RegistryBootstrap<T> def) private static <T> DefaultedRegistry<T>BuiltInRegistries.forge(ResourceKey<? extends Registry<T>> key, String defKey, com.mojang.serialization.Lifecycle cycle, BuiltInRegistries.RegistryBootstrap<T> def) private static <T> DefaultedRegistry<T>BuiltInRegistries.forge(ResourceKey<? extends Registry<T>> key, String defKey, BuiltInRegistries.RegistryBootstrap<T> def) private static <T> Registry<T>BuiltInRegistries.forge(ResourceKey<? extends Registry<T>> key, BuiltInRegistries.RegistryBootstrap<T> def) private static <T,R extends WritableRegistry<T>>
RBuiltInRegistries.internalRegister(ResourceKey<? extends Registry<T>> p_259230_, R p_260327_, BuiltInRegistries.RegistryBootstrap<T> p_259210_, com.mojang.serialization.Lifecycle p_259258_) static ResourceKey<Level>Registries.levelStemToLevel(ResourceKey<LevelStem> p_259475_) static ResourceKey<LevelStem>Registries.levelToLevelStem(ResourceKey<Level> p_260225_) private static <T> DefaultedRegistry<T>BuiltInRegistries.registerDefaulted(ResourceKey<? extends Registry<T>> p_259400_, String p_259678_, com.mojang.serialization.Lifecycle p_259157_, BuiltInRegistries.RegistryBootstrap<T> p_259806_) 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_260010_, String p_260220_, com.mojang.serialization.Lifecycle p_260139_, BuiltInRegistries.RegistryBootstrap<T> p_260185_) 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_259121_, com.mojang.serialization.Lifecycle p_259977_, BuiltInRegistries.RegistryBootstrap<T> p_259874_) private static <T> Registry<T>BuiltInRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_260095_, BuiltInRegistries.RegistryBootstrap<T> p_259057_) -
Uses of ResourceKey in net.minecraft.data.advancements.packs
Fields in net.minecraft.data.advancements.packs with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final List<ResourceKey<Biome>>VanillaNetherAdvancements.EXPLORABLE_BIOMESMethod parameters in net.minecraft.data.advancements.packs with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprotected static Advancement.BuilderVanillaAdventureAdvancements.addBiomes(Advancement.Builder p_249250_, List<ResourceKey<Biome>> p_251338_) -
Uses of ResourceKey in net.minecraft.data.registries
Fields in net.minecraft.data.registries with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic final List<? extends ResourceKey<? extends Registry<?>>>VanillaRegistries.DATAPACK_REGISTRY_KEYS -
Uses of ResourceKey in net.minecraft.data.tags
Fields in net.minecraft.data.tags declared as ResourceKeyModifier and TypeFieldDescriptionprotected final ResourceKey<? extends Registry<T>>TagsProvider.registryKeyFields in net.minecraft.data.tags with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Function<T,ResourceKey<T>> IntrinsicHolderTagsProvider.IntrinsicTagAppender.keyExtractorprivate final Function<T,ResourceKey<T>> IntrinsicHolderTagsProvider.keyExtractorMethods in net.minecraft.data.tags that return ResourceKeyMethods in net.minecraft.data.tags with parameters of type ResourceKeyModifier and TypeMethodDescriptionfinal TagsProvider.TagAppender<T>TagsProvider.TagAppender.add(ResourceKey<T> p_256138_) final TagsProvider.TagAppender<T>TagsProvider.TagAppender.add(ResourceKey<T>... p_211102_) Constructors in net.minecraft.data.tags with parameters of type ResourceKeyModifierConstructorDescriptionIntrinsicHolderTagsProvider(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_) Deprecated.Forge: Use the mod id variantIntrinsicHolderTagsProvider(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_, String modId, ExistingFileHelper existingFileHelper) protectedTagsProvider(PackOutput p_256596_, ResourceKey<? extends Registry<T>> p_255886_, CompletableFuture<HolderLookup.Provider> p_256513_) Deprecated.Forge: Use the mod id variantprotectedTagsProvider(PackOutput p_256596_, ResourceKey<? extends Registry<T>> p_255886_, CompletableFuture<HolderLookup.Provider> p_256513_, String modId, ExistingFileHelper existingFileHelper) Constructor parameters in net.minecraft.data.tags with type arguments of type ResourceKeyModifierConstructorDescriptionIntrinsicHolderTagsProvider(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_) Deprecated.Forge: Use the mod id variantIntrinsicHolderTagsProvider(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_, String modId, ExistingFileHelper existingFileHelper) (package private)IntrinsicTagAppender(TagBuilder p_256108_, Function<T, ResourceKey<T>> p_256433_, String modId) -
Uses of ResourceKey in net.minecraft.data.worldgen
Fields in net.minecraft.data.worldgen declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<StructureProcessorList>ProcessorLists.ANCIENT_CITY_GENERIC_DEGRADATIONstatic final ResourceKey<StructureProcessorList>ProcessorLists.ANCIENT_CITY_START_DEGRADATIONstatic final ResourceKey<StructureProcessorList>ProcessorLists.ANCIENT_CITY_WALLS_DEGRADATIONstatic final ResourceKey<StructureProcessorList>ProcessorLists.BASTION_GENERIC_DEGRADATIONstatic final ResourceKey<StructureProcessorList>ProcessorLists.BOTTOM_RAMPARTstatic final ResourceKey<StructureProcessorList>ProcessorLists.BRIDGEstatic final ResourceKey<ConfiguredWorldCarver<?>>Carvers.CANYONstatic final ResourceKey<ConfiguredWorldCarver<?>>Carvers.CAVEstatic final ResourceKey<ConfiguredWorldCarver<?>>Carvers.CAVE_EXTRA_UNDERGROUNDstatic final ResourceKey<StructureTemplatePool>Pools.EMPTYprivate static final ResourceKey<StructureProcessorList>ProcessorLists.EMPTYstatic final ResourceKey<StructureProcessorList>ProcessorLists.ENTRANCE_REPLACEMENTstatic final ResourceKey<StructureProcessorList>ProcessorLists.FARM_DESERTstatic final ResourceKey<StructureProcessorList>ProcessorLists.FARM_PLAINSstatic final ResourceKey<StructureProcessorList>ProcessorLists.FARM_SAVANNAstatic final ResourceKey<StructureProcessorList>ProcessorLists.FARM_SNOWYstatic final ResourceKey<StructureProcessorList>ProcessorLists.FARM_TAIGAstatic final ResourceKey<StructureProcessorList>ProcessorLists.FOSSIL_COALstatic final ResourceKey<StructureProcessorList>ProcessorLists.FOSSIL_DIAMONDSstatic final ResourceKey<StructureProcessorList>ProcessorLists.FOSSIL_ROTstatic final ResourceKey<StructureProcessorList>ProcessorLists.HIGH_RAMPARTstatic final ResourceKey<StructureProcessorList>ProcessorLists.HIGH_WALLstatic final ResourceKey<StructureProcessorList>ProcessorLists.HOUSINGstatic final ResourceKey<StructureProcessorList>ProcessorLists.MOSSIFY_10_PERCENTstatic final ResourceKey<StructureProcessorList>ProcessorLists.MOSSIFY_20_PERCENTstatic final ResourceKey<StructureProcessorList>ProcessorLists.MOSSIFY_70_PERCENTstatic final ResourceKey<ConfiguredWorldCarver<?>>Carvers.NETHER_CAVEstatic final ResourceKey<StructureProcessorList>ProcessorLists.OUTPOST_ROTstatic final ResourceKey<StructureProcessorList>ProcessorLists.RAMPART_DEGRADATIONstatic final ResourceKey<StructureProcessorList>ProcessorLists.ROOFstatic final ResourceKey<StructureProcessorList>ProcessorLists.SIDE_WALL_DEGRADATIONstatic final ResourceKey<StructureProcessorList>ProcessorLists.STABLE_DEGRADATIONstatic final ResourceKey<StructureTemplatePool>AncientCityStructurePieces.STARTstatic final ResourceKey<StructureTemplatePool>BastionPieces.STARTstatic final ResourceKey<StructureTemplatePool>DesertVillagePools.STARTstatic final ResourceKey<StructureTemplatePool>PillagerOutpostPools.STARTstatic final ResourceKey<StructureTemplatePool>PlainVillagePools.STARTstatic final ResourceKey<StructureTemplatePool>SavannaVillagePools.STARTstatic final ResourceKey<StructureTemplatePool>SnowyVillagePools.STARTstatic final ResourceKey<StructureTemplatePool>TaigaVillagePools.STARTstatic final ResourceKey<StructureProcessorList>ProcessorLists.STREET_PLAINSstatic final ResourceKey<StructureProcessorList>ProcessorLists.STREET_SAVANNAstatic final ResourceKey<StructureProcessorList>ProcessorLists.STREET_SNOWY_OR_TAIGAprivate static final ResourceKey<StructureTemplatePool>DesertVillagePools.TERMINATORS_KEYprivate static final ResourceKey<StructureTemplatePool>PlainVillagePools.TERMINATORS_KEYprivate static final ResourceKey<StructureTemplatePool>SavannaVillagePools.TERMINATORS_KEYprivate static final ResourceKey<StructureTemplatePool>SnowyVillagePools.TERMINATORS_KEYprivate static final ResourceKey<StructureTemplatePool>TaigaVillagePools.TERMINATORS_KEYstatic final ResourceKey<StructureProcessorList>ProcessorLists.TREASURE_ROOMSstatic final ResourceKey<StructureProcessorList>ProcessorLists.ZOMBIE_DESERTstatic final ResourceKey<StructureProcessorList>ProcessorLists.ZOMBIE_PLAINSstatic final ResourceKey<StructureProcessorList>ProcessorLists.ZOMBIE_SAVANNAstatic final ResourceKey<StructureProcessorList>ProcessorLists.ZOMBIE_SNOWYstatic final ResourceKey<StructureProcessorList>ProcessorLists.ZOMBIE_TAIGAprivate static final ResourceKey<StructureTemplatePool>DesertVillagePools.ZOMBIE_TERMINATORS_KEYprivate static final ResourceKey<StructureTemplatePool>SavannaVillagePools.ZOMBIE_TERMINATORS_KEYMethods in net.minecraft.data.worldgen that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<ConfiguredWorldCarver<?>>static ResourceKey<StructureTemplatePool>private static ResourceKey<StructureProcessorList>Methods in net.minecraft.data.worldgen with parameters of type ResourceKeyModifier and TypeMethodDescription<S> HolderGetter<S>BootstapContext.lookup(ResourceKey<? extends Registry<? extends S>> p_256410_) default Holder.Reference<T>BootstapContext.register(ResourceKey<T> p_255743_, T p_256121_) BootstapContext.register(ResourceKey<T> p_256008_, T p_256454_, com.mojang.serialization.Lifecycle p_255725_) private static voidNoiseData.register(BootstapContext<NormalNoise.NoiseParameters> p_256150_, ResourceKey<NormalNoise.NoiseParameters> p_255970_, int p_256539_, double p_256566_, double... p_255998_) private static voidProcessorLists.register(BootstapContext<StructureProcessorList> p_256641_, ResourceKey<StructureProcessorList> p_256192_, List<StructureProcessor> p_255805_) private static voidNoiseData.registerBiomeNoises(BootstapContext<NormalNoise.NoiseParameters> p_256503_, int p_236479_, ResourceKey<NormalNoise.NoiseParameters> p_236480_, ResourceKey<NormalNoise.NoiseParameters> p_236481_, ResourceKey<NormalNoise.NoiseParameters> p_236482_, ResourceKey<NormalNoise.NoiseParameters> p_236483_) default <S> Optional<HolderLookup.RegistryLookup<S>>BootstapContext.registryLookup(ResourceKey<? extends Registry<? extends S>> registry) -
Uses of ResourceKey in net.minecraft.data.worldgen.features
Fields in net.minecraft.data.worldgen.features declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.ACACIAstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.AMETHYST_GEODEstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.AZALEA_TREEstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.BAMBOO_NO_PODZOLstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.BAMBOO_SOME_PODZOLstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.BAMBOO_VEGETATIONstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.BASALT_BLOBSstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.BASALT_PILLARstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.BIRCHstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.BIRCH_BEES_0002static final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.BIRCH_BEES_002static final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.BIRCH_BEES_005static final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.BIRCH_TALLstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.BLACKSTONE_BLOBSstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.BLUE_ICEstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.BONUS_CHESTstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.CAVE_VINEstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.CAVE_VINE_IN_MOSSstatic final ResourceKey<ConfiguredFeature<?,?>> EndFeatures.CHORUS_PLANTstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.CLAY_POOL_WITH_DRIPLEAVESstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.CLAY_WITH_DRIPLEAVESstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.CRIMSON_FOREST_VEGETATIONstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.CRIMSON_FOREST_VEGETATION_BONEMEALstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.CRIMSON_FUNGUSstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.CRIMSON_FUNGUS_PLANTEDstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.DARK_FOREST_VEGETATIONstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.DARK_OAKstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.DELTAstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.DESERT_WELLstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.DISK_CLAYstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.DISK_GRASSstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.DISK_GRAVELstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.DISK_SANDstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.DRIPLEAFstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.DRIPSTONE_CLUSTERstatic final ResourceKey<ConfiguredFeature<?,?>> EndFeatures.END_GATEWAY_DELAYEDstatic final ResourceKey<ConfiguredFeature<?,?>> EndFeatures.END_GATEWAY_RETURNstatic final ResourceKey<ConfiguredFeature<?,?>> EndFeatures.END_ISLANDstatic final ResourceKey<ConfiguredFeature<?,?>> EndFeatures.END_SPIKEstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.FANCY_OAKstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.FANCY_OAK_BEESstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.FANCY_OAK_BEES_0002static final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.FANCY_OAK_BEES_002static final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.FANCY_OAK_BEES_005static final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.FLOWER_DEFAULTstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.FLOWER_FLOWER_FORESTstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.FLOWER_MEADOWstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.FLOWER_PLAINstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.FLOWER_SWAMPstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.FOREST_FLOWERSstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.FOREST_ROCKstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.FOSSIL_COALstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.FOSSIL_DIAMONDSstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.FREEZE_TOP_LAYERstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.GLOW_LICHENstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.GLOWSTONE_EXTRAstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.HUGE_BROWN_MUSHROOMstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.HUGE_RED_MUSHROOMstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.ICE_PATCHstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.ICE_SPIKEstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.ICEBERG_BLUEstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.ICEBERG_PACKEDstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.JUNGLE_BUSHstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.JUNGLE_TREEstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.JUNGLE_TREE_NO_VINEstatic final ResourceKey<ConfiguredFeature<?,?>> AquaticFeatures.KELPstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.LAKE_LAVAstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.LARGE_BASALT_COLUMNSstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.LARGE_DRIPSTONEstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.LUSH_CAVES_CLAYstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.MANGROVEstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.MANGROVE_VEGETATIONstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.MEADOW_TREESstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.MEGA_JUNGLE_TREEstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.MEGA_PINEstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.MEGA_SPRUCEstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.MONSTER_ROOMstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.MOSS_PATCHstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.MOSS_PATCH_BONEMEALstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.MOSS_PATCH_CEILINGstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.MOSS_VEGETATIONstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.MUSHROOM_ISLAND_VEGETATIONstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.NETHER_SPROUTSstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.NETHER_SPROUTS_BONEMEALstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.OAKstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.OAK_BEES_0002static final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.OAK_BEES_002static final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.OAK_BEES_005static final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_ANCIENT_DEBRIS_LARGEstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_ANCIENT_DEBRIS_SMALLstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_ANDESITEstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_BLACKSTONEstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_CLAYstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_COALstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_COAL_BURIEDstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_COPPER_LARGEstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_COPPPER_SMALLstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_DIAMOND_BURIEDstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_DIAMOND_LARGEstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_DIAMOND_SMALLstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_DIORITEstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_DIRTstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_EMERALDstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_GOLDstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_GOLD_BURIEDstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_GRANITEstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_GRAVELstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_GRAVEL_NETHERstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_INFESTEDstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_IRONstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_IRON_SMALLstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_LAPISstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_LAPIS_BURIEDstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_MAGMAstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_NETHER_GOLDstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_QUARTZstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_REDSTONEstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_SOUL_SANDstatic final ResourceKey<ConfiguredFeature<?,?>> OreFeatures.ORE_TUFFstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.PATCH_BERRY_BUSHstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.PATCH_BROWN_MUSHROOMstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.PATCH_CACTUSstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.PATCH_CRIMSON_ROOTSstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.PATCH_DEAD_BUSHstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.PATCH_FIREstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.PATCH_GRASSstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.PATCH_GRASS_JUNGLEstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.PATCH_LARGE_FERNstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.PATCH_MELONstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.PATCH_PUMPKINstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.PATCH_RED_MUSHROOMstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.PATCH_SOUL_FIREstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.PATCH_SUGAR_CANEstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.PATCH_SUNFLOWERstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.PATCH_TAIGA_GRASSstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.PATCH_TALL_GRASSstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.PATCH_WATERLILYstatic final ResourceKey<ConfiguredFeature<?,?>> PileFeatures.PILE_HAYstatic final ResourceKey<ConfiguredFeature<?,?>> PileFeatures.PILE_ICEstatic final ResourceKey<ConfiguredFeature<?,?>> PileFeatures.PILE_MELONstatic final ResourceKey<ConfiguredFeature<?,?>> PileFeatures.PILE_PUMPKINstatic final ResourceKey<ConfiguredFeature<?,?>> PileFeatures.PILE_SNOWstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.PINEstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.POINTED_DRIPSTONEstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.ROOTED_AZALEA_TREEstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.SCULK_PATCH_ANCIENT_CITYstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.SCULK_PATCH_DEEP_DARKstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.SCULK_VEINstatic final ResourceKey<ConfiguredFeature<?,?>> AquaticFeatures.SEA_PICKLEstatic final ResourceKey<ConfiguredFeature<?,?>> AquaticFeatures.SEAGRASS_MIDstatic final ResourceKey<ConfiguredFeature<?,?>> AquaticFeatures.SEAGRASS_SHORTstatic final ResourceKey<ConfiguredFeature<?,?>> AquaticFeatures.SEAGRASS_SIMPLEstatic final ResourceKey<ConfiguredFeature<?,?>> AquaticFeatures.SEAGRASS_SLIGHTLY_LESS_SHORTstatic final ResourceKey<ConfiguredFeature<?,?>> AquaticFeatures.SEAGRASS_TALLstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.SINGLE_PIECE_OF_GRASSstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.SMALL_BASALT_COLUMNSstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.SPORE_BLOSSOMstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.SPRING_LAVA_FROZENstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.SPRING_LAVA_NETHERstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.SPRING_LAVA_OVERWORLDstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.SPRING_NETHER_CLOSEDstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.SPRING_NETHER_OPENstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.SPRING_WATERstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.SPRUCEstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.SUPER_BIRCH_BEESstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.SUPER_BIRCH_BEES_0002static final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.SWAMP_OAKstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.TALL_MANGROVEstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.TREES_BIRCH_AND_OAKstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.TREES_FLOWER_FORESTstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.TREES_GROVEstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.TREES_JUNGLEstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.TREES_OLD_GROWTH_PINE_TAIGAstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.TREES_OLD_GROWTH_SPRUCE_TAIGAstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.TREES_PLAINSstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.TREES_SAVANNAstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.TREES_SPARSE_JUNGLEstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.TREES_TAIGAstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.TREES_WATERstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.TREES_WINDSWEPT_HILLSstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.TWISTING_VINESstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.TWISTING_VINES_BONEMEALstatic final ResourceKey<ConfiguredFeature<?,?>> CaveFeatures.UNDERWATER_MAGMAstatic final ResourceKey<ConfiguredFeature<?,?>> VegetationFeatures.VINESstatic final ResourceKey<ConfiguredFeature<?,?>> MiscOverworldFeatures.VOID_START_PLATFORMstatic final ResourceKey<ConfiguredFeature<?,?>> AquaticFeatures.WARM_OCEAN_VEGETATIONstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.WARPED_FOREST_VEGETATION_BONEMEALstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.WARPED_FOREST_VEGETIONstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.WARPED_FUNGUSstatic final ResourceKey<ConfiguredFeature<?,?>> TreeFeatures.WARPED_FUNGUS_PLANTEDstatic final ResourceKey<ConfiguredFeature<?,?>> NetherFeatures.WEEPING_VINESMethods in net.minecraft.data.worldgen.features that return ResourceKeyMethods in net.minecraft.data.worldgen.features with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic <FC extends FeatureConfiguration,F extends Feature<FC>>
voidFeatureUtils.register(BootstapContext<ConfiguredFeature<?, ?>> p_256315_, ResourceKey<ConfiguredFeature<?, ?>> p_255983_, F p_255949_, FC p_256398_) static voidFeatureUtils.register(BootstapContext<ConfiguredFeature<?, ?>> p_256637_, ResourceKey<ConfiguredFeature<?, ?>> p_256555_, Feature<NoneFeatureConfiguration> p_255921_) -
Uses of ResourceKey in net.minecraft.data.worldgen.placement
Fields in net.minecraft.data.worldgen.placement declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<PlacedFeature>TreePlacements.ACACIA_CHECKEDstatic final ResourceKey<PlacedFeature>VillagePlacements.ACACIA_VILLAGEstatic final ResourceKey<PlacedFeature>CavePlacements.AMETHYST_GEODEstatic final ResourceKey<PlacedFeature>VegetationPlacements.BAMBOOstatic final ResourceKey<PlacedFeature>VegetationPlacements.BAMBOO_LIGHTstatic final ResourceKey<PlacedFeature>VegetationPlacements.BAMBOO_VEGETATIONstatic final ResourceKey<PlacedFeature>NetherPlacements.BASALT_BLOBSstatic final ResourceKey<PlacedFeature>NetherPlacements.BASALT_PILLARstatic final ResourceKey<PlacedFeature>TreePlacements.BIRCH_BEES_0002_PLACEDstatic final ResourceKey<PlacedFeature>TreePlacements.BIRCH_BEES_002static final ResourceKey<PlacedFeature>TreePlacements.BIRCH_CHECKEDstatic final ResourceKey<PlacedFeature>VegetationPlacements.BIRCH_TALLstatic final ResourceKey<PlacedFeature>NetherPlacements.BLACKSTONE_BLOBSstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.BLUE_ICEstatic final ResourceKey<PlacedFeature>VegetationPlacements.BROWN_MUSHROOM_NETHERstatic final ResourceKey<PlacedFeature>VegetationPlacements.BROWN_MUSHROOM_NORMALstatic final ResourceKey<PlacedFeature>VegetationPlacements.BROWN_MUSHROOM_OLD_GROWTHstatic final ResourceKey<PlacedFeature>VegetationPlacements.BROWN_MUSHROOM_SWAMPstatic final ResourceKey<PlacedFeature>VegetationPlacements.BROWN_MUSHROOM_TAIGAstatic final ResourceKey<PlacedFeature>CavePlacements.CAVE_VINESstatic final ResourceKey<PlacedFeature>EndPlacements.CHORUS_PLANTstatic final ResourceKey<PlacedFeature>CavePlacements.CLASSIC_VINESstatic final ResourceKey<PlacedFeature>NetherPlacements.CRIMSON_FOREST_VEGETATIONstatic final ResourceKey<PlacedFeature>TreePlacements.CRIMSON_FUNGIstatic final ResourceKey<PlacedFeature>VegetationPlacements.DARK_FOREST_VEGETATIONstatic final ResourceKey<PlacedFeature>TreePlacements.DARK_OAK_CHECKEDstatic final ResourceKey<PlacedFeature>NetherPlacements.DELTAstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.DESERT_WELLstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.DISK_CLAYstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.DISK_GRASSstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.DISK_GRAVELstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.DISK_SANDstatic final ResourceKey<PlacedFeature>CavePlacements.DRIPSTONE_CLUSTERstatic final ResourceKey<PlacedFeature>EndPlacements.END_GATEWAY_RETURNstatic final ResourceKey<PlacedFeature>EndPlacements.END_ISLAND_DECORATEDstatic final ResourceKey<PlacedFeature>EndPlacements.END_SPIKEstatic final ResourceKey<PlacedFeature>TreePlacements.FANCY_OAK_BEESstatic final ResourceKey<PlacedFeature>TreePlacements.FANCY_OAK_BEES_0002static final ResourceKey<PlacedFeature>TreePlacements.FANCY_OAK_BEES_002static final ResourceKey<PlacedFeature>TreePlacements.FANCY_OAK_CHECKEDstatic final ResourceKey<PlacedFeature>VegetationPlacements.FLOWER_DEFAULTstatic final ResourceKey<PlacedFeature>VegetationPlacements.FLOWER_FLOWER_FORESTstatic final ResourceKey<PlacedFeature>VegetationPlacements.FLOWER_FOREST_FLOWERSstatic final ResourceKey<PlacedFeature>VegetationPlacements.FLOWER_MEADOWstatic final ResourceKey<PlacedFeature>VillagePlacements.FLOWER_PLAIN_VILLAGEstatic final ResourceKey<PlacedFeature>VegetationPlacements.FLOWER_PLAINSstatic final ResourceKey<PlacedFeature>VegetationPlacements.FLOWER_SWAMPstatic final ResourceKey<PlacedFeature>VegetationPlacements.FLOWER_WARMstatic final ResourceKey<PlacedFeature>VegetationPlacements.FOREST_FLOWERSstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.FOREST_ROCKstatic final ResourceKey<PlacedFeature>CavePlacements.FOSSIL_LOWERstatic final ResourceKey<PlacedFeature>CavePlacements.FOSSIL_UPPERstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.FREEZE_TOP_LAYERstatic final ResourceKey<PlacedFeature>CavePlacements.GLOW_LICHENstatic final ResourceKey<PlacedFeature>NetherPlacements.GLOWSTONEstatic final ResourceKey<PlacedFeature>NetherPlacements.GLOWSTONE_EXTRAstatic final ResourceKey<PlacedFeature>VegetationPlacements.GRASS_BONEMEALstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.ICE_PATCHstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.ICE_SPIKEstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.ICEBERG_BLUEstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.ICEBERG_PACKEDstatic final ResourceKey<PlacedFeature>TreePlacements.JUNGLE_BUSHstatic final ResourceKey<PlacedFeature>TreePlacements.JUNGLE_TREE_CHECKEDstatic final ResourceKey<PlacedFeature>AquaticPlacements.KELP_COLDstatic final ResourceKey<PlacedFeature>AquaticPlacements.KELP_WARMstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.LAKE_LAVA_SURFACEstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.LAKE_LAVA_UNDERGROUNDstatic final ResourceKey<PlacedFeature>NetherPlacements.LARGE_BASALT_COLUMNSstatic final ResourceKey<PlacedFeature>CavePlacements.LARGE_DRIPSTONEstatic final ResourceKey<PlacedFeature>CavePlacements.LUSH_CAVES_CEILING_VEGETATIONstatic final ResourceKey<PlacedFeature>CavePlacements.LUSH_CAVES_CLAYstatic final ResourceKey<PlacedFeature>CavePlacements.LUSH_CAVES_VEGETATIONstatic final ResourceKey<PlacedFeature>TreePlacements.MANGROVE_CHECKEDstatic final ResourceKey<PlacedFeature>TreePlacements.MEGA_JUNGLE_TREE_CHECKEDstatic final ResourceKey<PlacedFeature>TreePlacements.MEGA_PINE_CHECKEDstatic final ResourceKey<PlacedFeature>TreePlacements.MEGA_SPRUCE_CHECKEDstatic final ResourceKey<PlacedFeature>CavePlacements.MONSTER_ROOMstatic final ResourceKey<PlacedFeature>CavePlacements.MONSTER_ROOM_DEEPstatic final ResourceKey<PlacedFeature>VegetationPlacements.MUSHROOM_ISLAND_VEGETATIONstatic final ResourceKey<PlacedFeature>NetherPlacements.NETHER_SPROUTSstatic final ResourceKey<PlacedFeature>TreePlacements.OAK_BEES_0002static final ResourceKey<PlacedFeature>TreePlacements.OAK_BEES_002static final ResourceKey<PlacedFeature>TreePlacements.OAK_CHECKEDstatic final ResourceKey<PlacedFeature>VillagePlacements.OAK_VILLAGEstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_ANCIENT_DEBRIS_LARGEstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_ANCIENT_DEBRIS_SMALLstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_ANDESITE_LOWERstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_ANDESITE_UPPERstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_BLACKSTONEstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_CLAYstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_COAL_LOWERstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_COAL_UPPERstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_COPPERstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_COPPER_LARGEstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_DIAMONDstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_DIAMOND_BURIEDstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_DIAMOND_LARGEstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_DIORITE_LOWERstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_DIORITE_UPPERstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_DIRTstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_EMERALDstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_GOLDstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_GOLD_DELTASstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_GOLD_EXTRAstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_GOLD_LOWERstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_GOLD_NETHERstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_GRANITE_LOWERstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_GRANITE_UPPERstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_GRAVELstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_GRAVEL_NETHERstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_INFESTEDstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_IRON_MIDDLEstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_IRON_SMALLstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_IRON_UPPERstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_LAPISstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_LAPIS_BURIEDstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_MAGMAstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_QUARTZ_DELTASstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_QUARTZ_NETHERstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_REDSTONEstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_REDSTONE_LOWERstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_SOUL_SANDstatic final ResourceKey<PlacedFeature>OrePlacements.ORE_TUFFstatic final ResourceKey<PlacedFeature>VillagePlacements.PATCH_BERRY_BUSH_VILLAGEstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_BERRY_COMMONstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_BERRY_RAREstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_CACTUS_DECORATEDstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_CACTUS_DESERTstatic final ResourceKey<PlacedFeature>VillagePlacements.PATCH_CACTUS_VILLAGEstatic final ResourceKey<PlacedFeature>NetherPlacements.PATCH_CRIMSON_ROOTSstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_DEAD_BUSHstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_DEAD_BUSH_2static final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_DEAD_BUSH_BADLANDSstatic final ResourceKey<PlacedFeature>NetherPlacements.PATCH_FIREstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_GRASS_BADLANDSstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_GRASS_FORESTstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_GRASS_JUNGLEstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_GRASS_NORMALstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_GRASS_PLAINstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_GRASS_SAVANNAstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_GRASS_TAIGAstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_GRASS_TAIGA_2static final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_LARGE_FERNstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_MELONstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_MELON_SPARSEstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_PUMPKINstatic final ResourceKey<PlacedFeature>NetherPlacements.PATCH_SOUL_FIREstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_SUGAR_CANEstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_SUGAR_CANE_BADLANDSstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_SUGAR_CANE_DESERTstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_SUGAR_CANE_SWAMPstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_SUNFLOWERstatic final ResourceKey<PlacedFeature>VillagePlacements.PATCH_TAIGA_GRASS_VILLAGEstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_TALL_GRASSstatic final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_TALL_GRASS_2static final ResourceKey<PlacedFeature>VegetationPlacements.PATCH_WATERLILYstatic final ResourceKey<PlacedFeature>VillagePlacements.PILE_HAY_VILLAGEstatic final ResourceKey<PlacedFeature>VillagePlacements.PILE_ICE_VILLAGEstatic final ResourceKey<PlacedFeature>VillagePlacements.PILE_MELON_VILLAGEstatic final ResourceKey<PlacedFeature>VillagePlacements.PILE_PUMPKIN_VILLAGEstatic final ResourceKey<PlacedFeature>VillagePlacements.PILE_SNOW_VILLAGEstatic final ResourceKey<PlacedFeature>TreePlacements.PINE_CHECKEDstatic final ResourceKey<PlacedFeature>TreePlacements.PINE_ON_SNOWstatic final ResourceKey<PlacedFeature>VillagePlacements.PINE_VILLAGEstatic final ResourceKey<PlacedFeature>CavePlacements.POINTED_DRIPSTONEstatic final ResourceKey<PlacedFeature>VegetationPlacements.RED_MUSHROOM_NETHERstatic final ResourceKey<PlacedFeature>VegetationPlacements.RED_MUSHROOM_NORMALstatic final ResourceKey<PlacedFeature>VegetationPlacements.RED_MUSHROOM_OLD_GROWTHstatic final ResourceKey<PlacedFeature>VegetationPlacements.RED_MUSHROOM_SWAMPstatic final ResourceKey<PlacedFeature>VegetationPlacements.RED_MUSHROOM_TAIGAstatic final ResourceKey<PlacedFeature>CavePlacements.ROOTED_AZALEA_TREEstatic final ResourceKey<PlacedFeature>CavePlacements.SCULK_PATCH_ANCIENT_CITYstatic final ResourceKey<PlacedFeature>CavePlacements.SCULK_PATCH_DEEP_DARKstatic final ResourceKey<PlacedFeature>CavePlacements.SCULK_VEINstatic final ResourceKey<PlacedFeature>AquaticPlacements.SEA_PICKLEstatic final ResourceKey<PlacedFeature>AquaticPlacements.SEAGRASS_COLDstatic final ResourceKey<PlacedFeature>AquaticPlacements.SEAGRASS_DEEPstatic final ResourceKey<PlacedFeature>AquaticPlacements.SEAGRASS_DEEP_COLDstatic final ResourceKey<PlacedFeature>AquaticPlacements.SEAGRASS_DEEP_WARMstatic final ResourceKey<PlacedFeature>AquaticPlacements.SEAGRASS_NORMALstatic final ResourceKey<PlacedFeature>AquaticPlacements.SEAGRASS_RIVERstatic final ResourceKey<PlacedFeature>AquaticPlacements.SEAGRASS_SIMPLEstatic final ResourceKey<PlacedFeature>AquaticPlacements.SEAGRASS_SWAMPstatic final ResourceKey<PlacedFeature>AquaticPlacements.SEAGRASS_WARMstatic final ResourceKey<PlacedFeature>NetherPlacements.SMALL_BASALT_COLUMNSstatic final ResourceKey<PlacedFeature>CavePlacements.SPORE_BLOSSOMstatic final ResourceKey<PlacedFeature>NetherPlacements.SPRING_CLOSEDstatic final ResourceKey<PlacedFeature>NetherPlacements.SPRING_CLOSED_DOUBLEstatic final ResourceKey<PlacedFeature>NetherPlacements.SPRING_DELTAstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.SPRING_LAVAstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.SPRING_LAVA_FROZENstatic final ResourceKey<PlacedFeature>NetherPlacements.SPRING_OPENstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.SPRING_WATERstatic final ResourceKey<PlacedFeature>TreePlacements.SPRUCE_CHECKEDstatic final ResourceKey<PlacedFeature>TreePlacements.SPRUCE_ON_SNOWstatic final ResourceKey<PlacedFeature>VillagePlacements.SPRUCE_VILLAGEstatic final ResourceKey<PlacedFeature>TreePlacements.SUPER_BIRCH_BEESstatic final ResourceKey<PlacedFeature>TreePlacements.SUPER_BIRCH_BEES_0002static final ResourceKey<PlacedFeature>TreePlacements.TALL_MANGROVE_CHECKEDstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_BADLANDSstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_BIRCHstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_BIRCH_AND_OAKstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_FLOWER_FORESTstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_GROVEstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_JUNGLEstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_MANGROVEstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_MEADOWstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_OLD_GROWTH_PINE_TAIGAstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_OLD_GROWTH_SPRUCE_TAIGAstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_PLAINSstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_SAVANNAstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_SNOWYstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_SPARSE_JUNGLEstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_SWAMPstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_TAIGAstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_WATERstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_WINDSWEPT_FORESTstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_WINDSWEPT_HILLSstatic final ResourceKey<PlacedFeature>VegetationPlacements.TREES_WINDSWEPT_SAVANNAstatic final ResourceKey<PlacedFeature>NetherPlacements.TWISTING_VINESstatic final ResourceKey<PlacedFeature>CavePlacements.UNDERWATER_MAGMAstatic final ResourceKey<PlacedFeature>VegetationPlacements.VINESstatic final ResourceKey<PlacedFeature>MiscOverworldPlacements.VOID_START_PLATFORMstatic final ResourceKey<PlacedFeature>AquaticPlacements.WARM_OCEAN_VEGETATIONstatic final ResourceKey<PlacedFeature>NetherPlacements.WARPED_FOREST_VEGETATIONstatic final ResourceKey<PlacedFeature>TreePlacements.WARPED_FUNGIstatic final ResourceKey<PlacedFeature>NetherPlacements.WEEPING_VINESMethods in net.minecraft.data.worldgen.placement that return ResourceKeyMethods in net.minecraft.data.worldgen.placement with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic voidPlacementUtils.register(BootstapContext<PlacedFeature> p_255872_, ResourceKey<PlacedFeature> p_255820_, Holder<ConfiguredFeature<?, ?>> p_255813_, List<PlacementModifier> p_256042_) static voidPlacementUtils.register(BootstapContext<PlacedFeature> p_256241_, ResourceKey<PlacedFeature> p_256614_, Holder<ConfiguredFeature<?, ?>> p_255855_, PlacementModifier... p_256413_) -
Uses of ResourceKey in net.minecraft.network
Methods in net.minecraft.network that return ResourceKeyModifier and TypeMethodDescription<T> ResourceKey<T>FriendlyByteBuf.readResourceKey(ResourceKey<? extends Registry<T>> p_236802_) Methods in net.minecraft.network with parameters of type ResourceKeyModifier and TypeMethodDescription<T> ResourceKey<T>FriendlyByteBuf.readResourceKey(ResourceKey<? extends Registry<T>> p_236802_) voidFriendlyByteBuf.writeResourceKey(ResourceKey<?> p_236859_) -
Uses of ResourceKey in net.minecraft.network.chat
Fields in net.minecraft.network.chat declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<ChatType>ChatType.CHATstatic final ResourceKey<ChatType>ChatType.EMOTE_COMMANDstatic final ResourceKey<ChatType>ChatType.MSG_COMMAND_INCOMINGstatic final ResourceKey<ChatType>ChatType.MSG_COMMAND_OUTGOINGstatic final ResourceKey<ChatType>ChatType.SAY_COMMANDstatic final ResourceKey<ChatType>ChatType.TEAM_MSG_COMMAND_INCOMINGstatic final ResourceKey<ChatType>ChatType.TEAM_MSG_COMMAND_OUTGOINGMethods in net.minecraft.network.chat that return ResourceKeyMethods in net.minecraft.network.chat with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic ChatType.BoundChatType.bind(ResourceKey<ChatType> p_241345_, CommandSourceStack p_241466_) static ChatType.BoundChatType.bind(ResourceKey<ChatType> p_241284_, RegistryAccess p_241373_, Component p_241455_) static ChatType.BoundChatType.bind(ResourceKey<ChatType> p_241279_, Entity p_241483_) -
Uses of ResourceKey in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level>ClientboundLoginPacket.dimensionThe field for thedimensionrecord component.private final ResourceKey<Level>ClientboundRespawnPacket.dimensionprivate final ResourceKey<DimensionType>ClientboundLoginPacket.dimensionTypeThe field for thedimensionTyperecord component.private final ResourceKey<DimensionType>ClientboundRespawnPacket.dimensionTypeFields in net.minecraft.network.protocol.game with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Set<ResourceKey<Level>>ClientboundLoginPacket.levelsThe field for thelevelsrecord component.private final Map<ResourceKey<? extends Registry<?>>,TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.tagsMethods in net.minecraft.network.protocol.game that return ResourceKeyModifier and TypeMethodDescriptionClientboundLoginPacket.dimension()Returns the value of thedimensionrecord component.ClientboundLoginPacket.dimensionType()Returns the value of thedimensionTyperecord component.ClientboundRespawnPacket.getDimension()ClientboundRespawnPacket.getDimensionType()Methods in net.minecraft.network.protocol.game that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionMap<ResourceKey<? extends Registry<?>>,TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.getTags()ClientboundLoginPacket.levels()Returns the value of thelevelsrecord component.Constructors in net.minecraft.network.protocol.game with parameters of type ResourceKeyModifierConstructorDescriptionClientboundLoginPacket(int playerId, boolean hardcore, GameType gameType, GameType previousGameType, Set<ResourceKey<Level>> levels, RegistryAccess.Frozen registryHolder, ResourceKey<DimensionType> dimensionType, ResourceKey<Level> dimension, long seed, int maxPlayers, int chunkRadius, int simulationDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean isDebug, boolean isFlat, Optional<GlobalPos> lastDeathLocation) Creates an instance of aClientboundLoginPacketrecord class.ClientboundRespawnPacket(ResourceKey<DimensionType> p_263565_, ResourceKey<Level> p_263578_, long p_263572_, GameType p_263577_, GameType p_263566_, boolean p_263576_, boolean p_263569_, byte p_263570_, Optional<GlobalPos> p_263580_) Constructor parameters in net.minecraft.network.protocol.game with type arguments of type ResourceKeyModifierConstructorDescriptionClientboundLoginPacket(int playerId, boolean hardcore, GameType gameType, GameType previousGameType, Set<ResourceKey<Level>> levels, RegistryAccess.Frozen registryHolder, ResourceKey<DimensionType> dimensionType, ResourceKey<Level> dimension, long seed, int maxPlayers, int chunkRadius, int simulationDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean isDebug, boolean isFlat, Optional<GlobalPos> lastDeathLocation) Creates an instance of aClientboundLoginPacketrecord class.ClientboundUpdateTagsPacket(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> p_179473_) -
Uses of ResourceKey in net.minecraft.resources
Fields in net.minecraft.resources declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<? extends Registry<T>>RegistryDataLoader.RegistryData.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<E>>HolderSetCodec.registryKeyprivate final ResourceKey<? extends Registry<E>>RegistryFileCodec.registryKeyprivate final ResourceKey<? extends Registry<E>>RegistryFixedCodec.registryKeyFields in net.minecraft.resources with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final ConcurrentMap<ResourceKey.InternKey,ResourceKey<?>> ResourceKey.VALUESMethods in net.minecraft.resources that return ResourceKeyModifier and TypeMethodDescriptionstatic <T> ResourceKey<T>ResourceKey.create(ResourceKey<? extends Registry<T>> p_135786_, ResourceLocation p_135787_) private static <T> ResourceKey<T>ResourceKey.create(ResourceLocation p_135791_, ResourceLocation p_135792_) static <T> ResourceKey<Registry<T>>ResourceKey.createRegistryKey(ResourceLocation p_135789_) ResourceKey<? extends Registry<T>>RegistryDataLoader.RegistryData.key()Returns the value of thekeyrecord component.Methods in net.minecraft.resources that return types with arguments of type ResourceKeyModifier 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_) Methods in net.minecraft.resources with parameters of type ResourceKeyModifier 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_) intResourceKey.compareTo(ResourceKey<?> o) 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_) <E> Optional<HolderGetter<E>>RegistryOps.getter(ResourceKey<? extends Registry<? extends E>> p_256031_) booleanResourceKey.isFor(ResourceKey<? extends Registry<?>> p_135784_) (package private) static <E> voidRegistryDataLoader.loadRegistryContents(RegistryOps.RegistryInfoLookup p_256369_, ResourceManager p_256349_, ResourceKey<? extends Registry<E>> p_255792_, WritableRegistry<E> p_256211_, com.mojang.serialization.Decoder<E> p_256232_, Map<ResourceKey<?>, Exception> p_255884_) <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, Holder.Reference<E>> RegistryOps.retrieveElement(ResourceKey<E> p_256347_) 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) Method parameters in net.minecraft.resources with type arguments of type ResourceKeyModifier and TypeMethodDescription(package private) com.mojang.datafixers.util.Pair<WritableRegistry<?>,RegistryDataLoader.Loader> RegistryDataLoader.RegistryData.create(com.mojang.serialization.Lifecycle p_251662_, Map<ResourceKey<?>, Exception> p_251565_) (package private) static <E> voidRegistryDataLoader.loadRegistryContents(RegistryOps.RegistryInfoLookup p_256369_, ResourceManager p_256349_, ResourceKey<? extends Registry<E>> p_255792_, WritableRegistry<E> p_256211_, com.mojang.serialization.Decoder<E> p_256232_, Map<ResourceKey<?>, Exception> p_255884_) private static voidRegistryDataLoader.logErrors(Map<ResourceKey<?>, Exception> p_252325_) Constructors in net.minecraft.resources with parameters of type ResourceKeyModifierConstructorDescriptionprivateHolderSetCodec(ResourceKey<? extends Registry<E>> p_206660_, com.mojang.serialization.Codec<Holder<E>> p_206661_, boolean p_206662_) RegistryData(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec) Creates an instance of aRegistryDatarecord class.privateRegistryFileCodec(ResourceKey<? extends Registry<E>> p_135574_, com.mojang.serialization.Codec<E> p_135575_, boolean p_135576_) privateRegistryFixedCodec(ResourceKey<? extends Registry<E>> p_206723_) -
Uses of ResourceKey in net.minecraft.server
Fields in net.minecraft.server with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<Level>,ServerLevel> MinecraftServer.levelsprivate Map<ResourceKey<Level>,long[]> MinecraftServer.perWorldTickTimesMethods in net.minecraft.server that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionMinecraftServer.forgeGetWorldMap()Deprecated.MinecraftServer.levelKeys()Methods in net.minecraft.server with parameters of type ResourceKeyModifier and TypeMethodDescriptionMinecraftServer.getLevel(ResourceKey<Level> p_129881_) long[]MinecraftServer.getTickTime(ResourceKey<Level> dim) -
Uses of ResourceKey in net.minecraft.server.chase
Fields in net.minecraft.server.chase declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level>ChaseClient.TeleportTarget.levelThe field for thelevelrecord component.Methods in net.minecraft.server.chase that return ResourceKeyModifier and TypeMethodDescriptionChaseClient.TeleportTarget.level()Returns the value of thelevelrecord component.Constructors in net.minecraft.server.chase with parameters of type ResourceKeyModifierConstructorDescription(package private)TeleportTarget(ResourceKey<Level> level, Vec3 pos, Vec2 rot) Creates an instance of aTeleportTargetrecord class. -
Uses of ResourceKey in net.minecraft.server.commands
Fields in net.minecraft.server.commands with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic com.google.common.collect.BiMap<String,ResourceKey<Level>> ChaseCommand.DIMENSION_NAMES -
Uses of ResourceKey in net.minecraft.server.dedicated
Fields in net.minecraft.server.dedicated with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Map<String,ResourceKey<WorldPreset>> DedicatedServerProperties.WorldDimensionData.LEGACY_PRESET_NAMES -
Uses of ResourceKey in net.minecraft.server.level
Fields in net.minecraft.server.level declared as ResourceKeyMethods in net.minecraft.server.level that return ResourceKeyMethods in net.minecraft.server.level with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidServerPlayer.setRespawnPosition(ResourceKey<Level> p_9159_, BlockPos p_9160_, float p_9161_, boolean p_9162_, boolean p_9163_) Constructors in net.minecraft.server.level with parameters of type ResourceKeyModifierConstructorDescriptionServerLevel(MinecraftServer p_214999_, Executor p_215000_, LevelStorageSource.LevelStorageAccess p_215001_, ServerLevelData p_215002_, ResourceKey<Level> p_215003_, LevelStem p_215004_, ChunkProgressListener p_215005_, boolean p_215006_, long p_215007_, List<CustomSpawner> p_215008_, boolean p_215009_) -
Uses of ResourceKey in net.minecraft.server.players
Methods in net.minecraft.server.players with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidPlayerList.broadcast(Player p_11242_, double p_11243_, double p_11244_, double p_11245_, double p_11246_, ResourceKey<Level> p_11247_, Packet<?> p_11248_) voidPlayerList.broadcastAll(Packet<?> p_11271_, ResourceKey<Level> p_11272_) -
Uses of ResourceKey in net.minecraft.tags
Fields in net.minecraft.tags declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<? extends Registry<T>>TagManager.LoadResult.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<T>>TagKey.registryThe field for theregistryrecord component.Fields in net.minecraft.tags with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Map<ResourceKey<? extends Registry<?>>,String> TagManager.CUSTOM_REGISTRY_DIRECTORIESMethods in net.minecraft.tags that return ResourceKeyModifier and TypeMethodDescriptionResourceKey<? extends Registry<T>>TagManager.LoadResult.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<T>>TagKey.registry()Returns the value of theregistryrecord component.Methods in net.minecraft.tags that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic Map<ResourceKey<? extends Registry<?>>,TagNetworkSerialization.NetworkPayload> TagNetworkSerialization.serializeTagsToNetwork(LayeredRegistryAccess<RegistryLayer> p_251774_) Methods in net.minecraft.tags with parameters of type ResourceKeyModifier 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_) static <T> voidTagNetworkSerialization.deserializeTagsFromNetwork(ResourceKey<? extends Registry<T>> p_203953_, Registry<T> p_203954_, TagNetworkSerialization.NetworkPayload p_203955_, TagNetworkSerialization.TagOutput<T> p_203956_) static StringTagManager.getTagDir(ResourceKey<? extends Registry<?>> p_203919_) static <T> com.mojang.serialization.Codec<TagKey<T>>TagKey.hashedCodec(ResourceKey<? extends Registry<T>> p_203887_) booleanTagKey.isFor(ResourceKey<? extends Registry<?>> p_207646_) Constructors in net.minecraft.tags with parameters of type ResourceKeyModifierConstructorDescriptionLoadResult(ResourceKey<? extends Registry<T>> key, Map<ResourceLocation, Collection<Holder<T>>> tags) Creates an instance of aLoadResultrecord class.TagKey(ResourceKey<? extends Registry<T>> registry, ResourceLocation location) Creates an instance of aTagKeyrecord class. -
Uses of ResourceKey in net.minecraft.util.profiling.jfr
Methods in net.minecraft.util.profiling.jfr with parameters of type ResourceKeyModifier and TypeMethodDescriptionJfrProfiler.onChunkGenerate(ChunkPos p_185313_, ResourceKey<Level> p_185314_, String p_185315_) JvmProfiler.NoOpProfiler.onChunkGenerate(ChunkPos p_185370_, ResourceKey<Level> p_185371_, String p_185372_) JvmProfiler.onChunkGenerate(ChunkPos p_185348_, ResourceKey<Level> p_185349_, String p_185350_) -
Uses of ResourceKey in net.minecraft.util.profiling.jfr.event
Constructors in net.minecraft.util.profiling.jfr.event with parameters of type ResourceKeyModifierConstructorDescriptionChunkGenerationEvent(ChunkPos p_195543_, ResourceKey<Level> p_195544_, String p_195545_) -
Uses of ResourceKey in net.minecraft.util.worldupdate
Fields in net.minecraft.util.worldupdate with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Set<ResourceKey<Level>>WorldUpgrader.levelsprivate final it.unimi.dsi.fastutil.objects.Object2FloatMap<ResourceKey<Level>>WorldUpgrader.progressMapMethods in net.minecraft.util.worldupdate that return types with arguments of type ResourceKeyMethods in net.minecraft.util.worldupdate with parameters of type ResourceKeyModifier and TypeMethodDescriptionfloatWorldUpgrader.dimensionProgress(ResourceKey<Level> p_18828_) WorldUpgrader.getAllChunkPos(ResourceKey<Level> p_18831_) -
Uses of ResourceKey in net.minecraft.world.entity.ai.village.poi
Fields in net.minecraft.world.entity.ai.village.poi declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<PoiType>PoiTypes.ARMORERstatic final ResourceKey<PoiType>PoiTypes.BEE_NESTstatic final ResourceKey<PoiType>PoiTypes.BEEHIVEstatic final ResourceKey<PoiType>PoiTypes.BUTCHERstatic final ResourceKey<PoiType>PoiTypes.CARTOGRAPHERstatic final ResourceKey<PoiType>PoiTypes.CLERICstatic final ResourceKey<PoiType>PoiTypes.FARMERstatic final ResourceKey<PoiType>PoiTypes.FISHERMANstatic final ResourceKey<PoiType>PoiTypes.FLETCHERstatic final ResourceKey<PoiType>PoiTypes.HOMEstatic final ResourceKey<PoiType>PoiTypes.LEATHERWORKERstatic final ResourceKey<PoiType>PoiTypes.LIBRARIANstatic final ResourceKey<PoiType>PoiTypes.LIGHTNING_RODstatic final ResourceKey<PoiType>PoiTypes.LODESTONEstatic final ResourceKey<PoiType>PoiTypes.MASONstatic final ResourceKey<PoiType>PoiTypes.MEETINGstatic final ResourceKey<PoiType>PoiTypes.NETHER_PORTALstatic final ResourceKey<PoiType>PoiTypes.SHEPHERDstatic final ResourceKey<PoiType>PoiTypes.TOOLSMITHstatic final ResourceKey<PoiType>PoiTypes.WEAPONSMITHMethods in net.minecraft.world.entity.ai.village.poi that return ResourceKeyMethods in net.minecraft.world.entity.ai.village.poi with parameters of type ResourceKeyModifier and TypeMethodDescriptionbooleanPoiManager.existsAtPosition(ResourceKey<PoiType> p_217875_, BlockPos p_217876_) private static PoiTypePoiTypes.register(Registry<PoiType> p_218085_, ResourceKey<PoiType> p_218086_, Set<BlockState> p_218087_, int p_218088_, int p_218089_) -
Uses of ResourceKey in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<CatVariant>CatVariant.ALL_BLACKstatic final ResourceKey<CatVariant>CatVariant.BLACKstatic final ResourceKey<CatVariant>CatVariant.BRITISH_SHORTHAIRstatic final ResourceKey<CatVariant>CatVariant.CALICOstatic final ResourceKey<CatVariant>CatVariant.JELLIEstatic final ResourceKey<CatVariant>CatVariant.PERSIANstatic final ResourceKey<CatVariant>CatVariant.RAGDOLLstatic final ResourceKey<CatVariant>CatVariant.REDstatic final ResourceKey<CatVariant>CatVariant.SIAMESEstatic final ResourceKey<CatVariant>CatVariant.TABBYstatic final ResourceKey<CatVariant>CatVariant.WHITEMethods in net.minecraft.world.entity.animal that return ResourceKeyMethods in net.minecraft.world.entity.animal with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static CatVariantCatVariant.register(Registry<CatVariant> p_255735_, ResourceKey<CatVariant> p_256159_, String p_256466_) -
Uses of ResourceKey in net.minecraft.world.entity.decoration
Fields in net.minecraft.world.entity.decoration declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<PaintingVariant>PaintingVariants.ALBANstatic final ResourceKey<PaintingVariant>PaintingVariants.AZTECstatic final ResourceKey<PaintingVariant>PaintingVariants.AZTEC2static final ResourceKey<PaintingVariant>PaintingVariants.BOMBstatic final ResourceKey<PaintingVariant>PaintingVariants.BURNING_SKULLstatic final ResourceKey<PaintingVariant>PaintingVariants.BUSTstatic final ResourceKey<PaintingVariant>PaintingVariants.COURBETstatic final ResourceKey<PaintingVariant>PaintingVariants.CREEBETprivate static final ResourceKey<PaintingVariant>Painting.DEFAULT_VARIANTstatic final ResourceKey<PaintingVariant>PaintingVariants.DONKEY_KONGstatic final ResourceKey<PaintingVariant>PaintingVariants.EARTHstatic final ResourceKey<PaintingVariant>PaintingVariants.FIGHTERSstatic final ResourceKey<PaintingVariant>PaintingVariants.FIREstatic final ResourceKey<PaintingVariant>PaintingVariants.GRAHAMstatic final ResourceKey<PaintingVariant>PaintingVariants.KEBABstatic final ResourceKey<PaintingVariant>PaintingVariants.MATCHstatic final ResourceKey<PaintingVariant>PaintingVariants.PIGSCENEstatic final ResourceKey<PaintingVariant>PaintingVariants.PLANTstatic final ResourceKey<PaintingVariant>PaintingVariants.POINTERstatic final ResourceKey<PaintingVariant>PaintingVariants.POOLstatic final ResourceKey<PaintingVariant>PaintingVariants.SEAstatic final ResourceKey<PaintingVariant>PaintingVariants.SKELETONstatic final ResourceKey<PaintingVariant>PaintingVariants.SKULL_AND_ROSESstatic final ResourceKey<PaintingVariant>PaintingVariants.STAGEstatic final ResourceKey<PaintingVariant>PaintingVariants.SUNSETstatic final ResourceKey<PaintingVariant>PaintingVariants.VOIDstatic final ResourceKey<PaintingVariant>PaintingVariants.WANDERERstatic final ResourceKey<PaintingVariant>PaintingVariants.WASTELANDstatic final ResourceKey<PaintingVariant>PaintingVariants.WATERstatic final ResourceKey<PaintingVariant>PaintingVariants.WINDstatic final ResourceKey<PaintingVariant>PaintingVariants.WITHERMethods in net.minecraft.world.entity.decoration that return ResourceKey -
Uses of ResourceKey in net.minecraft.world.entity.npc
Fields in net.minecraft.world.entity.npc with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Map<ResourceKey<Biome>,VillagerType> VillagerType.BY_BIOMEMethods in net.minecraft.world.entity.npc with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static VillagerProfessionVillagerProfession.register(String p_219648_, ResourceKey<PoiType> p_219649_, com.google.common.collect.ImmutableSet<Item> p_219650_, com.google.common.collect.ImmutableSet<Block> p_219651_, SoundEvent p_219652_) private static VillagerProfessionVillagerProfession.register(String p_219644_, ResourceKey<PoiType> p_219645_, SoundEvent p_219646_) -
Uses of ResourceKey in net.minecraft.world.flag
Fields in net.minecraft.world.flag with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic final Set<ResourceKey<? extends Registry<? extends FeatureElement>>>FeatureElement.FILTERED_REGISTRIES -
Uses of ResourceKey in net.minecraft.world.item
Fields in net.minecraft.world.item declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Instrument>Instruments.ADMIRE_GOAT_HORNstatic final ResourceKey<Instrument>Instruments.CALL_GOAT_HORNstatic final ResourceKey<Instrument>Instruments.DREAM_GOAT_HORNstatic final ResourceKey<Instrument>Instruments.FEEL_GOAT_HORNstatic final ResourceKey<Instrument>Instruments.PONDER_GOAT_HORNstatic final ResourceKey<Instrument>Instruments.SEEK_GOAT_HORNstatic final ResourceKey<Instrument>Instruments.SING_GOAT_HORNstatic final ResourceKey<Instrument>Instruments.YEARN_GOAT_HORNMethods in net.minecraft.world.item that return ResourceKeyMethods in net.minecraft.world.item that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static Optional<ResourceKey<Level>>CompassItem.getLodestoneDimension(CompoundTag p_40728_) Methods in net.minecraft.world.item with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidCompassItem.addLodestoneTags(ResourceKey<Level> p_40733_, BlockPos p_40734_, CompoundTag p_40735_) private static voidMapItem.createAndStoreSavedData(ItemStack p_151112_, Level p_151113_, int p_151114_, int p_151115_, int p_151116_, boolean p_151117_, boolean p_151118_, ResourceKey<Level> p_151119_) private static intMapItem.createNewSavedData(Level p_151121_, int p_151122_, int p_151123_, int p_151124_, boolean p_151125_, boolean p_151126_, ResourceKey<Level> p_151127_) -
Uses of ResourceKey in net.minecraft.world.level
Fields in net.minecraft.world.level declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level>Level.dimensionprivate final ResourceKey<DimensionType>Level.dimensionTypeIdstatic final ResourceKey<Level>Level.ENDstatic final ResourceKey<Level>Level.NETHERstatic final ResourceKey<Level>Level.OVERWORLDFields in net.minecraft.world.level with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ResourceKey<Level>>Level.RESOURCE_KEY_CODECMethods in net.minecraft.world.level that return ResourceKeyMethods in net.minecraft.world.level with parameters of type ResourceKeyModifier and TypeMethodDescriptionStructureManager.getStructureWithPieceAt(BlockPos p_220489_, ResourceKey<Structure> p_220490_) default <T> HolderLookup<T>LevelReader.holderLookup(ResourceKey<? extends Registry<? extends T>> p_249578_) Constructors in net.minecraft.world.level with parameters of type ResourceKeyModifierConstructorDescriptionprotectedLevel(WritableLevelData p_220352_, ResourceKey<Level> p_220353_, Holder<DimensionType> p_220354_, Supplier<ProfilerFiller> p_220355_, boolean p_220356_, boolean p_220357_, long p_220358_, int p_220359_) -
Uses of ResourceKey in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Biome>Biomes.BADLANDSstatic final ResourceKey<Biome>Biomes.BAMBOO_JUNGLEstatic final ResourceKey<Biome>Biomes.BASALT_DELTASstatic final ResourceKey<Biome>Biomes.BEACHstatic final ResourceKey<Biome>Biomes.BIRCH_FORESTstatic final ResourceKey<Biome>Biomes.COLD_OCEANstatic final ResourceKey<Biome>Biomes.CRIMSON_FORESTstatic final ResourceKey<Biome>Biomes.DARK_FORESTstatic final ResourceKey<Biome>Biomes.DEEP_COLD_OCEANstatic final ResourceKey<Biome>Biomes.DEEP_DARKstatic final ResourceKey<Biome>Biomes.DEEP_FROZEN_OCEANstatic final ResourceKey<Biome>Biomes.DEEP_LUKEWARM_OCEANstatic final ResourceKey<Biome>Biomes.DEEP_OCEANstatic final ResourceKey<Biome>Biomes.DESERTstatic final ResourceKey<Biome>Biomes.DRIPSTONE_CAVESstatic final ResourceKey<Biome>Biomes.END_BARRENSstatic final ResourceKey<Biome>Biomes.END_HIGHLANDSstatic final ResourceKey<Biome>Biomes.END_MIDLANDSstatic final ResourceKey<Biome>Biomes.ERODED_BADLANDSstatic final ResourceKey<Biome>Biomes.FLOWER_FORESTstatic final ResourceKey<Biome>Biomes.FORESTstatic final ResourceKey<Biome>Biomes.FROZEN_OCEANstatic final ResourceKey<Biome>Biomes.FROZEN_PEAKSstatic final ResourceKey<Biome>Biomes.FROZEN_RIVERstatic final ResourceKey<Biome>Biomes.GROVEstatic final ResourceKey<Biome>Biomes.ICE_SPIKESstatic final ResourceKey<Biome>Biomes.JAGGED_PEAKSstatic final ResourceKey<Biome>Biomes.JUNGLEstatic final ResourceKey<Biome>Biomes.LUKEWARM_OCEANstatic final ResourceKey<Biome>Biomes.LUSH_CAVESstatic final ResourceKey<Biome>Biomes.MANGROVE_SWAMPstatic final ResourceKey<Biome>Biomes.MEADOWprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.MIDDLE_BIOMESprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.MIDDLE_BIOMES_VARIANTstatic final ResourceKey<Biome>Biomes.MUSHROOM_FIELDSstatic final ResourceKey<Biome>Biomes.NETHER_WASTESstatic final ResourceKey<Biome>Biomes.OCEANprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.OCEANSstatic final ResourceKey<Biome>Biomes.OLD_GROWTH_BIRCH_FORESTstatic final ResourceKey<Biome>Biomes.OLD_GROWTH_PINE_TAIGAstatic final ResourceKey<Biome>Biomes.OLD_GROWTH_SPRUCE_TAIGAstatic final ResourceKey<Biome>Biomes.PLAINSprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.PLATEAU_BIOMESprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.PLATEAU_BIOMES_VARIANTstatic final ResourceKey<Biome>Biomes.RIVERstatic final ResourceKey<Biome>Biomes.SAVANNAstatic final ResourceKey<Biome>Biomes.SAVANNA_PLATEAUprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.SHATTERED_BIOMESstatic final ResourceKey<Biome>Biomes.SMALL_END_ISLANDSstatic final ResourceKey<Biome>Biomes.SNOWY_BEACHstatic final ResourceKey<Biome>Biomes.SNOWY_PLAINSstatic final ResourceKey<Biome>Biomes.SNOWY_SLOPESstatic final ResourceKey<Biome>Biomes.SNOWY_TAIGAstatic final ResourceKey<Biome>Biomes.SOUL_SAND_VALLEYstatic final ResourceKey<Biome>Biomes.SPARSE_JUNGLEstatic final ResourceKey<Biome>Biomes.STONY_PEAKSstatic final ResourceKey<Biome>Biomes.STONY_SHOREstatic final ResourceKey<Biome>Biomes.SUNFLOWER_PLAINSstatic final ResourceKey<Biome>Biomes.SWAMPstatic final ResourceKey<Biome>Biomes.TAIGAstatic final ResourceKey<Biome>Biomes.THE_ENDstatic final ResourceKey<Biome>Biomes.THE_VOIDstatic final ResourceKey<Biome>Biomes.WARM_OCEANstatic final ResourceKey<Biome>Biomes.WARPED_FORESTstatic final ResourceKey<Biome>Biomes.WINDSWEPT_FORESTstatic final ResourceKey<Biome>Biomes.WINDSWEPT_GRAVELLY_HILLSstatic final ResourceKey<Biome>Biomes.WINDSWEPT_HILLSstatic final ResourceKey<Biome>Biomes.WINDSWEPT_SAVANNAstatic final ResourceKey<Biome>Biomes.WOODED_BADLANDSMethods in net.minecraft.world.level.biome that return ResourceKeyModifier and TypeMethodDescriptionprivate ResourceKey<Biome>OverworldBiomeBuilder.maybePickWindsweptSavannaBiome(int p_201991_, int p_201992_, Climate.Parameter p_201993_, ResourceKey<Biome> p_201994_) private ResourceKey<Biome>OverworldBiomeBuilder.pickBadlandsBiome(int p_187173_, Climate.Parameter p_187174_) private ResourceKey<Biome>OverworldBiomeBuilder.pickBeachBiome(int p_187161_, int p_187162_) private ResourceKey<Biome>OverworldBiomeBuilder.pickMiddleBiome(int p_187164_, int p_187165_, Climate.Parameter p_187166_) private ResourceKey<Biome>OverworldBiomeBuilder.pickMiddleBiomeOrBadlandsIfHot(int p_187192_, int p_187193_, Climate.Parameter p_187194_) private ResourceKey<Biome>OverworldBiomeBuilder.pickMiddleBiomeOrBadlandsIfHotOrSlopeIfCold(int p_187212_, int p_187213_, Climate.Parameter p_187214_) private ResourceKey<Biome>OverworldBiomeBuilder.pickPeakBiome(int p_187241_, int p_187242_, Climate.Parameter p_187243_) private ResourceKey<Biome>OverworldBiomeBuilder.pickPlateauBiome(int p_187234_, int p_187235_, Climate.Parameter p_187236_) private ResourceKey<Biome>OverworldBiomeBuilder.pickShatteredBiome(int p_202002_, int p_202003_, Climate.Parameter p_202004_) private ResourceKey<Biome>OverworldBiomeBuilder.pickShatteredCoastBiome(int p_187223_, int p_187224_, Climate.Parameter p_187225_) private ResourceKey<Biome>OverworldBiomeBuilder.pickSlopeBiome(int p_187245_, int p_187246_, Climate.Parameter p_187247_) private static ResourceKey<Biome>Methods in net.minecraft.world.level.biome that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionMultiNoiseBiomeSource.Preset.possibleBiomes(HolderGetter<Biome> p_256671_) Methods in net.minecraft.world.level.biome with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidOverworldBiomeBuilder.addBottomBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_220669_, Climate.Parameter p_220670_, Climate.Parameter p_220671_, Climate.Parameter p_220672_, Climate.Parameter p_220673_, Climate.Parameter p_220674_, float p_220675_, ResourceKey<Biome> p_220676_) BiomeGenerationSettings.Builder.addCarver(GenerationStep.Carving p_256471_, ResourceKey<ConfiguredWorldCarver<?>> p_255733_) BiomeGenerationSettings.Builder.addFeature(GenerationStep.Decoration p_256059_, ResourceKey<PlacedFeature> p_256259_) private voidOverworldBiomeBuilder.addSurfaceBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187181_, Climate.Parameter p_187182_, Climate.Parameter p_187183_, Climate.Parameter p_187184_, Climate.Parameter p_187185_, Climate.Parameter p_187186_, float p_187187_, ResourceKey<Biome> p_187188_) private voidOverworldBiomeBuilder.addUndergroundBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187201_, Climate.Parameter p_187202_, Climate.Parameter p_187203_, Climate.Parameter p_187204_, Climate.Parameter p_187205_, Climate.Parameter p_187206_, float p_187207_, ResourceKey<Biome> p_187208_) private ResourceKey<Biome>OverworldBiomeBuilder.maybePickWindsweptSavannaBiome(int p_201991_, int p_201992_, Climate.Parameter p_201993_, ResourceKey<Biome> p_201994_) Method parameters in net.minecraft.world.level.biome with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprotected voidOverworldBiomeBuilder.addBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187176_) private voidOverworldBiomeBuilder.addBottomBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_220669_, Climate.Parameter p_220670_, Climate.Parameter p_220671_, Climate.Parameter p_220672_, Climate.Parameter p_220673_, Climate.Parameter p_220674_, float p_220675_, ResourceKey<Biome> p_220676_) private voidOverworldBiomeBuilder.addDebugBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_256276_) private voidOverworldBiomeBuilder.addHighSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187198_, Climate.Parameter p_187199_) private voidOverworldBiomeBuilder.addInlandBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187216_) private voidOverworldBiomeBuilder.addLowSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187229_, Climate.Parameter p_187230_) private voidOverworldBiomeBuilder.addMidSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187218_, Climate.Parameter p_187219_) private voidOverworldBiomeBuilder.addOffCoastBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187196_) private voidOverworldBiomeBuilder.addPeaks(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187178_, Climate.Parameter p_187179_) private voidOverworldBiomeBuilder.addSurfaceBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187181_, Climate.Parameter p_187182_, Climate.Parameter p_187183_, Climate.Parameter p_187184_, Climate.Parameter p_187185_, Climate.Parameter p_187186_, float p_187187_, ResourceKey<Biome> p_187188_) private voidOverworldBiomeBuilder.addUndergroundBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187201_, Climate.Parameter p_187202_, Climate.Parameter p_187203_, Climate.Parameter p_187204_, Climate.Parameter p_187205_, Climate.Parameter p_187206_, float p_187207_, ResourceKey<Biome> p_187208_) private voidOverworldBiomeBuilder.addUndergroundBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187227_) private voidOverworldBiomeBuilder.addValleys(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187238_, Climate.Parameter p_187239_) -
Uses of ResourceKey in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<ConfiguredFeature<?,?>> FungusBlock.featureprivate final ResourceKey<ConfiguredFeature<?,?>> MushroomBlock.featureMethods in net.minecraft.world.level.block with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidNyliumBlock.place(Registry<ConfiguredFeature<?, ?>> p_255879_, ResourceKey<ConfiguredFeature<?, ?>> p_256032_, ServerLevel p_255631_, ChunkGenerator p_256445_, RandomSource p_255709_, BlockPos p_256019_) Constructors in net.minecraft.world.level.block with parameters of type ResourceKeyModifierConstructorDescriptionFungusBlock(BlockBehaviour.Properties p_259749_, ResourceKey<ConfiguredFeature<?, ?>> p_259087_, Block p_260223_) MushroomBlock(BlockBehaviour.Properties p_256027_, ResourceKey<ConfiguredFeature<?, ?>> p_256049_) -
Uses of ResourceKey in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<BannerPattern>BannerPatterns.BASEstatic final ResourceKey<BannerPattern>BannerPatterns.BORDERstatic final ResourceKey<BannerPattern>BannerPatterns.BRICKSstatic final ResourceKey<BannerPattern>BannerPatterns.CIRCLE_MIDDLEstatic final ResourceKey<BannerPattern>BannerPatterns.CREEPERstatic final ResourceKey<BannerPattern>BannerPatterns.CROSSstatic final ResourceKey<BannerPattern>BannerPatterns.CURLY_BORDERstatic final ResourceKey<BannerPattern>BannerPatterns.DIAGONAL_LEFTstatic final ResourceKey<BannerPattern>BannerPatterns.DIAGONAL_LEFT_MIRRORstatic final ResourceKey<BannerPattern>BannerPatterns.DIAGONAL_RIGHTstatic final ResourceKey<BannerPattern>BannerPatterns.DIAGONAL_RIGHT_MIRRORstatic final ResourceKey<BannerPattern>BannerPatterns.FLOWERstatic final ResourceKey<BannerPattern>BannerPatterns.GLOBEstatic final ResourceKey<BannerPattern>BannerPatterns.GRADIENTstatic final ResourceKey<BannerPattern>BannerPatterns.GRADIENT_UPstatic final ResourceKey<BannerPattern>BannerPatterns.HALF_HORIZONTALstatic final ResourceKey<BannerPattern>BannerPatterns.HALF_HORIZONTAL_MIRRORstatic final ResourceKey<BannerPattern>BannerPatterns.HALF_VERTICALstatic final ResourceKey<BannerPattern>BannerPatterns.HALF_VERTICAL_MIRRORstatic final ResourceKey<BannerPattern>BannerPatterns.MOJANGstatic final ResourceKey<BannerPattern>BannerPatterns.PIGLINprivate ResourceKey<StructureTemplatePool>JigsawBlockEntity.poolstatic final ResourceKey<BannerPattern>BannerPatterns.RHOMBUS_MIDDLEstatic final ResourceKey<BannerPattern>BannerPatterns.SKULLstatic final ResourceKey<BannerPattern>BannerPatterns.SQUARE_BOTTOM_LEFTstatic final ResourceKey<BannerPattern>BannerPatterns.SQUARE_BOTTOM_RIGHTstatic final ResourceKey<BannerPattern>BannerPatterns.SQUARE_TOP_LEFTstatic final ResourceKey<BannerPattern>BannerPatterns.SQUARE_TOP_RIGHTstatic final ResourceKey<BannerPattern>BannerPatterns.STRAIGHT_CROSSstatic final ResourceKey<BannerPattern>BannerPatterns.STRIPE_BOTTOMstatic final ResourceKey<BannerPattern>BannerPatterns.STRIPE_CENTERstatic final ResourceKey<BannerPattern>BannerPatterns.STRIPE_DOWNLEFTstatic final ResourceKey<BannerPattern>BannerPatterns.STRIPE_DOWNRIGHTstatic final ResourceKey<BannerPattern>BannerPatterns.STRIPE_LEFTstatic final ResourceKey<BannerPattern>BannerPatterns.STRIPE_MIDDLEstatic final ResourceKey<BannerPattern>BannerPatterns.STRIPE_RIGHTstatic final ResourceKey<BannerPattern>BannerPatterns.STRIPE_SMALLstatic final ResourceKey<BannerPattern>BannerPatterns.STRIPE_TOPstatic final ResourceKey<BannerPattern>BannerPatterns.TRIANGLE_BOTTOMstatic final ResourceKey<BannerPattern>BannerPatterns.TRIANGLE_TOPstatic final ResourceKey<BannerPattern>BannerPatterns.TRIANGLES_BOTTOMstatic final ResourceKey<BannerPattern>BannerPatterns.TRIANGLES_TOPMethods in net.minecraft.world.level.block.entity that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<BannerPattern>JigsawBlockEntity.getPool()Methods in net.minecraft.world.level.block.entity with parameters of type ResourceKeyModifier and TypeMethodDescriptionBannerPattern.Builder.addPattern(ResourceKey<BannerPattern> p_222706_, DyeColor p_222707_) static ResourceLocationBannerPattern.location(ResourceKey<BannerPattern> p_222698_, boolean p_222699_) voidJigsawBlockEntity.setPool(ResourceKey<StructureTemplatePool> p_222764_) -
Uses of ResourceKey in net.minecraft.world.level.block.grower
Methods in net.minecraft.world.level.block.grower that return ResourceKeyModifier and TypeMethodDescriptionprotected abstract ResourceKey<ConfiguredFeature<?,?>> AbstractTreeGrower.getConfiguredFeature(RandomSource p_222910_, boolean p_222911_) protected ResourceKey<ConfiguredFeature<?,?>> AcaciaTreeGrower.getConfiguredFeature(RandomSource p_256308_, boolean p_256632_) protected ResourceKey<ConfiguredFeature<?,?>> AzaleaTreeGrower.getConfiguredFeature(RandomSource p_255997_, boolean p_255923_) protected ResourceKey<ConfiguredFeature<?,?>> BirchTreeGrower.getConfiguredFeature(RandomSource p_256345_, boolean p_255618_) protected ResourceKey<ConfiguredFeature<?,?>> DarkOakTreeGrower.getConfiguredFeature(RandomSource p_222924_, boolean p_222925_) protected ResourceKey<ConfiguredFeature<?,?>> JungleTreeGrower.getConfiguredFeature(RandomSource p_255992_, boolean p_255946_) protected ResourceKey<ConfiguredFeature<?,?>> MangroveTreeGrower.getConfiguredFeature(RandomSource p_255870_, boolean p_256508_) protected ResourceKey<ConfiguredFeature<?,?>> OakTreeGrower.getConfiguredFeature(RandomSource p_256119_, boolean p_256536_) protected ResourceKey<ConfiguredFeature<?,?>> SpruceTreeGrower.getConfiguredFeature(RandomSource p_255637_, boolean p_255764_) protected abstract ResourceKey<ConfiguredFeature<?,?>> AbstractMegaTreeGrower.getConfiguredMegaFeature(RandomSource p_222904_) protected ResourceKey<ConfiguredFeature<?,?>> DarkOakTreeGrower.getConfiguredMegaFeature(RandomSource p_255891_) protected ResourceKey<ConfiguredFeature<?,?>> JungleTreeGrower.getConfiguredMegaFeature(RandomSource p_256359_) protected ResourceKey<ConfiguredFeature<?,?>> SpruceTreeGrower.getConfiguredMegaFeature(RandomSource p_255928_) -
Uses of ResourceKey in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionOptional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>>ChunkGenerator.getTypeNameForDataFixer() -
Uses of ResourceKey in net.minecraft.world.level.chunk.storage
Methods in net.minecraft.world.level.chunk.storage with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate LegacyStructureDataHandlerChunkStorage.getLegacyStructureHandler(ResourceKey<Level> p_223449_, Supplier<DimensionDataStorage> p_223450_) static voidChunkStorage.injectDatafixingContext(CompoundTag p_196919_, ResourceKey<Level> p_196920_, Optional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> p_196921_) ChunkStorage.upgradeChunkTag(ResourceKey<Level> p_188289_, Supplier<DimensionDataStorage> p_188290_, CompoundTag p_188291_, Optional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> p_188292_) Method parameters in net.minecraft.world.level.chunk.storage with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic voidChunkStorage.injectDatafixingContext(CompoundTag p_196919_, ResourceKey<Level> p_196920_, Optional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> p_196921_) ChunkStorage.upgradeChunkTag(ResourceKey<Level> p_188289_, Supplier<DimensionDataStorage> p_188290_, CompoundTag p_188291_, Optional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> p_188292_) -
Uses of ResourceKey in net.minecraft.world.level.dimension
Fields in net.minecraft.world.level.dimension declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<DimensionType>BuiltinDimensionTypes.ENDstatic final ResourceKey<LevelStem>LevelStem.ENDstatic final ResourceKey<DimensionType>BuiltinDimensionTypes.NETHERstatic final ResourceKey<LevelStem>LevelStem.NETHERstatic final ResourceKey<DimensionType>BuiltinDimensionTypes.OVERWORLDstatic final ResourceKey<LevelStem>LevelStem.OVERWORLDstatic final ResourceKey<DimensionType>BuiltinDimensionTypes.OVERWORLD_CAVESMethods in net.minecraft.world.level.dimension that return ResourceKeyMethods in net.minecraft.world.level.dimension that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic com.mojang.serialization.DataResult<ResourceKey<Level>>DimensionType.parseLegacy(com.mojang.serialization.Dynamic<?> p_63912_) Deprecated.Methods in net.minecraft.world.level.dimension with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic PathDimensionType.getStorageFolder(ResourceKey<Level> p_196976_, Path p_196977_) -
Uses of ResourceKey in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<NoiseGeneratorSettings>NoiseGeneratorSettings.AMPLIFIEDstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.AQUIFER_BARRIERstatic final ResourceKey<NormalNoise.NoiseParameters>static final ResourceKey<NormalNoise.NoiseParameters>Noises.AQUIFER_FLUID_LEVEL_SPREADstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.AQUIFER_LAVAstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.BADLANDS_PILLARstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.BADLANDS_PILLAR_ROOFstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.BADLANDS_SURFACEprivate static final ResourceKey<DensityFunction>NoiseRouterData.BASE_3D_NOISE_ENDprivate static final ResourceKey<DensityFunction>NoiseRouterData.BASE_3D_NOISE_NETHERprivate static final ResourceKey<DensityFunction>NoiseRouterData.BASE_3D_NOISE_OVERWORLDstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.CALCITEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.CAVE_CHEESEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.CAVE_ENTRANCEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.CAVE_LAYERstatic final ResourceKey<NoiseGeneratorSettings>NoiseGeneratorSettings.CAVESstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.CLAY_BANDS_OFFSETstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.CONTINENTALNESSstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.CONTINENTALNESS_LARGEstatic final ResourceKey<DensityFunction>NoiseRouterData.CONTINENTSstatic final ResourceKey<DensityFunction>NoiseRouterData.CONTINENTS_LARGEstatic final ResourceKey<DensityFunction>NoiseRouterData.DEPTHprivate static final ResourceKey<DensityFunction>NoiseRouterData.DEPTH_AMPLIFIEDprivate static final ResourceKey<DensityFunction>NoiseRouterData.DEPTH_LARGEstatic final ResourceKey<NoiseGeneratorSettings>NoiseGeneratorSettings.ENDprivate static final ResourceKey<DensityFunction>NoiseRouterData.ENTRANCESstatic final ResourceKey<DensityFunction>NoiseRouterData.EROSIONstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.EROSIONstatic final ResourceKey<DensityFunction>NoiseRouterData.EROSION_LARGEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.EROSION_LARGEstatic final ResourceKey<DensityFunction>NoiseRouterData.FACTORprivate static final ResourceKey<DensityFunction>NoiseRouterData.FACTOR_AMPLIFIEDprivate static final ResourceKey<DensityFunction>NoiseRouterData.FACTOR_LARGEstatic final ResourceKey<NoiseGeneratorSettings>NoiseGeneratorSettings.FLOATING_ISLANDSstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.GRAVELstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.GRAVEL_LAYERstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.ICEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.ICEBERG_PILLARstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.ICEBERG_PILLAR_ROOFstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.ICEBERG_SURFACEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.JAGGEDstatic final ResourceKey<DensityFunction>NoiseRouterData.JAGGEDNESSprivate static final ResourceKey<DensityFunction>NoiseRouterData.JAGGEDNESS_AMPLIFIEDprivate static final ResourceKey<DensityFunction>NoiseRouterData.JAGGEDNESS_LARGEstatic final ResourceKey<NoiseGeneratorSettings>NoiseGeneratorSettings.LARGE_BIOMESstatic final ResourceKey<NoiseGeneratorSettings>NoiseGeneratorSettings.NETHERstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.NETHER_STATE_SELECTORstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.NETHER_WARTstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.NETHERRACKprivate final ResourceKey<NormalNoise.NoiseParameters>SurfaceRules.NoiseThresholdConditionSource.noiseThe field for thenoiserecord component.private static final ResourceKey<DensityFunction>NoiseRouterData.NOODLEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.NOODLEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.NOODLE_RIDGE_Astatic final ResourceKey<NormalNoise.NoiseParameters>Noises.NOODLE_RIDGE_Bstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.NOODLE_THICKNESSstatic final ResourceKey<DensityFunction>NoiseRouterData.OFFSETprivate static final ResourceKey<DensityFunction>NoiseRouterData.OFFSET_AMPLIFIEDprivate static final ResourceKey<DensityFunction>NoiseRouterData.OFFSET_LARGEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.ORE_GAPstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.ORE_VEIN_Astatic final ResourceKey<NormalNoise.NoiseParameters>Noises.ORE_VEIN_Bstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.ORE_VEININESSstatic final ResourceKey<NoiseGeneratorSettings>NoiseGeneratorSettings.OVERWORLDstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.PACKED_ICEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.PATCHstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.PILLARstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.PILLAR_RARENESSstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.PILLAR_THICKNESSprivate static final ResourceKey<DensityFunction>NoiseRouterData.PILLARSstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.POWDER_SNOWstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.RIDGEstatic final ResourceKey<DensityFunction>NoiseRouterData.RIDGESstatic final ResourceKey<DensityFunction>NoiseRouterData.RIDGES_FOLDEDstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SHIFTprivate static final ResourceKey<DensityFunction>NoiseRouterData.SHIFT_Xprivate static final ResourceKey<DensityFunction>NoiseRouterData.SHIFT_Zprivate static final ResourceKey<DensityFunction>NoiseRouterData.SLOPED_CHEESEprivate static final ResourceKey<DensityFunction>NoiseRouterData.SLOPED_CHEESE_AMPLIFIEDprivate static final ResourceKey<DensityFunction>NoiseRouterData.SLOPED_CHEESE_ENDprivate static final ResourceKey<DensityFunction>NoiseRouterData.SLOPED_CHEESE_LARGEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SOUL_SAND_LAYERprivate static final ResourceKey<DensityFunction>NoiseRouterData.SPAGHETTI_2Dstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_2Dstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_2D_ELEVATIONstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_2D_MODULATORstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_2D_THICKNESSprivate static final ResourceKey<DensityFunction>NoiseRouterData.SPAGHETTI_2D_THICKNESS_MODULATORstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_3D_1static final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_3D_2static final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_3D_RARITYstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_3D_THICKNESSstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_ROUGHNESSprivate static final ResourceKey<DensityFunction>NoiseRouterData.SPAGHETTI_ROUGHNESS_FUNCTIONstatic final ResourceKey<NormalNoise.NoiseParameters>static final ResourceKey<NormalNoise.NoiseParameters>Noises.SURFACEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SURFACE_SECONDARYstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SWAMPstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.TEMPERATUREstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.TEMPERATURE_LARGEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.VEGETATIONstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.VEGETATION_LARGEprivate static final ResourceKey<DensityFunction>NoiseRouterData.Yprivate static final ResourceKey<DensityFunction>NoiseRouterData.ZEROFields in net.minecraft.world.level.levelgen with type parameters of type ResourceKeyModifier and TypeFieldDescription(package private) final Predicate<ResourceKey<Biome>>SurfaceRules.BiomeConditionSource.biomeNameTestprivate final List<ResourceKey<Biome>>SurfaceRules.BiomeConditionSource.biomesprivate static final Set<ResourceKey<LevelStem>>WorldDimensions.BUILTIN_ORDERprivate final Map<ResourceKey<NormalNoise.NoiseParameters>,NormalNoise> RandomState.noiseIntancesprivate static final Set<ResourceKey<Biome>>BelowZeroRetrogen.RETAINED_RETROGEN_BIOMESMethods in net.minecraft.world.level.levelgen that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<DensityFunction>private static ResourceKey<NormalNoise.NoiseParameters>SurfaceRules.NoiseThresholdConditionSource.noise()Returns the value of thenoiserecord component.Methods in net.minecraft.world.level.levelgen that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic Stream<ResourceKey<LevelStem>>WorldDimensions.keysInOrder(Stream<ResourceKey<LevelStem>> p_251309_) com.google.common.collect.ImmutableSet<ResourceKey<Level>>WorldDimensions.levels()Methods in net.minecraft.world.level.levelgen with parameters of type ResourceKeyModifier and TypeMethodDescription(package private) static com.mojang.serialization.LifecycleWorldDimensions.checkStability(ResourceKey<LevelStem> p_250764_, LevelStem p_248865_) static RandomStateRandomState.create(HolderGetter.Provider p_255935_, ResourceKey<NoiseGeneratorSettings> p_256314_, long p_256595_) WorldDimensions.get(ResourceKey<LevelStem> p_250824_) private static DensityFunctionNoiseRouterData.getFunction(HolderGetter<DensityFunction> p_256312_, ResourceKey<DensityFunction> p_256077_) RandomState.getOrCreateNoise(ResourceKey<NormalNoise.NoiseParameters> p_224561_) static NormalNoiseNoises.instantiate(HolderGetter<NormalNoise.NoiseParameters> p_256362_, PositionalRandomFactory p_256306_, ResourceKey<NormalNoise.NoiseParameters> p_256639_) static SurfaceRules.ConditionSourceSurfaceRules.isBiome(ResourceKey<Biome>... p_189417_) private static booleanWorldDimensions.isVanillaLike(ResourceKey<LevelStem> p_250556_, LevelStem p_250034_) static SurfaceRules.ConditionSourceSurfaceRules.noiseCondition(ResourceKey<NormalNoise.NoiseParameters> p_189410_, double p_189411_) static SurfaceRules.ConditionSourceSurfaceRules.noiseCondition(ResourceKey<NormalNoise.NoiseParameters> p_189413_, double p_189414_, double p_189415_) private static DensityFunctionNoiseRouterData.registerAndWrap(BootstapContext<DensityFunction> p_256149_, ResourceKey<DensityFunction> p_255905_, DensityFunction p_255856_) private static voidNoiseRouterData.registerTerrainNoises(BootstapContext<DensityFunction> p_256336_, HolderGetter<DensityFunction> p_256393_, DensityFunction p_224476_, Holder<DensityFunction> p_224477_, Holder<DensityFunction> p_224478_, ResourceKey<DensityFunction> p_224479_, ResourceKey<DensityFunction> p_224480_, ResourceKey<DensityFunction> p_224481_, ResourceKey<DensityFunction> p_224482_, ResourceKey<DensityFunction> p_224483_, boolean p_224484_) booleanNoiseBasedChunkGenerator.stable(ResourceKey<NoiseGeneratorSettings> p_224222_) Method parameters in net.minecraft.world.level.levelgen with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static SurfaceRules.BiomeConditionSourceSurfaceRules.isBiome(List<ResourceKey<Biome>> p_189408_) static Stream<ResourceKey<LevelStem>>WorldDimensions.keysInOrder(Stream<ResourceKey<LevelStem>> p_251309_) Constructors in net.minecraft.world.level.levelgen with parameters of type ResourceKeyModifierConstructorDescription(package private)NoiseThresholdConditionSource(ResourceKey<NormalNoise.NoiseParameters> noise, double minThreshold, double maxThreshold) Creates an instance of aNoiseThresholdConditionSourcerecord class.Constructor parameters in net.minecraft.world.level.levelgen with type arguments of type ResourceKeyModifierConstructorDescription(package private)BiomeConditionSource(List<ResourceKey<Biome>> p_189493_) -
Uses of ResourceKey in net.minecraft.world.level.levelgen.flat
Fields in net.minecraft.world.level.levelgen.flat declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<FlatLevelGeneratorPreset>FlatLevelGeneratorPresets.BOTTOMLESS_PITstatic final ResourceKey<FlatLevelGeneratorPreset>FlatLevelGeneratorPresets.CLASSIC_FLATstatic final ResourceKey<FlatLevelGeneratorPreset>FlatLevelGeneratorPresets.DESERTstatic final ResourceKey<FlatLevelGeneratorPreset>FlatLevelGeneratorPresets.OVERWORLDstatic final ResourceKey<FlatLevelGeneratorPreset>FlatLevelGeneratorPresets.REDSTONE_READYstatic final ResourceKey<FlatLevelGeneratorPreset>FlatLevelGeneratorPresets.SNOWY_KINGDOMstatic final ResourceKey<FlatLevelGeneratorPreset>FlatLevelGeneratorPresets.THE_VOIDstatic final ResourceKey<FlatLevelGeneratorPreset>FlatLevelGeneratorPresets.TUNNELERS_DREAMstatic final ResourceKey<FlatLevelGeneratorPreset>FlatLevelGeneratorPresets.WATER_WORLDMethods in net.minecraft.world.level.levelgen.flat that return ResourceKeyMethods in net.minecraft.world.level.levelgen.flat with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidFlatLevelGeneratorPresets.Bootstrap.register(ResourceKey<FlatLevelGeneratorPreset> p_256174_, ItemLike p_255748_, ResourceKey<Biome> p_256483_, Set<ResourceKey<StructureSet>> p_255807_, boolean p_256642_, boolean p_256006_, FlatLayerInfo... p_255913_) Method parameters in net.minecraft.world.level.levelgen.flat with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate voidFlatLevelGeneratorPresets.Bootstrap.register(ResourceKey<FlatLevelGeneratorPreset> p_256174_, ItemLike p_255748_, ResourceKey<Biome> p_256483_, Set<ResourceKey<StructureSet>> p_255807_, boolean p_256642_, boolean p_256006_, FlatLayerInfo... p_255913_) -
Uses of ResourceKey in net.minecraft.world.level.levelgen.presets
Fields in net.minecraft.world.level.levelgen.presets declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<WorldPreset>WorldPresets.AMPLIFIEDstatic final ResourceKey<WorldPreset>WorldPresets.DEBUGstatic final ResourceKey<WorldPreset>WorldPresets.FLATstatic final ResourceKey<WorldPreset>WorldPresets.LARGE_BIOMESstatic final ResourceKey<WorldPreset>WorldPresets.NORMALstatic final ResourceKey<WorldPreset>WorldPresets.SINGLE_BIOME_SURFACEFields in net.minecraft.world.level.levelgen.presets with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<LevelStem>,LevelStem> WorldPreset.dimensionsMethods in net.minecraft.world.level.levelgen.presets that return ResourceKeyMethods in net.minecraft.world.level.levelgen.presets that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic Optional<ResourceKey<WorldPreset>>WorldPresets.fromSettings(Registry<LevelStem> p_249784_) Methods in net.minecraft.world.level.levelgen.presets with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidWorldPresets.Bootstrap.registerCustomOverworldPreset(ResourceKey<WorldPreset> p_256570_, LevelStem p_256269_) Constructor parameters in net.minecraft.world.level.levelgen.presets with type arguments of type ResourceKey -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<StructureSet>BuiltinStructureSets.ANCIENT_CITIESstatic final ResourceKey<Structure>BuiltinStructures.ANCIENT_CITYstatic final ResourceKey<Structure>BuiltinStructures.BASTION_REMNANTstatic final ResourceKey<Structure>BuiltinStructures.BURIED_TREASUREstatic final ResourceKey<StructureSet>BuiltinStructureSets.BURIED_TREASURESstatic final ResourceKey<Structure>BuiltinStructures.DESERT_PYRAMIDstatic final ResourceKey<StructureSet>BuiltinStructureSets.DESERT_PYRAMIDSprivate final ResourceKey<Level>StructureCheck.dimensionstatic final ResourceKey<StructureSet>BuiltinStructureSets.END_CITIESstatic final ResourceKey<Structure>BuiltinStructures.END_CITYstatic final ResourceKey<Structure>BuiltinStructures.FORTRESSstatic final ResourceKey<Structure>BuiltinStructures.IGLOOstatic final ResourceKey<StructureSet>BuiltinStructureSets.IGLOOSstatic final ResourceKey<Structure>BuiltinStructures.JUNGLE_TEMPLEstatic final ResourceKey<StructureSet>BuiltinStructureSets.JUNGLE_TEMPLESstatic final ResourceKey<Structure>BuiltinStructures.MINESHAFTstatic final ResourceKey<Structure>BuiltinStructures.MINESHAFT_MESAstatic final ResourceKey<StructureSet>BuiltinStructureSets.MINESHAFTSstatic final ResourceKey<StructureSet>BuiltinStructureSets.NETHER_COMPLEXESstatic final ResourceKey<Structure>BuiltinStructures.NETHER_FOSSILstatic final ResourceKey<StructureSet>BuiltinStructureSets.NETHER_FOSSILSstatic final ResourceKey<Structure>BuiltinStructures.OCEAN_MONUMENTstatic final ResourceKey<StructureSet>BuiltinStructureSets.OCEAN_MONUMENTSstatic final ResourceKey<Structure>BuiltinStructures.OCEAN_RUIN_COLDstatic final ResourceKey<Structure>BuiltinStructures.OCEAN_RUIN_WARMstatic final ResourceKey<StructureSet>BuiltinStructureSets.OCEAN_RUINSstatic final ResourceKey<Structure>BuiltinStructures.PILLAGER_OUTPOSTstatic final ResourceKey<StructureSet>BuiltinStructureSets.PILLAGER_OUTPOSTSstatic final ResourceKey<Structure>BuiltinStructures.RUINED_PORTAL_DESERTstatic final ResourceKey<Structure>BuiltinStructures.RUINED_PORTAL_JUNGLEstatic final ResourceKey<Structure>BuiltinStructures.RUINED_PORTAL_MOUNTAINstatic final ResourceKey<Structure>BuiltinStructures.RUINED_PORTAL_NETHERstatic final ResourceKey<Structure>BuiltinStructures.RUINED_PORTAL_OCEANstatic final ResourceKey<Structure>BuiltinStructures.RUINED_PORTAL_STANDARDstatic final ResourceKey<Structure>BuiltinStructures.RUINED_PORTAL_SWAMPstatic final ResourceKey<StructureSet>BuiltinStructureSets.RUINED_PORTALSstatic final ResourceKey<Structure>BuiltinStructures.SHIPWRECKstatic final ResourceKey<Structure>BuiltinStructures.SHIPWRECK_BEACHEDstatic final ResourceKey<StructureSet>BuiltinStructureSets.SHIPWRECKSstatic final ResourceKey<Structure>BuiltinStructures.STRONGHOLDstatic final ResourceKey<StructureSet>BuiltinStructureSets.STRONGHOLDSstatic final ResourceKey<Structure>BuiltinStructures.SWAMP_HUTstatic final ResourceKey<StructureSet>BuiltinStructureSets.SWAMP_HUTSstatic final ResourceKey<Structure>BuiltinStructures.VILLAGE_DESERTstatic final ResourceKey<Structure>BuiltinStructures.VILLAGE_PLAINSstatic final ResourceKey<Structure>BuiltinStructures.VILLAGE_SAVANNAstatic final ResourceKey<Structure>BuiltinStructures.VILLAGE_SNOWYstatic final ResourceKey<Structure>BuiltinStructures.VILLAGE_TAIGAstatic final ResourceKey<StructureSet>BuiltinStructureSets.VILLAGESstatic final ResourceKey<Structure>BuiltinStructures.WOODLAND_MANSIONstatic final ResourceKey<StructureSet>BuiltinStructureSets.WOODLAND_MANSIONSMethods in net.minecraft.world.level.levelgen.structure that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<Structure>private static ResourceKey<StructureSet>Methods in net.minecraft.world.level.levelgen.structure with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic LegacyStructureDataHandlerLegacyStructureDataHandler.getLegacyStructureHandler(ResourceKey<Level> p_71332_, DimensionDataStorage p_71333_) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type ResourceKeyModifierConstructorDescriptionStructureCheck(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 ResourceKey in net.minecraft.world.level.levelgen.structure.pools
Methods in net.minecraft.world.level.levelgen.structure.pools that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<StructureTemplatePool>JigsawPlacement.Placer.readPoolName(StructureTemplate.StructureBlockInfo p_256491_) -
Uses of ResourceKey in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps declared as ResourceKeyMethods in net.minecraft.world.level.saveddata.maps with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic MapItemSavedDataMapItemSavedData.createForClient(byte p_164777_, boolean p_164778_, ResourceKey<Level> p_164779_) static MapItemSavedDataMapItemSavedData.createFresh(double p_164781_, double p_164782_, byte p_164783_, boolean p_164784_, boolean p_164785_, ResourceKey<Level> p_164786_) Constructors in net.minecraft.world.level.saveddata.maps with parameters of type ResourceKeyModifierConstructorDescriptionprivateMapItemSavedData(int p_164768_, int p_164769_, byte p_164770_, boolean p_164771_, boolean p_164772_, boolean p_164773_, ResourceKey<Level> p_164774_) -
Uses of ResourceKey in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage with parameters of type ResourceKeyModifier and TypeMethodDescriptionLevelStorageSource.LevelStorageAccess.getDimensionPath(ResourceKey<Level> p_197395_) -
Uses of ResourceKey in net.minecraft.world.level.storage.loot.functions
Methods in net.minecraft.world.level.storage.loot.functions with parameters of type ResourceKeyModifier and TypeMethodDescriptionSetBannerPatternFunction.Builder.addPattern(ResourceKey<BannerPattern> p_230996_, DyeColor p_230997_) -
Uses of ResourceKey in net.minecraftforge.client
Methods in net.minecraftforge.client that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionClientCommandSourceStack.levels()Returns a set ofResourceKeyfor levels from the client side. -
Uses of ResourceKey in net.minecraftforge.common
Fields in net.minecraftforge.common declared as ResourceKeyFields in net.minecraftforge.common with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final List<ResourceKey<Biome>>BiomeManager.additionalOverworldBiomesprivate static final List<ResourceKey<Biome>>BiomeManager.additionalOverworldBiomesViewMethods in net.minecraftforge.common that return ResourceKeyMethods in net.minecraftforge.common that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic List<ResourceKey<Biome>>BiomeManager.getAdditionalOverworldBiomes()Methods in net.minecraftforge.common with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic voidBiomeManager.addAdditionalOverworldBiomes(ResourceKey<Biome> biome) Add biomes that you add to the overworld without usingBiomeManager.addBiome(BiomeType, BiomeEntry)static booleanForgeHooks.onTravelToDimension(Entity entity, ResourceKey<Level> dimension) Constructors in net.minecraftforge.common with parameters of type ResourceKey -
Uses of ResourceKey in net.minecraftforge.common.crafting.conditions
Fields in net.minecraftforge.common.crafting.conditions with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate Map<ResourceKey<?>,Map<ResourceLocation, Collection<Holder<?>>>> ConditionContext.loadedTagsMethods in net.minecraftforge.common.crafting.conditions with parameters of type ResourceKeyModifier 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 ResourceKey in net.minecraftforge.common.data
Methods in net.minecraftforge.common.data with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidForgeBiomeTagsProvider.tag(ResourceKey<Biome> biome, TagKey<Biome>... tags) -
Uses of ResourceKey in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return ResourceKeyModifier and TypeMethodDescriptionMethods in net.minecraftforge.common.extensions with parameters of type ResourceKeyModifier and TypeMethodDescriptiondefault TagsProvider.TagAppender<T>IForgeTagAppender.remove(ResourceKey<T> resourceKey) Adds a resource key to the tag json's remove list.default TagsProvider.TagAppender<T>IForgeTagAppender.remove(ResourceKey<T> firstResourceKey, ResourceKey<T>... resourceKeys) Adds multiple resource keys to the tag json's remove list. -
Uses of ResourceKey in net.minecraftforge.common.util
Fields in net.minecraftforge.common.util declared as ResourceKeyMethods in net.minecraftforge.common.util with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic BlockSnapshotBlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor world, BlockPos pos) static BlockSnapshotBlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor world, BlockPos pos, int flag) Constructors in net.minecraftforge.common.util with parameters of type ResourceKeyModifierConstructorDescriptionprivateBlockSnapshot(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, BlockState state, @Nullable CompoundTag nbt, int flags) -
Uses of ResourceKey in net.minecraftforge.debug
Fields in net.minecraftforge.debug declared as ResourceKeyModifier and TypeFieldDescriptionprivate static final ResourceKey<LevelStem>DataGeneratorTest.TEST_LEVEL_STEMprivate static final ResourceKey<NoiseGeneratorSettings>DataGeneratorTest.TEST_SETTINGS -
Uses of ResourceKey in net.minecraftforge.debug.misc
Fields in net.minecraftforge.debug.misc declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<DataPackRegistriesTest.Syncable>>DataPackRegistriesTest.Syncable.REGISTRY_KEYstatic final ResourceKey<Registry<DataPackRegistriesTest.Unsyncable>>DataPackRegistriesTest.Unsyncable.REGISTRY_KEY -
Uses of ResourceKey in net.minecraftforge.debug.world
Fields in net.minecraftforge.debug.world declared as ResourceKeyModifier and TypeFieldDescriptionprivate static final ResourceKey<BiomeModifier>BiomeModifierTest.ADD_BASALT_MODIFIERprivate static final ResourceKey<BiomeModifier>BiomeModifierTest.ADD_MAGMA_CUBES_MODIFIERprivate static final ResourceKey<PlacedFeature>BiomeModifierTest.LARGE_BASALT_COLUMNSprivate static final ResourceKey<BiomeModifier>BiomeModifierTest.MODIFY_BADLANDS_MODIFIERprivate static final ResourceKey<BiomeModifier>BiomeModifierTest.REMOVE_FOREST_SKELETONS_MODIFIERprivate static final ResourceKey<BiomeModifier>BiomeModifierTest.REMOVE_FOREST_TREES_MODIFIER -
Uses of ResourceKey in net.minecraftforge.event
Methods in net.minecraftforge.event with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic voidForgeEventFactory.firePlayerChangedDimensionEvent(Player player, ResourceKey<Level> fromDim, ResourceKey<Level> toDim) static booleanForgeEventFactory.onPlayerSpawnSet(Player player, ResourceKey<Level> levelKey, BlockPos pos, boolean forced) -
Uses of ResourceKey in net.minecraftforge.event.entity
Fields in net.minecraftforge.event.entity declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level>EntityTravelToDimensionEvent.dimensionMethods in net.minecraftforge.event.entity that return ResourceKeyConstructors in net.minecraftforge.event.entity with parameters of type ResourceKeyModifierConstructorDescriptionEntityTravelToDimensionEvent(Entity entity, ResourceKey<Level> dimension) -
Uses of ResourceKey in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level>PlayerEvent.PlayerChangedDimensionEvent.fromDimprivate final ResourceKey<Level>PlayerSetSpawnEvent.spawnLevelprivate final ResourceKey<Level>PlayerEvent.PlayerChangedDimensionEvent.toDimMethods in net.minecraftforge.event.entity.player that return ResourceKeyModifier and TypeMethodDescriptionPlayerEvent.PlayerChangedDimensionEvent.getFrom()PlayerSetSpawnEvent.getSpawnLevel()PlayerEvent.PlayerChangedDimensionEvent.getTo()Constructors in net.minecraftforge.event.entity.player with parameters of type ResourceKeyModifierConstructorDescriptionPlayerChangedDimensionEvent(Player player, ResourceKey<Level> fromDim, ResourceKey<Level> toDim) PlayerSetSpawnEvent(Player player, ResourceKey<Level> spawnLevel, @Nullable BlockPos newSpawn, boolean forced) -
Uses of ResourceKey in net.minecraftforge.event.level
Methods in net.minecraftforge.event.level with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidSaplingGrowTreeEvent.setFeature(ResourceKey<ConfiguredFeature<?, ?>> featureKey) -
Uses of ResourceKey in net.minecraftforge.network
Fields in net.minecraftforge.network declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level>PacketDistributor.TargetPoint.dimFields in net.minecraftforge.network with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final List<ResourceKey<? extends Registry<?>>>HandshakeMessages.S2CModList.dataPackRegistriesstatic final PacketDistributor<ResourceKey<Level>>PacketDistributor.DIMENSIONSend to everyone in the dimension specified in the Supplier
PacketDistributor.with(Supplier)DimensionTypeMethods in net.minecraftforge.network that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionList<ResourceKey<? extends Registry<?>>>HandshakeMessages.S2CModList.getCustomDataPackRegistries()Methods in net.minecraftforge.network with parameters of type ResourceKeyModifier and TypeMethodDescriptionPacketDistributor.TargetPoint.p(double x, double y, double z, double r2, ResourceKey<Level> dim) Helper to build a TargetPoint without excluded EntityMethod parameters in net.minecraftforge.network with type arguments of type ResourceKeyModifier and TypeMethodDescriptionPacketDistributor.playerListDimConsumer(Supplier<ResourceKey<Level>> dimensionTypeSupplier) Constructors in net.minecraftforge.network with parameters of type ResourceKeyModifierConstructorDescriptionTargetPoint(double x, double y, double z, double r2, ResourceKey<Level> dim) A target point without excluded entityTargetPoint(ServerPlayer excluded, double x, double y, double z, double r2, ResourceKey<Level> dim) A target point with excluded entity -
Uses of ResourceKey in net.minecraftforge.registries
Fields in net.minecraftforge.registries declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<Activity>>ForgeRegistries.Keys.ACTIVITIESstatic final ResourceKey<Registry<Attribute>>ForgeRegistries.Keys.ATTRIBUTESstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeModifier>>>ForgeRegistries.Keys.BIOME_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<BiomeModifier>>ForgeRegistries.Keys.BIOME_MODIFIERSstatic final ResourceKey<Registry<Biome>>ForgeRegistries.Keys.BIOMESstatic final ResourceKey<Registry<BlockEntityType<?>>>ForgeRegistries.Keys.BLOCK_ENTITY_TYPESstatic final ResourceKey<Registry<BlockStateProviderType<?>>>ForgeRegistries.Keys.BLOCK_STATE_PROVIDER_TYPESstatic final ResourceKey<Registry<Block>>ForgeRegistries.Keys.BLOCKSstatic final ResourceKey<Registry<ChunkStatus>>ForgeRegistries.Keys.CHUNK_STATUSstatic final ResourceKey<Registry<ArgumentTypeInfo<?,?>>> ForgeRegistries.Keys.COMMAND_ARGUMENT_TYPESprivate final ResourceKey<V>ForgeRegistry.defaultResourceKeystatic final ResourceKey<Registry<Enchantment>>ForgeRegistries.Keys.ENCHANTMENTSstatic final ResourceKey<Registry<EntityDataSerializer<?>>>ForgeRegistries.Keys.ENTITY_DATA_SERIALIZERSstatic final ResourceKey<Registry<EntityType<?>>>ForgeRegistries.Keys.ENTITY_TYPESstatic final ResourceKey<Registry<Feature<?>>>ForgeRegistries.Keys.FEATURESstatic final ResourceKey<Registry<FluidType>>ForgeRegistries.Keys.FLUID_TYPESstatic final ResourceKey<Registry<Fluid>>ForgeRegistries.Keys.FLUIDSstatic final ResourceKey<Registry<FoliagePlacerType<?>>>ForgeRegistries.Keys.FOLIAGE_PLACER_TYPESstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends IGlobalLootModifier>>>ForgeRegistries.Keys.GLOBAL_LOOT_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<HolderSetType>>ForgeRegistries.Keys.HOLDER_SET_TYPESstatic final ResourceKey<Registry<Item>>ForgeRegistries.Keys.ITEMSprivate final ResourceKey<Registry<V>>ForgeRegistry.keyprivate final ResourceKey<V>ForgeRegistry.OverrideOwner.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<?>>MissingMappingsEvent.keyprivate @Nullable ResourceKey<T>RegistryObject.keystatic final ResourceKey<Registry<MemoryModuleType<?>>>ForgeRegistries.Keys.MEMORY_MODULE_TYPESstatic final ResourceKey<Registry<MenuType<?>>>ForgeRegistries.Keys.MENU_TYPESstatic final ResourceKey<Registry<MobEffect>>ForgeRegistries.Keys.MOB_EFFECTSstatic final ResourceKey<Registry<PaintingVariant>>ForgeRegistries.Keys.PAINTING_VARIANTSstatic final ResourceKey<Registry<ParticleType<?>>>ForgeRegistries.Keys.PARTICLE_TYPESstatic final ResourceKey<Registry<PoiType>>ForgeRegistries.Keys.POI_TYPESstatic final ResourceKey<Registry<Potion>>ForgeRegistries.Keys.POTIONSstatic final ResourceKey<Registry<RecipeSerializer<?>>>ForgeRegistries.Keys.RECIPE_SERIALIZERSstatic final ResourceKey<Registry<RecipeType<?>>>ForgeRegistries.Keys.RECIPE_TYPESprivate final ResourceKey<? extends Registry<V>>DeferredRegister.RegistryHolder.registryKeyprivate final ResourceKey<? extends Registry<T>>DeferredRegister.registryKeyprivate final @NotNull ResourceKey<? extends Registry<?>>RegisterEvent.registryKeystatic final ResourceKey<Registry<Schedule>>ForgeRegistries.Keys.SCHEDULESstatic final ResourceKey<Registry<SensorType<?>>>ForgeRegistries.Keys.SENSOR_TYPESstatic final ResourceKey<Registry<SoundEvent>>ForgeRegistries.Keys.SOUND_EVENTSstatic final ResourceKey<Registry<StatType<?>>>ForgeRegistries.Keys.STAT_TYPESstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends StructureModifier>>>ForgeRegistries.Keys.STRUCTURE_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<StructureModifier>>ForgeRegistries.Keys.STRUCTURE_MODIFIERSstatic final ResourceKey<Registry<TreeDecoratorType<?>>>ForgeRegistries.Keys.TREE_DECORATOR_TYPESstatic final ResourceKey<Registry<VillagerProfession>>ForgeRegistries.Keys.VILLAGER_PROFESSIONSstatic final ResourceKey<Registry<WorldCarver<?>>>ForgeRegistries.Keys.WORLD_CARVERSFields in net.minecraftforge.registries with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final com.google.common.collect.BiMap<ResourceKey<V>,V> ForgeRegistry.keysprivate static final Map<ResourceKey<? extends Registry<?>>,RegistrySynchronization.NetworkedRegistryData<?>> DataPackRegistriesHooks.NETWORKABLE_REGISTRIESprivate static final Set<ResourceKey<? extends Registry<?>>>DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIESprivate static final Set<ResourceKey<? extends Registry<?>>>DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIES_VIEWMethods in net.minecraftforge.registries that return ResourceKeyModifier and TypeMethodDescription@Nullable ResourceKey<V>ForgeRegistry.getKey(int id) ResourceKey<? extends Registry<?>>MissingMappingsEvent.getKey()@Nullable ResourceKey<T>RegistryObject.getKey()Returns the resource key that points to the registry and name of this registry object.ResourceKey<? extends Registry<T>>DeferredRegister.getRegistryKey()ForgeRegistry.getRegistryKey()IForgeRegistry.getRegistryKey()@NotNull ResourceKey<? extends Registry<?>>RegisterEvent.getRegistryKey()private static <T> ResourceKey<Registry<T>>ForgeRegistry.OverrideOwner.key()Returns the value of thekeyrecord component.Methods in net.minecraftforge.registries that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionSet<Map.Entry<ResourceKey<T>,T>> NamespacedWrapper.entrySet()@NotNull Set<Map.Entry<ResourceKey<V>,V>> ForgeRegistry.getEntries()@NotNull Set<Map.Entry<ResourceKey<V>,V>> IForgeRegistry.getEntries()@NotNull Optional<ResourceKey<V>>ForgeRegistry.getResourceKey(V value) @NotNull Optional<ResourceKey<V>>IForgeRegistry.getResourceKey(V value) NamespacedWrapper.getResourceKey(T p_122755_) (package private) @NotNull Set<ResourceKey<V>>ForgeRegistry.getResourceKeys()static Set<ResourceKey<? extends Registry<?>>>DataPackRegistriesHooks.getSyncedCustomRegistries()Returns An unmodifiable view of the set of synced non-vanilla datapack registry IDs.static Map<ResourceKey<? extends Registry<?>>,RegistrySynchronization.NetworkedRegistryData<?>> DataPackRegistriesHooks.grabNetworkableRegistries(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistrySynchronization.NetworkedRegistryData<?>> builder) Set<ResourceKey<T>>NamespacedWrapper.registryKeySet()Methods in net.minecraftforge.registries with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate Holder.Reference<V>ForgeRegistry.bindDelegate(ResourceKey<V> rkey, V value) booleanNamespacedWrapper.containsKey(ResourceKey<T> key) static <B> DeferredRegister<B>DeferredRegister.create(ResourceKey<? extends Registry<B>> key, String modid) DeferredRegister factory for custom forge registries orvanilla registriesto lookup based on the provided registry key.static <T,U extends T>
RegistryObject<U>RegistryObject.create(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Factory for aRegistryObjectthat stores the value of an object from a registry once it is ready based on a lookup of the provided registry key.static <B> DeferredRegister<B>DeferredRegister.createOptional(ResourceKey<? extends Registry<B>> key, String modid) DeferredRegister factory for the optional existence of custom forge registries orvanilla registriesto lookup based on the provided registry key.static <T,U extends T>
RegistryObject<U>RegistryObject.createOptional(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Factory for aRegistryObjectthat optionally stores the value of an object from a registry once it is ready if the registry exists based on a lookup of the provided registry key.<T> voidDataPackRegistryEvent.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> voidDataPackRegistryEvent.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.NamespacedWrapper.get(@Nullable ResourceKey<T> name) <T> List<MissingMappingsEvent.Mapping<T>>MissingMappingsEvent.getAllMappings(ResourceKey<? extends Registry<T>> registryKey) @NotNull Optional<Holder.Reference<V>>ForgeRegistry.getDelegate(ResourceKey<V> rkey) @NotNull Optional<Holder.Reference<V>>IForgeRegistry.getDelegate(ResourceKey<V> rkey) ForgeRegistry.getDelegateOrThrow(ResourceKey<V> rkey) IForgeRegistry.getDelegateOrThrow(ResourceKey<V> rkey) ForgeRegistry.getHolder(ResourceKey<V> key) IForgeRegistry.getHolder(ResourceKey<V> key) This method exists purely as a stopgap for vanilla compatibility.NamespacedWrapper.getHolder(ResourceKey<T> key) private Holder.Reference<T>NamespacedWrapper.getHolder(ResourceKey<T> key, T value) <T> List<MissingMappingsEvent.Mapping<T>>MissingMappingsEvent.getMappings(ResourceKey<? extends Registry<T>> registryKey, String namespace) (package private) Holder.Reference<T>NamespacedWrapper.getOrCreateHolderOrThrow(ResourceKey<T> key) <V> ForgeRegistry<V>RegistryManager.getRegistry(ResourceKey<? extends Registry<V>> key) static <T> MappedRegistry<T>GameData.getWrapper(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) static <T> MappedRegistry<T>GameData.getWrapper(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, String defKey) private static <T> RegistryBuilder<T>GameData.makeRegistry(ResourceKey<? extends Registry<T>> key) private static <T> RegistryBuilder<T>GameData.makeRegistry(ResourceKey<? extends Registry<T>> key, int min, int max) private static <T> RegistryBuilder<T>GameData.makeRegistry(ResourceKey<? extends Registry<T>> key, String _default) voidGameData.BlockCallbacks.onAdd(IForgeRegistryInternal<Block> owner, RegistryManager stage, int id, ResourceKey<Block> key, Block block, @Nullable Block oldBlock) voidGameData.ItemCallbacks.onAdd(IForgeRegistryInternal<Item> owner, RegistryManager stage, int id, ResourceKey<Item> key, Item item, @Nullable Item oldItem) voidGameData.PointOfInterestTypeCallbacks.onAdd(IForgeRegistryInternal<PoiType> owner, RegistryManager stage, int id, ResourceKey<PoiType> key, PoiType obj, @Nullable PoiType oldObj) voidIForgeRegistry.AddCallback.onAdd(IForgeRegistryInternal<V> owner, RegistryManager stage, int id, ResourceKey<V> key, V obj, V oldObj) voidNamespacedDefaultedWrapper.Factory.onAdd(IForgeRegistryInternal<V> owner, RegistryManager stage, int id, ResourceKey<V> key, V value, V oldValue) voidNamespacedWrapper.Factory.onAdd(IForgeRegistryInternal<V> owner, RegistryManager stage, int id, ResourceKey<V> key, V value, V oldValue) (package private) Holder.Reference<T>NamespacedDefaultedWrapper.onAdded(RegistryManager stage, int id, ResourceKey<T> key, T newValue, T oldValue) (package private) Holder.Reference<T>NamespacedWrapper.onAdded(RegistryManager stage, int id, ResourceKey<T> key, T newValue, T oldValue) NamespacedWrapper.register(ResourceKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle) <T> voidRegisterEvent.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> voidRegisterEvent.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.default voidRegisterEvent.RegisterHelper.register(ResourceKey<T> key, T value) Registers the given value with the given name to the registry.NamespacedWrapper.registerMapping(int id, ResourceKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle) (package private) voidNamespacedWrapper.validateWrite(ResourceKey<T> key) Method parameters in net.minecraftforge.registries with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic Map<ResourceKey<? extends Registry<?>>,RegistrySynchronization.NetworkedRegistryData<?>> DataPackRegistriesHooks.grabNetworkableRegistries(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistrySynchronization.NetworkedRegistryData<?>> builder) Constructors in net.minecraftforge.registries with parameters of type ResourceKeyModifierConstructorDescriptionprivateDeferredRegister(ResourceKey<? extends Registry<T>> registryKey, String modid, boolean optionalRegistry) MissingMappingsEvent(ResourceKey<? extends Registry<?>> key, IForgeRegistry<?> registry, Collection<MissingMappingsEvent.Mapping<?>> missed) privateOverrideOwner(String owner, ResourceKey<V> key) Creates an instance of aOverrideOwnerrecord class.(package private)RegisterEvent(@NotNull ResourceKey<? extends Registry<?>> registryKey, @Nullable ForgeRegistry<?> forgeRegistry, @Nullable Registry<?> vanillaRegistry) privateRegistryHolder(ResourceKey<? extends Registry<V>> registryKey) -
Uses of ResourceKey in net.minecraftforge.registries.holdersets
Methods in net.minecraftforge.registries.holdersets with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>AndHolderSet.codec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>AnyHolderSet.codec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>NotHolderSet.codec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>OrHolderSet.codec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.Codec<? extends ICustomHolderSet<T>>HolderSetType.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) -
Uses of ResourceKey in net.minecraftforge.server.command
Fields in net.minecraftforge.server.command declared as ResourceKeyModifier and TypeFieldDescriptionprivate static final ResourceKey<Registry<Registry<?>>>TagsCommand.ROOT_REGISTRY_KEYMethods in net.minecraftforge.server.command that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static <T> Optional<ResourceKey<T>>TagsCommand.getResourceKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name, ResourceKey<Registry<T>> registryKey) Methods in net.minecraftforge.server.command with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static intEntityCommand.EntityListCommand.execute(CommandSourceStack sender, String filter, ResourceKey<Level> dim) private static <T> Optional<ResourceKey<T>>TagsCommand.getResourceKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name, ResourceKey<Registry<T>> registryKey)