Uses of Class
net.minecraft.resources.ResourceKey
Packages that use ResourceKey
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Classes for NeoForge's own data generation.
-
Uses of ResourceKey in com.mojang.realmsclient.util
Constructors in com.mojang.realmsclient.util with parameters of type ResourceKey -
Uses of ResourceKey in net.minecraft.advancements
Fields in net.minecraft.advancements with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder<ResourceKey<LootTable>> AdvancementRewards.Builder.lootprivate final List<ResourceKey<LootTable>> AdvancementRewards.lootThe field for thelootrecord component.Methods in net.minecraft.advancements that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionAdvancementRewards.loot()Returns the value of thelootrecord component.Methods in net.minecraft.advancements with parameters of type ResourceKeyModifier and TypeMethodDescriptionAdvancementRewards.Builder.addLootTable(ResourceKey<LootTable> lootTable) static AdvancementRewards.BuilderAdvancementRewards.Builder.loot(ResourceKey<LootTable> lootTable) Constructor parameters in net.minecraft.advancements with type arguments of type ResourceKeyModifierConstructorDescriptionAdvancementRewards(int experience, List<ResourceKey<LootTable>> loot, List<ResourceLocation> recipes, Optional<CacheableFunction> function) Creates an instance of aAdvancementRewardsrecord class. -
Uses of ResourceKey in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootTable> LootTableTrigger.TriggerInstance.lootTableThe field for thelootTablerecord component.Fields in net.minecraft.advancements.critereon with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate Optional<ResourceKey<Level>> LocationPredicate.Builder.dimensionprivate final Optional<ResourceKey<Level>> LocationPredicate.dimensionThe field for thedimensionrecord component.private final Optional<ResourceKey<Level>> ChangeDimensionTrigger.TriggerInstance.fromThe field for thefromrecord component.private final Optional<ResourceKey<Level>> ChangeDimensionTrigger.TriggerInstance.toThe field for thetorecord component.Methods in net.minecraft.advancements.critereon that return ResourceKeyModifier and TypeMethodDescriptionLootTableTrigger.TriggerInstance.lootTable()Returns the value of thelootTablerecord component.Methods in net.minecraft.advancements.critereon that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionLocationPredicate.dimension()Returns the value of thedimensionrecord component.ChangeDimensionTrigger.TriggerInstance.from()Returns the value of thefromrecord component.ChangeDimensionTrigger.TriggerInstance.to()Returns the value of thetorecord component.Methods in net.minecraft.advancements.critereon with parameters of type ResourceKeyModifier and TypeMethodDescriptionChangeDimensionTrigger.TriggerInstance.changedDimension(ResourceKey<Level> from, ResourceKey<Level> to) ChangeDimensionTrigger.TriggerInstance.changedDimensionFrom(ResourceKey<Level> from) ChangeDimensionTrigger.TriggerInstance.changedDimensionTo(ResourceKey<Level> to) static <T> com.mojang.serialization.Codec<TagPredicate<T>> TagPredicate.codec(ResourceKey<? extends Registry<T>> registryKey) static <V> EntitySubPredicates.EntityHolderVariantPredicateType<V> EntitySubPredicates.EntityHolderVariantPredicateType.create(ResourceKey<? extends Registry<V>> registryKey, Function<Entity, Optional<Holder<V>>> getter) static LocationPredicate.BuilderLocationPredicate.Builder.inDimension(ResourceKey<Level> dimension) LootTableTrigger.TriggerInstance.lootTableUsed(ResourceKey<LootTable> lootTable) booleanChangeDimensionTrigger.TriggerInstance.matches(ResourceKey<Level> fromLevel, ResourceKey<Level> toLevel) booleanLootTableTrigger.TriggerInstance.matches(ResourceKey<LootTable> lootTable) LocationPredicate.Builder.setDimension(ResourceKey<Level> dimension) voidChangeDimensionTrigger.trigger(ServerPlayer player, ResourceKey<Level> fromLevel, ResourceKey<Level> toLevel) voidLootTableTrigger.trigger(ServerPlayer player, ResourceKey<LootTable> lootTable) Constructors in net.minecraft.advancements.critereon with parameters of type ResourceKeyModifierConstructorDescriptionEntityHolderVariantPredicateType(ResourceKey<? extends Registry<V>> registryKey, Function<Entity, Optional<Holder<V>>> getter) TriggerInstance(Optional<ContextAwarePredicate> player, ResourceKey<LootTable> lootTable) Creates an instance of aTriggerInstancerecord class. -
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 ToIntFunction<ResourceKey<Level>> OptimizeWorldScreen.DIMENSION_COLORSstatic final Map<Optional<ResourceKey<WorldPreset>>, PresetEditor> PresetEditor.EDITORSDeprecated.Method parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static Optional<Holder<WorldPreset>> WorldCreationUiState.findPreset(WorldCreationContext context, Optional<ResourceKey<WorldPreset>> preset) Constructor parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type ResourceKeyModifierConstructorDescriptionprivateCreateWorldScreen(Minecraft minecraft, Screen lastScreen, WorldCreationContext settings, Optional<ResourceKey<WorldPreset>> preset, OptionalLong seed) WorldCreationUiState(Path savesFolder, WorldCreationContext settings, Optional<ResourceKey<WorldPreset>> preset, OptionalLong seed) -
Uses of ResourceKey in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> RegistryDataCollector.ContentsCollector.elementsprivate Set<ResourceKey<Level>> ClientPacketListener.levelsprivate final Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> TagCollector.tagsMethods 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 TypeMethodDescriptionvoidRegistryDataCollector.ContentsCollector.append(ResourceKey<? extends Registry<?>> registryKey, List<RegistrySynchronization.PackedRegistryEntry> entries) voidTagCollector.append(ResourceKey<? extends Registry<?>> registryKey, TagNetworkSerialization.NetworkPayload networkPayload) voidRegistryDataCollector.appendContents(ResourceKey<? extends Registry<?>> registryKey, List<RegistrySynchronization.PackedRegistryEntry> registryEntries) private ReceivingLevelScreen.ReasonClientPacketListener.determineLevelLoadingReason(boolean dying, ResourceKey<Level> spawnDimension, ResourceKey<Level> currentDimension) private voidClientPacketListener.startWaitingForNewLevel(LocalPlayer player, ClientLevel level, ReceivingLevelScreen.Reason reason, ResourceKey<Level> toDimension, ResourceKey<Level> fromDimension) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> ClientSuggestionProvider.suggestRegistryElements(ResourceKey<? extends Registry<?>> resourceKey, SharedSuggestionProvider.ElementSuggestionType registryKey, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.context.CommandContext<?> context) Method parameters in net.minecraft.client.multiplayer with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidRegistryDataCollector.appendTags(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> tags) private voidTagCollector.applyTags(RegistryAccess registryAccess, Predicate<ResourceKey<? extends Registry<?>>> filter) Constructors in net.minecraft.client.multiplayer with parameters of type ResourceKeyModifierConstructorDescriptionClientLevel(ClientPacketListener connection, ClientLevel.ClientLevelData clientLevelData, ResourceKey<Level> dimension, Holder<DimensionType> dimensionType, int viewDistance, int serverSimulationDistance, Supplier<ProfilerFiller> profiler, LevelRenderer levelRenderer, boolean isDebug, long biomeZoomSeed) -
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<DecoratedPotPattern>, Material> Sheets.DECORATED_POT_MATERIALSMethods in net.minecraft.client.renderer with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic MaterialSheets.getDecoratedPotMaterial(ResourceKey<DecoratedPotPattern> key) -
Uses of ResourceKey in net.minecraft.client.renderer.debug
Fields in net.minecraft.client.renderer.debug declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<GameEvent> GameEventListenerRenderer.TrackedGameEvent.gameEventThe field for thegameEventrecord component.Fields in net.minecraft.client.renderer.debug with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<Level>, Map<String, BoundingBox>> StructureRenderer.postMainBoxesprivate final Map<ResourceKey<Level>, Map<String, StructuresDebugPayload.PieceInfo>> StructureRenderer.postPiecesMethods in net.minecraft.client.renderer.debug that return ResourceKeyModifier and TypeMethodDescriptionGameEventListenerRenderer.TrackedGameEvent.gameEvent()Returns the value of thegameEventrecord component.Methods in net.minecraft.client.renderer.debug with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidStructureRenderer.addBoundingBox(BoundingBox boundingBox, List<StructuresDebugPayload.PieceInfo> pieces, ResourceKey<Level> dimension) voidGameEventListenerRenderer.trackGameEvent(ResourceKey<GameEvent> gameEvent, Vec3 position) Constructors in net.minecraft.client.renderer.debug with parameters of type ResourceKeyModifierConstructorDescription(package private)TrackedGameEvent(long timeStamp, ResourceKey<GameEvent> gameEvent, Vec3 position) Creates an instance of aTrackedGameEventrecord class. -
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 TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions> CommandSourceStack.suggestRegistryElements(ResourceKey<? extends Registry<?>> resourceKey, SharedSuggestionProvider.ElementSuggestionType registryKey, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.context.CommandContext<?> context) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestRegistryElements(ResourceKey<? extends Registry<?>> resourceKey, SharedSuggestionProvider.ElementSuggestionType registryKey, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.context.CommandContext<?> context) -
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> context, String argument, ResourceKey<Registry<T>> registryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType exception) ResourceOrTagKeyArgument.ResourceResult.key()Returns the value of thekeyrecord component.ResourceKeyArgument.parse(com.mojang.brigadier.StringReader reader) 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>> registryKey) <E> Optional<ResourceOrTagArgument.Result<E>> ResourceOrTagArgument.Result.cast(ResourceKey<? extends Registry<E>> registryKey) <E> Optional<ResourceOrTagArgument.Result<E>> ResourceOrTagArgument.TagResult.cast(ResourceKey<? extends Registry<E>> registryKey) ResourceOrTagKeyArgument.ResourceResult.cast(ResourceKey<? extends Registry<E>> registryKey) ResourceOrTagKeyArgument.Result.cast(ResourceKey<? extends Registry<E>> registryKey) ResourceOrTagKeyArgument.TagResult.cast(ResourceKey<? extends Registry<E>> registryKey) private static <T> Registry<T> ResourceKeyArgument.getRegistry(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, ResourceKey<? extends Registry<T>> registryKey) private static <T> ResourceKey<T> ResourceKeyArgument.getRegistryKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument, ResourceKey<Registry<T>> registryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType exception) static <T> Holder.Reference<T> ResourceArgument.getResource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument, ResourceKey<Registry<T>> registryKey) static <T> ResourceOrTagArgument.Result<T> ResourceOrTagArgument.getResourceOrTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument, ResourceKey<Registry<T>> registryKey) static <T> ResourceOrTagKeyArgument.Result<T> ResourceOrTagKeyArgument.getResourceOrTagKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument, ResourceKey<Registry<T>> registryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType dynamicCommandExceptionType) static <T> ResourceKeyArgument<T> ResourceKeyArgument.key(ResourceKey<? extends Registry<T>> registryKey) private static <T> Holder.Reference<T> ResourceKeyArgument.resolveKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument, ResourceKey<Registry<T>> registryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType exception) static <T> ResourceArgument<T> ResourceArgument.resource(CommandBuildContext context, ResourceKey<? extends Registry<T>> registryKey) static <T> ResourceOrTagArgument<T> ResourceOrTagArgument.resourceOrTag(CommandBuildContext context, ResourceKey<? extends Registry<T>> registryKey) static <T> ResourceOrTagKeyArgument<T> ResourceOrTagKeyArgument.resourceOrTagKey(ResourceKey<? extends Registry<T>> registryKey) Constructors in net.minecraft.commands.arguments with parameters of type ResourceKeyModifierConstructorDescriptionResourceArgument(CommandBuildContext context, ResourceKey<? extends Registry<T>> registryKey) ResourceKeyArgument(ResourceKey<? extends Registry<T>> registryKey) protectedResourceOrIdArgument(CommandBuildContext registryLookup, ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> codec) ResourceOrTagArgument(CommandBuildContext context, ResourceKey<? extends Registry<T>> registryKey) ResourceOrTagKeyArgument(ResourceKey<? extends Registry<T>> registryKey) (package private)ResourceResult(ResourceKey<T> key) Creates an instance of aResourceResultrecord class.(package private)Template(ResourceKey<? extends Registry<T>> registryKey) (package private)Template(ResourceKey<? extends Registry<T>> registryKey) (package private)Template(ResourceKey<? extends Registry<T>> registryKey) (package private)Template(ResourceKey<? extends Registry<T>> registryKey) -
Uses of ResourceKey in net.minecraft.core
Fields in net.minecraft.core declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> GlobalPos.dimensionThe field for thedimensionrecord component.private 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<? extends Registry<? extends T>> RegistrySetBuilder.RegistryContents.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<T>> RegistrySetBuilder.RegistryStub.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.byKeyprivate final Map<ResourceKey<? extends Registry<?>>, Cloner<?>> Cloner.Factory.codecs(package private) final Map<ResourceKey<Object>, Holder.Reference<Object>> RegistrySetBuilder.UniversalLookup.holdersstatic final Set<ResourceKey<? extends Registry<?>>> RegistrySynchronization.NETWORKABLE_REGISTRIESprivate final Map<ResourceKey<?>, RegistrySetBuilder.RegisteredValue<?>> RegistrySetBuilder.BuildState.registeredValuesThe field for theregisteredValuesrecord component.private final Map<ResourceKey<T>, RegistrationInfo> MappedRegistry.registrationInfosprivate 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 that return ResourceKeyModifier and TypeMethodDescriptionGlobalPos.dimension()Returns the value of thedimensionrecord component.@Nullable ResourceKey<T> Holder.Reference.getKey()Holder.Reference.key()default ResourceKey<? extends Registry<? extends T>> HolderLookup.RegistryLookup.Delegate.key()ResourceKey<? extends Registry<? extends T>> HolderLookup.RegistryLookup.key()ResourceKey<? extends Registry<T>> MappedRegistry.key()ResourceKey<? extends Registry<T>> Registry.key()ResourceKey<? extends Registry<T>> RegistryAccess.RegistryEntry.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<? extends T>> RegistrySetBuilder.RegistryContents.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<T>> RegistrySetBuilder.RegistryStub.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> accesses) 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 value) Registry.getResourceKey(T value) default Stream<ResourceKey<T>> HolderLookup.listElementIds()RegistrySetBuilder.UniversalLookup.listElementIds()Stream<ResourceKey<? extends Registry<?>>> HolderLookup.Provider.listRegistries()default Stream<ResourceKey<? extends Registry<?>>> RegistryAccess.listRegistries()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>> key, com.mojang.serialization.Lifecycle lifecycle, RegistrySetBuilder.RegistryBootstrap<T> bootstrap) RegistrySetBuilder.add(ResourceKey<? extends Registry<T>> key, RegistrySetBuilder.RegistryBootstrap<T> bootstrap) <T> Cloner.FactoryCloner.Factory.addCodec(ResourceKey<? extends Registry<? extends T>> registryKey, com.mojang.serialization.Codec<T> codec) (package private) voidHolder.Reference.bindKey(ResourceKey<T> key) <T> Cloner<T> Cloner.Factory.cloner(ResourceKey<? extends Registry<? extends T>> registryKey) booleanMappedRegistry.containsKey(ResourceKey<T> key) booleanRegistry.containsKey(ResourceKey<T> key) private <T> HolderLookup.RegistryLookup<T> RegistrySetBuilder.createLazyFullPatchedRegistries(HolderOwner<T> owner, Cloner.Factory clonerFactory, ResourceKey<? extends Registry<? extends T>> registryKey, HolderLookup.Provider registryLookupProvider, HolderLookup.Provider lookupProvider, org.apache.commons.lang3.mutable.MutableObject<HolderLookup.Provider> object) static <T> Holder.Reference<T> Holder.Reference.createStandAlone(HolderOwner<T> owner, ResourceKey<T> key) private static <T> RegistryAccess.RegistryEntry<T> RegistryAccess.RegistryEntry.fromUntyped(ResourceKey<? extends Registry<?>> key, Registry<?> value) HolderGetter.get(ResourceKey<T> resourceKey) default <T> Optional<Holder.Reference<T>> HolderGetter.Provider.get(ResourceKey<? extends Registry<? extends T>> registryKey, ResourceKey<T> key) default Optional<Holder.Reference<T>> HolderLookup.RegistryLookup.Delegate.get(ResourceKey<T> p_255619_) MappedRegistry.get(ResourceKey<T> key) Registry.get(ResourceKey<T> key) RegistrySetBuilder.UniversalLookup.get(ResourceKey<Object> resourceKey) default <A> AHolderLookup.RegistryLookup.Delegate.getData(DataMapType<T, A> attachment, ResourceKey<T> key) default <A> AHolderLookup.RegistryLookup.getData(DataMapType<T, A> attachment, ResourceKey<T> key) MappedRegistry.getHolder(ResourceKey<T> key) Registry.getHolder(ResourceKey<T> key) default Holder.Reference<T> Registry.getHolderOrThrow(ResourceKey<T> key) intMappedRegistry.getId(ResourceKey<T> key) Registry.getOptional(ResourceKey<T> registryKey) (package private) <T> Holder.Reference<T> RegistrySetBuilder.UniversalLookup.getOrCreate(ResourceKey<T> key) (package private) Holder.Reference<T> MappedRegistry.getOrCreateHolderOrThrow(ResourceKey<T> key) default Holder.Reference<T> HolderGetter.getOrThrow(ResourceKey<T> resourceKey) default TRegistry.getOrThrow(ResourceKey<T> key) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> registryKey) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> registryKey, boolean disallowInline) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> elementCodec) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> elementCodec, boolean disallowInline) booleanHolder.Direct.is(ResourceKey<T> p_205725_) booleanHolder.is(ResourceKey<T> resourceKey) booleanHolder.Reference.is(ResourceKey<T> resourceKey) <T> Optional<HolderGetter<T>> HolderGetter.Provider.lookup(ResourceKey<? extends Registry<? extends T>> registryKey) <T> Optional<HolderLookup.RegistryLookup<T>> HolderLookup.Provider.lookup(ResourceKey<? extends Registry<? extends T>> registryKey) default <T> Optional<HolderLookup.RegistryLookup<T>> RegistryAccess.lookup(ResourceKey<? extends Registry<? extends T>> registryKey) (package private) static <T> HolderLookup.RegistryLookup<T> RegistrySetBuilder.lookupFromMap(ResourceKey<? extends Registry<? extends T>> registryKey, com.mojang.serialization.Lifecycle registryLifecycle, HolderOwner<T> p_owner, Map<ResourceKey<T>, Holder.Reference<T>> elements) default <T> HolderGetter<T> HolderGetter.Provider.lookupOrThrow(ResourceKey<? extends Registry<? extends T>> registryKey) default <T> HolderLookup.RegistryLookup<T> HolderLookup.Provider.lookupOrThrow(ResourceKey<? extends Registry<? extends T>> registryKey) static GlobalPosGlobalPos.of(ResourceKey<Level> dimension, BlockPos pos) DefaultedMappedRegistry.register(ResourceKey<T> key, T value, RegistrationInfo registrationInfo) MappedRegistry.register(int id, ResourceKey<T> p_256252_, T p_256591_, RegistrationInfo p_326235_) MappedRegistry.register(ResourceKey<T> key, T value, RegistrationInfo registrationInfo) static <V,T extends V>
TRegistry.register(Registry<V> registry, ResourceKey<V> key, T value) WritableRegistry.register(ResourceKey<T> key, T value, RegistrationInfo registrationInfo) static <T> Holder.Reference<T> Registry.registerForHolder(Registry<T> registry, ResourceKey<T> key, T value) protected voidMappedRegistry.registerIdMapping(ResourceKey<T> key, int id) MappedRegistry.registrationInfo(ResourceKey<T> key) Registry.registrationInfo(ResourceKey<T> key) RegistryAccess.ImmutableRegistryAccess.registry(ResourceKey<? extends Registry<? extends E>> registryKey) Get the registry owned by this registry access by the given key.RegistryAccess.registry(ResourceKey<? extends Registry<? extends E>> registryKey) Get the registry owned by this registry access by the given key.default <E> Registry<E> RegistryAccess.registryOrThrow(ResourceKey<? extends Registry<? extends E>> registryKey) A variant ofRegistryAccess.registry(ResourceKey)that throws if the registry does not exist.private voidMappedRegistry.validateWrite(ResourceKey<T> key) Method parameters in net.minecraft.core with type arguments of type ResourceKeyModifier and TypeMethodDescriptionRegistrySetBuilder.BuildState.create(RegistryAccess registryAccess, Stream<ResourceKey<? extends Registry<?>>> registries) private HolderLookup.ProviderRegistrySetBuilder.createLazyFullPatchedRegistries(RegistryAccess registry, HolderLookup.Provider lookupProvider, Cloner.Factory clonerFactory, Map<ResourceKey<? extends Registry<?>>, RegistrySetBuilder.RegistryContents<?>> registries, HolderLookup.Provider registryLookupProvider) private static <T,R extends Registry<? extends T>>
RegistryAccess.RegistryEntry<T> RegistryAccess.RegistryEntry.fromMapEntry(Map.Entry<? extends ResourceKey<? extends Registry<?>>, R> mapEntry) booleanHolder.Direct.is(Predicate<ResourceKey<T>> p_205723_) booleanHolder.is(Predicate<ResourceKey<T>> predicate) booleanHolder.Reference.is(Predicate<ResourceKey<T>> predicate) (package private) static <T> HolderLookup.RegistryLookup<T> RegistrySetBuilder.lookupFromMap(ResourceKey<? extends Registry<? extends T>> registryKey, com.mojang.serialization.Lifecycle registryLifecycle, HolderOwner<T> p_owner, Map<ResourceKey<T>, Holder.Reference<T>> elements) static voidRegistrySynchronization.packRegistries(com.mojang.serialization.DynamicOps<Tag> ops, RegistryAccess registryAccess, Set<KnownPack> packs, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> packetSender) private static <T> voidRegistrySynchronization.packRegistry(com.mojang.serialization.DynamicOps<Tag> ops, RegistryDataLoader.RegistryData<T> registryData, RegistryAccess registryAccess, Set<KnownPack> packs, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> packetSender) Constructors in net.minecraft.core with parameters of type ResourceKeyModifierConstructorDescriptionDefaultedMappedRegistry(String defaultKey, ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle registryLifecycle, boolean hasIntrusiveHolders) GlobalPos(ResourceKey<Level> dimension, BlockPos pos) Creates an instance of aGlobalPosrecord class.protectedLazyHolder(HolderOwner<T> owner, ResourceKey<T> key) MappedRegistry(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle registryLifecycle) MappedRegistry(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle registryLifecycle, boolean hasIntrusiveHolders) protectedReference(Holder.Reference.Type type, HolderOwner<T> owner, ResourceKey<T> key, T value) (package private)RegistryContents(ResourceKey<? extends Registry<? extends T>> key, com.mojang.serialization.Lifecycle lifecycle, Map<ResourceKey<T>, RegistrySetBuilder.ValueAndHolder<T>> values) Creates an instance of aRegistryContentsrecord class.RegistryEntry(ResourceKey<? extends Registry<T>> key, Registry<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<?>> registries) (package private)RegistryContents(ResourceKey<? extends Registry<? extends T>> key, com.mojang.serialization.Lifecycle lifecycle, Map<ResourceKey<T>, RegistrySetBuilder.ValueAndHolder<T>> values) Creates an instance of 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<Advancement>> Registries.ADVANCEMENTstatic final ResourceKey<Registry<ArmorMaterial>> Registries.ARMOR_MATERIALstatic 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.MapCodec<? 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<com.mojang.serialization.MapCodec<? extends Block>>> Registries.BLOCK_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.MapCodec<? 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<CreativeModeTab>> Registries.CREATIVE_MODE_TABstatic final ResourceKey<Registry<ResourceLocation>> Registries.CUSTOM_STATstatic final ResourceKey<Registry<DamageType>> Registries.DAMAGE_TYPEstatic final ResourceKey<Registry<DataComponentType<?>>> Registries.DATA_COMPONENT_TYPEstatic final ResourceKey<Registry<DecoratedPotPattern>> Registries.DECORATED_POT_PATTERNstatic final ResourceKey<Registry<DensityFunction>> Registries.DENSITY_FUNCTIONstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? 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<DataComponentType<?>>> Registries.ENCHANTMENT_EFFECT_COMPONENT_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>>> Registries.ENCHANTMENT_ENTITY_EFFECT_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends LevelBasedValue>>> Registries.ENCHANTMENT_LEVEL_BASED_VALUE_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>>> Registries.ENCHANTMENT_LOCATION_BASED_EFFECT_TYPEstatic final ResourceKey<Registry<EnchantmentProvider>> Registries.ENCHANTMENT_PROVIDERstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>>> Registries.ENCHANTMENT_PROVIDER_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>>> Registries.ENCHANTMENT_VALUE_EFFECT_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>>> Registries.ENTITY_SUB_PREDICATE_TYPEstatic 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<LootItemFunction>> Registries.ITEM_MODIFIERstatic final ResourceKey<Registry<ItemSubPredicate.Type<?>>> Registries.ITEM_SUB_PREDICATE_TYPEstatic final ResourceKey<Registry<JukeboxSong>> Registries.JUKEBOX_SONGstatic 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<LootTable>> Registries.LOOT_TABLEstatic final ResourceKey<Registry<MapDecorationType>> Registries.MAP_DECORATION_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource>>> Registries.MATERIAL_CONDITIONstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? 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<MultiNoiseBiomeSourceParameterList>> Registries.MULTI_NOISE_BIOME_SOURCE_PARAMETER_LISTstatic final ResourceKey<Registry<NormalNoise.NoiseParameters>> Registries.NOISEstatic final ResourceKey<Registry<NoiseGeneratorSettings>> Registries.NOISE_SETTINGSstatic final ResourceKey<Registry<NumberFormatType<?>>> Registries.NUMBER_FORMAT_TYPEstatic 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<com.mojang.serialization.MapCodec<? extends PoolAliasBinding>>> Registries.POOL_ALIAS_BINDINGstatic 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<LootItemCondition>> Registries.PREDICATEstatic final ResourceKey<Registry<StructureProcessorList>> Registries.PROCESSOR_LISTstatic final ResourceKey<Registry<Recipe<?>>> Registries.RECIPEstatic 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<RuleBlockEntityModifierType<?>>> Registries.RULE_BLOCK_ENTITY_MODIFIERstatic 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<CriterionTrigger<?>>> Registries.TRIGGER_TYPEstatic final ResourceKey<Registry<TrimMaterial>> Registries.TRIM_MATERIALstatic final ResourceKey<Registry<TrimPattern>> Registries.TRIM_PATTERNstatic 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<WolfVariant>> Registries.WOLF_VARIANTstatic 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 name) static ResourceKey<Level> Registries.levelStemToLevel(ResourceKey<LevelStem> levelStem) static ResourceKey<LevelStem> Registries.levelToLevelStem(ResourceKey<Level> level) Methods in net.minecraft.core.registries with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic StringRegistries.elementsDirPath(ResourceKey<? extends Registry<?>> registryKey) private static <T,R extends WritableRegistry<T>>
RBuiltInRegistries.internalRegister(ResourceKey<? extends Registry<T>> key, R registry, BuiltInRegistries.RegistryBootstrap<T> bootstrap) static ResourceKey<Level> Registries.levelStemToLevel(ResourceKey<LevelStem> levelStem) static ResourceKey<LevelStem> Registries.levelToLevelStem(ResourceKey<Level> level) private static <T> DefaultedRegistry<T> BuiltInRegistries.registerDefaulted(ResourceKey<? extends Registry<T>> key, String defaultKey, BuiltInRegistries.RegistryBootstrap<T> bootstrap) private static <T> DefaultedRegistry<T> BuiltInRegistries.registerDefaultedWithIntrusiveHolders(ResourceKey<? extends Registry<T>> key, String defaultKey, BuiltInRegistries.RegistryBootstrap<T> bootstrap) private static <T> Registry<T> BuiltInRegistries.registerSimple(ResourceKey<? extends Registry<T>> key, BuiltInRegistries.RegistryBootstrap<T> bootstrap) private static <T> Registry<T> BuiltInRegistries.registerSimpleWithIntrusiveHolders(ResourceKey<? extends Registry<T>> key, BuiltInRegistries.RegistryBootstrap<T> bootstrap) static StringRegistries.tagsDirPath(ResourceKey<? extends Registry<?>> registryKey) -
Uses of ResourceKey in net.minecraft.data
Methods in net.minecraft.data with parameters of type ResourceKeyModifier and TypeMethodDescriptionPackOutput.createRegistryElementsPathProvider(ResourceKey<? extends Registry<?>> registryKey) PackOutput.createRegistryTagsPathProvider(ResourceKey<? extends Registry<?>> registryKey) -
Uses of ResourceKey in net.minecraft.data.advancements.packs
Method parameters in net.minecraft.data.advancements.packs with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprotected static Advancement.BuilderVanillaAdventureAdvancements.addBiomes(Advancement.Builder builder, HolderLookup.Provider levelRegistry, List<ResourceKey<Biome>> biomes) -
Uses of ResourceKey in net.minecraft.data.info
Fields in net.minecraft.data.info with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<Climate.ParameterList<ResourceKey<Biome>>> BiomeParametersDumpReport.CODECprivate static final com.mojang.serialization.MapCodec<ResourceKey<Biome>> BiomeParametersDumpReport.ENTRY_CODEC -
Uses of ResourceKey in net.minecraft.data.loot
Fields in net.minecraft.data.loot with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprotected final Map<ResourceKey<LootTable>, LootTable.Builder> BlockLootSubProvider.mapprivate final Map<EntityType<?>, Map<ResourceKey<LootTable>, LootTable.Builder>> EntityLootSubProvider.mapprivate final Set<ResourceKey<LootTable>> LootTableProvider.requiredTablesMethods in net.minecraft.data.loot with parameters of type ResourceKeyModifier and TypeMethodDescriptionprotected voidEntityLootSubProvider.add(EntityType<?> entityType, ResourceKey<LootTable> defaultLootTable, LootTable.Builder builder) protected LootItemCondition.BuilderEntityLootSubProvider.killedByFrogVariant(ResourceKey<FrogVariant> frogVariant) private static ResourceLocationLootTableProvider.sequenceIdForLootTable(ResourceKey<LootTable> lootTable) Method parameters in net.minecraft.data.loot with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidBlockLootSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidEntityLootSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidLootTableSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) Constructor parameters in net.minecraft.data.loot with type arguments of type ResourceKeyModifierConstructorDescriptionprotectedBlockLootSubProvider(Set<Item> explosionResistant, FeatureFlagSet enabledFeatures, Map<ResourceKey<LootTable>, LootTable.Builder> map, HolderLookup.Provider registries) LootTableProvider(PackOutput output, Set<ResourceKey<LootTable>> requiredTables, List<LootTableProvider.SubProviderEntry> subProviders, CompletableFuture<HolderLookup.Provider> registries) -
Uses of ResourceKey in net.minecraft.data.loot.packs
Method parameters in net.minecraft.data.loot.packs with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidTradeRebalanceChestLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_301981_) voidVanillaArchaeologyLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_278066_) voidVanillaChestLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaEquipmentLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaFishingLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_249559_) voidVanillaGiftLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_250831_) voidVanillaPiglinBarterLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_250176_) voidVanillaShearingLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_332018_) voidVanillaChestLoot.spawnerLootTables(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) -
Uses of ResourceKey in net.minecraft.data.registries
Fields in net.minecraft.data.registries with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<?>, List<ICondition>> RegistriesDatapackGenerator.conditionsDeprecated.static final List<? extends ResourceKey<? extends Registry<?>>> VanillaRegistries.DATAPACK_REGISTRY_KEYSConstructor parameters in net.minecraft.data.registries with type arguments of type ResourceKeyModifierConstructorDescriptionRegistriesDatapackGenerator(PackOutput output, CompletableFuture<HolderLookup.Provider> registries, Set<String> modIds, Map<ResourceKey<?>, List<ICondition>> conditions) Deprecated. -
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.keyExtractor(package private) static final List<ResourceKey<GameEvent>> GameEventTagsProvider.VIBRATIONS_EXCEPT_FLAPMethods 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> key) final TagsProvider.TagAppender<T> TagsProvider.TagAppender.add(ResourceKey<T>... keys) protected voidEnchantmentTagsProvider.tooltipOrder(HolderLookup.Provider provider, ResourceKey<Enchantment>... values) Method parameters in net.minecraft.data.tags with type arguments of type ResourceKeyModifier and TypeMethodDescriptionfinal TagsProvider.TagAppender<T> TagsProvider.TagAppender.addAll(List<ResourceKey<T>> keys) Constructors in net.minecraft.data.tags with parameters of type ResourceKeyModifierConstructorDescriptionIntrinsicHolderTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> parentProvider, Function<T, ResourceKey<T>> keyExtractor) Deprecated.IntrinsicHolderTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> parentProvider, Function<T, ResourceKey<T>> keyExtractor, String modId, ExistingFileHelper existingFileHelper) IntrinsicHolderTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, Function<T, ResourceKey<T>> keyExtractor) Deprecated.IntrinsicHolderTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, Function<T, ResourceKey<T>> keyExtractor, String modId, ExistingFileHelper existingFileHelper) protectedTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider) Deprecated.Forge: Use the mod id variantprotectedTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, String modId, ExistingFileHelper existingFileHelper) protectedTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> parentProvider) Deprecated.Forge: Use the mod id variantprotectedTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> parentProvider, String modId, ExistingFileHelper existingFileHelper) Constructor parameters in net.minecraft.data.tags with type arguments of type ResourceKeyModifierConstructorDescriptionIntrinsicHolderTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> parentProvider, Function<T, ResourceKey<T>> keyExtractor) Deprecated.IntrinsicHolderTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> parentProvider, Function<T, ResourceKey<T>> keyExtractor, String modId, ExistingFileHelper existingFileHelper) IntrinsicHolderTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, Function<T, ResourceKey<T>> keyExtractor) Deprecated.IntrinsicHolderTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, Function<T, ResourceKey<T>> keyExtractor, String modId, ExistingFileHelper existingFileHelper) (package private)IntrinsicTagAppender(TagBuilder builder, Function<T, ResourceKey<T>> keyExtractor, 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> TrialChambersStructurePools.CHAMBER_CAP_FALLBACKstatic 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<StructureTemplatePool> TrialChambersStructurePools.HALLWAY_FALLBACKstatic 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<StructureTemplatePool> TrailRuinsStructurePools.STARTstatic final ResourceKey<StructureTemplatePool> TrialChambersStructurePools.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.TRAIL_RUINS_HOUSES_ARCHAEOLOGYstatic final ResourceKey<StructureProcessorList> ProcessorLists.TRAIL_RUINS_ROADS_ARCHAEOLOGYstatic final ResourceKey<StructureProcessorList> ProcessorLists.TRAIL_RUINS_TOWER_TOP_ARCHAEOLOGYstatic final ResourceKey<StructureProcessorList> ProcessorLists.TREASURE_ROOMSstatic final ResourceKey<StructureProcessorList> ProcessorLists.TRIAL_CHAMBERS_COPPER_BULB_DEGRADATIONstatic 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> static ResourceKey<StructureTemplatePool> Methods in net.minecraft.data.worldgen with parameters of type ResourceKeyModifier and TypeMethodDescription<S> HolderGetter<S> BootstrapContext.lookup(ResourceKey<? extends Registry<? extends S>> registryKey) default Holder.Reference<T> BootstrapContext.register(ResourceKey<T> key, T value) BootstrapContext.register(ResourceKey<T> key, T value, com.mojang.serialization.Lifecycle registryLifecycle) private static voidNoiseData.register(BootstrapContext<NormalNoise.NoiseParameters> context, ResourceKey<NormalNoise.NoiseParameters> key, int firstOctave, double amplitude, double... otherAmplitudes) private static voidProcessorLists.register(BootstrapContext<StructureProcessorList> context, ResourceKey<StructureProcessorList> key, List<StructureProcessor> processors) private static voidNoiseData.registerBiomeNoises(BootstrapContext<NormalNoise.NoiseParameters> context, int firstOctave, ResourceKey<NormalNoise.NoiseParameters> temperature, ResourceKey<NormalNoise.NoiseParameters> vegetation, ResourceKey<NormalNoise.NoiseParameters> continentalness, ResourceKey<NormalNoise.NoiseParameters> erosion) default <S> Optional<HolderLookup.RegistryLookup<S>> BootstrapContext.registryLookup(ResourceKey<? extends Registry<? extends S>> registry) private static CappedProcessorProcessorLists.trailsArchyLootProcessor(ResourceKey<LootTable> lootTable, int limit) -
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<?, ?>> TreeFeatures.CHERRYstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.CHERRY_BEES_005static 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_PLATFORMstatic 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_CHERRYstatic 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_MEDIUMstatic 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(BootstrapContext<ConfiguredFeature<?, ?>> context, ResourceKey<ConfiguredFeature<?, ?>> key, F feature, FC config) static voidFeatureUtils.register(BootstrapContext<ConfiguredFeature<?, ?>> context, ResourceKey<ConfiguredFeature<?, ?>> key, Feature<NoneFeatureConfiguration> feature) -
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> TreePlacements.CHERRY_BEES_005static final ResourceKey<PlacedFeature> TreePlacements.CHERRY_CHECKEDstatic 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_PLATFORMstatic 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_CHERRYstatic 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_DIAMOND_MEDIUMstatic 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_CHERRYstatic 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(BootstrapContext<PlacedFeature> context, ResourceKey<PlacedFeature> key, Holder<ConfiguredFeature<?, ?>> configuredFeature, List<PlacementModifier> placements) static voidPlacementUtils.register(BootstrapContext<PlacedFeature> context, ResourceKey<PlacedFeature> key, Holder<ConfiguredFeature<?, ?>> configuredFeature, PlacementModifier... placements) -
Uses of ResourceKey in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework with parameters of type ResourceKey -
Uses of ResourceKey in net.minecraft.network
Methods in net.minecraft.network that return ResourceKeyModifier and TypeMethodDescription<T> ResourceKey<? extends Registry<T>> FriendlyByteBuf.readRegistryKey()<T> ResourceKey<T> FriendlyByteBuf.readResourceKey(ResourceKey<? extends Registry<T>> registryKey) Methods in net.minecraft.network with parameters of type ResourceKeyModifier and TypeMethodDescription<T> ResourceKey<T> FriendlyByteBuf.readResourceKey(ResourceKey<? extends Registry<T>> registryKey) voidFriendlyByteBuf.writeResourceKey(ResourceKey<?> resourceKey) -
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> chatTypeKey, CommandSourceStack source) static ChatType.BoundChatType.bind(ResourceKey<ChatType> chatTypeKey, RegistryAccess registryAccess, Component name) static ChatType.BoundChatType.bind(ResourceKey<ChatType> chatTypeKey, Entity entity) -
Uses of ResourceKey in net.minecraft.network.codec
Methods in net.minecraft.network.codec with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder(ResourceKey<? extends Registry<T>> registryKey, StreamCodec<? super RegistryFriendlyByteBuf, T> codec) static <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holderRegistry(ResourceKey<? extends Registry<T>> registryKey) static <T> StreamCodec<RegistryFriendlyByteBuf, HolderSet<T>> ByteBufCodecs.holderSet(ResourceKey<? extends Registry<T>> registryKey) static <T> StreamCodec<RegistryFriendlyByteBuf, T> ByteBufCodecs.registry(ResourceKey<? extends Registry<T>> registryKey) private static <T,R> StreamCodec <RegistryFriendlyByteBuf, R> ByteBufCodecs.registry(ResourceKey<? extends Registry<T>> registryKey, Function<Registry<T>, IdMap<R>> idGetter) -
Uses of ResourceKey in net.minecraft.network.protocol.common
Fields in net.minecraft.network.protocol.common with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.tagsMethods in net.minecraft.network.protocol.common that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionMap<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.getTags()Constructor parameters in net.minecraft.network.protocol.common with type arguments of type ResourceKeyModifierConstructorDescriptionClientboundUpdateTagsPacket(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> tags) -
Uses of ResourceKey in net.minecraft.network.protocol.common.custom
Fields in net.minecraft.network.protocol.common.custom declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> StructuresDebugPayload.dimensionThe field for thedimensionrecord component.private final ResourceKey<GameEvent> GameEventDebugPayload.gameEventTypeThe field for thegameEventTyperecord component.Methods in net.minecraft.network.protocol.common.custom that return ResourceKeyModifier and TypeMethodDescriptionStructuresDebugPayload.dimension()Returns the value of thedimensionrecord component.GameEventDebugPayload.gameEventType()Returns the value of thegameEventTyperecord component.Constructors in net.minecraft.network.protocol.common.custom with parameters of type ResourceKeyModifierConstructorDescriptionGameEventDebugPayload(ResourceKey<GameEvent> gameEventType, Vec3 pos) Creates an instance of aGameEventDebugPayloadrecord class.StructuresDebugPayload(ResourceKey<Level> dimension, BoundingBox mainBB, List<StructuresDebugPayload.PieceInfo> pieces) Creates an instance of aStructuresDebugPayloadrecord class. -
Uses of ResourceKey in net.minecraft.network.protocol.configuration
Fields in net.minecraft.network.protocol.configuration declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<? extends Registry<?>> ClientboundRegistryDataPacket.registryThe field for theregistryrecord component.Fields in net.minecraft.network.protocol.configuration with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final StreamCodec<io.netty.buffer.ByteBuf, ResourceKey<? extends Registry<?>>> ClientboundRegistryDataPacket.REGISTRY_KEY_STREAM_CODECMethods in net.minecraft.network.protocol.configuration that return ResourceKeyModifier and TypeMethodDescriptionResourceKey<? extends Registry<?>> ClientboundRegistryDataPacket.registry()Returns the value of theregistryrecord component.Constructors in net.minecraft.network.protocol.configuration with parameters of type ResourceKeyModifierConstructorDescriptionClientboundRegistryDataPacket(ResourceKey<? extends Registry<?>> registry, List<RegistrySynchronization.PackedRegistryEntry> entries) Creates an instance of aClientboundRegistryDataPacketrecord class. -
Uses of ResourceKey in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> CommonPlayerSpawnInfo.dimensionThe field for thedimensionrecord component.Fields in net.minecraft.network.protocol.game with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Set<ResourceKey<Level>> ClientboundLoginPacket.levelsThe field for thelevelsrecord component.Methods in net.minecraft.network.protocol.game that return ResourceKeyModifier and TypeMethodDescriptionCommonPlayerSpawnInfo.dimension()Returns the value of thedimensionrecord component.Methods in net.minecraft.network.protocol.game that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionClientboundLoginPacket.levels()Returns the value of thelevelsrecord component.Constructors in net.minecraft.network.protocol.game with parameters of type ResourceKeyModifierConstructorDescriptionCommonPlayerSpawnInfo(Holder<DimensionType> dimensionType, ResourceKey<Level> dimension, long seed, GameType gameType, GameType previousGameType, boolean isDebug, boolean isFlat, Optional<GlobalPos> lastDeathLocation, int portalCooldown) Creates an instance of aCommonPlayerSpawnInforecord class.Constructor parameters in net.minecraft.network.protocol.game with type arguments of type ResourceKeyModifierConstructorDescriptionClientboundLoginPacket(int playerId, boolean hardcore, Set<ResourceKey<Level>> levels, int maxPlayers, int chunkRadius, int simulationDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean doLimitedCrafting, CommonPlayerSpawnInfo commonPlayerSpawnInfo, boolean enforcesSecureChat) Creates an instance of aClientboundLoginPacketrecord class. -
Uses of ResourceKey in net.minecraft.references
Fields in net.minecraft.references declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Block> Blocks.ATTACHED_MELON_STEMstatic final ResourceKey<Block> Blocks.ATTACHED_PUMPKIN_STEMstatic final ResourceKey<Block> Blocks.MELONstatic final ResourceKey<Item> Items.MELON_SEEDSstatic final ResourceKey<Block> Blocks.MELON_STEMstatic final ResourceKey<Block> Blocks.PUMPKINstatic final ResourceKey<Item> Items.PUMPKIN_SEEDSstatic final ResourceKey<Block> Blocks.PUMPKIN_STEMMethods in net.minecraft.references that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<Block> private static ResourceKey<Item> -
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 final Map<ResourceKey<?>, Exception> RegistryDataLoader.Loader.loadingErrorsThe field for theloadingErrorsrecord component.private final Map<ResourceKey<? extends Registry<?>>, Optional<? extends RegistryOps.RegistryInfo<?>>> RegistryOps.HolderLookupAdapter.lookupsprivate 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>> registryKey, ResourceLocation location) Constructs a newResourceKeyfor a resource with the specifiedlocationwithin the registry specified by the givenregistryKey.private static <T> ResourceKey<T> ResourceKey.create(ResourceLocation registryName, ResourceLocation location) static <T> ResourceKey<Registry<T>> ResourceKey.createRegistryKey(ResourceLocation location) ResourceKey<? extends Registry<T>> RegistryDataLoader.RegistryData.key()Returns the value of thekeyrecord component.ResourceKey.registryKey()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>> registryKey) static <T> com.mojang.serialization.Codec<ResourceKey<T>> ResourceKey.codec(ResourceKey<? extends Registry<T>> registryKey) Map<ResourceKey<?>, Exception> RegistryDataLoader.Loader.loadingErrors()Returns the value of theloadingErrorsrecord component.static <T> StreamCodec<io.netty.buffer.ByteBuf, ResourceKey<T>> ResourceKey.streamCodec(ResourceKey<? extends Registry<T>> registryKey) Methods in net.minecraft.resources with parameters of type ResourceKeyModifier and TypeMethodDescription<E> Optional<ResourceKey<E>> ResourceKey.cast(ResourceKey<? extends Registry<E>> registryKey) static <T> com.mojang.serialization.Codec<ResourceKey<T>> ResourceKey.codec(ResourceKey<? extends Registry<T>> registryKey) intResourceKey.compareTo(ResourceKey<?> o) static <E> com.mojang.serialization.Codec<HolderSet<E>> HolderSetCodec.create(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<Holder<E>> holderCodec, boolean disallowInline) static <E> RegistryFileCodec<E> RegistryFileCodec.create(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> elementCodec) Creates a codec for a single registry element, which is held as an un-resolvedSupplier<E>.static <E> RegistryFileCodec<E> RegistryFileCodec.create(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> elementCodec, boolean allowInline) static <E> RegistryFixedCodec<E> RegistryFixedCodec.create(ResourceKey<? extends Registry<E>> registryKey) static <T> ResourceKey<T> ResourceKey.create(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation location) Constructs a newResourceKeyfor a resource with the specifiedlocationwithin the registry specified by the givenregistryKey.private Optional<RegistryOps.RegistryInfo<Object>> RegistryOps.HolderLookupAdapter.createLookup(ResourceKey<? extends Registry<?>> registryKey) <E> Optional<HolderGetter<E>> RegistryOps.getter(ResourceKey<? extends Registry<? extends E>> registryKey) booleanResourceKey.isFor(ResourceKey<? extends Registry<?>> registryKey) private static <E> voidRegistryDataLoader.loadElementFromResource(WritableRegistry<E> registry, com.mojang.serialization.Decoder<E> codec, RegistryOps<com.google.gson.JsonElement> ops, ResourceKey<E> resourceKey, Resource resource, RegistrationInfo registrationInfo) <E> Optional<RegistryOps.RegistryInfo<E>> RegistryOps.HolderLookupAdapter.lookup(ResourceKey<? extends Registry<? extends E>> registryKey) <T> Optional<RegistryOps.RegistryInfo<T>> RegistryOps.RegistryInfoLookup.lookup(ResourceKey<? extends Registry<? extends T>> registryKey) <E> Optional<HolderOwner<E>> RegistryOps.owner(ResourceKey<? extends Registry<? extends E>> registryKey) static <E,O> com.mojang.serialization.codecs.RecordCodecBuilder <O, Holder.Reference<E>> RegistryOps.retrieveElement(ResourceKey<E> key) static <E,O> com.mojang.serialization.codecs.RecordCodecBuilder <O, HolderGetter<E>> RegistryOps.retrieveGetter(ResourceKey<? extends Registry<? extends E>> registryOps) static <E> com.mojang.serialization.MapCodec<HolderLookup.RegistryLookup<E>> RegistryOps.retrieveRegistryLookup(ResourceKey<? extends Registry<? extends E>> resourceKey) static <T> StreamCodec<io.netty.buffer.ByteBuf, ResourceKey<T>> ResourceKey.streamCodec(ResourceKey<? extends Registry<T>> registryKey) Method parameters in net.minecraft.resources with type arguments of type ResourceKeyModifier and TypeMethodDescription(package private) RegistryDataLoader.Loader<T> RegistryDataLoader.RegistryData.create(com.mojang.serialization.Lifecycle registryLifecycle, Map<ResourceKey<?>, Exception> loadingErrors) static RegistryAccess.FrozenRegistryDataLoader.load(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> elements, ResourceProvider resourceProvider, RegistryAccess registryAccess, List<RegistryDataLoader.RegistryData<?>> registryData) (package private) static <E> voidRegistryDataLoader.loadContentsFromManager(ResourceManager resourceManager, RegistryOps.RegistryInfoLookup registryInfoLookup, WritableRegistry<E> registry, com.mojang.serialization.Decoder<E> codec, Map<ResourceKey<?>, Exception> loadingErrors) (package private) static <E> voidRegistryDataLoader.loadContentsFromNetwork(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> elements, ResourceProvider resourceProvider, RegistryOps.RegistryInfoLookup registryInfoLookup, WritableRegistry<E> registry, com.mojang.serialization.Decoder<E> codec, Map<ResourceKey<?>, Exception> loadingErrors) voidRegistryDataLoader.Loader.loadFromNetwork(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> elements, ResourceProvider resourceProvider, RegistryOps.RegistryInfoLookup registryInfoLookup) private static voidRegistryDataLoader.logErrors(Map<ResourceKey<?>, Exception> errors) voidRegistryDataLoader.RegistryData.runWithArguments(BiConsumer<ResourceKey<? extends Registry<T>>, com.mojang.serialization.Codec<T>> runner) Constructors in net.minecraft.resources with parameters of type ResourceKeyModifierConstructorDescriptionprivateHolderSetCodec(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<Holder<E>> elementCodec, boolean disallowInline) (package private)RegistryData(ResourceKey<? extends Registry<T>> p_251360_, com.mojang.serialization.Codec<T> p_248976_) RegistryData(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec, boolean requiredNonEmpty) RegistryData(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec, boolean requiredNonEmpty, Consumer<RegistryBuilder<T>> registryBuilderConsumer) Creates an instance of aRegistryDatarecord class.privateRegistryFileCodec(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> elementCodec, boolean allowInline) privateRegistryFixedCodec(ResourceKey<? extends Registry<E>> registryKey) Constructor parameters in net.minecraft.resources with type arguments of type ResourceKeyModifierConstructorDescription(package private)Loader(RegistryDataLoader.RegistryData<T> data, WritableRegistry<T> registry, Map<ResourceKey<?>, Exception> loadingErrors) Creates an instance of aLoaderrecord class. -
Uses of ResourceKey in net.minecraft.server
Fields in net.minecraft.server declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<CommandFunction<CommandSourceStack>>> ServerFunctionLibrary.TYPE_KEYFields 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()Stream<ResourceKey<? extends Registry<?>>> ReloadableServerRegistries.EmptyTagLookupWrapper.listRegistries()Stream<ResourceKey<? extends Registry<?>>> ReloadableServerResources.ConfigurableRegistryLookup.listRegistries()Methods in net.minecraft.server with parameters of type ResourceKeyModifier and TypeMethodDescriptionReloadableServerRegistries.Holder.getKeys(ResourceKey<? extends Registry<?>> registryKey) MinecraftServer.getLevel(ResourceKey<Level> dimension) Gets the worldServer by the given dimension.ReloadableServerRegistries.Holder.getLootTable(ResourceKey<LootTable> lootTableKey) long[]MinecraftServer.getTickTime(ResourceKey<Level> dim) <T> Optional<HolderLookup.RegistryLookup<T>> ReloadableServerRegistries.EmptyTagLookupWrapper.lookup(ResourceKey<? extends Registry<? extends T>> registryKey) <T> Optional<HolderLookup.RegistryLookup<T>> ReloadableServerResources.ConfigurableRegistryLookup.lookup(ResourceKey<? extends Registry<? extends T>> registryKey) -
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_NAMESprivate static final ToIntFunction<ResourceKey<TrimMaterial>> SpawnArmorTrimsCommand.TRIM_MATERIAL_ORDERprivate static final ToIntFunction<ResourceKey<TrimPattern>> SpawnArmorTrimsCommand.TRIM_PATTERN_ORDERprivate static final List<ResourceKey<TrimMaterial>> SpawnArmorTrimsCommand.VANILLA_TRIM_MATERIALSprivate static final List<ResourceKey<TrimPattern>> SpawnArmorTrimsCommand.VANILLA_TRIM_PATTERNSMethods in net.minecraft.server.commands with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidLootCommand.callback(CommandSourceStack source, List<ItemStack> items, ResourceKey<LootTable> lootTable) -
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> dimension, BlockPos position, float angle, boolean forced, boolean sendMessage) Constructors in net.minecraft.server.level with parameters of type ResourceKeyModifierConstructorDescriptionServerLevel(MinecraftServer server, Executor dispatcher, LevelStorageSource.LevelStorageAccess levelStorageAccess, ServerLevelData serverLevelData, ResourceKey<Level> dimension, LevelStem levelStem, ChunkProgressListener progressListener, boolean isDebug, long biomeZoomSeed, List<CustomSpawner> customSpawners, boolean tickTime, RandomSequences randomSequences) -
Uses of ResourceKey in net.minecraft.server.players
Methods in net.minecraft.server.players with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidPlayerList.broadcast(Player except, double x, double y, double z, double radius, ResourceKey<Level> dimension, Packet<?> packet) voidPlayerList.broadcastAll(Packet<?> packet, ResourceKey<Level> dimension) -
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.Methods 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> registryAccess) Methods in net.minecraft.tags with parameters of type ResourceKeyModifier and TypeMethodDescriptionTagKey.cast(ResourceKey<? extends Registry<E>> registry) static <T> com.mojang.serialization.Codec<TagKey<T>> TagKey.codec(ResourceKey<? extends Registry<T>> registry) static <T> TagKey<T> TagKey.create(ResourceKey<? extends Registry<T>> registry, ResourceLocation location) (package private) static <T> voidTagNetworkSerialization.deserializeTagsFromNetwork(ResourceKey<? extends Registry<T>> registryKey, Registry<T> registry, TagNetworkSerialization.NetworkPayload networkPayload, TagNetworkSerialization.TagOutput<T> output) static <T> com.mojang.serialization.Codec<TagKey<T>> TagKey.hashedCodec(ResourceKey<? extends Registry<T>> registry) booleanTagKey.isFor(ResourceKey<? extends Registry<?>> registry) 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) Deprecated. -
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 chunkPos, ResourceKey<Level> level, String name) JvmProfiler.NoOpProfiler.onChunkGenerate(ChunkPos p_185370_, ResourceKey<Level> p_185371_, String p_185372_) JvmProfiler.onChunkGenerate(ChunkPos chunkPos, ResourceKey<Level> level, String name) -
Uses of ResourceKey in net.minecraft.util.profiling.jfr.event
Constructors in net.minecraft.util.profiling.jfr.event with parameters of type ResourceKeyModifierConstructorDescriptionChunkGenerationEvent(ChunkPos chunkPos, ResourceKey<Level> level, String targetStatus) -
Uses of ResourceKey in net.minecraft.util.worldupdate
Fields in net.minecraft.util.worldupdate declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> WorldUpgrader.DimensionToUpgrade.dimensionKeyThe field for thedimensionKeyrecord component.Fields in net.minecraft.util.worldupdate with type parameters of type ResourceKeyModifier and TypeFieldDescription(package private) final Set<ResourceKey<Level>> WorldUpgrader.levels(package private) final it.unimi.dsi.fastutil.objects.Reference2FloatMap<ResourceKey<Level>> WorldUpgrader.progressMapMethods in net.minecraft.util.worldupdate that return ResourceKeyModifier and TypeMethodDescriptionWorldUpgrader.DimensionToUpgrade.dimensionKey()Returns the value of thedimensionKeyrecord component.Methods 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> level) private booleanWorldUpgrader.AbstractUpgrader.processOnePosition(ResourceKey<Level> dimesion, T storage, ChunkPos chunkPos) protected abstract booleanWorldUpgrader.AbstractUpgrader.tryProcessOnePosition(T chunkStorage, ChunkPos chunkPos, ResourceKey<Level> dimension) protected booleanWorldUpgrader.ChunkUpgrader.tryProcessOnePosition(ChunkStorage p_321581_, ChunkPos p_321524_, ResourceKey<Level> p_321488_) protected booleanWorldUpgrader.SimpleRegionStorageUpgrader.tryProcessOnePosition(SimpleRegionStorage chunkStorage, ChunkPos chunkPos, ResourceKey<Level> dimension) Constructors in net.minecraft.util.worldupdate with parameters of type ResourceKeyModifierConstructorDescription(package private)DimensionToUpgrade(ResourceKey<Level> dimensionKey, T storage, ListIterator<WorldUpgrader.FileToUpgrade> files) Creates an instance of aDimensionToUpgraderecord class. -
Uses of ResourceKey in net.minecraft.world
Methods in net.minecraft.world that return ResourceKeyMethods in net.minecraft.world with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic voidRandomizableContainer.setBlockEntityLootTable(BlockGetter level, RandomSource random, BlockPos ps, ResourceKey<LootTable> lootTable) voidRandomizableContainer.setLootTable(ResourceKey<LootTable> lootTable) default voidRandomizableContainer.setLootTable(ResourceKey<LootTable> lootTable, long seed) -
Uses of ResourceKey in net.minecraft.world.damagesource
Fields in net.minecraft.world.damagesource declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<DamageType> DamageTypes.ARROWstatic final ResourceKey<DamageType> DamageTypes.BAD_RESPAWN_POINTstatic final ResourceKey<DamageType> DamageTypes.CACTUSstatic final ResourceKey<DamageType> DamageTypes.CAMPFIREstatic final ResourceKey<DamageType> DamageTypes.CRAMMINGstatic final ResourceKey<DamageType> DamageTypes.DRAGON_BREATHstatic final ResourceKey<DamageType> DamageTypes.DROWNstatic final ResourceKey<DamageType> DamageTypes.DRY_OUTstatic final ResourceKey<DamageType> DamageTypes.EXPLOSIONstatic final ResourceKey<DamageType> DamageTypes.FALLstatic final ResourceKey<DamageType> DamageTypes.FALLING_ANVILstatic final ResourceKey<DamageType> DamageTypes.FALLING_BLOCKstatic final ResourceKey<DamageType> DamageTypes.FALLING_STALACTITEstatic final ResourceKey<DamageType> DamageTypes.FELL_OUT_OF_WORLDstatic final ResourceKey<DamageType> DamageTypes.FIREBALLstatic final ResourceKey<DamageType> DamageTypes.FIREWORKSstatic final ResourceKey<DamageType> DamageTypes.FLY_INTO_WALLstatic final ResourceKey<DamageType> DamageTypes.FREEZEstatic final ResourceKey<DamageType> DamageTypes.GENERICstatic final ResourceKey<DamageType> DamageTypes.GENERIC_KILLstatic final ResourceKey<DamageType> DamageTypes.HOT_FLOORstatic final ResourceKey<DamageType> DamageTypes.IN_FIREstatic final ResourceKey<DamageType> DamageTypes.IN_WALLstatic final ResourceKey<DamageType> DamageTypes.INDIRECT_MAGICstatic final ResourceKey<DamageType> DamageTypes.LAVAstatic final ResourceKey<DamageType> DamageTypes.LIGHTNING_BOLTstatic final ResourceKey<DamageType> DamageTypes.MAGICstatic final ResourceKey<DamageType> DamageTypes.MOB_ATTACKstatic final ResourceKey<DamageType> DamageTypes.MOB_ATTACK_NO_AGGROstatic final ResourceKey<DamageType> DamageTypes.MOB_PROJECTILEstatic final ResourceKey<DamageType> DamageTypes.ON_FIREstatic final ResourceKey<DamageType> DamageTypes.OUTSIDE_BORDERstatic final ResourceKey<DamageType> DamageTypes.PLAYER_ATTACKstatic final ResourceKey<DamageType> DamageTypes.PLAYER_EXPLOSIONstatic final ResourceKey<DamageType> DamageTypes.SONIC_BOOMstatic final ResourceKey<DamageType> DamageTypes.SPITstatic final ResourceKey<DamageType> DamageTypes.STALAGMITEstatic final ResourceKey<DamageType> DamageTypes.STARVEstatic final ResourceKey<DamageType> DamageTypes.STINGstatic final ResourceKey<DamageType> DamageTypes.SWEET_BERRY_BUSHstatic final ResourceKey<DamageType> DamageTypes.THORNSstatic final ResourceKey<DamageType> DamageTypes.THROWNstatic final ResourceKey<DamageType> DamageTypes.TRIDENTstatic final ResourceKey<DamageType> DamageTypes.UNATTRIBUTED_FIREBALLstatic final ResourceKey<DamageType> DamageTypes.WIND_CHARGEstatic final ResourceKey<DamageType> DamageTypes.WITHERstatic final ResourceKey<DamageType> DamageTypes.WITHER_SKULLMethods in net.minecraft.world.damagesource with parameters of type ResourceKeyModifier and TypeMethodDescriptionbooleanDamageSource.is(ResourceKey<DamageType> damageTypeKey) DamageSources.source(ResourceKey<DamageType> damageTypeKey) DamageSources.source(ResourceKey<DamageType> damageTypeKey, Entity entity) DamageSources.source(ResourceKey<DamageType> damageTypeKey, Entity causingEntity, Entity directEntity) -
Uses of ResourceKey in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as ResourceKeyModifier and TypeFieldDescriptionprivate ResourceKey<LootTable> EntityType.lootTableprivate final ResourceKey<LootTable> EquipmentTable.lootTableThe field for thelootTablerecord component.private ResourceKey<LootTable> Mob.lootTableMethods in net.minecraft.world.entity that return ResourceKeyModifier and TypeMethodDescriptionEntityType.getDefaultLootTable()protected ResourceKey<LootTable> Mob.getDefaultLootTable()LivingEntity.getLootTable()final ResourceKey<LootTable> Mob.getLootTable()EquipmentTable.lootTable()Returns the value of thelootTablerecord component.Methods in net.minecraft.world.entity with parameters of type ResourceKeyModifier and TypeMethodDescriptiondefault voidEquipmentUser.equip(ResourceKey<LootTable> equipmentLootTable, LootParams params, long seed, Map<EquipmentSlot, Float> slotDropChances) default voidEquipmentUser.equip(ResourceKey<LootTable> equipmentLootTable, LootParams params, Map<EquipmentSlot, Float> slotDropChances) voidMob.equip(ResourceKey<LootTable> equipmentLootTable, Map<EquipmentSlot, Float> slotDropChances) Constructors in net.minecraft.world.entity with parameters of type ResourceKeyModifierConstructorDescriptionEquipmentTable(ResourceKey<LootTable> lootTable, Map<EquipmentSlot, Float> slotDropChances) Creates an instance of aEquipmentTablerecord class. -
Uses of ResourceKey in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Map<VillagerProfession, ResourceKey<LootTable>> GiveGiftToHero.GIFTSDeprecated.Neo: use thedata mapinstead -
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> type, BlockPos pos) private static PoiTypePoiTypes.register(Registry<PoiType> key, ResourceKey<PoiType> value, Set<BlockState> matchingStates, int maxTickets, int validRange) -
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<WolfVariant> WolfVariants.ASHENstatic final ResourceKey<CatVariant> CatVariant.BLACKstatic final ResourceKey<WolfVariant> WolfVariants.BLACKstatic final ResourceKey<CatVariant> CatVariant.BRITISH_SHORTHAIRstatic final ResourceKey<CatVariant> CatVariant.CALICOstatic final ResourceKey<WolfVariant> WolfVariants.CHESTNUTstatic final ResourceKey<FrogVariant> FrogVariant.COLDstatic final ResourceKey<WolfVariant> WolfVariants.DEFAULTprivate static final ResourceKey<CatVariant> Cat.DEFAULT_VARIANTstatic final ResourceKey<CatVariant> CatVariant.JELLIEstatic final ResourceKey<WolfVariant> WolfVariants.PALEstatic final ResourceKey<CatVariant> CatVariant.PERSIANstatic final ResourceKey<CatVariant> CatVariant.RAGDOLLstatic final ResourceKey<CatVariant> CatVariant.REDstatic final ResourceKey<WolfVariant> WolfVariants.RUSTYstatic final ResourceKey<CatVariant> CatVariant.SIAMESEstatic final ResourceKey<WolfVariant> WolfVariants.SNOWYstatic final ResourceKey<WolfVariant> WolfVariants.SPOTTEDstatic final ResourceKey<WolfVariant> WolfVariants.STRIPEDstatic final ResourceKey<CatVariant> CatVariant.TABBYstatic final ResourceKey<FrogVariant> FrogVariant.TEMPERATEstatic final ResourceKey<FrogVariant> FrogVariant.WARMstatic final ResourceKey<CatVariant> CatVariant.WHITEstatic final ResourceKey<WolfVariant> WolfVariants.WOODSMethods in net.minecraft.world.entity.animal that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<CatVariant> private static ResourceKey<FrogVariant> private static ResourceKey<WolfVariant> Sheep.getDefaultLootTable()Methods in net.minecraft.world.entity.animal with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static CatVariantCatVariant.register(Registry<CatVariant> registry, ResourceKey<CatVariant> key, String texture) private static FrogVariantFrogVariant.register(Registry<FrogVariant> registry, ResourceKey<FrogVariant> key, String texture) (package private) static voidWolfVariants.register(BootstrapContext<WolfVariant> context, ResourceKey<WolfVariant> key, String name, HolderSet<Biome> spawnBiomes) (package private) static voidWolfVariants.register(BootstrapContext<WolfVariant> context, ResourceKey<WolfVariant> key, String name, ResourceKey<Biome> spawnBiome) (package private) static voidWolfVariants.register(BootstrapContext<WolfVariant> context, ResourceKey<WolfVariant> key, String name, TagKey<Biome> spawnBiomes) -
Uses of ResourceKey in net.minecraft.world.entity.animal.frog
Fields in net.minecraft.world.entity.animal.frog declared as ResourceKeyModifier and TypeFieldDescriptionprivate static final ResourceKey<FrogVariant> Frog.DEFAULT_VARIANT -
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.BACKYARDstatic final ResourceKey<PaintingVariant> PaintingVariants.BAROQUEstatic final ResourceKey<PaintingVariant> PaintingVariants.BOMBstatic final ResourceKey<PaintingVariant> PaintingVariants.BOUQUETstatic final ResourceKey<PaintingVariant> PaintingVariants.BURNING_SKULLstatic final ResourceKey<PaintingVariant> PaintingVariants.BUSTstatic final ResourceKey<PaintingVariant> PaintingVariants.CAVEBIRDstatic final ResourceKey<PaintingVariant> PaintingVariants.CHANGINGstatic final ResourceKey<PaintingVariant> PaintingVariants.COTANstatic final ResourceKey<PaintingVariant> PaintingVariants.COURBETstatic final ResourceKey<PaintingVariant> PaintingVariants.CREEBETstatic final ResourceKey<PaintingVariant> PaintingVariants.DONKEY_KONGstatic final ResourceKey<PaintingVariant> PaintingVariants.EARTHstatic final ResourceKey<PaintingVariant> PaintingVariants.ENDBOSSstatic final ResourceKey<PaintingVariant> PaintingVariants.FERNstatic final ResourceKey<PaintingVariant> PaintingVariants.FIGHTERSstatic final ResourceKey<PaintingVariant> PaintingVariants.FINDINGstatic final ResourceKey<PaintingVariant> PaintingVariants.FIREstatic final ResourceKey<PaintingVariant> PaintingVariants.GRAHAMstatic final ResourceKey<PaintingVariant> PaintingVariants.HUMBLEstatic final ResourceKey<PaintingVariant> PaintingVariants.KEBABstatic final ResourceKey<PaintingVariant> PaintingVariants.LOWMISTstatic final ResourceKey<PaintingVariant> PaintingVariants.MATCHstatic final ResourceKey<PaintingVariant> PaintingVariants.MEDITATIVEstatic final ResourceKey<PaintingVariant> PaintingVariants.ORBstatic final ResourceKey<PaintingVariant> PaintingVariants.OWLEMONSstatic final ResourceKey<PaintingVariant> PaintingVariants.PASSAGEstatic final ResourceKey<PaintingVariant> PaintingVariants.PIGSCENEstatic final ResourceKey<PaintingVariant> PaintingVariants.PLANTstatic final ResourceKey<PaintingVariant> PaintingVariants.POINTERstatic final ResourceKey<PaintingVariant> PaintingVariants.PONDstatic final ResourceKey<PaintingVariant> PaintingVariants.POOLstatic final ResourceKey<PaintingVariant> PaintingVariants.PRAIRIE_RIDEstatic 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.SUNFLOWERSstatic final ResourceKey<PaintingVariant> PaintingVariants.SUNSETstatic final ResourceKey<PaintingVariant> PaintingVariants.TIDESstatic final ResourceKey<PaintingVariant> PaintingVariants.UNPACKEDstatic 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 ResourceKeyMethods in net.minecraft.world.entity.decoration with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidPaintingVariants.register(BootstrapContext<PaintingVariant> context, ResourceKey<PaintingVariant> key, int width, int height) -
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_BIOMEDeprecated.private final Optional<ResourceKey<EnchantmentProvider>> VillagerTrades.ItemsAndEmeraldsToItems.enchantmentProviderprivate final Optional<ResourceKey<EnchantmentProvider>> VillagerTrades.ItemsForEmeralds.enchantmentProviderMethods in net.minecraft.world.entity.npc with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static VillagerProfessionVillagerProfession.register(String name, ResourceKey<PoiType> jobSite, com.google.common.collect.ImmutableSet<Item> requestedItems, com.google.common.collect.ImmutableSet<Block> secondaryPoi, SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(String name, ResourceKey<PoiType> jobSite, SoundEvent workSound) Constructors in net.minecraft.world.entity.npc with parameters of type ResourceKeyModifierConstructorDescription(package private)ItemsAndEmeraldsToItems(ItemLike fromItem, int fromItemAmount, int emeraldCost, ItemLike toItem, int toItemCount, int maxUses, int villagerXp, float priceMultiplier, ResourceKey<EnchantmentProvider> enchantmentProvider) ItemsForEmeralds(Item item, int emeraldCost, int numberOfItems, int maxUses, int villagerXp, float priceMultiplier, ResourceKey<EnchantmentProvider> enchantmentProvider) Constructor parameters in net.minecraft.world.entity.npc with type arguments of type ResourceKeyModifierConstructorDescriptionItemsAndEmeraldsToItems(ItemCost fromItem, int emeraldCost, ItemStack toItem, int maxUses, int villagerXp, float priceMultiplier, Optional<ResourceKey<EnchantmentProvider>> enchantmentProvider) ItemsForEmeralds(ItemStack itemStack, int emeraldCost, int numberOfItems, int maxUses, int villagerXp, float priceMultiplier, Optional<ResourceKey<EnchantmentProvider>> enchantmentProvider) -
Uses of ResourceKey in net.minecraft.world.entity.vehicle
Fields in net.minecraft.world.entity.vehicle declared as ResourceKeyModifier and TypeFieldDescriptionprivate ResourceKey<LootTable> AbstractMinecartContainer.lootTableprivate ResourceKey<LootTable> ChestBoat.lootTableMethods in net.minecraft.world.entity.vehicle that return ResourceKeyModifier and TypeMethodDescriptionAbstractMinecartContainer.getLootTable()ChestBoat.getLootTable()ContainerEntity.getLootTable()Methods in net.minecraft.world.entity.vehicle with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidAbstractMinecartContainer.setLootTable(ResourceKey<LootTable> lootTable) voidAbstractMinecartContainer.setLootTable(ResourceKey<LootTable> lootTable, long seed) voidChestBoat.setLootTable(ResourceKey<LootTable> lootTable) voidContainerEntity.setLootTable(ResourceKey<LootTable> lootTable) -
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<JukeboxSong> JukeboxSongs.BLOCKSstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.BUILDING_BLOCKSstatic final ResourceKey<Instrument> Instruments.CALL_GOAT_HORNstatic final ResourceKey<JukeboxSong> JukeboxSongs.CATstatic final ResourceKey<JukeboxSong> JukeboxSongs.CHIRPstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.COLORED_BLOCKSstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.COMBATstatic final ResourceKey<JukeboxSong> JukeboxSongs.CREATORstatic final ResourceKey<JukeboxSong> JukeboxSongs.CREATOR_MUSIC_BOXstatic final ResourceKey<Instrument> Instruments.DREAM_GOAT_HORNstatic final ResourceKey<JukeboxSong> JukeboxSongs.ELEVENstatic final ResourceKey<JukeboxSong> JukeboxSongs.FARstatic final ResourceKey<Instrument> Instruments.FEEL_GOAT_HORNstatic final ResourceKey<JukeboxSong> JukeboxSongs.FIVEstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.FOOD_AND_DRINKSstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.FUNCTIONAL_BLOCKSstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.HOTBARstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.INGREDIENTSstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.INVENTORYprivate final ResourceKey<T> EitherHolder.keyThe field for thekeyrecord component.static final ResourceKey<JukeboxSong> JukeboxSongs.MALLstatic final ResourceKey<JukeboxSong> JukeboxSongs.MELLOHIstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.NATURAL_BLOCKSstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.OP_BLOCKSstatic final ResourceKey<JukeboxSong> JukeboxSongs.OTHERSIDEstatic final ResourceKey<JukeboxSong> JukeboxSongs.PIGSTEPstatic final ResourceKey<Instrument> Instruments.PONDER_GOAT_HORNstatic final ResourceKey<JukeboxSong> JukeboxSongs.PRECIPICEstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.REDSTONE_BLOCKSstatic final ResourceKey<JukeboxSong> JukeboxSongs.RELICstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.SEARCHstatic final ResourceKey<Instrument> Instruments.SEEK_GOAT_HORNstatic final ResourceKey<Instrument> Instruments.SING_GOAT_HORNstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.SPAWN_EGGSstatic final ResourceKey<JukeboxSong> JukeboxSongs.STALstatic final ResourceKey<JukeboxSong> JukeboxSongs.STRADstatic final ResourceKey<JukeboxSong> JukeboxSongs.THIRTEENstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.TOOLS_AND_UTILITIESstatic final ResourceKey<JukeboxSong> JukeboxSongs.WAITstatic final ResourceKey<JukeboxSong> JukeboxSongs.WARDstatic final ResourceKey<Instrument> Instruments.YEARN_GOAT_HORNMethods in net.minecraft.world.item that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<Instrument> private static ResourceKey<JukeboxSong> private static ResourceKey<CreativeModeTab> EitherHolder.key()Returns the value of thekeyrecord component.Methods in net.minecraft.world.item that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>> EitherHolder.asEither()Methods in net.minecraft.world.item with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<EitherHolder<T>> EitherHolder.codec(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> codec) static SmithingTemplateItemSmithingTemplateItem.createArmorTrimTemplate(ResourceKey<TrimPattern> key, FeatureFlag... requiredFeatures) private static MapIdMapItem.createNewSavedData(Level level, int x, int z, int scale, boolean trackingPosition, boolean unlimitedTracking, ResourceKey<Level> dimension) Item.Properties.jukeboxPlayable(ResourceKey<JukeboxSong> song) private static voidJukeboxSongs.register(BootstrapContext<JukeboxSong> context, ResourceKey<JukeboxSong> key, Holder.Reference<SoundEvent> soundEvent, int lengthInSeconds, int comparatorOutput) static ItemItems.registerItem(ResourceKey<Item> key, Item item) static <T> StreamCodec<RegistryFriendlyByteBuf, EitherHolder<T>> EitherHolder.streamCodec(ResourceKey<Registry<T>> registryKey, StreamCodec<RegistryFriendlyByteBuf, Holder<T>> streamCodec) final CreativeModeTab.BuilderCreativeModeTab.Builder.withTabsAfter(ResourceKey<CreativeModeTab>... tabs) Define tabs that should come after this tab.final CreativeModeTab.BuilderCreativeModeTab.Builder.withTabsBefore(ResourceKey<CreativeModeTab>... tabs) Define tabs that should come before this tab.Method parameters in net.minecraft.world.item with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic <T> EitherHolder<T> EitherHolder.fromEither(com.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>> either) Constructors in net.minecraft.world.item with parameters of type ResourceKeyModifierConstructorDescriptionEitherHolder(Optional<Holder<T>> holder, ResourceKey<T> key) Creates an instance of aEitherHolderrecord class.EitherHolder(ResourceKey<T> p_350883_) -
Uses of ResourceKey in net.minecraft.world.item.armortrim
Fields in net.minecraft.world.item.armortrim declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<TrimMaterial> TrimMaterials.AMETHYSTstatic final ResourceKey<TrimPattern> TrimPatterns.BOLTstatic final ResourceKey<TrimPattern> TrimPatterns.COASTstatic final ResourceKey<TrimMaterial> TrimMaterials.COPPERstatic final ResourceKey<TrimMaterial> TrimMaterials.DIAMONDstatic final ResourceKey<TrimPattern> TrimPatterns.DUNEstatic final ResourceKey<TrimMaterial> TrimMaterials.EMERALDstatic final ResourceKey<TrimPattern> TrimPatterns.EYEstatic final ResourceKey<TrimPattern> TrimPatterns.FLOWstatic final ResourceKey<TrimMaterial> TrimMaterials.GOLDstatic final ResourceKey<TrimPattern> TrimPatterns.HOSTstatic final ResourceKey<TrimMaterial> TrimMaterials.IRONstatic final ResourceKey<TrimMaterial> TrimMaterials.LAPISstatic final ResourceKey<TrimMaterial> TrimMaterials.NETHERITEstatic final ResourceKey<TrimMaterial> TrimMaterials.QUARTZstatic final ResourceKey<TrimPattern> TrimPatterns.RAISERstatic final ResourceKey<TrimMaterial> TrimMaterials.REDSTONEstatic final ResourceKey<TrimPattern> TrimPatterns.RIBstatic final ResourceKey<TrimPattern> TrimPatterns.SENTRYstatic final ResourceKey<TrimPattern> TrimPatterns.SHAPERstatic final ResourceKey<TrimPattern> TrimPatterns.SILENCEstatic final ResourceKey<TrimPattern> TrimPatterns.SNOUTstatic final ResourceKey<TrimPattern> TrimPatterns.SPIREstatic final ResourceKey<TrimPattern> TrimPatterns.TIDEstatic final ResourceKey<TrimPattern> TrimPatterns.VEXstatic final ResourceKey<TrimPattern> TrimPatterns.WARDstatic final ResourceKey<TrimPattern> TrimPatterns.WAYFINDERstatic final ResourceKey<TrimPattern> TrimPatterns.WILDMethods in net.minecraft.world.item.armortrim that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<TrimMaterial> TrimMaterials.registryKey(String key) private static ResourceKey<TrimPattern> TrimPatterns.registryKey(String key) Methods in net.minecraft.world.item.armortrim with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidTrimMaterials.register(BootstrapContext<TrimMaterial> context, ResourceKey<TrimMaterial> materialKey, Item ingredient, Style style, float itemModelIndex) private static voidTrimMaterials.register(BootstrapContext<TrimMaterial> context, ResourceKey<TrimMaterial> materialKey, Item ingredient, Style style, float itemModelIndex, Map<Holder<ArmorMaterial>, String> overrideArmorMaterials) static voidTrimPatterns.register(BootstrapContext<TrimPattern> context, Item templateItem, ResourceKey<TrimPattern> trimPatternKey) -
Uses of ResourceKey in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootTable> SeededContainerLoot.lootTableThe field for thelootTablerecord component.Methods in net.minecraft.world.item.component that return ResourceKeyModifier and TypeMethodDescriptionSeededContainerLoot.lootTable()Returns the value of thelootTablerecord component.Constructors in net.minecraft.world.item.component with parameters of type ResourceKeyModifierConstructorDescriptionSeededContainerLoot(ResourceKey<LootTable> lootTable, long seed) Creates an instance of aSeededContainerLootrecord class. -
Uses of ResourceKey in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Enchantment> Enchantments.AQUA_AFFINITYstatic final ResourceKey<Enchantment> Enchantments.BANE_OF_ARTHROPODSstatic final ResourceKey<Enchantment> Enchantments.BINDING_CURSEstatic final ResourceKey<Enchantment> Enchantments.BLAST_PROTECTIONstatic final ResourceKey<Enchantment> Enchantments.BREACHstatic final ResourceKey<Enchantment> Enchantments.CHANNELINGstatic final ResourceKey<Enchantment> Enchantments.DENSITYstatic final ResourceKey<Enchantment> Enchantments.DEPTH_STRIDERstatic final ResourceKey<Enchantment> Enchantments.EFFICIENCYstatic final ResourceKey<Enchantment> Enchantments.FEATHER_FALLINGstatic final ResourceKey<Enchantment> Enchantments.FIRE_ASPECTstatic final ResourceKey<Enchantment> Enchantments.FIRE_PROTECTIONstatic final ResourceKey<Enchantment> Enchantments.FLAMEstatic final ResourceKey<Enchantment> Enchantments.FORTUNEstatic final ResourceKey<Enchantment> Enchantments.FROST_WALKERstatic final ResourceKey<Enchantment> Enchantments.IMPALINGstatic final ResourceKey<Enchantment> Enchantments.INFINITYstatic final ResourceKey<Enchantment> Enchantments.KNOCKBACKstatic final ResourceKey<Enchantment> Enchantments.LOOTINGstatic final ResourceKey<Enchantment> Enchantments.LOYALTYstatic final ResourceKey<Enchantment> Enchantments.LUCK_OF_THE_SEAstatic final ResourceKey<Enchantment> Enchantments.LUREstatic final ResourceKey<Enchantment> Enchantments.MENDINGstatic final ResourceKey<Enchantment> Enchantments.MULTISHOTstatic final ResourceKey<Enchantment> Enchantments.PIERCINGstatic final ResourceKey<Enchantment> Enchantments.POWERstatic final ResourceKey<Enchantment> Enchantments.PROJECTILE_PROTECTIONstatic final ResourceKey<Enchantment> Enchantments.PROTECTIONstatic final ResourceKey<Enchantment> Enchantments.PUNCHstatic final ResourceKey<Enchantment> Enchantments.QUICK_CHARGEstatic final ResourceKey<Enchantment> Enchantments.RESPIRATIONstatic final ResourceKey<Enchantment> Enchantments.RIPTIDEstatic final ResourceKey<Enchantment> Enchantments.SHARPNESSstatic final ResourceKey<Enchantment> Enchantments.SILK_TOUCHstatic final ResourceKey<Enchantment> Enchantments.SMITEstatic final ResourceKey<Enchantment> Enchantments.SOUL_SPEEDstatic final ResourceKey<Enchantment> Enchantments.SWEEPING_EDGEstatic final ResourceKey<Enchantment> Enchantments.SWIFT_SNEAKstatic final ResourceKey<Enchantment> Enchantments.THORNSstatic final ResourceKey<Enchantment> Enchantments.UNBREAKINGstatic final ResourceKey<Enchantment> Enchantments.VANISHING_CURSEstatic final ResourceKey<Enchantment> Enchantments.WIND_BURSTMethods in net.minecraft.world.item.enchantment that return ResourceKeyMethods in net.minecraft.world.item.enchantment with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic voidEnchantmentHelper.enchantItemFromProvider(ItemStack stack, RegistryAccess registries, ResourceKey<EnchantmentProvider> key, DifficultyInstance difficulty, RandomSource random) private static <T> HolderSet<T> ItemEnchantments.getTagOrEmpty(HolderLookup.Provider registries, ResourceKey<Registry<T>> registryKey, TagKey<T> key) private static voidEnchantments.register(BootstrapContext<Enchantment> context, ResourceKey<Enchantment> key, Enchantment.Builder builder) -
Uses of ResourceKey in net.minecraft.world.item.enchantment.providers
Fields in net.minecraft.world.item.enchantment.providers declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.ENDERMAN_LOOT_DROPstatic final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.MOB_SPAWN_EQUIPMENTstatic final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.PILLAGER_SPAWN_CROSSBOWstatic final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.RAID_PILLAGER_POST_WAVE_3static final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.RAID_PILLAGER_POST_WAVE_5static final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.RAID_VINDICATORstatic final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.RAID_VINDICATOR_POST_WAVE_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_BOOTS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_CHESTPLATE_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_CHESTPLATE_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_HELMET_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_LEGGINGS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_LEGGINGS_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_BOOTS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_BOOTS_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_CHESTPLATE_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_HELMET_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_HELMET_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_LEGGINGS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_BOOTS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_BOOTS_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_CHESTPLATE_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_HELMET_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_LEGGINGS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_LEGGINGS_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_BOOTS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_CHESTPLATE_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_CHESTPLATE_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_HELMET_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_HELMET_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_LEGGINGS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SNOW_ARMORER_BOOTS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SNOW_ARMORER_BOOTS_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SNOW_ARMORER_HELMET_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SNOW_ARMORER_HELMET_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_BOOTS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_BOOTS_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_CHESTPLATE_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_HELMET_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_HELMET_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_LEGGINGS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_TAIGA_ARMORER_CHESTPLATE_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_TAIGA_ARMORER_LEGGINGS_5Methods in net.minecraft.world.item.enchantment.providers that return ResourceKey -
Uses of ResourceKey in net.minecraft.world.level
Fields in net.minecraft.world.level declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> Level.dimensionstatic 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 TypeMethodDescriptiondefault voidLevelAccessor.gameEvent(ResourceKey<GameEvent> gameEvent, BlockPos pos, GameEvent.Context context) default <T> HolderLookup<T> LevelReader.holderLookup(ResourceKey<? extends Registry<? extends T>> registryKey) Constructors in net.minecraft.world.level with parameters of type ResourceKeyModifierConstructorDescriptionprotectedLevel(WritableLevelData levelData, ResourceKey<Level> dimension, RegistryAccess registryAccess, Holder<DimensionType> dimensionTypeRegistration, Supplier<ProfilerFiller> profiler, boolean isClientSide, boolean isDebug, long biomeZoomSeed, int maxChainedNeighborUpdates) -
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.CHERRY_GROVEstatic 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<MultiNoiseBiomeSourceParameterList> MultiNoiseBiomeSourceParameterLists.NETHERstatic 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<MultiNoiseBiomeSourceParameterList> MultiNoiseBiomeSourceParameterLists.OVERWORLDstatic 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 temperature, int humidity, Climate.Parameter param, ResourceKey<Biome> key) private ResourceKey<Biome> OverworldBiomeBuilder.pickBadlandsBiome(int humidity, Climate.Parameter param) private ResourceKey<Biome> OverworldBiomeBuilder.pickBeachBiome(int temperature, int humidity) private ResourceKey<Biome> OverworldBiomeBuilder.pickMiddleBiome(int temperature, int humidity, Climate.Parameter param) private ResourceKey<Biome> OverworldBiomeBuilder.pickMiddleBiomeOrBadlandsIfHot(int temperature, int humidity, Climate.Parameter param) private ResourceKey<Biome> OverworldBiomeBuilder.pickMiddleBiomeOrBadlandsIfHotOrSlopeIfCold(int temperature, int humidity, Climate.Parameter param) private ResourceKey<Biome> OverworldBiomeBuilder.pickPeakBiome(int temperature, int humidity, Climate.Parameter param) private ResourceKey<Biome> OverworldBiomeBuilder.pickPlateauBiome(int temperature, int humidity, Climate.Parameter param) private ResourceKey<Biome> OverworldBiomeBuilder.pickShatteredBiome(int temperature, int humidity, Climate.Parameter param) private ResourceKey<Biome> OverworldBiomeBuilder.pickShatteredCoastBiome(int temperature, int humidity, Climate.Parameter param) private ResourceKey<Biome> OverworldBiomeBuilder.pickSlopeBiome(int temperature, int humidity, Climate.Parameter param) private static ResourceKey<Biome> private static ResourceKey<MultiNoiseBiomeSourceParameterList> Methods in net.minecraft.world.level.biome that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionMultiNoiseBiomeSourceParameterList.knownPresets()MultiNoiseBiomeSourceParameterList.Preset.usedBiomes()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>>> consumer, Climate.Parameter temerature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter depth, float weirdness, ResourceKey<Biome> key) BiomeGenerationSettings.Builder.addCarver(GenerationStep.Carving carving, ResourceKey<ConfiguredWorldCarver<?>> carver) BiomeGenerationSettings.Builder.addFeature(GenerationStep.Decoration decoration, ResourceKey<PlacedFeature> feature) private voidOverworldBiomeBuilder.addSurfaceBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> consumer, Climate.Parameter temperature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter depth, float weirdness, ResourceKey<Biome> key) private voidOverworldBiomeBuilder.addUndergroundBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> consumer, Climate.Parameter temperature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter depth, float weirdness, ResourceKey<Biome> key) private ResourceKey<Biome> OverworldBiomeBuilder.maybePickWindsweptSavannaBiome(int temperature, int humidity, Climate.Parameter param, ResourceKey<Biome> key) booleanMultiNoiseBiomeSource.stable(ResourceKey<MultiNoiseBiomeSourceParameterList> resourceKey) 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>>> key) private voidOverworldBiomeBuilder.addBottomBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> consumer, Climate.Parameter temerature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter depth, float weirdness, ResourceKey<Biome> key) private voidOverworldBiomeBuilder.addDebugBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> key) private voidOverworldBiomeBuilder.addHighSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> consumer, Climate.Parameter param) private voidOverworldBiomeBuilder.addInlandBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> consumer) private voidOverworldBiomeBuilder.addLowSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> consumer, Climate.Parameter param) private voidOverworldBiomeBuilder.addMidSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> consumer, Climate.Parameter param) private voidOverworldBiomeBuilder.addOffCoastBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> consumer) private voidOverworldBiomeBuilder.addPeaks(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> consumer, Climate.Parameter param) private voidOverworldBiomeBuilder.addSurfaceBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> consumer, Climate.Parameter temperature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter depth, float weirdness, ResourceKey<Biome> key) private voidOverworldBiomeBuilder.addUndergroundBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> consumer, Climate.Parameter temperature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter depth, float weirdness, ResourceKey<Biome> key) private voidOverworldBiomeBuilder.addUndergroundBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> consume) private voidOverworldBiomeBuilder.addValleys(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> consumer, Climate.Parameter param) <T> Climate.ParameterList<T> MultiNoiseBiomeSourceParameterList.Preset.SourceProvider.apply(Function<ResourceKey<Biome>, T> valueGetter) (package private) static <T> Climate.ParameterList<T> MultiNoiseBiomeSourceParameterList.Preset.generateOverworldBiomes(Function<ResourceKey<Biome>, T> valueGetter) -
Uses of ResourceKey in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Block> StemBlock.attachedStemprivate final ResourceKey<ConfiguredFeature<?, ?>> FungusBlock.featureprivate final ResourceKey<ConfiguredFeature<?, ?>> MushroomBlock.featureprivate final ResourceKey<Block> AttachedStemBlock.fruitprivate final ResourceKey<Block> StemBlock.fruitprivate final ResourceKey<Item> AttachedStemBlock.seedprivate final ResourceKey<Item> StemBlock.seedprivate final ResourceKey<Block> AttachedStemBlock.stemMethods in net.minecraft.world.level.block with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidNyliumBlock.place(Registry<ConfiguredFeature<?, ?>> featureRegistry, ResourceKey<ConfiguredFeature<?, ?>> featureKey, ServerLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos pos) static BlockBlocks.register(ResourceKey<Block> resourceKey, Block block) Constructors in net.minecraft.world.level.block with parameters of type ResourceKeyModifierConstructorDescriptionAttachedStemBlock(ResourceKey<Block> stem, ResourceKey<Block> fruit, ResourceKey<Item> seed, BlockBehaviour.Properties properties) FungusBlock(ResourceKey<ConfiguredFeature<?, ?>> feature, Block requiredBlock, BlockBehaviour.Properties properties) MushroomBlock(ResourceKey<ConfiguredFeature<?, ?>> feature, BlockBehaviour.Properties properties) StemBlock(ResourceKey<Block> fruit, ResourceKey<Block> attachedStem, ResourceKey<Item> seed, BlockBehaviour.Properties properties) -
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<DecoratedPotPattern> DecoratedPotPatterns.ANGLERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.ARCHERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.ARMS_UPstatic final ResourceKey<BannerPattern> BannerPatterns.BASEstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.BLADEstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.BLANKstatic final ResourceKey<BannerPattern> BannerPatterns.BORDERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.BREWERstatic final ResourceKey<BannerPattern> BannerPatterns.BRICKSstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.BURNstatic final ResourceKey<BannerPattern> BannerPatterns.CIRCLE_MIDDLEstatic final ResourceKey<BannerPattern> BannerPatterns.CREEPERstatic final ResourceKey<BannerPattern> BannerPatterns.CROSSstatic final ResourceKey<BannerPattern> BannerPatterns.CURLY_BORDERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.DANGERstatic 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<DecoratedPotPattern> DecoratedPotPatterns.EXPLORERstatic final ResourceKey<BannerPattern> BannerPatterns.FLOWstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.FLOWstatic final ResourceKey<BannerPattern> BannerPatterns.FLOWERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.FRIENDstatic final ResourceKey<BannerPattern> BannerPatterns.GLOBEstatic final ResourceKey<BannerPattern> BannerPatterns.GRADIENTstatic final ResourceKey<BannerPattern> BannerPatterns.GRADIENT_UPstatic final ResourceKey<BannerPattern> BannerPatterns.GUSTERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.GUSTERstatic 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<DecoratedPotPattern> DecoratedPotPatterns.HEARTstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.HEARTBREAKstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.HOWLprivate ResourceKey<LootTable> BrushableBlockEntity.lootTableprotected ResourceKey<LootTable> DecoratedPotBlockEntity.lootTableprotected ResourceKey<LootTable> RandomizableContainerBlockEntity.lootTablestatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.MINERstatic final ResourceKey<BannerPattern> BannerPatterns.MOJANGstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.MOURNERstatic final ResourceKey<BannerPattern> BannerPatterns.PIGLINstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.PLENTYprivate ResourceKey<StructureTemplatePool> JigsawBlockEntity.poolstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.PRIZEstatic final ResourceKey<BannerPattern> BannerPatterns.RHOMBUS_MIDDLEstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.SCRAPEstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.SHEAFstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.SHELTERstatic final ResourceKey<BannerPattern> BannerPatterns.SKULLstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.SKULLstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.SNORTstatic 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_TOPFields in net.minecraft.world.level.block.entity with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Map<Item, ResourceKey<DecoratedPotPattern>> DecoratedPotPatterns.ITEM_TO_POT_TEXTUREMethods in net.minecraft.world.level.block.entity that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<BannerPattern> private static ResourceKey<DecoratedPotPattern> DecoratedPotBlockEntity.getLootTable()RandomizableContainerBlockEntity.getLootTable()static ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.getPatternFromItem(Item item) JigsawBlockEntity.getPool()Methods in net.minecraft.world.level.block.entity with parameters of type ResourceKeyModifier and TypeMethodDescriptionBannerPatternLayers.Builder.addIfRegistered(HolderGetter<BannerPattern> patterns, ResourceKey<BannerPattern> patternKey, DyeColor color) Deprecated.static voidBannerPatterns.register(BootstrapContext<BannerPattern> context, ResourceKey<BannerPattern> resourceKey) private static DecoratedPotPatternDecoratedPotPatterns.register(Registry<DecoratedPotPattern> registry, ResourceKey<DecoratedPotPattern> key, String assetId) voidBrushableBlockEntity.setLootTable(ResourceKey<LootTable> lootTable, long seed) voidDecoratedPotBlockEntity.setLootTable(ResourceKey<LootTable> lootTable) voidRandomizableContainerBlockEntity.setLootTable(ResourceKey<LootTable> lootTable) voidJigsawBlockEntity.setPool(ResourceKey<StructureTemplatePool> pool) -
Uses of ResourceKey in net.minecraft.world.level.block.entity.trialspawner
Fields in net.minecraft.world.level.block.entity.trialspawner declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootTable> TrialSpawnerConfig.itemsToDropWhenOminousThe field for theitemsToDropWhenOminousrecord component.Fields in net.minecraft.world.level.block.entity.trialspawner with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprotected Optional<ResourceKey<LootTable>> TrialSpawnerData.ejectingLootTableprivate final SimpleWeightedRandomList<ResourceKey<LootTable>> TrialSpawnerConfig.lootTablesToEjectThe field for thelootTablesToEjectrecord component.Methods in net.minecraft.world.level.block.entity.trialspawner that return ResourceKeyModifier and TypeMethodDescriptionTrialSpawnerConfig.itemsToDropWhenOminous()Returns the value of theitemsToDropWhenOminousrecord component.Methods in net.minecraft.world.level.block.entity.trialspawner that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionTrialSpawnerConfig.lootTablesToEject()Returns the value of thelootTablesToEjectrecord component.Methods in net.minecraft.world.level.block.entity.trialspawner with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidTrialSpawner.ejectReward(ServerLevel level, BlockPos pos, ResourceKey<LootTable> lootTable) Constructors in net.minecraft.world.level.block.entity.trialspawner with parameters of type ResourceKeyModifierConstructorDescriptionTrialSpawnerConfig(int spawnRange, float totalMobs, float simultaneousMobs, float totalMobsAddedPerPlayer, float simultaneousMobsAddedPerPlayer, int ticksBetweenSpawn, SimpleWeightedRandomList<SpawnData> spawnPotentialsDefinition, SimpleWeightedRandomList<ResourceKey<LootTable>> lootTablesToEject, ResourceKey<LootTable> itemsToDropWhenOminous) Creates an instance of aTrialSpawnerConfigrecord class. -
Uses of ResourceKey in net.minecraft.world.level.block.entity.vault
Fields in net.minecraft.world.level.block.entity.vault declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootTable> VaultConfig.lootTableThe field for thelootTablerecord component.Fields in net.minecraft.world.level.block.entity.vault with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Optional<ResourceKey<LootTable>> VaultConfig.overrideLootTableToDisplayThe field for theoverrideLootTableToDisplayrecord component.Methods in net.minecraft.world.level.block.entity.vault that return ResourceKeyModifier and TypeMethodDescriptionVaultConfig.lootTable()Returns the value of thelootTablerecord component.Methods in net.minecraft.world.level.block.entity.vault that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionVaultConfig.overrideLootTableToDisplay()Returns the value of theoverrideLootTableToDisplayrecord component.Methods in net.minecraft.world.level.block.entity.vault with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static ItemStackVaultBlockEntity.Server.getRandomDisplayItemFromLootTable(ServerLevel level, BlockPos pos, ResourceKey<LootTable> lootTable) Constructors in net.minecraft.world.level.block.entity.vault with parameters of type ResourceKeyModifierConstructorDescriptionVaultConfig(ResourceKey<LootTable> p_335999_, double p_323704_, double p_323499_, ItemStack p_323661_, Optional<ResourceKey<LootTable>> p_323481_) VaultConfig(ResourceKey<LootTable> lootTable, double activationRange, double deactivationRange, ItemStack keyItem, Optional<ResourceKey<LootTable>> overrideLootTableToDisplay, PlayerDetector playerDetector, PlayerDetector.EntitySelector entitySelector) Creates an instance of aVaultConfigrecord class.Constructor parameters in net.minecraft.world.level.block.entity.vault with type arguments of type ResourceKeyModifierConstructorDescriptionVaultConfig(ResourceKey<LootTable> p_335999_, double p_323704_, double p_323499_, ItemStack p_323661_, Optional<ResourceKey<LootTable>> p_323481_) VaultConfig(ResourceKey<LootTable> lootTable, double activationRange, double deactivationRange, ItemStack keyItem, Optional<ResourceKey<LootTable>> overrideLootTableToDisplay, PlayerDetector playerDetector, PlayerDetector.EntitySelector entitySelector) Creates an instance of aVaultConfigrecord class. -
Uses of ResourceKey in net.minecraft.world.level.block.grower
Fields in net.minecraft.world.level.block.grower with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Optional<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.flowersprivate final Optional<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.megaTreeprivate final Optional<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.secondaryFlowersprivate final Optional<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.secondaryMegaTreeprivate final Optional<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.secondaryTreeprivate final Optional<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.treeMethods in net.minecraft.world.level.block.grower that return ResourceKeyModifier and TypeMethodDescriptionprivate ResourceKey<ConfiguredFeature<?, ?>> TreeGrower.getConfiguredFeature(RandomSource random, boolean flowers) private ResourceKey<ConfiguredFeature<?, ?>> TreeGrower.getConfiguredMegaFeature(RandomSource random) Constructor parameters in net.minecraft.world.level.block.grower with type arguments of type ResourceKeyModifierConstructorDescriptionTreeGrower(String name, float secondaryChance, Optional<ResourceKey<ConfiguredFeature<?, ?>>> megaTree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> secondaryMegaTree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> tree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> secondaryTree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> flowers, Optional<ResourceKey<ConfiguredFeature<?, ?>>> secondaryFlowers) TreeGrower(String name, Optional<ResourceKey<ConfiguredFeature<?, ?>>> megaTree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> tree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> flowers) -
Uses of ResourceKey in net.minecraft.world.level.block.state
Fields in net.minecraft.world.level.block.state declared as ResourceKeyModifier and TypeFieldDescriptionprotected ResourceKey<LootTable> BlockBehaviour.drops(package private) ResourceKey<LootTable> BlockBehaviour.Properties.dropsSets loot table informationFields in net.minecraft.world.level.block.state with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Supplier<ResourceKey<LootTable>> BlockBehaviour.lootTableSupplierprivate Supplier<ResourceKey<LootTable>> BlockBehaviour.Properties.lootTableSupplierMethods in net.minecraft.world.level.block.state that return ResourceKeyMethods in net.minecraft.world.level.block.state with parameters of type ResourceKeyModifier and TypeMethodDescriptionbooleanBlockBehaviour.BlockStateBase.is(ResourceKey<Block> block) -
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.MapCodec<? extends ChunkGenerator>>> ChunkGenerator.getTypeNameForDataFixer() -
Uses of ResourceKey in net.minecraft.world.level.chunk.storage
Fields in net.minecraft.world.level.chunk.storage declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> RegionStorageInfo.dimensionThe field for thedimensionrecord component.Methods in net.minecraft.world.level.chunk.storage that return ResourceKeyModifier and TypeMethodDescriptionRegionStorageInfo.dimension()Returns the value of thedimensionrecord component.Methods in net.minecraft.world.level.chunk.storage with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate LegacyStructureDataHandlerChunkStorage.getLegacyStructureHandler(ResourceKey<Level> level, Supplier<DimensionDataStorage> storage) static voidChunkStorage.injectDatafixingContext(CompoundTag chunkData, ResourceKey<Level> levelKey, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> chunkGeneratorKey) ChunkStorage.upgradeChunkTag(ResourceKey<Level> levelKey, Supplier<DimensionDataStorage> storage, CompoundTag chunkData, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> chunkGeneratorKey) Method parameters in net.minecraft.world.level.chunk.storage with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic voidChunkStorage.injectDatafixingContext(CompoundTag chunkData, ResourceKey<Level> levelKey, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> chunkGeneratorKey) ChunkStorage.upgradeChunkTag(ResourceKey<Level> levelKey, Supplier<DimensionDataStorage> storage, CompoundTag chunkData, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> chunkGeneratorKey) Constructors in net.minecraft.world.level.chunk.storage with parameters of type ResourceKeyModifierConstructorDescriptionRegionStorageInfo(String level, ResourceKey<Level> dimension, String type) Creates an instance of aRegionStorageInforecord class. -
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<?> dynamic) Deprecated.Methods in net.minecraft.world.level.dimension with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic PathDimensionType.getStorageFolder(ResourceKey<Level> dimensionKey, Path levelFolder) -
Uses of ResourceKey in net.minecraft.world.level.gameevent.vibrations
Fields in net.minecraft.world.level.gameevent.vibrations with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic final List<ResourceKey<GameEvent>> VibrationSystem.RESONANCE_EVENTSstatic final ToIntFunction<ResourceKey<GameEvent>> VibrationSystem.VIBRATION_FREQUENCY_FOR_EVENTDeprecated.Neo: use thedata mapinstead.Methods in net.minecraft.world.level.gameevent.vibrations that return ResourceKeyModifier and TypeMethodDescriptionstatic ResourceKey<GameEvent> VibrationSystem.getResonanceEventByFrequency(int frequency) Methods in net.minecraft.world.level.gameevent.vibrations with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic intVibrationSystem.getGameEventFrequency(ResourceKey<GameEvent> eventKey) -
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<LevelStem>, LevelStem> WorldDimensions.dimensionsThe field for thedimensionsrecord component.private 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 TypeMethodDescriptionWorldDimensions.dimensions()Returns the value of thedimensionsrecord component.static Stream<ResourceKey<LevelStem>> WorldDimensions.keysInOrder(Stream<ResourceKey<LevelStem>> stemKeys) com.google.common.collect.ImmutableSet<ResourceKey<Level>> WorldDimensions.levels()static Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld(Map<ResourceKey<LevelStem>, LevelStem> stemMap, Holder<DimensionType> dimensionType, ChunkGenerator chunkGenerator) static Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld(Registry<DimensionType> dimensionTypeRegistry, Map<ResourceKey<LevelStem>, LevelStem> stemMap, ChunkGenerator chunkGenerator) Methods in net.minecraft.world.level.levelgen with parameters of type ResourceKeyModifier and TypeMethodDescription(package private) static com.mojang.serialization.LifecycleWorldDimensions.checkStability(ResourceKey<LevelStem> key, LevelStem stem) static RandomStateRandomState.create(HolderGetter.Provider registries, ResourceKey<NoiseGeneratorSettings> settingsKey, long levelSeed) WorldDimensions.get(ResourceKey<LevelStem> stemKey) private static DensityFunctionNoiseRouterData.getFunction(HolderGetter<DensityFunction> densityFunctions, ResourceKey<DensityFunction> key) RandomState.getOrCreateNoise(ResourceKey<NormalNoise.NoiseParameters> resourceKey) static NormalNoiseNoises.instantiate(HolderGetter<NormalNoise.NoiseParameters> noises, PositionalRandomFactory random, ResourceKey<NormalNoise.NoiseParameters> resourceKey) static SurfaceRules.ConditionSourceSurfaceRules.isBiome(ResourceKey<Biome>... biomes) private static booleanWorldDimensions.isVanillaLike(ResourceKey<LevelStem> key, LevelStem stem) static SurfaceRules.ConditionSourceSurfaceRules.noiseCondition(ResourceKey<NormalNoise.NoiseParameters> noise, double minThreshold) static SurfaceRules.ConditionSourceSurfaceRules.noiseCondition(ResourceKey<NormalNoise.NoiseParameters> noise, double minThreshold, double maxThreshold) private static DensityFunctionNoiseRouterData.registerAndWrap(BootstrapContext<DensityFunction> context, ResourceKey<DensityFunction> key, DensityFunction value) private static voidNoiseRouterData.registerTerrainNoises(BootstrapContext<DensityFunction> context, HolderGetter<DensityFunction> densityFunctionGetter, DensityFunction jaggedNoise, Holder<DensityFunction> continentalness, Holder<DensityFunction> erosion, ResourceKey<DensityFunction> offsetKey, ResourceKey<DensityFunction> factorKey, ResourceKey<DensityFunction> jaggednessKey, ResourceKey<DensityFunction> depthKey, ResourceKey<DensityFunction> slopedCheeseKey, boolean amplified) booleanNoiseBasedChunkGenerator.stable(ResourceKey<NoiseGeneratorSettings> settings) Method parameters in net.minecraft.world.level.levelgen with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static SurfaceRules.BiomeConditionSourceSurfaceRules.isBiome(List<ResourceKey<Biome>> biomes) static Stream<ResourceKey<LevelStem>> WorldDimensions.keysInOrder(Stream<ResourceKey<LevelStem>> stemKeys) static Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld(Map<ResourceKey<LevelStem>, LevelStem> stemMap, Holder<DimensionType> dimensionType, ChunkGenerator chunkGenerator) static Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld(Registry<DimensionType> dimensionTypeRegistry, Map<ResourceKey<LevelStem>, LevelStem> stemMap, ChunkGenerator chunkGenerator) 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>> biomes) WorldDimensions(Map<ResourceKey<LevelStem>, LevelStem> dimensions) Creates an instance of aWorldDimensionsrecord class. -
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> presetKey, ItemLike displayItem, ResourceKey<Biome> biomeKey, Set<ResourceKey<StructureSet>> structureSetKeys, boolean setDecoration, boolean addLakes, FlatLayerInfo... flatLayerInfos) Method parameters in net.minecraft.world.level.levelgen.flat with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate voidFlatLevelGeneratorPresets.Bootstrap.register(ResourceKey<FlatLevelGeneratorPreset> presetKey, ItemLike displayItem, ResourceKey<Biome> biomeKey, Set<ResourceKey<StructureSet>> structureSetKeys, boolean setDecoration, boolean addLakes, FlatLayerInfo... flatLayerInfos) -
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 TypeMethodDescriptionprivate com.google.common.collect.ImmutableMap<ResourceKey<LevelStem>, LevelStem> WorldPreset.dimensionsInOrder()static Optional<ResourceKey<WorldPreset>> WorldPresets.fromSettings(WorldDimensions worldDimensions) Methods in net.minecraft.world.level.levelgen.presets with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidWorldPresets.Bootstrap.registerCustomOverworldPreset(ResourceKey<WorldPreset> dimensionKey, LevelStem levelStem) 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.TRAIL_RUINSstatic final ResourceKey<StructureSet> BuiltinStructureSets.TRAIL_RUINSstatic final ResourceKey<Structure> BuiltinStructures.TRIAL_CHAMBERSstatic final ResourceKey<StructureSet> BuiltinStructureSets.TRIAL_CHAMBERSstatic 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 TypeMethodDescriptionprotected booleanStructurePiece.createChest(ServerLevelAccessor level, BoundingBox box, RandomSource random, BlockPos pos, ResourceKey<LootTable> lootTable, BlockState state) protected booleanStructurePiece.createChest(WorldGenLevel level, BoundingBox box, RandomSource random, int x, int y, int z, ResourceKey<LootTable> lootTable) protected booleanStructurePiece.createDispenser(WorldGenLevel level, BoundingBox box, RandomSource random, int x, int y, int z, Direction facing, ResourceKey<LootTable> lootTable) static LegacyStructureDataHandlerLegacyStructureDataHandler.getLegacyStructureHandler(ResourceKey<Level> level, DimensionDataStorage storage) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type ResourceKeyModifierConstructorDescriptionStructureCheck(ChunkScanAccess storageAccess, RegistryAccess registryAccess, StructureTemplateManager structureTemplateManager, ResourceKey<Level> dimension, ChunkGenerator chunkGenerator, RandomState randomState, LevelHeightAccessor heightAccessor, BiomeSource biomeSource, long seed, com.mojang.datafixers.DataFixer fixerUpper) -
Uses of 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.readPoolKey(StructureTemplate.StructureBlockInfo blockInfo, PoolAliasLookup aliasLookup) -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure.pools.alias
Fields in net.minecraft.world.level.levelgen.structure.pools.alias declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<StructureTemplatePool> Direct.aliasThe field for thealiasrecord component.private final ResourceKey<StructureTemplatePool> Random.aliasThe field for thealiasrecord component.private final ResourceKey<StructureTemplatePool> Direct.targetThe field for thetargetrecord component.Fields in net.minecraft.world.level.levelgen.structure.pools.alias with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> Random.targetsThe field for thetargetsrecord component.Methods in net.minecraft.world.level.levelgen.structure.pools.alias that return ResourceKeyModifier and TypeMethodDescriptionDirect.alias()Returns the value of thealiasrecord component.Random.alias()Returns the value of thealiasrecord component.PoolAliasLookup.lookup(ResourceKey<StructureTemplatePool> poolKey) Direct.target()Returns the value of thetargetrecord component.Methods in net.minecraft.world.level.levelgen.structure.pools.alias that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionDirect.allTargets()PoolAliasBinding.allTargets()Random.allTargets()RandomGroup.allTargets()Random.targets()Returns the value of thetargetsrecord component.Methods in net.minecraft.world.level.levelgen.structure.pools.alias with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic DirectPoolAliasBinding.direct(ResourceKey<StructureTemplatePool> alias, ResourceKey<StructureTemplatePool> target) PoolAliasLookup.lookup(ResourceKey<StructureTemplatePool> poolKey) static RandomPoolAliasBinding.random(ResourceKey<StructureTemplatePool> alias, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> targets) Method parameters in net.minecraft.world.level.levelgen.structure.pools.alias with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidDirect.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) voidDirect.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) voidPoolAliasBinding.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) voidPoolAliasBinding.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) voidRandom.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) voidRandom.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) voidRandomGroup.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) voidRandomGroup.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> stucturePoolKey) static RandomPoolAliasBinding.random(ResourceKey<StructureTemplatePool> alias, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> targets) Constructors in net.minecraft.world.level.levelgen.structure.pools.alias with parameters of type ResourceKeyModifierConstructorDescription(package private)Direct(ResourceKey<StructureTemplatePool> alias, ResourceKey<StructureTemplatePool> target) Creates an instance of aDirectrecord class.(package private)Random(ResourceKey<StructureTemplatePool> alias, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> targets) Creates an instance of aRandomrecord class.Constructor parameters in net.minecraft.world.level.levelgen.structure.pools.alias with type arguments of type ResourceKeyModifierConstructorDescription(package private)Random(ResourceKey<StructureTemplatePool> alias, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> targets) Creates an instance of aRandomrecord class. -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure.structures
Fields in net.minecraft.world.level.levelgen.structure.structures with type parameters of type ResourceKeyModifier and TypeFieldDescription(package private) static final Map<String, ResourceKey<LootTable>> ShipwreckPieces.MARKERS_TO_LOOTMethods in net.minecraft.world.level.levelgen.structure.structures with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static StructureProcessorOceanRuinPieces.archyRuleProcessor(Block block, Block suspiciousBlock, ResourceKey<LootTable> lootTable) protected booleanMineshaftPieces.MineShaftCorridor.createChest(WorldGenLevel level, BoundingBox box, RandomSource random, int x, int y, int z, ResourceKey<LootTable> lootTable) -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity
Fields in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity declared as ResourceKeyConstructors in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity with parameters of type ResourceKey -
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 scale, boolean locked, ResourceKey<Level> dimension) static MapItemSavedDataMapItemSavedData.createFresh(double x, double z, byte scale, boolean trackingPosition, boolean unlimitedTracking, ResourceKey<Level> dimension) Constructors in net.minecraft.world.level.saveddata.maps with parameters of type ResourceKeyModifierConstructorDescriptionprivateMapItemSavedData(int x, int z, byte scale, boolean trackingPosition, boolean unlimitedTracking, boolean locked, ResourceKey<Level> dimension) -
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> dimensionPath) -
Uses of ResourceKey in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<LootTable> BuiltInLootTables.ABANDONED_MINESHAFTstatic final ResourceKey<LootTable> BuiltInLootTables.ANCIENT_CITYstatic final ResourceKey<LootTable> BuiltInLootTables.ANCIENT_CITY_ICE_BOXstatic final ResourceKey<LootTable> BuiltInLootTables.ARMORER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.BASTION_BRIDGEstatic final ResourceKey<LootTable> BuiltInLootTables.BASTION_HOGLIN_STABLEstatic final ResourceKey<LootTable> BuiltInLootTables.BASTION_OTHERstatic final ResourceKey<LootTable> BuiltInLootTables.BASTION_TREASUREstatic final ResourceKey<LootTable> BuiltInLootTables.BOGGED_SHEARstatic final ResourceKey<LootTable> BuiltInLootTables.BURIED_TREASUREstatic final ResourceKey<LootTable> BuiltInLootTables.BUTCHER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.CARTOGRAPHER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.CAT_MORNING_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.CLERIC_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.DESERT_PYRAMIDstatic final ResourceKey<LootTable> BuiltInLootTables.DESERT_PYRAMID_ARCHAEOLOGYstatic final ResourceKey<LootTable> BuiltInLootTables.DESERT_WELL_ARCHAEOLOGYstatic final ResourceKey<LootTable> BuiltInLootTables.EMPTYstatic final ResourceKey<LootTable> BuiltInLootTables.END_CITY_TREASUREstatic final ResourceKey<LootTable> BuiltInLootTables.EQUIPMENT_TRIAL_CHAMBERstatic final ResourceKey<LootTable> BuiltInLootTables.EQUIPMENT_TRIAL_CHAMBER_MELEEstatic final ResourceKey<LootTable> BuiltInLootTables.EQUIPMENT_TRIAL_CHAMBER_RANGEDstatic final ResourceKey<LootTable> BuiltInLootTables.FARMER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.FISHERMAN_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.FISHINGstatic final ResourceKey<LootTable> BuiltInLootTables.FISHING_FISHstatic final ResourceKey<LootTable> BuiltInLootTables.FISHING_JUNKstatic final ResourceKey<LootTable> BuiltInLootTables.FISHING_TREASUREstatic final ResourceKey<LootTable> BuiltInLootTables.FLETCHER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.IGLOO_CHESTstatic final ResourceKey<LootTable> BuiltInLootTables.JUNGLE_TEMPLEstatic final ResourceKey<LootTable> BuiltInLootTables.JUNGLE_TEMPLE_DISPENSERstatic final ResourceKey<LootTable> BuiltInLootTables.LEATHERWORKER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.LIBRARIAN_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.MASON_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.NETHER_BRIDGEstatic final ResourceKey<LootTable> BuiltInLootTables.OCEAN_RUIN_COLD_ARCHAEOLOGYstatic final ResourceKey<LootTable> BuiltInLootTables.OCEAN_RUIN_WARM_ARCHAEOLOGYstatic final ResourceKey<LootTable> BuiltInLootTables.PANDA_SNEEZEstatic final ResourceKey<LootTable> BuiltInLootTables.PIGLIN_BARTERINGstatic final ResourceKey<LootTable> BuiltInLootTables.PILLAGER_OUTPOSTprivate final ResourceKey<Registry<T>> LootDataType.registryKeyThe field for theregistryKeyrecord component.static final ResourceKey<LootTable> BuiltInLootTables.RUINED_PORTALstatic final ResourceKey<LootTable> BuiltInLootTables.SHEEP_BLACKstatic final ResourceKey<LootTable> BuiltInLootTables.SHEEP_BLUEstatic final ResourceKey<LootTable> BuiltInLootTables.SHEEP_BROWNstatic final ResourceKey<LootTable> BuiltInLootTables.SHEEP_CYANstatic final ResourceKey<LootTable> BuiltInLootTables.SHEEP_GRAYstatic final ResourceKey<LootTable> BuiltInLootTables.SHEEP_GREENstatic final ResourceKey<LootTable> BuiltInLootTables.SHEEP_LIGHT_BLUEstatic final ResourceKey<LootTable> BuiltInLootTables.SHEEP_LIGHT_GRAYstatic final ResourceKey<LootTable> BuiltInLootTables.SHEEP_LIMEstatic final ResourceKey<LootTable> BuiltInLootTables.SHEEP_MAGENTAstatic final ResourceKey<LootTable> BuiltInLootTables.SHEEP_ORANGEstatic final ResourceKey<LootTable> BuiltInLootTables.SHEEP_PINKstatic final ResourceKey<LootTable> BuiltInLootTables.SHEEP_PURPLEstatic final ResourceKey<LootTable> BuiltInLootTables.SHEEP_REDstatic final ResourceKey<LootTable> BuiltInLootTables.SHEEP_WHITEstatic final ResourceKey<LootTable> BuiltInLootTables.SHEEP_YELLOWstatic final ResourceKey<LootTable> BuiltInLootTables.SHEPHERD_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.SHIPWRECK_MAPstatic final ResourceKey<LootTable> BuiltInLootTables.SHIPWRECK_SUPPLYstatic final ResourceKey<LootTable> BuiltInLootTables.SHIPWRECK_TREASUREstatic final ResourceKey<LootTable> BuiltInLootTables.SIMPLE_DUNGEONstatic final ResourceKey<LootTable> BuiltInLootTables.SNIFFER_DIGGINGstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWN_BONUS_CHESTstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWNER_OMINOUS_TRIAL_CHAMBER_CONSUMABLESstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWNER_OMINOUS_TRIAL_CHAMBER_KEYstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWNER_TRIAL_CHAMBER_CONSUMABLESstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWNER_TRIAL_CHAMBER_KEYstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWNER_TRIAL_ITEMS_TO_DROP_WHEN_OMINOUSstatic final ResourceKey<LootTable> BuiltInLootTables.STRONGHOLD_CORRIDORstatic final ResourceKey<LootTable> BuiltInLootTables.STRONGHOLD_CROSSINGstatic final ResourceKey<LootTable> BuiltInLootTables.STRONGHOLD_LIBRARYstatic final ResourceKey<LootTable> BuiltInLootTables.TOOLSMITH_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.TRAIL_RUINS_ARCHAEOLOGY_COMMONstatic final ResourceKey<LootTable> BuiltInLootTables.TRAIL_RUINS_ARCHAEOLOGY_RAREstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CHAMBER_DISPENSERstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CORRIDORstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR_DISPENSERstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR_POTstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_ENTRANCEstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_INTERSECTIONstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_INTERSECTION_BARRELstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARDstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_COMMONstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUSstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_COMMONstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_RAREstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_UNIQUEstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_RAREstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_UNIQUEstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_SUPPLYstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_WATER_DISPENSERstatic final ResourceKey<LootTable> BuiltInLootTables.UNDERWATER_RUIN_BIGstatic final ResourceKey<LootTable> BuiltInLootTables.UNDERWATER_RUIN_SMALLstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_ARMORERstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_BUTCHERstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_CARTOGRAPHERstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_DESERT_HOUSEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_FISHERstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_FLETCHERstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_MASONstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_PLAINS_HOUSEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_SAVANNA_HOUSEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_SHEPHERDstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_SNOWY_HOUSEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_TAIGA_HOUSEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_TANNERYstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_TEMPLEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_TOOLSMITHstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_WEAPONSMITHstatic final ResourceKey<LootTable> BuiltInLootTables.WEAPONSMITH_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.WOODLAND_MANSIONFields in net.minecraft.world.level.storage.loot with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Set<ResourceKey<LootTable>> BuiltInLootTables.IMMUTABLE_LOCATIONSprivate static final Set<ResourceKey<LootTable>> BuiltInLootTables.LOCATIONSprivate final Set<ResourceKey<?>> ValidationContext.visitedElementsMethods in net.minecraft.world.level.storage.loot that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<LootTable> private static ResourceKey<LootTable> BuiltInLootTables.register(ResourceKey<LootTable> name) LootDataType.registryKey()Returns the value of theregistryKeyrecord component.Methods in net.minecraft.world.level.storage.loot that return types with arguments of type ResourceKeyMethods in net.minecraft.world.level.storage.loot with parameters of type ResourceKeyModifier and TypeMethodDescriptionValidationContext.enterElement(String name, ResourceKey<?> key) booleanValidationContext.hasVisitedElement(ResourceKey<?> key) private static ResourceKey<LootTable> BuiltInLootTables.register(ResourceKey<LootTable> name) voidLootDataType.Validator.run(ValidationContext context, ResourceKey<T> key, T value) voidLootDataType.runValidation(ValidationContext context, ResourceKey<T> key, T value) Constructors in net.minecraft.world.level.storage.loot with parameters of type ResourceKeyModifierConstructorDescriptionprivateLootDataType(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator) Deprecated.Neo: use the constructorto support conditionsinvalid reference
with a default value and id setterLootDataType(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator, T defaultValue, com.mojang.serialization.Codec<Optional<T>> conditionalCodec, BiConsumer<T, ResourceLocation> idSetter) Creates an instance of aLootDataTyperecord class.privateLootDataType(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator, T defaultValue, BiConsumer<T, ResourceLocation> idSetter) Constructor parameters in net.minecraft.world.level.storage.loot with type arguments of type ResourceKeyModifierConstructorDescriptionprivateValidationContext(ProblemReporter reporter, LootContextParamSet params, Optional<HolderGetter.Provider> resolver, Set<ResourceKey<?>> visitedElements) -
Uses of ResourceKey in net.minecraft.world.level.storage.loot.entries
Fields in net.minecraft.world.level.storage.loot.entries with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final com.mojang.datafixers.util.Either<ResourceKey<LootTable>, LootTable> NestedLootTable.contentsMethods in net.minecraft.world.level.storage.loot.entries with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder<?> NestedLootTable.lootTableReference(ResourceKey<LootTable> lootTable) Constructor parameters in net.minecraft.world.level.storage.loot.entries with type arguments of type ResourceKeyModifierConstructorDescriptionprivateNestedLootTable(com.mojang.datafixers.util.Either<ResourceKey<LootTable>, LootTable> contents, int weight, int quality, List<LootItemCondition> conditions, List<LootItemFunction> functions) -
Uses of ResourceKey in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootItemFunction> FunctionReference.nameprivate final ResourceKey<LootTable> SetContainerLootTable.nameMethods in net.minecraft.world.level.storage.loot.functions with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?> FunctionReference.functionReference(ResourceKey<LootItemFunction> key) static LootItemConditionalFunction.Builder<?> SetContainerLootTable.withLootTable(BlockEntityType<?> type, ResourceKey<LootTable> toolTable) static LootItemConditionalFunction.Builder<?> SetContainerLootTable.withLootTable(BlockEntityType<?> type, ResourceKey<LootTable> lootTable, long seed) Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type ResourceKeyModifierConstructorDescriptionprivateFunctionReference(List<LootItemCondition> conditions, ResourceKey<LootItemFunction> name) privateSetContainerLootTable(List<LootItemCondition> conditions, ResourceKey<LootTable> name, long seed, Holder<BlockEntityType<?>> type) -
Uses of ResourceKey in net.minecraft.world.level.storage.loot.predicates
Fields in net.minecraft.world.level.storage.loot.predicates declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootItemCondition> ConditionReference.nameThe field for thenamerecord component.Methods in net.minecraft.world.level.storage.loot.predicates that return ResourceKeyModifier and TypeMethodDescriptionConditionReference.name()Returns the value of thenamerecord component.Methods in net.minecraft.world.level.storage.loot.predicates with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic LootItemCondition.BuilderConditionReference.conditionReference(ResourceKey<LootItemCondition> name) Constructors in net.minecraft.world.level.storage.loot.predicates with parameters of type ResourceKeyModifierConstructorDescriptionCreates an instance of aConditionReferencerecord class. -
Uses of ResourceKey in net.neoforged.neoforge.client
Fields in net.neoforged.neoforge.client with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Map<com.mojang.datafixers.util.Pair<ResourceKey<Level>, ResourceKey<Level>>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> DimensionTransitionScreenManager.conditionalDimensionEffectsprivate static final Map<com.mojang.datafixers.util.Pair<ResourceKey<Level>, ResourceKey<Level>>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> DimensionTransitionScreenManager.conditionalDimensionEffectsprivate static Map<ResourceKey<WorldPreset>, PresetEditor> PresetEditorManager.editorsprivate static final Map<ResourceKey<Level>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> DimensionTransitionScreenManager.fromDimensionTransitionsprivate static final Map<ResourceKey<Level>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> DimensionTransitionScreenManager.toDimensionTransitionsMethods in net.neoforged.neoforge.client that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionClientCommandSourceStack.levels()Returns a set ofResourceKeyfor levels from the client side.Methods in net.neoforged.neoforge.client with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic @Nullable PresetEditorPresetEditorManager.get(ResourceKey<WorldPreset> key) Returns the PresetEditor for the given WorldPreset key, or null if no such PresetEditor exists.DimensionTransitionScreenManager.getScreen(@Nullable ResourceKey<Level> toDimension, @Nullable ResourceKey<Level> fromDimension) static <T> @Nullable HolderLookup.RegistryLookup<T> ClientHooks.resolveLookup(ResourceKey<? extends Registry<T>> key) -
Uses of ResourceKey in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<com.mojang.datafixers.util.Pair<ResourceKey<Level>, ResourceKey<Level>>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> RegisterDimensionTransitionScreenEvent.conditionalDimensionEffectsprivate final Map<com.mojang.datafixers.util.Pair<ResourceKey<Level>, ResourceKey<Level>>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> RegisterDimensionTransitionScreenEvent.conditionalDimensionEffectsprivate final Map<ResourceKey<WorldPreset>, PresetEditor> RegisterPresetEditorsEvent.editorsRegisterDimensionTransitionScreenEvent.fromEffectsRegisterDimensionTransitionScreenEvent.toEffectsMethods in net.neoforged.neoforge.client.event with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidRegisterPresetEditorsEvent.register(ResourceKey<WorldPreset> key, PresetEditor editor) Registers a PresetEditor for a given world preset key.booleanRegisterDimensionTransitionScreenEvent.registerConditionalEffect(ResourceKey<Level> toDimension, ResourceKey<Level> fromDimension, DimensionTransitionScreenManager.ReceivingLevelScreenFactory screen) Registers a dimension transition when traveling to a dimension from a certain dimension.booleanRegisterDimensionTransitionScreenEvent.registerIncomingEffect(ResourceKey<Level> dimension, DimensionTransitionScreenManager.ReceivingLevelScreenFactory screen) Registers a dimension transition when traveling to a dimension.booleanRegisterDimensionTransitionScreenEvent.registerOutgoingEffect(ResourceKey<Level> dimension, DimensionTransitionScreenManager.ReceivingLevelScreenFactory screen) Registers a dimension transition when traveling from a dimension.Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type ResourceKeyModifierConstructorDescriptionRegisterDimensionTransitionScreenEvent(Map<com.mojang.datafixers.util.Pair<ResourceKey<Level>, ResourceKey<Level>>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> conditionalDimensionEffects, Map<ResourceKey<Level>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> toEffects, Map<ResourceKey<Level>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> fromEffects) RegisterDimensionTransitionScreenEvent(Map<com.mojang.datafixers.util.Pair<ResourceKey<Level>, ResourceKey<Level>>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> conditionalDimensionEffects, Map<ResourceKey<Level>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> toEffects, Map<ResourceKey<Level>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> fromEffects) -
Uses of ResourceKey in net.neoforged.neoforge.client.model.generators
Fields in net.neoforged.neoforge.client.model.generators with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final List<ResourceKey<TrimMaterial>> ItemModelBuilder.VANILLA_TRIM_MATERIALS -
Uses of ResourceKey in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<DamageType> NeoForgeMod.POISON_DAMAGEUsed in place ofDamageSources.magic()for damage dealt byMobEffects.POISON.Methods in net.neoforged.neoforge.common with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static <T> AbstractMap.SimpleEntry<TagKey<T>, String> TagConventionLogWarning.createForgeMapEntry(ResourceKey<Registry<T>> registryKey, String tagId1, String tagId2) private static <T,R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createForgeMapEntry(ResourceKey<Registry<T>> registryKey, String tagId1, TagKey<R> tag2) private static <T,R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createMapEntry(ResourceKey<Registry<T>> registryKey, String tagNamespace1, String tagId1, TagKey<R> tag2) private static <T,R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createMapEntry(ResourceKey<Registry<T>> registryKey, String tagNamespace1, String tagId1, TagKey<R>... replacementTags) private static <T> TagKey<T> TagConventionLogWarning.createTagKey(ResourceKey<Registry<T>> registryKey, String namespace, String tagId) static booleanCommonHooks.onTravelToDimension(Entity entity, ResourceKey<Level> dimension) static <T> @Nullable HolderLookup.RegistryLookup<T> CommonHooks.resolveLookup(ResourceKey<? extends Registry<T>> key) Attempts to resolve aHolderLookup.RegistryLookupusing the current global state. -
Uses of ResourceKey in net.neoforged.neoforge.common.conditions
Fields in net.neoforged.neoforge.common.conditions with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate @Nullable Map<ResourceKey<?>, Map<ResourceLocation, Collection<Holder<?>>>> ConditionContext.loadedTagsMethods in net.neoforged.neoforge.common.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.neoforged.neoforge.common.data
Fields in net.neoforged.neoforge.common.data declared as ResourceKeyModifier and TypeFieldDescriptionprotected final ResourceKey<Registry<R>> DataMapProvider.Builder.registryKeyFields in net.neoforged.neoforge.common.data with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> DataMapProvider.Builder.valuesMethods in net.neoforged.neoforge.common.data that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static Map<ResourceKey<?>, List<ICondition>> DatapackBuiltinEntriesProvider.buildConditionsMap(Consumer<BiConsumer<ResourceKey<?>, ICondition>> conditionBuilder) Methods in net.neoforged.neoforge.common.data with parameters of type ResourceKeyModifier and TypeMethodDescriptionDataMapProvider.Builder.add(ResourceKey<R> key, T value, boolean replace, ICondition... conditions) voidLanguageProvider.addDimension(ResourceKey<Level> dimension, String value) Method parameters in net.neoforged.neoforge.common.data with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static Map<ResourceKey<?>, List<ICondition>> DatapackBuiltinEntriesProvider.buildConditionsMap(Consumer<BiConsumer<ResourceKey<?>, ICondition>> conditionBuilder) Constructor parameters in net.neoforged.neoforge.common.data with type arguments of type ResourceKeyModifierConstructorDescriptionDatapackBuiltinEntriesProvider(PackOutput output, CompletableFuture<HolderLookup.Provider> registries, RegistrySetBuilder datapackEntriesBuilder, Consumer<BiConsumer<ResourceKey<?>, ICondition>> conditionsBuilder, Set<String> modIds) Constructs a new datapack provider which generates all registry objects from the provided mods using the holder.DatapackBuiltinEntriesProvider(PackOutput output, CompletableFuture<HolderLookup.Provider> registries, RegistrySetBuilder datapackEntriesBuilder, Map<ResourceKey<?>, List<ICondition>> conditions, Set<String> modIds) Constructs a new datapack provider which generates all registry objects from the provided mods using the holder.DatapackBuiltinEntriesProvider(PackOutput output, CompletableFuture<RegistrySetBuilder.PatchedRegistries> registries, Consumer<BiConsumer<ResourceKey<?>, ICondition>> conditionsBuilder, Set<String> modIds) Constructs a new datapack provider which generates all registry objects from the provided mods using the holder.DatapackBuiltinEntriesProvider(PackOutput output, CompletableFuture<RegistrySetBuilder.PatchedRegistries> registries, Map<ResourceKey<?>, List<ICondition>> conditions, Set<String> modIds) Constructs a new datapack provider which generates all registry objects from the provided mods using the holder. -
Uses of ResourceKey in net.neoforged.neoforge.common.data.internal
Methods in net.neoforged.neoforge.common.data.internal with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate TagsProvider.TagAppender<DamageType> NeoForgeDamageTypeTagsProvider.addAsVanilla(ResourceKey<DamageType> entry) Returns an appender for vanilla tags that contain the given entry directly.private voidNeoForgeBiomeTagsProvider.tag(ResourceKey<Biome> biome, TagKey<Biome>... tags) private voidNeoForgeDamageTypeTagsProvider.tag(ResourceKey<DamageType> type, TagKey<DamageType>... tags) -
Uses of ResourceKey in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return ResourceKeyModifier and TypeMethodDescriptiondefault @Nullable ResourceKey<T> IHolderExtension.getKey()Get the resource key held by this Holder, or null if none is present.Methods in net.neoforged.neoforge.common.extensions with parameters of type ResourceKeyModifier and TypeMethodDescriptiondefault voidIPlayerListExtension.broadcast(double x, double y, double z, double range, ResourceKey<Level> level, CustomPacketPayload payload) Sends a payload to all players within the specific level, within a given range around the target pointdefault voidIPlayerListExtension.broadcast(Player excludedPlayer, double x, double y, double z, double range, ResourceKey<Level> level, CustomPacketPayload payload) Sends a payload to all players within the specific level, within a given range around the target point, excluding the specified player.default voidIPlayerListExtension.broadcastAll(CustomPacketPayload payload, ResourceKey<Level> targetLevel) Sends a payload to all players within the specific level.default <T> Optional<Holder.Reference<T>> IHolderLookupProviderExtension.holder(ResourceKey<T> key) Shortcut method to get an optional holder from a ResourceKey.default <T> Optional<Holder.Reference<T>> ILevelReaderExtension.holder(ResourceKey<T> key) Shortcut method to get an optional holder from a ResourceKey.default <T> Holder<T> IHolderLookupProviderExtension.holderOrThrow(ResourceKey<T> key) Shortcut method to get a holder from a ResourceKey.default <T> Holder<T> ILevelReaderExtension.holderOrThrow(ResourceKey<T> key) Shortcut method to get a holder from a ResourceKey.IIntrinsicHolderTagAppenderExtension.remove(ResourceKey<T> resourceKey) IIntrinsicHolderTagAppenderExtension.remove(ResourceKey<T> firstResourceKey, ResourceKey<T>... resourceKeys) default TagsProvider.TagAppender<T> ITagAppenderExtension.remove(ResourceKey<T> resourceKey) Adds a resource key to the tag json's remove list.default TagsProvider.TagAppender<T> ITagAppenderExtension.remove(ResourceKey<T> firstResourceKey, ResourceKey<T>... resourceKeys) Adds multiple resource keys to the tag json's remove list. -
Uses of ResourceKey in net.neoforged.neoforge.common.loot
Fields in net.neoforged.neoforge.common.loot declared as ResourceKeyMethods in net.neoforged.neoforge.common.loot that return ResourceKeyConstructors in net.neoforged.neoforge.common.loot with parameters of type ResourceKeyModifierConstructorDescriptionAddTableLootModifier(LootItemCondition[] conditionsIn, ResourceKey<LootTable> table) -
Uses of ResourceKey in net.neoforged.neoforge.common.util
Fields in net.neoforged.neoforge.common.util declared as ResourceKeyMethods in net.neoforged.neoforge.common.util that return ResourceKeyModifier and TypeMethodDescriptionBlockSnapshot.getDimension()Returns the recorded dimension key.Methods in net.neoforged.neoforge.common.util with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic BlockSnapshotBlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos) Creates a new snapshot with the default block flags (and Block#UPDATE_CLIENTS.static BlockSnapshotBlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, int flag) Creates a new snapshot of the data at the given position.Constructors in net.neoforged.neoforge.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.neoforged.neoforge.data.event
Method parameters in net.neoforged.neoforge.data.event with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidGatherDataEvent.createDatapackRegistryObjects(RegistrySetBuilder datapackEntriesBuilder, Consumer<BiConsumer<ResourceKey<?>, ICondition>> conditionsBuilder) voidGatherDataEvent.createDatapackRegistryObjects(RegistrySetBuilder datapackEntriesBuilder, Consumer<BiConsumer<ResourceKey<?>, ICondition>> conditionsBuilder, Set<String> modIds) voidGatherDataEvent.createDatapackRegistryObjects(RegistrySetBuilder datapackEntriesBuilder, Map<ResourceKey<?>, List<ICondition>> conditions) voidGatherDataEvent.createDatapackRegistryObjects(RegistrySetBuilder datapackEntriesBuilder, Map<ResourceKey<?>, List<ICondition>> conditions, Set<String> modIds) -
Uses of ResourceKey in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<CreativeModeTab> BuildCreativeModeTabContentsEvent.tabKeyMethods in net.neoforged.neoforge.event that return ResourceKeyModifier and TypeMethodDescriptionBuildCreativeModeTabContentsEvent.getTabKey()Returns the key of the creative mode tab currently populating its contents.Methods in net.neoforged.neoforge.event with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic voidEventHooks.firePlayerChangedDimensionEvent(Player player, ResourceKey<Level> fromDim, ResourceKey<Level> toDim) voidBlockEntityTypeAddBlocksEvent.modify(ResourceKey<BlockEntityType<?>> blockEntityTypeKey, Block... blocksToAdd) Will add the given blocks to theBlockEntityType's set of valid blocks.static voidEventHooks.onCreativeModeTabBuildContents(CreativeModeTab tab, ResourceKey<CreativeModeTab> tabKey, CreativeModeTab.DisplayItemsGenerator originalGenerator, CreativeModeTab.ItemDisplayParameters params, CreativeModeTab.Output output) Fires theBuildCreativeModeTabContentsEvent.static booleanEventHooks.onPlayerSpawnSet(Player player, ResourceKey<Level> levelKey, BlockPos pos, boolean forced) Method parameters in net.neoforged.neoforge.event with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidBlockEntityTypeAddBlocksEvent.modify(BiPredicate<ResourceKey<BlockEntityType<?>>, BlockEntityType<?>> blockEntityTypeToMatch, Block... blocksToAdd) Will add the given blocks to the matchingBlockEntityType's set of valid blocks.Constructors in net.neoforged.neoforge.event with parameters of type ResourceKeyModifierConstructorDescriptionBuildCreativeModeTabContentsEvent(CreativeModeTab tab, ResourceKey<CreativeModeTab> tabKey, CreativeModeTab.ItemDisplayParameters parameters, InsertableLinkedOpenCustomHashSet<ItemStack> parentEntries, InsertableLinkedOpenCustomHashSet<ItemStack> searchEntries) -
Uses of ResourceKey in net.neoforged.neoforge.event.enchanting
Methods in net.neoforged.neoforge.event.enchanting with parameters of type ResourceKeyModifier and TypeMethodDescriptionGetEnchantmentLevelEvent.getHolder(ResourceKey<Enchantment> key) Attempts to resolve aHolder.Referencefor a target enchantment.booleanGetEnchantmentLevelEvent.isTargetting(ResourceKey<Enchantment> ench) Helper method aroundGetEnchantmentLevelEvent.getTargetEnchant()that checks if the target is the specified enchantment, or if the target is null. -
Uses of ResourceKey in net.neoforged.neoforge.event.entity
Fields in net.neoforged.neoforge.event.entity declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> EntityTravelToDimensionEvent.dimensionMethods in net.neoforged.neoforge.event.entity that return ResourceKeyConstructors in net.neoforged.neoforge.event.entity with parameters of type ResourceKeyModifierConstructorDescriptionEntityTravelToDimensionEvent(Entity entity, ResourceKey<Level> dimension) -
Uses of ResourceKey in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.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.neoforged.neoforge.event.entity.player that return ResourceKeyModifier and TypeMethodDescriptionPlayerEvent.PlayerChangedDimensionEvent.getFrom()PlayerSetSpawnEvent.getSpawnLevel()PlayerEvent.PlayerChangedDimensionEvent.getTo()Methods in net.neoforged.neoforge.event.entity.player with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidPlayerRespawnPositionEvent.setRespawnLevel(ResourceKey<Level> respawnLevelResourceKey) Set the level the player will respawn into using aResourceKey.Constructors in net.neoforged.neoforge.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.neoforged.neoforge.event.level
Methods in net.neoforged.neoforge.event.level with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidBlockGrowFeatureEvent.setFeature(ResourceKey<ConfiguredFeature<?, ?>> featureKey) Changes the feature that will be grown. -
Uses of ResourceKey in net.neoforged.neoforge.mixins
Methods in net.neoforged.neoforge.mixins that return types with arguments of type ResourceKey -
Uses of ResourceKey in net.neoforged.neoforge.network.codec
Methods in net.neoforged.neoforge.network.codec that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic <B extends FriendlyByteBuf>
StreamCodec<B, ResourceKey<? extends Registry<?>>> NeoForgeStreamCodecs.registryKey()Creates a stream codec to encode and decode aResourceKeythat identifies a registry. -
Uses of ResourceKey in net.neoforged.neoforge.network.payload
Fields in net.neoforged.neoforge.network.payload declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<? extends Registry<T>> RegistryDataMapSyncPayload.registryKeyThe field for theregistryKeyrecord component.Fields in net.neoforged.neoforge.network.payload with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>, List<KnownRegistryDataMapsPayload.KnownDataMap>> KnownRegistryDataMapsPayload.dataMapsThe field for thedataMapsrecord component.private final Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> KnownRegistryDataMapsReplyPayload.dataMapsThe field for thedataMapsrecord component.private final Map<ResourceLocation, Map<ResourceKey<T>, ?>> RegistryDataMapSyncPayload.dataMapsThe field for thedataMapsrecord component.Methods in net.neoforged.neoforge.network.payload that return ResourceKeyModifier and TypeMethodDescriptionResourceKey<? extends Registry<T>> RegistryDataMapSyncPayload.registryKey()Returns the value of theregistryKeyrecord component.Methods in net.neoforged.neoforge.network.payload that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionMap<ResourceKey<? extends Registry<?>>, List<KnownRegistryDataMapsPayload.KnownDataMap>> KnownRegistryDataMapsPayload.dataMaps()Returns the value of thedataMapsrecord component.Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> KnownRegistryDataMapsReplyPayload.dataMaps()Returns the value of thedataMapsrecord component.Map<ResourceLocation, Map<ResourceKey<T>, ?>> RegistryDataMapSyncPayload.dataMaps()Returns the value of thedataMapsrecord component.Constructors in net.neoforged.neoforge.network.payload with parameters of type ResourceKeyModifierConstructorDescriptionRegistryDataMapSyncPayload(ResourceKey<? extends Registry<T>> registryKey, Map<ResourceLocation, Map<ResourceKey<T>, ?>> dataMaps) Creates an instance of aRegistryDataMapSyncPayloadrecord class.Constructor parameters in net.neoforged.neoforge.network.payload with type arguments of type ResourceKeyModifierConstructorDescriptionKnownRegistryDataMapsPayload(Map<ResourceKey<? extends Registry<?>>, List<KnownRegistryDataMapsPayload.KnownDataMap>> dataMaps) Creates an instance of aKnownRegistryDataMapsPayloadrecord class.KnownRegistryDataMapsReplyPayload(Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> dataMaps) Creates an instance of aKnownRegistryDataMapsReplyPayloadrecord class.RegistryDataMapSyncPayload(ResourceKey<? extends Registry<T>> registryKey, Map<ResourceLocation, Map<ResourceKey<T>, ?>> dataMaps) Creates an instance of aRegistryDataMapSyncPayloadrecord class. -
Uses of ResourceKey in net.neoforged.neoforge.registries
Fields in net.neoforged.neoforge.registries declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<AttachmentType<?>>> NeoForgeRegistries.Keys.ATTACHMENT_TYPESstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends BiomeModifier>>> NeoForgeRegistries.Keys.BIOME_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<BiomeModifier>> NeoForgeRegistries.Keys.BIOME_MODIFIERSstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends ICondition>>> NeoForgeRegistries.Keys.CONDITION_CODECSstatic final ResourceKey<Registry<EntityDataSerializer<?>>> NeoForgeRegistries.Keys.ENTITY_DATA_SERIALIZERSstatic final ResourceKey<Registry<FluidIngredientType<?>>> NeoForgeRegistries.Keys.FLUID_INGREDIENT_TYPESstatic final ResourceKey<Registry<FluidType>> NeoForgeRegistries.Keys.FLUID_TYPESstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>>> NeoForgeRegistries.Keys.GLOBAL_LOOT_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<HolderSetType>> NeoForgeRegistries.Keys.HOLDER_SET_TYPESstatic final ResourceKey<Registry<IngredientType<?>>> NeoForgeRegistries.Keys.INGREDIENT_TYPESprotected final ResourceKey<R> DeferredHolder.keyThe resource key of the target object.private final ResourceKey<? extends Registry<V>> DeferredRegister.RegistryHolder.registryKeyprivate final ResourceKey<? extends Registry<T>> DeferredRegister.registryKeyprivate final ResourceKey<? extends Registry<?>> RegisterEvent.registryKeyprivate final ResourceKey<? extends Registry<T>> RegistryBuilder.registryKeystatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends StructureModifier>>> NeoForgeRegistries.Keys.STRUCTURE_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<StructureModifier>> NeoForgeRegistries.Keys.STRUCTURE_MODIFIERSFields in net.neoforged.neoforge.registries with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic final io.netty.util.AttributeKey<Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>>> RegistryManager.ATTRIBUTE_KNOWN_DATA_MAPS(package private) final Map<DataMapType<T, ?>, Map<ResourceKey<T>, ?>> BaseMappedRegistry.dataMapsprivate static Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegistryManager.dataMapsprivate Map<ResourceKey<? extends Registry<?>>, DataMapLoader.LoadResult<?>> DataMapLoader.resultsprivate static final Set<ResourceKey<? extends Registry<?>>> DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIESprivate static final Set<ResourceKey<? extends Registry<?>>> DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIES_VIEWMethods in net.neoforged.neoforge.registries that return ResourceKeyModifier and TypeMethodDescriptionDeferredHolder.getKey()ResourceKey<? extends Registry<T>> DeferredRegister.getRegistryKey()ResourceKey<? extends Registry<?>> RegisterEvent.getRegistryKey()private static <T> ResourceKey<Registry<T>> BaseMappedRegistry.resolve(ResourceKey<T> key) IRegistryExtension.resolve(ResourceKey<T> key) Resolves a registry key of a potential object in this registry.Methods in net.neoforged.neoforge.registries that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic Set<ResourceKey<?>> RegistryManager.applySnapshot(Map<ResourceLocation, RegistrySnapshot> snapshots, boolean allowMissing, boolean isLocalWorld) Applies the snapshot to the current state of theBuiltInRegistries.private <T,R> Map <ResourceKey<R>, T> DataMapLoader.buildDataMap(Registry<R> registry, DataMapType<R, T> attachment, List<DataMapFile<T, R>> entries) <A> Map<ResourceKey<T>, A> BaseMappedRegistry.getDataMap(DataMapType<T, A> type) <A> Map<ResourceKey<T>, A> IRegistryExtension.getDataMap(DataMapType<T, A> type) Returns the data map of the giventype.static Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegistryManager.getDataMaps()Returns a view of all registered data maps.static Set<ResourceKey<? extends Registry<?>>> DataPackRegistriesHooks.getSyncedCustomRegistries()Returns An unmodifiable view of the set of synced non-vanilla datapack registry IDs.private CompletableFuture<Map<ResourceKey<? extends Registry<?>>, DataMapLoader.LoadResult<?>>> DataMapLoader.load(ResourceManager manager, Executor executor, ProfilerFiller profiler) private static Map<ResourceKey<? extends Registry<?>>, DataMapLoader.LoadResult<?>> DataMapLoader.load(ResourceManager manager, ProfilerFiller profiler, RegistryAccess access, ICondition.IContext context) com.mojang.datafixers.util.Either<ResourceKey<R>, R> DeferredHolder.unwrap()Returns anEither.left()containing the resource key of this holder.DeferredHolder.unwrapKey()Returns the resource key of this holder.Methods in net.neoforged.neoforge.registries with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic <R,T extends R>
DeferredHolder<R, T> DeferredHolder.create(ResourceKey<? extends Registry<R>> registryKey, ResourceLocation valueName) Creates a new DeferredHolder targeting the value with the specified name in the specified registry.static <R,T extends R>
DeferredHolder<R, T> DeferredHolder.create(ResourceKey<R> key) Creates a new DeferredHolder targeting the specified value.static <T> DeferredRegister<T> DeferredRegister.create(ResourceKey<? extends Registry<T>> key, String namespace) DeferredRegister factory for modded registries or vanilla registries to lookup based on the provided registry key.static <T extends Block>
DeferredBlock<T> DeferredBlock.createBlock(ResourceKey<Block> key) Creates a newDeferredHoldertargeting the specifiedBlock.DeferredRegister.createDataComponents(ResourceKey<Registry<DataComponentType<?>>> registryKey, String modid) Factory for a specialized DeferredRegister forDataComponentTypes.protected <I extends Block>
DeferredBlock<I> DeferredRegister.Blocks.createHolder(ResourceKey<? extends Registry<Block>> registryKey, ResourceLocation key) protected <I extends T>
DeferredHolder<T, I> DeferredRegister.createHolder(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation key) Create aDeferredHolderor an inheriting type to be stored.protected <I extends Item>
DeferredItem<I> DeferredRegister.Items.createHolder(ResourceKey<? extends Registry<Item>> registryKey, ResourceLocation key) static <T extends Item>
DeferredItem<T> DeferredItem.createItem(ResourceKey<Item> key) Creates a newDeferredHoldertargeting the specifiedItem.<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.<T> voidDataPackRegistryEvent.NewRegistry.dataPackRegistry(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, Consumer<RegistryBuilder<T>> consumer) Registers the registry key as a datapack registry with aRegistryBuilderconfigurator, which will cause data to be loaded from a datapack folder based on the registry's name.RegistryBuilder.defaultKey(ResourceKey<T> key) <A> ABaseMappedRegistry.getData(DataMapType<T, A> type, ResourceKey<T> key) <A> AIRegistryExtension.getData(DataMapType<T, A> type, ResourceKey<T> key) Returns the data map value attached with the object with the key, ornullif there's no attached value.static <R> @Nullable DataMapType<R, ?> RegistryManager.getDataMap(ResourceKey<? extends Registry<R>> registry, ResourceLocation key) intBaseMappedRegistry.getId(ResourceKey<T> key) intIRegistryExtension.getId(ResourceKey<T> key) Gets the integer id linked to the given key.<T> Registry<T> ModifyRegistriesEvent.getRegistry(ResourceKey<? extends Registry<T>> key) Retrieve a builtin registry by its key.<T> @Nullable Registry<T> RegisterEvent.getRegistry(ResourceKey<? extends Registry<T>> key) static <T> RegistryDataLoader.RegistryData<T> DataPackRegistriesHooks.getSyncedRegistry(ResourceKey<? extends Registry<T>> registry) booleanDeferredHolder.is(ResourceKey<R> key) Returns true if the passed ResourceKey is the same as this holder's resource key.voidNeoForgeRegistryCallbacks.BlockCallbacks.onAdd(Registry<Block> registry, int id, ResourceKey<Block> key, Block value) voidNeoForgeRegistryCallbacks.ItemCallbacks.onAdd(Registry<Item> registry, int id, ResourceKey<Item> key, Item item) voidNeoForgeRegistryCallbacks.PoiTypeCallbacks.onAdd(Registry<PoiType> registry, int id, ResourceKey<PoiType> key, PoiType value) private static <A,T> List <DataMapFile<A, T>> DataMapLoader.readData(RegistryOps<com.google.gson.JsonElement> ops, DataMapType<T, A> attachmentType, ResourceKey<Registry<T>> registryKey, List<Resource> resources) <T> 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.protected abstract voidBaseMappedRegistry.registerIdMapping(ResourceKey<T> key, int id) Register a key invalid input: '<'-> ID mapping.BaseMappedRegistry.resolve(ResourceKey<T> key) IRegistryExtension.resolve(ResourceKey<T> key) Resolves a registry key of a potential object in this registry.Method parameters in net.neoforged.neoforge.registries with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static <T> voidRegistryManager.applySnapshot(MappedRegistry<T> registry, RegistrySnapshot snapshot, Set<ResourceKey<?>> missing) booleanDeferredHolder.is(Predicate<ResourceKey<R>> filter) Evaluates the passed predicate against this holder's resource key.private <R> voidDataMapLoader.resolve(Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> value, boolean required, Consumer<Holder<R>> consumer) Constructors in net.neoforged.neoforge.registries with parameters of type ResourceKeyModifierConstructorDescriptionprotectedDataComponents(ResourceKey<Registry<DataComponentType<?>>> registryKey, String namespace) protectedDeferredBlock(ResourceKey<Block> key) protectedDeferredHolder(ResourceKey<R> key) Creates a new DeferredHolder with a ResourceKey.protectedDeferredItem(ResourceKey<Item> key) protectedDeferredRegister(ResourceKey<? extends Registry<T>> registryKey, String namespace) (package private)RegisterEvent(ResourceKey<? extends Registry<?>> registryKey, Registry<?> registry) RegistryBuilder(ResourceKey<? extends Registry<T>> registryKey) privateRegistryHolder(ResourceKey<? extends Registry<V>> registryKey) -
Uses of ResourceKey in net.neoforged.neoforge.registries.callback
Methods in net.neoforged.neoforge.registries.callback with parameters of type ResourceKey -
Uses of ResourceKey in net.neoforged.neoforge.registries.datamaps
Fields in net.neoforged.neoforge.registries.datamaps declared as ResourceKeyModifier and TypeFieldDescriptionprotected final ResourceKey<Registry<R>> DataMapType.Builder.registryKeyprivate final ResourceKey<Registry<R>> DataMapType.registryKeyFields in net.neoforged.neoforge.registries.datamaps with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegisterDataMapTypesEvent.attachmentsprivate final com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> DataMapEntry.Removal.keyThe field for thekeyrecord component.private final Map<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> DataMapFile.valuesThe field for thevaluesrecord component.Methods in net.neoforged.neoforge.registries.datamaps that return ResourceKeyModifier and TypeMethodDescriptionResourceKey<? extends Registry<?>> DataMapsUpdatedEvent.getRegistryKey()Returns the key of the registry that had its data maps updated.DataMapType.registryKey()Returns the key of the registry this data map is for.Methods in net.neoforged.neoforge.registries.datamaps that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> DataMapEntry.Removal.key()Returns the value of thekeyrecord component.Map<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> DataMapFile.values()Returns the value of thevaluesrecord component.Methods in net.neoforged.neoforge.registries.datamaps with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic <T,R> AdvancedDataMapType.Builder <T, R, DataMapValueRemover.Default<T, R>> AdvancedDataMapType.builder(ResourceLocation id, ResourceKey<Registry<R>> registry, com.mojang.serialization.Codec<T> codec) Returns an advanced data map type builder.static <T,R> DataMapType.Builder <T, R> DataMapType.builder(ResourceLocation id, ResourceKey<Registry<R>> registry, com.mojang.serialization.Codec<T> codec) Returns a data map type builder.static <T,R> com.mojang.serialization.Codec <DataMapFile<T, R>> DataMapFile.codec(ResourceKey<Registry<R>> registryKey, DataMapType<R, T> dataMap) <T> voidDataMapsUpdatedEvent.ifRegistry(ResourceKey<Registry<T>> type, Consumer<Registry<T>> consumer) Runs the givenconsumerif the registry is of the giventype.Method parameters in net.neoforged.neoforge.registries.datamaps with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic <T,R> com.mojang.serialization.Codec <DataMapEntry.Removal<T, R>> DataMapEntry.Removal.codec(com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>> tagOrValue, DataMapType<R, T> attachment) DataMapValueMerger.merge(Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> first, T firstValue, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> second, T secondValue) Merge two conflicting data map values.DataMapValueRemover.Default.remove(T value, Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> source, R object) DataMapValueRemover.remove(T value, Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> source, R object) Remove the entry specified in this remover from thevalue.Constructors in net.neoforged.neoforge.registries.datamaps with parameters of type ResourceKeyModifierConstructorDescriptionprivateAdvancedDataMapType(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, boolean mandatorySync, com.mojang.serialization.Codec<VR> remover, DataMapValueMerger<R, T> merger) (package private)Builder(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec) (package private)Builder(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec) (package private)DataMapType(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, boolean mandatorySync) Constructor parameters in net.neoforged.neoforge.registries.datamaps with type arguments of type ResourceKeyModifierConstructorDescriptionDataMapFile(boolean replace, Map<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> values, List<DataMapEntry.Removal<T, R>> removals) Creates an instance of aDataMapFilerecord class.RegisterDataMapTypesEvent(Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> attachments) privateRemoval(com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> key) Removal(com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> key, Optional<DataMapValueRemover<R, T>> remover) Creates an instance of aRemovalrecord class. -
Uses of ResourceKey in net.neoforged.neoforge.registries.datamaps.builtin
Fields in net.neoforged.neoforge.registries.datamaps.builtin declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootTable> RaidHeroGift.lootTableThe field for thelootTablerecord component.Methods in net.neoforged.neoforge.registries.datamaps.builtin that return ResourceKeyModifier and TypeMethodDescriptionRaidHeroGift.lootTable()Returns the value of thelootTablerecord component.Constructors in net.neoforged.neoforge.registries.datamaps.builtin with parameters of type ResourceKeyModifierConstructorDescriptionRaidHeroGift(ResourceKey<LootTable> lootTable) Creates an instance of aRaidHeroGiftrecord class. -
Uses of ResourceKey in net.neoforged.neoforge.registries.holdersets
Methods in net.neoforged.neoforge.registries.holdersets with parameters of type ResourceKeyModifier and TypeMethodDescription<T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> AndHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> AnyHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> HolderSetType.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> NotHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> OrHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> AndHolderSet.Type.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> AnyHolderSet.Type.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> HolderSetType.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> NotHolderSet.Type.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> OrHolderSet.Type.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) -
Uses of ResourceKey in net.neoforged.neoforge.server.command
Fields in net.neoforged.neoforge.server.command declared as ResourceKeyModifier and TypeFieldDescriptionprivate static final ResourceKey<Registry<Registry<?>>> DumpCommand.ROOT_REGISTRY_KEYprivate static final ResourceKey<Registry<Registry<?>>> TagsCommand.ROOT_REGISTRY_KEYMethods in net.neoforged.neoforge.server.command that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic <T> Optional<ResourceKey<T>> CommandUtils.getResourceKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name, ResourceKey<Registry<T>> registryKey) Methods in net.neoforged.neoforge.server.command with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static intEntityCommand.EntityListCommand.execute(CommandSourceStack sender, String filter, ResourceKey<Level> dim) static <T> Optional<ResourceKey<T>> CommandUtils.getResourceKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name, ResourceKey<Registry<T>> registryKey) static <T extends Registry<?>>
com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> CommandUtils.suggestFromRegistry(Function<Registry<?>, Iterable<ResourceLocation>> namesFunction, String argumentString, ResourceKey<Registry<T>> registryKey)
PresetEditorManager.get(ResourceKey)instead.