Uses of Class
net.minecraft.resources.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
ModifierConstructorDescriptionprivate
LevelType
(int p_239483_, ResourceKey<WorldPreset> p_239484_) -
Uses of ResourceKey in net.minecraft.advancements
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList.Builder
<ResourceKey<LootTable>> AdvancementRewards.Builder.loot
private final List
<ResourceKey<LootTable>> AdvancementRewards.loot
The field for theloot
record component.Modifier and TypeMethodDescriptionAdvancementRewards.loot()
Returns the value of theloot
record component.Modifier and TypeMethodDescriptionAdvancementRewards.Builder.addLootTable
(ResourceKey<LootTable> p_335822_) static AdvancementRewards.Builder
AdvancementRewards.Builder.loot
(ResourceKey<LootTable> p_335493_) ModifierConstructorDescriptionAdvancementRewards
(int experience, List<ResourceKey<LootTable>> loot, List<ResourceLocation> recipes, Optional<CacheableFunction> function) Creates an instance of aAdvancementRewards
record class. -
Uses of ResourceKey in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final ResourceKey
<LootTable> LootTableTrigger.TriggerInstance.lootTable
The field for thelootTable
record component.Modifier and TypeFieldDescriptionprivate Optional
<ResourceKey<Level>> LocationPredicate.Builder.dimension
private final Optional
<ResourceKey<Level>> LocationPredicate.dimension
The field for thedimension
record component.private final Optional
<ResourceKey<Level>> ChangeDimensionTrigger.TriggerInstance.from
The field for thefrom
record component.private final Optional
<ResourceKey<Level>> ChangeDimensionTrigger.TriggerInstance.to
The field for theto
record component.Modifier and TypeMethodDescriptionLootTableTrigger.TriggerInstance.lootTable()
Returns the value of thelootTable
record component.Modifier and TypeMethodDescriptionLocationPredicate.dimension()
Returns the value of thedimension
record component.ChangeDimensionTrigger.TriggerInstance.from()
Returns the value of thefrom
record component.ChangeDimensionTrigger.TriggerInstance.to()
Returns the value of theto
record component.Modifier and TypeMethodDescriptionChangeDimensionTrigger.TriggerInstance.changedDimension
(ResourceKey<Level> p_301026_, ResourceKey<Level> p_301124_) ChangeDimensionTrigger.TriggerInstance.changedDimensionFrom
(ResourceKey<Level> p_147564_) ChangeDimensionTrigger.TriggerInstance.changedDimensionTo
(ResourceKey<Level> p_19783_) static <T> com.mojang.serialization.Codec
<TagPredicate<T>> TagPredicate.codec
(ResourceKey<? extends Registry<T>> p_298649_) static <V> EntitySubPredicates.EntityHolderVariantPredicateType
<V> EntitySubPredicates.EntityHolderVariantPredicateType.create
(ResourceKey<? extends Registry<V>> p_335749_, Function<Entity, Optional<Holder<V>>> p_336155_) static LocationPredicate.Builder
LocationPredicate.Builder.inDimension
(ResourceKey<Level> p_298871_) LootTableTrigger.TriggerInstance.lootTableUsed
(ResourceKey<LootTable> p_335395_) boolean
ChangeDimensionTrigger.TriggerInstance.matches
(ResourceKey<Level> p_19785_, ResourceKey<Level> p_19786_) boolean
LootTableTrigger.TriggerInstance.matches
(ResourceKey<LootTable> p_335509_) LocationPredicate.Builder.setDimension
(ResourceKey<Level> p_153977_) void
ChangeDimensionTrigger.trigger
(ServerPlayer p_19758_, ResourceKey<Level> p_19759_, ResourceKey<Level> p_19760_) void
LootTableTrigger.trigger
(ServerPlayer p_54598_, ResourceKey<LootTable> p_335591_) ModifierConstructorDescriptionEntityHolderVariantPredicateType
(ResourceKey<? extends Registry<V>> p_336141_, Function<Entity, Optional<Holder<V>>> p_336167_) TriggerInstance
(Optional<ContextAwarePredicate> player, ResourceKey<LootTable> lootTable) Creates an instance of aTriggerInstance
record class. -
Uses of ResourceKey in net.minecraft.client.gui.screens
Modifier and TypeFieldDescriptionprivate static final ResourceKey
<Biome> PresetFlatWorldScreen.DEFAULT_BIOME
-
Uses of ResourceKey in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionprivate static final ToIntFunction
<ResourceKey<Level>> OptimizeWorldScreen.DIMENSION_COLORS
static final Map
<Optional<ResourceKey<WorldPreset>>, PresetEditor> PresetEditor.EDITORS
Deprecated.Modifier and TypeMethodDescriptionprivate static Optional
<Holder<WorldPreset>> WorldCreationUiState.findPreset
(WorldCreationContext p_268025_, Optional<ResourceKey<WorldPreset>> p_268184_) ModifierConstructorDescriptionprivate
CreateWorldScreen
(Minecraft p_276053_, Screen p_276049_, WorldCreationContext p_276047_, Optional<ResourceKey<WorldPreset>> p_276013_, OptionalLong p_276031_) WorldCreationUiState
(Path p_276024_, WorldCreationContext p_276050_, Optional<ResourceKey<WorldPreset>> p_276022_, OptionalLong p_276014_) -
Uses of ResourceKey in net.minecraft.client.multiplayer
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> RegistryDataCollector.ContentsCollector.elements
private Set
<ResourceKey<Level>> ClientPacketListener.levels
private final Map
<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> TagCollector.tags
Modifier and TypeMethodDescriptionClientPacketListener.levels()
ClientSuggestionProvider.levels()
Modifier and TypeMethodDescriptionvoid
RegistryDataCollector.ContentsCollector.append
(ResourceKey<? extends Registry<?>> p_321577_, List<RegistrySynchronization.PackedRegistryEntry> p_321551_) void
TagCollector.append
(ResourceKey<? extends Registry<?>> p_326295_, TagNetworkSerialization.NetworkPayload p_326414_) void
RegistryDataCollector.appendContents
(ResourceKey<? extends Registry<?>> p_321794_, List<RegistrySynchronization.PackedRegistryEntry> p_321772_) private ReceivingLevelScreen.Reason
ClientPacketListener.determineLevelLoadingReason
(boolean p_341642_, ResourceKey<Level> p_341617_, ResourceKey<Level> p_341637_) CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> ClientSuggestionProvider.suggestRegistryElements
(ResourceKey<? extends Registry<?>> p_212429_, SharedSuggestionProvider.ElementSuggestionType p_212430_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212431_, com.mojang.brigadier.context.CommandContext<?> p_212432_) Modifier and TypeMethodDescriptionvoid
RegistryDataCollector.appendTags
(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> p_321771_) private void
TagCollector.applyTags
(RegistryAccess p_326395_, Predicate<ResourceKey<? extends Registry<?>>> p_326512_) ModifierConstructorDescriptionClientLevel
(ClientPacketListener p_205505_, ClientLevel.ClientLevelData p_205506_, ResourceKey<Level> p_205507_, Holder<DimensionType> p_205508_, int p_205509_, int p_205510_, Supplier<ProfilerFiller> p_205511_, LevelRenderer p_205512_, boolean p_205513_, long p_205514_) -
Uses of ResourceKey in net.minecraft.client.renderer
Modifier and TypeFieldDescriptionstatic final Map
<ResourceKey<String>, Material> Sheets.DECORATED_POT_MATERIALS
Modifier and TypeMethodDescriptionprivate static Material
Sheets.createDecoratedPotMaterial
(ResourceKey<String> p_272805_) static Material
Sheets.getDecoratedPotMaterial
(ResourceKey<String> p_273567_) -
Uses of ResourceKey in net.minecraft.client.renderer.debug
Modifier and TypeFieldDescriptionprivate final ResourceKey
<GameEvent> GameEventListenerRenderer.TrackedGameEvent.gameEvent
The field for thegameEvent
record component.Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<Level>, Map<String, BoundingBox>> StructureRenderer.postMainBoxes
private final Map
<ResourceKey<Level>, Map<String, StructuresDebugPayload.PieceInfo>> StructureRenderer.postPieces
Modifier and TypeMethodDescriptionGameEventListenerRenderer.TrackedGameEvent.gameEvent()
Returns the value of thegameEvent
record component.Modifier and TypeMethodDescriptionvoid
StructureRenderer.addBoundingBox
(BoundingBox p_113683_, List<StructuresDebugPayload.PieceInfo> p_113684_, ResourceKey<Level> p_295656_) void
GameEventListenerRenderer.trackGameEvent
(ResourceKey<GameEvent> p_294637_, Vec3 p_234515_) ModifierConstructorDescription(package private)
TrackedGameEvent
(long timeStamp, ResourceKey<GameEvent> gameEvent, Vec3 position) Creates an instance of aTrackedGameEvent
record class. -
Uses of ResourceKey in net.minecraft.commands
Modifier and TypeMethodDescriptionCompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> CommandSourceStack.suggestRegistryElements
(ResourceKey<? extends Registry<?>> p_212330_, SharedSuggestionProvider.ElementSuggestionType p_212331_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212332_, com.mojang.brigadier.context.CommandContext<?> p_212333_) CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestRegistryElements
(ResourceKey<? extends Registry<?>> p_212339_, SharedSuggestionProvider.ElementSuggestionType p_212340_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212341_, com.mojang.brigadier.context.CommandContext<?> p_212342_) -
Uses of ResourceKey in net.minecraft.commands.arguments
Modifier and TypeFieldDescriptionprivate final ResourceKey
<T> ResourceOrTagKeyArgument.ResourceResult.key
The field for thekey
record 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.registryKey
Modifier and TypeMethodDescriptionprivate static <T> ResourceKey
<T> ResourceKeyArgument.getRegistryKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212374_, String p_212375_, ResourceKey<Registry<T>> p_212376_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_212377_) ResourceOrTagKeyArgument.ResourceResult.key()
Returns the value of thekey
record component.ResourceKeyArgument.parse
(com.mojang.brigadier.StringReader p_212369_) Modifier 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()
Modifier and TypeMethodDescription<E> Optional
<ResourceOrTagArgument.Result<E>> ResourceOrTagArgument.ResourceResult.cast
(ResourceKey<? extends Registry<E>> p_250007_) <E> Optional
<ResourceOrTagArgument.Result<E>> ResourceOrTagArgument.Result.cast
(ResourceKey<? extends Registry<E>> p_249572_) <E> Optional
<ResourceOrTagArgument.Result<E>> ResourceOrTagArgument.TagResult.cast
(ResourceKey<? extends Registry<E>> p_250945_) ResourceOrTagKeyArgument.ResourceResult.cast
(ResourceKey<? extends Registry<E>> p_251369_) ResourceOrTagKeyArgument.Result.cast
(ResourceKey<? extends Registry<E>> p_251612_) ResourceOrTagKeyArgument.TagResult.cast
(ResourceKey<? extends Registry<E>> p_251833_) private static <T> Registry
<T> ResourceKeyArgument.getRegistry
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212379_, ResourceKey<? extends Registry<T>> p_212380_) private static <T> ResourceKey
<T> ResourceKeyArgument.getRegistryKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212374_, String p_212375_, ResourceKey<Registry<T>> p_212376_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_212377_) static <T> Holder.Reference
<T> ResourceArgument.getResource
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_251788_, String p_251996_, ResourceKey<Registry<T>> p_250077_) static <T> ResourceOrTagArgument.Result
<T> ResourceOrTagArgument.getResourceOrTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_249001_, String p_251520_, ResourceKey<Registry<T>> p_250370_) static <T> ResourceOrTagKeyArgument.Result
<T> ResourceOrTagKeyArgument.getResourceOrTagKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_252162_, String p_248628_, ResourceKey<Registry<T>> p_249008_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_251387_) static <T> ResourceKeyArgument
<T> ResourceKeyArgument.key
(ResourceKey<? extends Registry<T>> p_212387_) private static <T> Holder.Reference
<T> ResourceKeyArgument.resolveKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_248662_, String p_252172_, ResourceKey<Registry<T>> p_249701_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_249790_) static <T> ResourceArgument
<T> ResourceArgument.resource
(CommandBuildContext p_249973_, ResourceKey<? extends Registry<T>> p_251405_) static <T> ResourceOrTagArgument
<T> ResourceOrTagArgument.resourceOrTag
(CommandBuildContext p_251101_, ResourceKey<? extends Registry<T>> p_248888_) static <T> ResourceOrTagKeyArgument
<T> ResourceOrTagKeyArgument.resourceOrTagKey
(ResourceKey<? extends Registry<T>> p_249175_) ModifierConstructorDescriptionResourceArgument
(CommandBuildContext p_248597_, ResourceKey<? extends Registry<T>> p_251778_) ResourceKeyArgument
(ResourceKey<? extends Registry<T>> p_212367_) protected
ResourceOrIdArgument
(CommandBuildContext p_335864_, ResourceKey<Registry<T>> p_335475_, com.mojang.serialization.Codec<Holder<T>> p_335632_) ResourceOrTagArgument
(CommandBuildContext p_249382_, ResourceKey<? extends Registry<T>> p_251209_) ResourceOrTagKeyArgument
(ResourceKey<? extends Registry<T>> p_248579_) (package private)
ResourceResult
(ResourceKey<T> key) Creates an instance of aResourceResult
record class.(package private)
Template
(ResourceKey<? extends Registry<T>> p_250598_) (package private)
Template
(ResourceKey<? extends Registry<T>> p_233296_) (package private)
Template
(ResourceKey<? extends Registry<T>> p_250107_) (package private)
Template
(ResourceKey<? extends Registry<T>> p_251992_) -
Uses of ResourceKey in net.minecraft.core
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> GlobalPos.dimension
The field for thedimension
record component.private ResourceKey
<T> Holder.Reference.key
(package private) final ResourceKey
<? extends Registry<T>> MappedRegistry.key
private final ResourceKey
<? extends Registry<T>> RegistryAccess.RegistryEntry.key
The field for thekey
record component.private final ResourceKey
<? extends Registry<? extends T>> RegistrySetBuilder.RegistryContents.key
The field for thekey
record component.private final ResourceKey
<? extends Registry<T>> RegistrySetBuilder.RegistryStub.key
The field for thekey
record component.Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<T>, Holder.Reference<T>> MappedRegistry.byKey
private final Map
<ResourceKey<? extends Registry<?>>, Cloner<?>> Cloner.Factory.codecs
(package private) final Map
<ResourceKey<Object>, Holder.Reference<Object>> RegistrySetBuilder.UniversalLookup.holders
static final Set
<ResourceKey<? extends Registry<?>>> RegistrySynchronization.NETWORKABLE_REGISTRIES
private final Map
<ResourceKey<?>, RegistrySetBuilder.RegisteredValue<?>> RegistrySetBuilder.BuildState.registeredValues
The field for theregisteredValues
record component.private final Map
<ResourceKey<T>, RegistrationInfo> MappedRegistry.registrationInfos
private final Map
<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> RegistryAccess.ImmutableRegistryAccess.registries
private final Map
<ResourceKey<T>, RegistrySetBuilder.ValueAndHolder<T>> RegistrySetBuilder.RegistryContents.values
The field for thevalues
record component.Modifier and TypeMethodDescriptionGlobalPos.dimension()
Returns the value of thedimension
record component.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 thekey
record component.ResourceKey
<? extends Registry<? extends T>> RegistrySetBuilder.RegistryContents.key()
Returns the value of thekey
record component.ResourceKey
<? extends Registry<T>> RegistrySetBuilder.RegistryStub.key()
Returns the value of thekey
record component.Modifier and TypeMethodDescriptionprivate static Map
<ResourceKey<? extends Registry<?>>, Registry<?>> LayeredRegistryAccess.collectRegistries
(Stream<? extends RegistryAccess> p_248595_) Set
<Map.Entry<ResourceKey<T>, T>> MappedRegistry.entrySet()
Set
<Map.Entry<ResourceKey<T>, T>> Registry.entrySet()
List
<? extends ResourceKey<? extends Registry<?>>> RegistrySetBuilder.getEntryKeys()
MappedRegistry.getResourceKey
(T p_122755_) Registry.getResourceKey
(T p_123008_) default Stream
<ResourceKey<T>> HolderLookup.listElementIds()
Stream
<ResourceKey<? extends Registry<?>>> HolderLookup.Provider.listRegistries()
default Stream
<ResourceKey<? extends Registry<?>>> RegistryAccess.listRegistries()
RegistrySetBuilder.BuildState.registeredValues()
Returns the value of theregisteredValues
record 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 thevalues
record component.Modifier and TypeMethodDescriptionRegistrySetBuilder.add
(ResourceKey<? extends Registry<T>> p_256446_, com.mojang.serialization.Lifecycle p_256394_, RegistrySetBuilder.RegistryBootstrap<T> p_256638_) RegistrySetBuilder.add
(ResourceKey<? extends Registry<T>> p_256261_, RegistrySetBuilder.RegistryBootstrap<T> p_256010_) <T> Cloner.Factory
Cloner.Factory.addCodec
(ResourceKey<? extends Registry<? extends T>> p_311972_, com.mojang.serialization.Codec<T> p_312658_) void
Holder.Reference.bindKey
(ResourceKey<T> p_251943_) <T> Cloner
<T> Cloner.Factory.cloner
(ResourceKey<? extends Registry<? extends T>> p_312530_) boolean
MappedRegistry.containsKey
(ResourceKey<T> p_175392_) boolean
Registry.containsKey
(ResourceKey<T> p_175475_) private <T> HolderLookup.RegistryLookup
<T> RegistrySetBuilder.createLazyFullPatchedRegistries
(HolderOwner<T> p_312323_, Cloner.Factory p_311780_, ResourceKey<? extends Registry<? extends T>> p_311836_, HolderLookup.Provider p_312115_, HolderLookup.Provider p_312725_, org.apache.commons.lang3.mutable.MutableObject<HolderLookup.Provider> p_311797_) static <T> Holder.Reference
<T> Holder.Reference.createStandAlone
(HolderOwner<T> p_255955_, ResourceKey<T> p_255958_) private static <T> RegistryAccess.RegistryEntry
<T> RegistryAccess.RegistryEntry.fromUntyped
(ResourceKey<? extends Registry<?>> p_206244_, Registry<?> p_206245_) HolderGetter.get
(ResourceKey<T> p_255645_) default <T> Optional
<Holder.Reference<T>> HolderGetter.Provider.get
(ResourceKey<? extends Registry<? extends T>> p_336145_, ResourceKey<T> p_335555_) default Optional
<Holder.Reference<T>> HolderLookup.RegistryLookup.Delegate.get
(ResourceKey<T> p_255619_) MappedRegistry.get
(ResourceKey<T> p_122714_) Registry.get
(ResourceKey<T> p_122980_) RegistrySetBuilder.UniversalLookup.get
(ResourceKey<Object> p_256303_) default <A> A
HolderLookup.RegistryLookup.Delegate.getData
(DataMapType<T, A> attachment, ResourceKey<T> key) default <A> A
HolderLookup.RegistryLookup.getData
(DataMapType<T, A> attachment, ResourceKey<T> key) MappedRegistry.getHolder
(ResourceKey<T> p_205905_) Registry.getHolder
(ResourceKey<T> p_206050_) default Holder.Reference
<T> Registry.getHolderOrThrow
(ResourceKey<T> p_249087_) int
MappedRegistry.getId
(ResourceKey<T> key) Registry.getOptional
(ResourceKey<T> p_123010_) (package private) <T> Holder.Reference
<T> RegistrySetBuilder.UniversalLookup.getOrCreate
(ResourceKey<T> p_256298_) (package private) Holder.Reference
<T> MappedRegistry.getOrCreateHolderOrThrow
(ResourceKey<T> p_248831_) default Holder.Reference
<T> HolderGetter.getOrThrow
(ResourceKey<T> p_255990_) default T
Registry.getOrThrow
(ResourceKey<T> p_123014_) static <E> com.mojang.serialization.Codec
<HolderSet<E>> RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206278_) static <E> com.mojang.serialization.Codec
<HolderSet<E>> RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206311_, boolean p_206312_) static <E> com.mojang.serialization.Codec
<HolderSet<E>> RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206280_, com.mojang.serialization.Codec<E> p_206281_) static <E> com.mojang.serialization.Codec
<HolderSet<E>> RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206288_, com.mojang.serialization.Codec<E> p_206289_, boolean p_206290_) boolean
Holder.Direct.is
(ResourceKey<T> p_205725_) boolean
Holder.is
(ResourceKey<T> p_205712_) boolean
Holder.Reference.is
(ResourceKey<T> p_205774_) <T> Optional
<HolderGetter<T>> HolderGetter.Provider.lookup
(ResourceKey<? extends Registry<? extends T>> p_256648_) <T> Optional
<HolderLookup.RegistryLookup<T>> HolderLookup.Provider.lookup
(ResourceKey<? extends Registry<? extends T>> p_256285_) default <T> Optional
<HolderLookup.RegistryLookup<T>> RegistryAccess.lookup
(ResourceKey<? extends Registry<? extends T>> p_256275_) (package private) static <T> HolderLookup.RegistryLookup
<T> RegistrySetBuilder.lookupFromMap
(ResourceKey<? extends Registry<? extends T>> p_312781_, com.mojang.serialization.Lifecycle p_312783_, HolderOwner<T> p_326787_, Map<ResourceKey<T>, Holder.Reference<T>> p_312180_) default <T> HolderGetter
<T> HolderGetter.Provider.lookupOrThrow
(ResourceKey<? extends Registry<? extends T>> p_255881_) default <T> HolderLookup.RegistryLookup
<T> HolderLookup.Provider.lookupOrThrow
(ResourceKey<? extends Registry<? extends T>> p_255957_) static GlobalPos
GlobalPos.of
(ResourceKey<Level> p_122644_, BlockPos p_122645_) DefaultedMappedRegistry.register
(ResourceKey<T> p_321803_, T p_321739_, RegistrationInfo p_325995_) MappedRegistry.register
(int id, ResourceKey<T> p_256252_, T p_256591_, RegistrationInfo p_326235_) MappedRegistry.register
(ResourceKey<T> p_256252_, T p_256591_, RegistrationInfo p_326235_) static <V,
T extends V>
TRegistry.register
(Registry<V> p_194580_, ResourceKey<V> p_194581_, T p_194582_) WritableRegistry.register
(ResourceKey<T> p_256320_, T p_255978_, RegistrationInfo p_326122_) static <T> Holder.Reference
<T> Registry.registerForHolder
(Registry<T> p_263347_, ResourceKey<T> p_263355_, T p_263428_) protected void
MappedRegistry.registerIdMapping
(ResourceKey<T> key, int id) MappedRegistry.registrationInfo
(ResourceKey<T> p_326067_) Registry.registrationInfo
(ResourceKey<T> p_326162_) RegistryAccess.ImmutableRegistryAccess.registry
(ResourceKey<? extends Registry<? extends E>> p_206229_) RegistryAccess.registry
(ResourceKey<? extends Registry<? extends E>> p_123085_) default <E> Registry
<E> RegistryAccess.registryOrThrow
(ResourceKey<? extends Registry<? extends E>> p_175516_) private void
MappedRegistry.validateWrite
(ResourceKey<T> p_205922_) Modifier and TypeMethodDescriptionRegistrySetBuilder.BuildState.create
(RegistryAccess p_255995_, Stream<ResourceKey<? extends Registry<?>>> p_256495_) private HolderLookup.Provider
RegistrySetBuilder.createLazyFullPatchedRegistries
(RegistryAccess p_312301_, HolderLookup.Provider p_311942_, Cloner.Factory p_312464_, Map<ResourceKey<? extends Registry<?>>, RegistrySetBuilder.RegistryContents<?>> p_312890_, HolderLookup.Provider p_311825_) private static <T,
R extends Registry<? extends T>>
RegistryAccess.RegistryEntry<T> RegistryAccess.RegistryEntry.fromMapEntry
(Map.Entry<? extends ResourceKey<? extends Registry<?>>, R> p_206242_) boolean
Holder.Direct.is
(Predicate<ResourceKey<T>> p_205723_) boolean
Holder.is
(Predicate<ResourceKey<T>> p_205711_) boolean
Holder.Reference.is
(Predicate<ResourceKey<T>> p_205772_) (package private) static <T> HolderLookup.RegistryLookup
<T> RegistrySetBuilder.lookupFromMap
(ResourceKey<? extends Registry<? extends T>> p_312781_, com.mojang.serialization.Lifecycle p_312783_, HolderOwner<T> p_326787_, Map<ResourceKey<T>, Holder.Reference<T>> p_312180_) static void
RegistrySynchronization.packRegistries
(com.mojang.serialization.DynamicOps<Tag> p_321796_, RegistryAccess p_321733_, Set<KnownPack> p_326143_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321539_) private static <T> void
RegistrySynchronization.packRegistry
(com.mojang.serialization.DynamicOps<Tag> p_321608_, RegistryDataLoader.RegistryData<T> p_321701_, RegistryAccess p_321717_, Set<KnownPack> p_326432_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321724_) ModifierConstructorDescriptionDefaultedMappedRegistry
(String p_260196_, ResourceKey<? extends Registry<T>> p_259440_, com.mojang.serialization.Lifecycle p_260260_, boolean p_259808_) GlobalPos
(ResourceKey<Level> dimension, BlockPos pos) Creates an instance of aGlobalPos
record class.protected
LazyHolder
(HolderOwner<T> p_312861_, ResourceKey<T> p_312263_) MappedRegistry
(ResourceKey<? extends Registry<T>> p_249899_, com.mojang.serialization.Lifecycle p_252249_) MappedRegistry
(ResourceKey<? extends Registry<T>> p_252132_, com.mojang.serialization.Lifecycle p_249215_, boolean p_251014_) protected
Reference
(Holder.Reference.Type p_256425_, HolderOwner<T> p_256562_, ResourceKey<T> p_256636_, T p_255889_) (package private)
RegistryContents
(ResourceKey<? extends Registry<? extends T>> key, com.mojang.serialization.Lifecycle lifecycle, Map<ResourceKey<T>, RegistrySetBuilder.ValueAndHolder<T>> values) Creates an instance of aRegistryContents
record class.RegistryEntry
(ResourceKey<? extends Registry<T>> key, Registry<T> value) Creates an instance of aRegistryEntry
record class.(package private)
RegistryStub
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, RegistrySetBuilder.RegistryBootstrap<T> bootstrap) Creates an instance of aRegistryStub
record class.ModifierConstructorDescriptionImmutableRegistryAccess
(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> p_206225_) (package private)
RegistryContents
(ResourceKey<? extends Registry<? extends T>> key, com.mojang.serialization.Lifecycle lifecycle, Map<ResourceKey<T>, RegistrySetBuilder.ValueAndHolder<T>> values) Creates an instance of aRegistryContents
record class. -
Uses of ResourceKey in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<Activity>> Registries.ACTIVITY
static final ResourceKey
<Registry<ArmorMaterial>> Registries.ARMOR_MATERIAL
static final ResourceKey
<Registry<Attribute>> Registries.ATTRIBUTE
static final ResourceKey
<Registry<BannerPattern>> Registries.BANNER_PATTERN
static final ResourceKey
<Registry<Biome>> Registries.BIOME
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends BiomeSource>>> Registries.BIOME_SOURCE
static final ResourceKey
<Registry<Block>> Registries.BLOCK
static final ResourceKey
<Registry<BlockEntityType<?>>> Registries.BLOCK_ENTITY_TYPE
static final ResourceKey
<Registry<BlockPredicateType<?>>> Registries.BLOCK_PREDICATE_TYPE
static final ResourceKey
<Registry<BlockStateProviderType<?>>> Registries.BLOCK_STATE_PROVIDER_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends Block>>> Registries.BLOCK_TYPE
static final ResourceKey
<Registry<WorldCarver<?>>> Registries.CARVER
static final ResourceKey
<Registry<CatVariant>> Registries.CAT_VARIANT
static final ResourceKey
<Registry<ChatType>> Registries.CHAT_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> Registries.CHUNK_GENERATOR
static final ResourceKey
<Registry<ChunkStatus>> Registries.CHUNK_STATUS
static final ResourceKey
<Registry<ArgumentTypeInfo<?, ?>>> Registries.COMMAND_ARGUMENT_TYPE
static final ResourceKey
<Registry<ConfiguredWorldCarver<?>>> Registries.CONFIGURED_CARVER
static final ResourceKey
<Registry<ConfiguredFeature<?, ?>>> Registries.CONFIGURED_FEATURE
static final ResourceKey
<Registry<CreativeModeTab>> Registries.CREATIVE_MODE_TAB
static final ResourceKey
<Registry<ResourceLocation>> Registries.CUSTOM_STAT
static final ResourceKey
<Registry<DamageType>> Registries.DAMAGE_TYPE
static final ResourceKey
<Registry<DataComponentType<?>>> Registries.DATA_COMPONENT_TYPE
static final ResourceKey
<Registry<String>> Registries.DECORATED_POT_PATTERNS
static final ResourceKey
<Registry<DensityFunction>> Registries.DENSITY_FUNCTION
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>>> Registries.DENSITY_FUNCTION_TYPE
static final ResourceKey
<Registry<Level>> Registries.DIMENSION
static final ResourceKey
<Registry<DimensionType>> Registries.DIMENSION_TYPE
static final ResourceKey
<Registry<Enchantment>> Registries.ENCHANTMENT
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>>> Registries.ENTITY_SUB_PREDICATE_TYPE
static final ResourceKey
<Registry<EntityType<?>>> Registries.ENTITY_TYPE
static final ResourceKey
<Registry<Feature<?>>> Registries.FEATURE
static final ResourceKey
<Registry<FeatureSizeType<?>>> Registries.FEATURE_SIZE_TYPE
static final ResourceKey
<Registry<FlatLevelGeneratorPreset>> Registries.FLAT_LEVEL_GENERATOR_PRESET
static final ResourceKey
<Registry<FloatProviderType<?>>> Registries.FLOAT_PROVIDER_TYPE
static final ResourceKey
<Registry<Fluid>> Registries.FLUID
static final ResourceKey
<Registry<FoliagePlacerType<?>>> Registries.FOLIAGE_PLACER_TYPE
static final ResourceKey
<Registry<FrogVariant>> Registries.FROG_VARIANT
static final ResourceKey
<Registry<GameEvent>> Registries.GAME_EVENT
static final ResourceKey
<Registry<HeightProviderType<?>>> Registries.HEIGHT_PROVIDER_TYPE
static final ResourceKey
<Registry<Instrument>> Registries.INSTRUMENT
static final ResourceKey
<Registry<IntProviderType<?>>> Registries.INT_PROVIDER_TYPE
static final ResourceKey
<Registry<Item>> Registries.ITEM
static final ResourceKey
<Registry<LootItemFunction>> Registries.ITEM_MODIFIER
static final ResourceKey
<Registry<ItemSubPredicate.Type<?>>> Registries.ITEM_SUB_PREDICATE_TYPE
static final ResourceKey
<Registry<LevelStem>> Registries.LEVEL_STEM
static final ResourceKey
<Registry<LootItemConditionType>> Registries.LOOT_CONDITION_TYPE
static final ResourceKey
<Registry<LootItemFunctionType<?>>> Registries.LOOT_FUNCTION_TYPE
static final ResourceKey
<Registry<LootNbtProviderType>> Registries.LOOT_NBT_PROVIDER_TYPE
static final ResourceKey
<Registry<LootNumberProviderType>> Registries.LOOT_NUMBER_PROVIDER_TYPE
static final ResourceKey
<Registry<LootPoolEntryType>> Registries.LOOT_POOL_ENTRY_TYPE
static final ResourceKey
<Registry<LootScoreProviderType>> Registries.LOOT_SCORE_PROVIDER_TYPE
static final ResourceKey
<Registry<LootTable>> Registries.LOOT_TABLE
static final ResourceKey
<Registry<MapDecorationType>> Registries.MAP_DECORATION_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource>>> Registries.MATERIAL_CONDITION
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.RuleSource>>> Registries.MATERIAL_RULE
static final ResourceKey
<Registry<MemoryModuleType<?>>> Registries.MEMORY_MODULE_TYPE
static final ResourceKey
<Registry<MenuType<?>>> Registries.MENU
static final ResourceKey
<Registry<MobEffect>> Registries.MOB_EFFECT
static final ResourceKey
<Registry<MultiNoiseBiomeSourceParameterList>> Registries.MULTI_NOISE_BIOME_SOURCE_PARAMETER_LIST
static final ResourceKey
<Registry<NormalNoise.NoiseParameters>> Registries.NOISE
static final ResourceKey
<Registry<NoiseGeneratorSettings>> Registries.NOISE_SETTINGS
static final ResourceKey
<Registry<NumberFormatType<?>>> Registries.NUMBER_FORMAT_TYPE
static final ResourceKey
<Registry<PaintingVariant>> Registries.PAINTING_VARIANT
static final ResourceKey
<Registry<ParticleType<?>>> Registries.PARTICLE_TYPE
static final ResourceKey
<Registry<PlacedFeature>> Registries.PLACED_FEATURE
static final ResourceKey
<Registry<PlacementModifierType<?>>> Registries.PLACEMENT_MODIFIER_TYPE
static final ResourceKey
<Registry<PoiType>> Registries.POINT_OF_INTEREST_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends PoolAliasBinding>>> Registries.POOL_ALIAS_BINDING
static final ResourceKey
<Registry<PosRuleTestType<?>>> Registries.POS_RULE_TEST
static final ResourceKey
<Registry<PositionSourceType<?>>> Registries.POSITION_SOURCE_TYPE
static final ResourceKey
<Registry<Potion>> Registries.POTION
static final ResourceKey
<Registry<LootItemCondition>> Registries.PREDICATE
static final ResourceKey
<Registry<StructureProcessorList>> Registries.PROCESSOR_LIST
static final ResourceKey
<Registry<RecipeSerializer<?>>> Registries.RECIPE_SERIALIZER
static final ResourceKey
<Registry<RecipeType<?>>> Registries.RECIPE_TYPE
static final ResourceKey
<Registry<RootPlacerType<?>>> Registries.ROOT_PLACER_TYPE
static final ResourceKey
<Registry<RuleBlockEntityModifierType<?>>> Registries.RULE_BLOCK_ENTITY_MODIFIER
static final ResourceKey
<Registry<RuleTestType<?>>> Registries.RULE_TEST
static final ResourceKey
<Registry<Schedule>> Registries.SCHEDULE
static final ResourceKey
<Registry<SensorType<?>>> Registries.SENSOR_TYPE
static final ResourceKey
<Registry<SoundEvent>> Registries.SOUND_EVENT
static final ResourceKey
<Registry<StatType<?>>> Registries.STAT_TYPE
static final ResourceKey
<Registry<Structure>> Registries.STRUCTURE
static final ResourceKey
<Registry<StructurePieceType>> Registries.STRUCTURE_PIECE
static final ResourceKey
<Registry<StructurePlacementType<?>>> Registries.STRUCTURE_PLACEMENT
static final ResourceKey
<Registry<StructurePoolElementType<?>>> Registries.STRUCTURE_POOL_ELEMENT
static final ResourceKey
<Registry<StructureProcessorType<?>>> Registries.STRUCTURE_PROCESSOR
static final ResourceKey
<Registry<StructureSet>> Registries.STRUCTURE_SET
static final ResourceKey
<Registry<StructureType<?>>> Registries.STRUCTURE_TYPE
static final ResourceKey
<Registry<StructureTemplatePool>> Registries.TEMPLATE_POOL
static final ResourceKey
<Registry<TreeDecoratorType<?>>> Registries.TREE_DECORATOR_TYPE
static final ResourceKey
<Registry<CriterionTrigger<?>>> Registries.TRIGGER_TYPE
static final ResourceKey
<Registry<TrimMaterial>> Registries.TRIM_MATERIAL
static final ResourceKey
<Registry<TrimPattern>> Registries.TRIM_PATTERN
static final ResourceKey
<Registry<TrunkPlacerType<?>>> Registries.TRUNK_PLACER_TYPE
static final ResourceKey
<Registry<VillagerProfession>> Registries.VILLAGER_PROFESSION
static final ResourceKey
<Registry<VillagerType>> Registries.VILLAGER_TYPE
static final ResourceKey
<Registry<WolfVariant>> Registries.WOLF_VARIANT
static final ResourceKey
<Registry<WorldPreset>> Registries.WORLD_PRESET
Modifier and TypeMethodDescriptionprivate static <T> ResourceKey
<Registry<T>> Registries.createRegistryKey
(String p_259572_) static ResourceKey
<Level> Registries.levelStemToLevel
(ResourceKey<LevelStem> p_259475_) static ResourceKey
<LevelStem> Registries.levelToLevelStem
(ResourceKey<Level> p_260225_) Modifier and TypeMethodDescriptionprivate static <T,
R extends WritableRegistry<T>>
RBuiltInRegistries.internalRegister
(ResourceKey<? extends Registry<T>> p_259230_, R p_260327_, BuiltInRegistries.RegistryBootstrap<T> p_259210_) static ResourceKey
<Level> Registries.levelStemToLevel
(ResourceKey<LevelStem> p_259475_) static ResourceKey
<LevelStem> Registries.levelToLevelStem
(ResourceKey<Level> p_260225_) private static <T> DefaultedRegistry
<T> BuiltInRegistries.registerDefaulted
(ResourceKey<? extends Registry<T>> p_259887_, String p_259325_, BuiltInRegistries.RegistryBootstrap<T> p_259759_) private static <T> DefaultedRegistry
<T> BuiltInRegistries.registerDefaultedWithIntrusiveHolders
(ResourceKey<? extends Registry<T>> p_259296_, String p_259101_, BuiltInRegistries.RegistryBootstrap<T> p_259485_) private static <T> Registry
<T> BuiltInRegistries.registerSimple
(ResourceKey<? extends Registry<T>> p_260095_, BuiltInRegistries.RegistryBootstrap<T> p_259057_) private static <T> Registry
<T> BuiltInRegistries.registerSimpleWithIntrusiveHolders
(ResourceKey<? extends Registry<T>> p_298703_, BuiltInRegistries.RegistryBootstrap<T> p_298612_) -
Uses of ResourceKey in net.minecraft.data.advancements.packs
Modifier and TypeMethodDescriptionprotected static Advancement.Builder
VanillaAdventureAdvancements.addBiomes
(Advancement.Builder p_249250_, HolderLookup.Provider p_330401_, List<ResourceKey<Biome>> p_251338_) -
Uses of ResourceKey in net.minecraft.data.info
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<Climate.ParameterList<ResourceKey<Biome>>> BiomeParametersDumpReport.CODEC
private static final com.mojang.serialization.MapCodec
<ResourceKey<Biome>> BiomeParametersDumpReport.ENTRY_CODEC
-
Uses of ResourceKey in net.minecraft.data.loot
Modifier and TypeFieldDescriptionprotected final Map
<ResourceKey<LootTable>, LootTable.Builder> BlockLootSubProvider.map
private final Map
<EntityType<?>, Map<ResourceKey<LootTable>, LootTable.Builder>> EntityLootSubProvider.map
private final Set
<ResourceKey<LootTable>> LootTableProvider.requiredTables
Modifier and TypeMethodDescriptionprotected void
EntityLootSubProvider.add
(EntityType<?> p_252130_, ResourceKey<LootTable> p_335943_, LootTable.Builder p_249357_) protected LootItemCondition.Builder
EntityLootSubProvider.killedByFrogVariant
(ResourceKey<FrogVariant> p_335676_) private static ResourceLocation
LootTableProvider.sequenceIdForLootTable
(ResourceKey<LootTable> p_336172_) Modifier and TypeMethodDescriptionvoid
BlockLootSubProvider.generate
(HolderLookup.Provider p_331472_, BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_249322_) void
EntityLootSubProvider.generate
(HolderLookup.Provider p_331660_, BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_251751_) void
LootTableSubProvider.generate
(HolderLookup.Provider p_331050_, BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_249643_) ModifierConstructorDescriptionprotected
BlockLootSubProvider
(Set<Item> p_281507_, FeatureFlagSet p_283552_, Map<ResourceKey<LootTable>, LootTable.Builder> p_282212_) LootTableProvider
(PackOutput p_254123_, Set<ResourceKey<LootTable>> p_254481_, List<LootTableProvider.SubProviderEntry> p_253798_, CompletableFuture<HolderLookup.Provider> p_323798_) -
Uses of ResourceKey in net.minecraft.data.loot.packs
Modifier and TypeMethodDescriptionvoid
TradeRebalanceChestLoot.generate
(HolderLookup.Provider p_330222_, BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_301981_) void
UpdateOneTwentyOneChestLoot.generate
(HolderLookup.Provider p_331408_, BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_312616_) void
UpdateOneTwentyOneEquipmentLoot.generate
(HolderLookup.Provider p_338755_, BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_338523_) void
UpdateOneTwentyOneShearingLoot.generate
(HolderLookup.Provider p_331112_, BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_330284_) void
VanillaArchaeologyLoot.generate
(HolderLookup.Provider p_330733_, BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_278066_) void
VanillaChestLoot.generate
(HolderLookup.Provider p_332059_, BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_250931_) void
VanillaEquipmentLoot.generate
(HolderLookup.Provider p_338887_, BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_338322_) void
VanillaFishingLoot.generate
(HolderLookup.Provider p_330914_, BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_249559_) void
VanillaGiftLoot.generate
(HolderLookup.Provider p_331027_, BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_250831_) void
VanillaPiglinBarterLoot.generate
(HolderLookup.Provider p_330640_, BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_250176_) void
VanillaShearingLoot.generate
(HolderLookup.Provider p_332108_, BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_332018_) static void
VanillaChestLoot.spawnerLootTables
(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_311958_) -
Uses of ResourceKey in net.minecraft.data.registries
Modifier and TypeFieldDescriptionstatic final List
<? extends ResourceKey<? extends Registry<?>>> VanillaRegistries.DATAPACK_REGISTRY_KEYS
-
Uses of ResourceKey in net.minecraft.data.tags
Modifier and TypeFieldDescriptionprotected final ResourceKey
<? extends Registry<T>> TagsProvider.registryKey
Modifier and TypeFieldDescriptionprivate final Function
<T, ResourceKey<T>> IntrinsicHolderTagsProvider.IntrinsicTagAppender.keyExtractor
private final Function
<T, ResourceKey<T>> IntrinsicHolderTagsProvider.keyExtractor
(package private) static final List
<ResourceKey<GameEvent>> GameEventTagsProvider.VIBRATIONS_EXCEPT_FLAP
Modifier and TypeMethodDescriptionfinal TagsProvider.TagAppender
<T> TagsProvider.TagAppender.add
(ResourceKey<T> p_256138_) final TagsProvider.TagAppender
<T> TagsProvider.TagAppender.add
(ResourceKey<T>... p_211102_) Modifier and TypeMethodDescriptionfinal TagsProvider.TagAppender
<T> TagsProvider.TagAppender.addAll
(List<ResourceKey<T>> p_316189_) ModifierConstructorDescriptionIntrinsicHolderTagsProvider
(PackOutput p_275304_, ResourceKey<? extends Registry<T>> p_275709_, CompletableFuture<HolderLookup.Provider> p_275227_, CompletableFuture<TagsProvider.TagLookup<T>> p_275311_, Function<T, ResourceKey<T>> p_275566_) Deprecated.IntrinsicHolderTagsProvider
(PackOutput p_275304_, ResourceKey<? extends Registry<T>> p_275709_, CompletableFuture<HolderLookup.Provider> p_275227_, CompletableFuture<TagsProvider.TagLookup<T>> p_275311_, Function<T, ResourceKey<T>> p_275566_, String modId, ExistingFileHelper existingFileHelper) IntrinsicHolderTagsProvider
(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_) Deprecated.IntrinsicHolderTagsProvider
(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_, String modId, ExistingFileHelper existingFileHelper) protected
TagsProvider
(PackOutput p_256596_, ResourceKey<? extends Registry<T>> p_255886_, CompletableFuture<HolderLookup.Provider> p_256513_) Deprecated.Forge: Use the mod id variantprotected
TagsProvider
(PackOutput p_256596_, ResourceKey<? extends Registry<T>> p_255886_, CompletableFuture<HolderLookup.Provider> p_256513_, String modId, ExistingFileHelper existingFileHelper) protected
TagsProvider
(PackOutput p_275432_, ResourceKey<? extends Registry<T>> p_275476_, CompletableFuture<HolderLookup.Provider> p_275222_, CompletableFuture<TagsProvider.TagLookup<T>> p_275565_) Deprecated.Forge: Use the mod id variantprotected
TagsProvider
(PackOutput p_275432_, ResourceKey<? extends Registry<T>> p_275476_, CompletableFuture<HolderLookup.Provider> p_275222_, CompletableFuture<TagsProvider.TagLookup<T>> p_275565_, String modId, ExistingFileHelper existingFileHelper) ModifierConstructorDescriptionIntrinsicHolderTagsProvider
(PackOutput p_275304_, ResourceKey<? extends Registry<T>> p_275709_, CompletableFuture<HolderLookup.Provider> p_275227_, CompletableFuture<TagsProvider.TagLookup<T>> p_275311_, Function<T, ResourceKey<T>> p_275566_) Deprecated.IntrinsicHolderTagsProvider
(PackOutput p_275304_, ResourceKey<? extends Registry<T>> p_275709_, CompletableFuture<HolderLookup.Provider> p_275227_, CompletableFuture<TagsProvider.TagLookup<T>> p_275311_, Function<T, ResourceKey<T>> p_275566_, String modId, ExistingFileHelper existingFileHelper) IntrinsicHolderTagsProvider
(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_) Deprecated.IntrinsicHolderTagsProvider
(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_, String modId, ExistingFileHelper existingFileHelper) (package private)
IntrinsicTagAppender
(TagBuilder p_256108_, Function<T, ResourceKey<T>> p_256433_, String modId) -
Uses of ResourceKey in net.minecraft.data.worldgen
Modifier and TypeFieldDescriptionstatic final ResourceKey
<StructureProcessorList> ProcessorLists.ANCIENT_CITY_GENERIC_DEGRADATION
static final ResourceKey
<StructureProcessorList> ProcessorLists.ANCIENT_CITY_START_DEGRADATION
static final ResourceKey
<StructureProcessorList> ProcessorLists.ANCIENT_CITY_WALLS_DEGRADATION
static final ResourceKey
<StructureProcessorList> ProcessorLists.BASTION_GENERIC_DEGRADATION
static final ResourceKey
<StructureProcessorList> ProcessorLists.BOTTOM_RAMPART
static final ResourceKey
<StructureProcessorList> ProcessorLists.BRIDGE
static final ResourceKey
<ConfiguredWorldCarver<?>> Carvers.CANYON
static final ResourceKey
<ConfiguredWorldCarver<?>> Carvers.CAVE
static final ResourceKey
<ConfiguredWorldCarver<?>> Carvers.CAVE_EXTRA_UNDERGROUND
static final ResourceKey
<StructureTemplatePool> TrialChambersStructurePools.CHAMBER_CAP_FALLBACK
static final ResourceKey
<StructureTemplatePool> Pools.EMPTY
private static final ResourceKey
<StructureProcessorList> ProcessorLists.EMPTY
static final ResourceKey
<StructureTemplatePool> UpdateOneTwentyOnePools.EMPTY
static final ResourceKey
<StructureProcessorList> ProcessorLists.ENTRANCE_REPLACEMENT
static final ResourceKey
<StructureProcessorList> ProcessorLists.FARM_DESERT
static final ResourceKey
<StructureProcessorList> ProcessorLists.FARM_PLAINS
static final ResourceKey
<StructureProcessorList> ProcessorLists.FARM_SAVANNA
static final ResourceKey
<StructureProcessorList> ProcessorLists.FARM_SNOWY
static final ResourceKey
<StructureProcessorList> ProcessorLists.FARM_TAIGA
static final ResourceKey
<StructureProcessorList> ProcessorLists.FOSSIL_COAL
static final ResourceKey
<StructureProcessorList> ProcessorLists.FOSSIL_DIAMONDS
static final ResourceKey
<StructureProcessorList> ProcessorLists.FOSSIL_ROT
static final ResourceKey
<StructureTemplatePool> TrialChambersStructurePools.HALLWAY_FALLBACK
static final ResourceKey
<StructureProcessorList> ProcessorLists.HIGH_RAMPART
static final ResourceKey
<StructureProcessorList> ProcessorLists.HIGH_WALL
static final ResourceKey
<StructureProcessorList> ProcessorLists.HOUSING
static final ResourceKey
<StructureProcessorList> ProcessorLists.MOSSIFY_10_PERCENT
static final ResourceKey
<StructureProcessorList> ProcessorLists.MOSSIFY_20_PERCENT
static final ResourceKey
<StructureProcessorList> ProcessorLists.MOSSIFY_70_PERCENT
static final ResourceKey
<ConfiguredWorldCarver<?>> Carvers.NETHER_CAVE
static final ResourceKey
<StructureProcessorList> ProcessorLists.OUTPOST_ROT
static final ResourceKey
<StructureProcessorList> ProcessorLists.RAMPART_DEGRADATION
static final ResourceKey
<StructureProcessorList> ProcessorLists.ROOF
static final ResourceKey
<StructureProcessorList> ProcessorLists.SIDE_WALL_DEGRADATION
static final ResourceKey
<StructureProcessorList> ProcessorLists.STABLE_DEGRADATION
static final ResourceKey
<StructureTemplatePool> AncientCityStructurePieces.START
static final ResourceKey
<StructureTemplatePool> BastionPieces.START
static final ResourceKey
<StructureTemplatePool> DesertVillagePools.START
static final ResourceKey
<StructureTemplatePool> PillagerOutpostPools.START
static final ResourceKey
<StructureTemplatePool> PlainVillagePools.START
static final ResourceKey
<StructureTemplatePool> SavannaVillagePools.START
static final ResourceKey
<StructureTemplatePool> SnowyVillagePools.START
static final ResourceKey
<StructureTemplatePool> TaigaVillagePools.START
static final ResourceKey
<StructureTemplatePool> TrailRuinsStructurePools.START
static final ResourceKey
<StructureTemplatePool> TrialChambersStructurePools.START
static final ResourceKey
<StructureProcessorList> ProcessorLists.STREET_PLAINS
static final ResourceKey
<StructureProcessorList> ProcessorLists.STREET_SAVANNA
static final ResourceKey
<StructureProcessorList> ProcessorLists.STREET_SNOWY_OR_TAIGA
private static final ResourceKey
<StructureTemplatePool> DesertVillagePools.TERMINATORS_KEY
private static final ResourceKey
<StructureTemplatePool> PlainVillagePools.TERMINATORS_KEY
private static final ResourceKey
<StructureTemplatePool> SavannaVillagePools.TERMINATORS_KEY
private static final ResourceKey
<StructureTemplatePool> SnowyVillagePools.TERMINATORS_KEY
private static final ResourceKey
<StructureTemplatePool> TaigaVillagePools.TERMINATORS_KEY
static final ResourceKey
<StructureProcessorList> ProcessorLists.TRAIL_RUINS_HOUSES_ARCHAEOLOGY
static final ResourceKey
<StructureProcessorList> ProcessorLists.TRAIL_RUINS_ROADS_ARCHAEOLOGY
static final ResourceKey
<StructureProcessorList> ProcessorLists.TRAIL_RUINS_TOWER_TOP_ARCHAEOLOGY
static final ResourceKey
<StructureProcessorList> ProcessorLists.TREASURE_ROOMS
static final ResourceKey
<StructureProcessorList> UpdateOneTwentyOneProcessorLists.TRIAL_CHAMBERS_COPPER_BULB_DEGRADATION
static final ResourceKey
<StructureProcessorList> ProcessorLists.ZOMBIE_DESERT
static final ResourceKey
<StructureProcessorList> ProcessorLists.ZOMBIE_PLAINS
static final ResourceKey
<StructureProcessorList> ProcessorLists.ZOMBIE_SAVANNA
static final ResourceKey
<StructureProcessorList> ProcessorLists.ZOMBIE_SNOWY
static final ResourceKey
<StructureProcessorList> ProcessorLists.ZOMBIE_TAIGA
private static final ResourceKey
<StructureTemplatePool> DesertVillagePools.ZOMBIE_TERMINATORS_KEY
private static final ResourceKey
<StructureTemplatePool> SavannaVillagePools.ZOMBIE_TERMINATORS_KEY
Modifier and TypeMethodDescriptionprivate static ResourceKey
<ConfiguredWorldCarver<?>> static ResourceKey
<StructureTemplatePool> private static ResourceKey
<StructureProcessorList> static ResourceKey
<StructureTemplatePool> Modifier and TypeMethodDescription<S> HolderGetter
<S> BootstrapContext.lookup
(ResourceKey<? extends Registry<? extends S>> p_321547_) default Holder.Reference
<T> BootstrapContext.register
(ResourceKey<T> p_321660_, T p_321479_) BootstrapContext.register
(ResourceKey<T> p_321720_, T p_321670_, com.mojang.serialization.Lifecycle p_321792_) private static void
NoiseData.register
(BootstrapContext<NormalNoise.NoiseParameters> p_321534_, ResourceKey<NormalNoise.NoiseParameters> p_255970_, int p_256539_, double p_256566_, double... p_255998_) private static void
ProcessorLists.register
(BootstrapContext<StructureProcessorList> p_321548_, ResourceKey<StructureProcessorList> p_256192_, List<StructureProcessor> p_255805_) private static void
UpdateOneTwentyOneProcessorLists.register
(BootstrapContext<StructureProcessorList> p_321520_, ResourceKey<StructureProcessorList> p_311901_, List<StructureProcessor> p_312918_) private static void
NoiseData.registerBiomeNoises
(BootstrapContext<NormalNoise.NoiseParameters> p_321841_, int p_236479_, ResourceKey<NormalNoise.NoiseParameters> p_236480_, ResourceKey<NormalNoise.NoiseParameters> p_236481_, ResourceKey<NormalNoise.NoiseParameters> p_236482_, ResourceKey<NormalNoise.NoiseParameters> p_236483_) default <S> Optional
<HolderLookup.RegistryLookup<S>> BootstrapContext.registryLookup
(ResourceKey<? extends Registry<? extends S>> registry) private static CappedProcessor
ProcessorLists.trailsArchyLootProcessor
(ResourceKey<LootTable> p_335512_, int p_281868_) -
Uses of ResourceKey in net.minecraft.data.worldgen.features
Modifier and TypeFieldDescriptionstatic final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.ACACIA
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.AMETHYST_GEODE
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.AZALEA_TREE
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.BAMBOO_NO_PODZOL
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.BAMBOO_SOME_PODZOL
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.BAMBOO_VEGETATION
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.BASALT_BLOBS
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.BASALT_PILLAR
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.BIRCH
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.BIRCH_BEES_0002
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.BIRCH_BEES_002
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.BIRCH_BEES_005
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.BIRCH_TALL
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.BLACKSTONE_BLOBS
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.BLUE_ICE
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.BONUS_CHEST
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.CAVE_VINE
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.CAVE_VINE_IN_MOSS
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.CHERRY
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.CHERRY_BEES_005
static final ResourceKey
<ConfiguredFeature<?, ?>> EndFeatures.CHORUS_PLANT
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.CLAY_POOL_WITH_DRIPLEAVES
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.CLAY_WITH_DRIPLEAVES
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.CRIMSON_FOREST_VEGETATION
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.CRIMSON_FOREST_VEGETATION_BONEMEAL
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.CRIMSON_FUNGUS
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.CRIMSON_FUNGUS_PLANTED
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.DARK_FOREST_VEGETATION
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.DARK_OAK
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.DELTA
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.DESERT_WELL
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.DISK_CLAY
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.DISK_GRASS
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.DISK_GRAVEL
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.DISK_SAND
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.DRIPLEAF
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.DRIPSTONE_CLUSTER
static final ResourceKey
<ConfiguredFeature<?, ?>> EndFeatures.END_GATEWAY_DELAYED
static final ResourceKey
<ConfiguredFeature<?, ?>> EndFeatures.END_GATEWAY_RETURN
static final ResourceKey
<ConfiguredFeature<?, ?>> EndFeatures.END_ISLAND
static final ResourceKey
<ConfiguredFeature<?, ?>> EndFeatures.END_SPIKE
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.FANCY_OAK
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.FANCY_OAK_BEES
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.FANCY_OAK_BEES_0002
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.FANCY_OAK_BEES_002
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.FANCY_OAK_BEES_005
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.FLOWER_CHERRY
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.FLOWER_DEFAULT
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.FLOWER_FLOWER_FOREST
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.FLOWER_MEADOW
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.FLOWER_PLAIN
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.FLOWER_SWAMP
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.FOREST_FLOWERS
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.FOREST_ROCK
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.FOSSIL_COAL
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.FOSSIL_DIAMONDS
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.FREEZE_TOP_LAYER
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.GLOW_LICHEN
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.GLOWSTONE_EXTRA
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.HUGE_BROWN_MUSHROOM
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.HUGE_RED_MUSHROOM
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.ICE_PATCH
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.ICE_SPIKE
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.ICEBERG_BLUE
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.ICEBERG_PACKED
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.JUNGLE_BUSH
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.JUNGLE_TREE
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.JUNGLE_TREE_NO_VINE
static final ResourceKey
<ConfiguredFeature<?, ?>> AquaticFeatures.KELP
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.LAKE_LAVA
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.LARGE_BASALT_COLUMNS
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.LARGE_DRIPSTONE
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.LUSH_CAVES_CLAY
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.MANGROVE
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.MANGROVE_VEGETATION
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.MEADOW_TREES
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.MEGA_JUNGLE_TREE
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.MEGA_PINE
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.MEGA_SPRUCE
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.MONSTER_ROOM
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.MOSS_PATCH
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.MOSS_PATCH_BONEMEAL
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.MOSS_PATCH_CEILING
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.MOSS_VEGETATION
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.MUSHROOM_ISLAND_VEGETATION
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.NETHER_SPROUTS
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.NETHER_SPROUTS_BONEMEAL
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.OAK
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.OAK_BEES_0002
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.OAK_BEES_002
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.OAK_BEES_005
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_ANCIENT_DEBRIS_LARGE
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_ANCIENT_DEBRIS_SMALL
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_ANDESITE
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_BLACKSTONE
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_CLAY
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_COAL
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_COAL_BURIED
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_COPPER_LARGE
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_COPPPER_SMALL
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_DIAMOND_BURIED
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_DIAMOND_LARGE
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_DIAMOND_MEDIUM
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_DIAMOND_SMALL
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_DIORITE
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_DIRT
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_EMERALD
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_GOLD
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_GOLD_BURIED
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_GRANITE
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_GRAVEL
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_GRAVEL_NETHER
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_INFESTED
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_IRON
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_IRON_SMALL
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_LAPIS
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_LAPIS_BURIED
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_MAGMA
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_NETHER_GOLD
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_QUARTZ
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_REDSTONE
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_SOUL_SAND
static final ResourceKey
<ConfiguredFeature<?, ?>> OreFeatures.ORE_TUFF
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_BERRY_BUSH
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_BROWN_MUSHROOM
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_CACTUS
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.PATCH_CRIMSON_ROOTS
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_DEAD_BUSH
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.PATCH_FIRE
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_GRASS
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_GRASS_JUNGLE
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_LARGE_FERN
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_MELON
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_PUMPKIN
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_RED_MUSHROOM
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.PATCH_SOUL_FIRE
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_SUGAR_CANE
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_SUNFLOWER
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_TAIGA_GRASS
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_TALL_GRASS
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_WATERLILY
static final ResourceKey
<ConfiguredFeature<?, ?>> PileFeatures.PILE_HAY
static final ResourceKey
<ConfiguredFeature<?, ?>> PileFeatures.PILE_ICE
static final ResourceKey
<ConfiguredFeature<?, ?>> PileFeatures.PILE_MELON
static final ResourceKey
<ConfiguredFeature<?, ?>> PileFeatures.PILE_PUMPKIN
static final ResourceKey
<ConfiguredFeature<?, ?>> PileFeatures.PILE_SNOW
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.PINE
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.POINTED_DRIPSTONE
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.ROOTED_AZALEA_TREE
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.SCULK_PATCH_ANCIENT_CITY
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.SCULK_PATCH_DEEP_DARK
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.SCULK_VEIN
static final ResourceKey
<ConfiguredFeature<?, ?>> AquaticFeatures.SEA_PICKLE
static final ResourceKey
<ConfiguredFeature<?, ?>> AquaticFeatures.SEAGRASS_MID
static final ResourceKey
<ConfiguredFeature<?, ?>> AquaticFeatures.SEAGRASS_SHORT
static final ResourceKey
<ConfiguredFeature<?, ?>> AquaticFeatures.SEAGRASS_SIMPLE
static final ResourceKey
<ConfiguredFeature<?, ?>> AquaticFeatures.SEAGRASS_SLIGHTLY_LESS_SHORT
static final ResourceKey
<ConfiguredFeature<?, ?>> AquaticFeatures.SEAGRASS_TALL
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.SINGLE_PIECE_OF_GRASS
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.SMALL_BASALT_COLUMNS
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.SPORE_BLOSSOM
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.SPRING_LAVA_FROZEN
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.SPRING_LAVA_NETHER
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.SPRING_LAVA_OVERWORLD
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.SPRING_NETHER_CLOSED
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.SPRING_NETHER_OPEN
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.SPRING_WATER
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.SPRUCE
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.SUPER_BIRCH_BEES
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.SUPER_BIRCH_BEES_0002
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.SWAMP_OAK
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.TALL_MANGROVE
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_BIRCH_AND_OAK
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_FLOWER_FOREST
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_GROVE
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_JUNGLE
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_OLD_GROWTH_PINE_TAIGA
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_OLD_GROWTH_SPRUCE_TAIGA
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_PLAINS
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_SAVANNA
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_SPARSE_JUNGLE
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_TAIGA
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_WATER
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_WINDSWEPT_HILLS
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.TWISTING_VINES
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.TWISTING_VINES_BONEMEAL
static final ResourceKey
<ConfiguredFeature<?, ?>> CaveFeatures.UNDERWATER_MAGMA
static final ResourceKey
<ConfiguredFeature<?, ?>> VegetationFeatures.VINES
static final ResourceKey
<ConfiguredFeature<?, ?>> MiscOverworldFeatures.VOID_START_PLATFORM
static final ResourceKey
<ConfiguredFeature<?, ?>> AquaticFeatures.WARM_OCEAN_VEGETATION
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.WARPED_FOREST_VEGETATION_BONEMEAL
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.WARPED_FOREST_VEGETION
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.WARPED_FUNGUS
static final ResourceKey
<ConfiguredFeature<?, ?>> TreeFeatures.WARPED_FUNGUS_PLANTED
static final ResourceKey
<ConfiguredFeature<?, ?>> NetherFeatures.WEEPING_VINES
Modifier and TypeMethodDescriptionstatic <FC extends FeatureConfiguration,
F extends Feature<FC>>
voidFeatureUtils.register
(BootstrapContext<ConfiguredFeature<?, ?>> p_321618_, ResourceKey<ConfiguredFeature<?, ?>> p_255983_, F p_255949_, FC p_256398_) static void
FeatureUtils.register
(BootstrapContext<ConfiguredFeature<?, ?>> p_321616_, ResourceKey<ConfiguredFeature<?, ?>> p_256555_, Feature<NoneFeatureConfiguration> p_255921_) -
Uses of ResourceKey in net.minecraft.data.worldgen.placement
Modifier and TypeFieldDescriptionstatic final ResourceKey
<PlacedFeature> TreePlacements.ACACIA_CHECKED
static final ResourceKey
<PlacedFeature> VillagePlacements.ACACIA_VILLAGE
static final ResourceKey
<PlacedFeature> CavePlacements.AMETHYST_GEODE
static final ResourceKey
<PlacedFeature> VegetationPlacements.BAMBOO
static final ResourceKey
<PlacedFeature> VegetationPlacements.BAMBOO_LIGHT
static final ResourceKey
<PlacedFeature> VegetationPlacements.BAMBOO_VEGETATION
static final ResourceKey
<PlacedFeature> NetherPlacements.BASALT_BLOBS
static final ResourceKey
<PlacedFeature> NetherPlacements.BASALT_PILLAR
static final ResourceKey
<PlacedFeature> TreePlacements.BIRCH_BEES_0002_PLACED
static final ResourceKey
<PlacedFeature> TreePlacements.BIRCH_BEES_002
static final ResourceKey
<PlacedFeature> TreePlacements.BIRCH_CHECKED
static final ResourceKey
<PlacedFeature> VegetationPlacements.BIRCH_TALL
static final ResourceKey
<PlacedFeature> NetherPlacements.BLACKSTONE_BLOBS
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.BLUE_ICE
static final ResourceKey
<PlacedFeature> VegetationPlacements.BROWN_MUSHROOM_NETHER
static final ResourceKey
<PlacedFeature> VegetationPlacements.BROWN_MUSHROOM_NORMAL
static final ResourceKey
<PlacedFeature> VegetationPlacements.BROWN_MUSHROOM_OLD_GROWTH
static final ResourceKey
<PlacedFeature> VegetationPlacements.BROWN_MUSHROOM_SWAMP
static final ResourceKey
<PlacedFeature> VegetationPlacements.BROWN_MUSHROOM_TAIGA
static final ResourceKey
<PlacedFeature> CavePlacements.CAVE_VINES
static final ResourceKey
<PlacedFeature> TreePlacements.CHERRY_BEES_005
static final ResourceKey
<PlacedFeature> TreePlacements.CHERRY_CHECKED
static final ResourceKey
<PlacedFeature> EndPlacements.CHORUS_PLANT
static final ResourceKey
<PlacedFeature> CavePlacements.CLASSIC_VINES
static final ResourceKey
<PlacedFeature> NetherPlacements.CRIMSON_FOREST_VEGETATION
static final ResourceKey
<PlacedFeature> TreePlacements.CRIMSON_FUNGI
static final ResourceKey
<PlacedFeature> VegetationPlacements.DARK_FOREST_VEGETATION
static final ResourceKey
<PlacedFeature> TreePlacements.DARK_OAK_CHECKED
static final ResourceKey
<PlacedFeature> NetherPlacements.DELTA
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.DESERT_WELL
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.DISK_CLAY
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.DISK_GRASS
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.DISK_GRAVEL
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.DISK_SAND
static final ResourceKey
<PlacedFeature> CavePlacements.DRIPSTONE_CLUSTER
static final ResourceKey
<PlacedFeature> EndPlacements.END_GATEWAY_RETURN
static final ResourceKey
<PlacedFeature> EndPlacements.END_ISLAND_DECORATED
static final ResourceKey
<PlacedFeature> EndPlacements.END_SPIKE
static final ResourceKey
<PlacedFeature> TreePlacements.FANCY_OAK_BEES
static final ResourceKey
<PlacedFeature> TreePlacements.FANCY_OAK_BEES_0002
static final ResourceKey
<PlacedFeature> TreePlacements.FANCY_OAK_BEES_002
static final ResourceKey
<PlacedFeature> TreePlacements.FANCY_OAK_CHECKED
static final ResourceKey
<PlacedFeature> VegetationPlacements.FLOWER_CHERRY
static final ResourceKey
<PlacedFeature> VegetationPlacements.FLOWER_DEFAULT
static final ResourceKey
<PlacedFeature> VegetationPlacements.FLOWER_FLOWER_FOREST
static final ResourceKey
<PlacedFeature> VegetationPlacements.FLOWER_FOREST_FLOWERS
static final ResourceKey
<PlacedFeature> VegetationPlacements.FLOWER_MEADOW
static final ResourceKey
<PlacedFeature> VillagePlacements.FLOWER_PLAIN_VILLAGE
static final ResourceKey
<PlacedFeature> VegetationPlacements.FLOWER_PLAINS
static final ResourceKey
<PlacedFeature> VegetationPlacements.FLOWER_SWAMP
static final ResourceKey
<PlacedFeature> VegetationPlacements.FLOWER_WARM
static final ResourceKey
<PlacedFeature> VegetationPlacements.FOREST_FLOWERS
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.FOREST_ROCK
static final ResourceKey
<PlacedFeature> CavePlacements.FOSSIL_LOWER
static final ResourceKey
<PlacedFeature> CavePlacements.FOSSIL_UPPER
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.FREEZE_TOP_LAYER
static final ResourceKey
<PlacedFeature> CavePlacements.GLOW_LICHEN
static final ResourceKey
<PlacedFeature> NetherPlacements.GLOWSTONE
static final ResourceKey
<PlacedFeature> NetherPlacements.GLOWSTONE_EXTRA
static final ResourceKey
<PlacedFeature> VegetationPlacements.GRASS_BONEMEAL
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.ICE_PATCH
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.ICE_SPIKE
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.ICEBERG_BLUE
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.ICEBERG_PACKED
static final ResourceKey
<PlacedFeature> TreePlacements.JUNGLE_BUSH
static final ResourceKey
<PlacedFeature> TreePlacements.JUNGLE_TREE_CHECKED
static final ResourceKey
<PlacedFeature> AquaticPlacements.KELP_COLD
static final ResourceKey
<PlacedFeature> AquaticPlacements.KELP_WARM
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.LAKE_LAVA_SURFACE
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.LAKE_LAVA_UNDERGROUND
static final ResourceKey
<PlacedFeature> NetherPlacements.LARGE_BASALT_COLUMNS
static final ResourceKey
<PlacedFeature> CavePlacements.LARGE_DRIPSTONE
static final ResourceKey
<PlacedFeature> CavePlacements.LUSH_CAVES_CEILING_VEGETATION
static final ResourceKey
<PlacedFeature> CavePlacements.LUSH_CAVES_CLAY
static final ResourceKey
<PlacedFeature> CavePlacements.LUSH_CAVES_VEGETATION
static final ResourceKey
<PlacedFeature> TreePlacements.MANGROVE_CHECKED
static final ResourceKey
<PlacedFeature> TreePlacements.MEGA_JUNGLE_TREE_CHECKED
static final ResourceKey
<PlacedFeature> TreePlacements.MEGA_PINE_CHECKED
static final ResourceKey
<PlacedFeature> TreePlacements.MEGA_SPRUCE_CHECKED
static final ResourceKey
<PlacedFeature> CavePlacements.MONSTER_ROOM
static final ResourceKey
<PlacedFeature> CavePlacements.MONSTER_ROOM_DEEP
static final ResourceKey
<PlacedFeature> VegetationPlacements.MUSHROOM_ISLAND_VEGETATION
static final ResourceKey
<PlacedFeature> NetherPlacements.NETHER_SPROUTS
static final ResourceKey
<PlacedFeature> TreePlacements.OAK_BEES_0002
static final ResourceKey
<PlacedFeature> TreePlacements.OAK_BEES_002
static final ResourceKey
<PlacedFeature> TreePlacements.OAK_CHECKED
static final ResourceKey
<PlacedFeature> VillagePlacements.OAK_VILLAGE
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_ANCIENT_DEBRIS_LARGE
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_ANCIENT_DEBRIS_SMALL
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_ANDESITE_LOWER
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_ANDESITE_UPPER
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_BLACKSTONE
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_CLAY
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_COAL_LOWER
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_COAL_UPPER
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_COPPER
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_COPPER_LARGE
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_DIAMOND
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_DIAMOND_BURIED
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_DIAMOND_LARGE
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_DIAMOND_MEDIUM
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_DIORITE_LOWER
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_DIORITE_UPPER
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_DIRT
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_EMERALD
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_GOLD
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_GOLD_DELTAS
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_GOLD_EXTRA
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_GOLD_LOWER
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_GOLD_NETHER
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_GRANITE_LOWER
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_GRANITE_UPPER
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_GRAVEL
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_GRAVEL_NETHER
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_INFESTED
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_IRON_MIDDLE
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_IRON_SMALL
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_IRON_UPPER
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_LAPIS
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_LAPIS_BURIED
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_MAGMA
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_QUARTZ_DELTAS
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_QUARTZ_NETHER
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_REDSTONE
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_REDSTONE_LOWER
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_SOUL_SAND
static final ResourceKey
<PlacedFeature> OrePlacements.ORE_TUFF
static final ResourceKey
<PlacedFeature> VillagePlacements.PATCH_BERRY_BUSH_VILLAGE
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_BERRY_COMMON
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_BERRY_RARE
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_CACTUS_DECORATED
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_CACTUS_DESERT
static final ResourceKey
<PlacedFeature> VillagePlacements.PATCH_CACTUS_VILLAGE
static final ResourceKey
<PlacedFeature> NetherPlacements.PATCH_CRIMSON_ROOTS
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_DEAD_BUSH
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_DEAD_BUSH_2
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_DEAD_BUSH_BADLANDS
static final ResourceKey
<PlacedFeature> NetherPlacements.PATCH_FIRE
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_GRASS_BADLANDS
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_GRASS_FOREST
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_GRASS_JUNGLE
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_GRASS_NORMAL
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_GRASS_PLAIN
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_GRASS_SAVANNA
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_GRASS_TAIGA
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_GRASS_TAIGA_2
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_LARGE_FERN
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_MELON
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_MELON_SPARSE
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_PUMPKIN
static final ResourceKey
<PlacedFeature> NetherPlacements.PATCH_SOUL_FIRE
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_SUGAR_CANE
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_SUGAR_CANE_BADLANDS
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_SUGAR_CANE_DESERT
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_SUGAR_CANE_SWAMP
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_SUNFLOWER
static final ResourceKey
<PlacedFeature> VillagePlacements.PATCH_TAIGA_GRASS_VILLAGE
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_TALL_GRASS
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_TALL_GRASS_2
static final ResourceKey
<PlacedFeature> VegetationPlacements.PATCH_WATERLILY
static final ResourceKey
<PlacedFeature> VillagePlacements.PILE_HAY_VILLAGE
static final ResourceKey
<PlacedFeature> VillagePlacements.PILE_ICE_VILLAGE
static final ResourceKey
<PlacedFeature> VillagePlacements.PILE_MELON_VILLAGE
static final ResourceKey
<PlacedFeature> VillagePlacements.PILE_PUMPKIN_VILLAGE
static final ResourceKey
<PlacedFeature> VillagePlacements.PILE_SNOW_VILLAGE
static final ResourceKey
<PlacedFeature> TreePlacements.PINE_CHECKED
static final ResourceKey
<PlacedFeature> TreePlacements.PINE_ON_SNOW
static final ResourceKey
<PlacedFeature> VillagePlacements.PINE_VILLAGE
static final ResourceKey
<PlacedFeature> CavePlacements.POINTED_DRIPSTONE
static final ResourceKey
<PlacedFeature> VegetationPlacements.RED_MUSHROOM_NETHER
static final ResourceKey
<PlacedFeature> VegetationPlacements.RED_MUSHROOM_NORMAL
static final ResourceKey
<PlacedFeature> VegetationPlacements.RED_MUSHROOM_OLD_GROWTH
static final ResourceKey
<PlacedFeature> VegetationPlacements.RED_MUSHROOM_SWAMP
static final ResourceKey
<PlacedFeature> VegetationPlacements.RED_MUSHROOM_TAIGA
static final ResourceKey
<PlacedFeature> CavePlacements.ROOTED_AZALEA_TREE
static final ResourceKey
<PlacedFeature> CavePlacements.SCULK_PATCH_ANCIENT_CITY
static final ResourceKey
<PlacedFeature> CavePlacements.SCULK_PATCH_DEEP_DARK
static final ResourceKey
<PlacedFeature> CavePlacements.SCULK_VEIN
static final ResourceKey
<PlacedFeature> AquaticPlacements.SEA_PICKLE
static final ResourceKey
<PlacedFeature> AquaticPlacements.SEAGRASS_COLD
static final ResourceKey
<PlacedFeature> AquaticPlacements.SEAGRASS_DEEP
static final ResourceKey
<PlacedFeature> AquaticPlacements.SEAGRASS_DEEP_COLD
static final ResourceKey
<PlacedFeature> AquaticPlacements.SEAGRASS_DEEP_WARM
static final ResourceKey
<PlacedFeature> AquaticPlacements.SEAGRASS_NORMAL
static final ResourceKey
<PlacedFeature> AquaticPlacements.SEAGRASS_RIVER
static final ResourceKey
<PlacedFeature> AquaticPlacements.SEAGRASS_SIMPLE
static final ResourceKey
<PlacedFeature> AquaticPlacements.SEAGRASS_SWAMP
static final ResourceKey
<PlacedFeature> AquaticPlacements.SEAGRASS_WARM
static final ResourceKey
<PlacedFeature> NetherPlacements.SMALL_BASALT_COLUMNS
static final ResourceKey
<PlacedFeature> CavePlacements.SPORE_BLOSSOM
static final ResourceKey
<PlacedFeature> NetherPlacements.SPRING_CLOSED
static final ResourceKey
<PlacedFeature> NetherPlacements.SPRING_CLOSED_DOUBLE
static final ResourceKey
<PlacedFeature> NetherPlacements.SPRING_DELTA
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.SPRING_LAVA
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.SPRING_LAVA_FROZEN
static final ResourceKey
<PlacedFeature> NetherPlacements.SPRING_OPEN
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.SPRING_WATER
static final ResourceKey
<PlacedFeature> TreePlacements.SPRUCE_CHECKED
static final ResourceKey
<PlacedFeature> TreePlacements.SPRUCE_ON_SNOW
static final ResourceKey
<PlacedFeature> VillagePlacements.SPRUCE_VILLAGE
static final ResourceKey
<PlacedFeature> TreePlacements.SUPER_BIRCH_BEES
static final ResourceKey
<PlacedFeature> TreePlacements.SUPER_BIRCH_BEES_0002
static final ResourceKey
<PlacedFeature> TreePlacements.TALL_MANGROVE_CHECKED
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_BADLANDS
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_BIRCH
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_BIRCH_AND_OAK
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_CHERRY
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_FLOWER_FOREST
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_GROVE
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_JUNGLE
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_MANGROVE
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_MEADOW
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_OLD_GROWTH_PINE_TAIGA
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_OLD_GROWTH_SPRUCE_TAIGA
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_PLAINS
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_SAVANNA
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_SNOWY
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_SPARSE_JUNGLE
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_SWAMP
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_TAIGA
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_WATER
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_WINDSWEPT_FOREST
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_WINDSWEPT_HILLS
static final ResourceKey
<PlacedFeature> VegetationPlacements.TREES_WINDSWEPT_SAVANNA
static final ResourceKey
<PlacedFeature> NetherPlacements.TWISTING_VINES
static final ResourceKey
<PlacedFeature> CavePlacements.UNDERWATER_MAGMA
static final ResourceKey
<PlacedFeature> VegetationPlacements.VINES
static final ResourceKey
<PlacedFeature> MiscOverworldPlacements.VOID_START_PLATFORM
static final ResourceKey
<PlacedFeature> AquaticPlacements.WARM_OCEAN_VEGETATION
static final ResourceKey
<PlacedFeature> NetherPlacements.WARPED_FOREST_VEGETATION
static final ResourceKey
<PlacedFeature> TreePlacements.WARPED_FUNGI
static final ResourceKey
<PlacedFeature> NetherPlacements.WEEPING_VINES
Modifier and TypeMethodDescriptionstatic void
PlacementUtils.register
(BootstrapContext<PlacedFeature> p_321821_, ResourceKey<PlacedFeature> p_256614_, Holder<ConfiguredFeature<?, ?>> p_255855_, List<PlacementModifier> p_321672_) static void
PlacementUtils.register
(BootstrapContext<PlacedFeature> p_321697_, ResourceKey<PlacedFeature> p_255820_, Holder<ConfiguredFeature<?, ?>> p_255813_, PlacementModifier... p_321659_) -
Uses of ResourceKey in net.minecraft.gametest.framework
-
Uses of ResourceKey in net.minecraft.network
Modifier and TypeMethodDescription<T> ResourceKey
<? extends Registry<T>> FriendlyByteBuf.readRegistryKey()
<T> ResourceKey
<T> FriendlyByteBuf.readResourceKey
(ResourceKey<? extends Registry<T>> p_236802_) Modifier and TypeMethodDescription<T> ResourceKey
<T> FriendlyByteBuf.readResourceKey
(ResourceKey<? extends Registry<T>> p_236802_) void
FriendlyByteBuf.writeResourceKey
(ResourceKey<?> p_236859_) -
Uses of ResourceKey in net.minecraft.network.chat
Modifier and TypeFieldDescriptionstatic final ResourceKey
<ChatType> ChatType.CHAT
static final ResourceKey
<ChatType> ChatType.EMOTE_COMMAND
static final ResourceKey
<ChatType> ChatType.MSG_COMMAND_INCOMING
static final ResourceKey
<ChatType> ChatType.MSG_COMMAND_OUTGOING
static final ResourceKey
<ChatType> ChatType.SAY_COMMAND
static final ResourceKey
<ChatType> ChatType.TEAM_MSG_COMMAND_INCOMING
static final ResourceKey
<ChatType> ChatType.TEAM_MSG_COMMAND_OUTGOING
Modifier and TypeMethodDescriptionstatic ChatType.Bound
ChatType.bind
(ResourceKey<ChatType> p_241345_, CommandSourceStack p_241466_) static ChatType.Bound
ChatType.bind
(ResourceKey<ChatType> p_241284_, RegistryAccess p_241373_, Component p_241455_) static ChatType.Bound
ChatType.bind
(ResourceKey<ChatType> p_241279_, Entity p_241483_) -
Uses of ResourceKey in net.minecraft.network.codec
Modifier and TypeMethodDescriptionstatic <T> StreamCodec
<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder
(ResourceKey<? extends Registry<T>> p_320391_, StreamCodec<? super RegistryFriendlyByteBuf, T> p_320595_) static <T> StreamCodec
<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holderRegistry
(ResourceKey<? extends Registry<T>> p_320387_) static <T> StreamCodec
<RegistryFriendlyByteBuf, HolderSet<T>> ByteBufCodecs.holderSet
(ResourceKey<? extends Registry<T>> p_332137_) static <T> StreamCodec
<RegistryFriendlyByteBuf, T> ByteBufCodecs.registry
(ResourceKey<? extends Registry<T>> p_320404_) private static <T,
R> StreamCodec <RegistryFriendlyByteBuf, R> ByteBufCodecs.registry
(ResourceKey<? extends Registry<T>> p_319942_, Function<Registry<T>, IdMap<R>> p_320353_) -
Uses of ResourceKey in net.minecraft.network.protocol.common
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.tags
Modifier and TypeMethodDescriptionMap
<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.getTags()
ModifierConstructorDescriptionClientboundUpdateTagsPacket
(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> p_296316_) -
Uses of ResourceKey in net.minecraft.network.protocol.common.custom
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> StructuresDebugPayload.dimension
The field for thedimension
record component.private final ResourceKey
<GameEvent> GameEventDebugPayload.gameEventType
The field for thegameEventType
record component.Modifier and TypeMethodDescriptionStructuresDebugPayload.dimension()
Returns the value of thedimension
record component.GameEventDebugPayload.gameEventType()
Returns the value of thegameEventType
record component.ModifierConstructorDescriptionGameEventDebugPayload
(ResourceKey<GameEvent> gameEventType, Vec3 pos) Creates an instance of aGameEventDebugPayload
record class.StructuresDebugPayload
(ResourceKey<Level> dimension, BoundingBox mainBB, List<StructuresDebugPayload.PieceInfo> pieces) Creates an instance of aStructuresDebugPayload
record class. -
Uses of ResourceKey in net.minecraft.network.protocol.configuration
Modifier and TypeFieldDescriptionprivate final ResourceKey
<? extends Registry<?>> ClientboundRegistryDataPacket.registry
The field for theregistry
record component.Modifier and TypeFieldDescriptionprivate static final StreamCodec
<io.netty.buffer.ByteBuf, ResourceKey<? extends Registry<?>>> ClientboundRegistryDataPacket.REGISTRY_KEY_STREAM_CODEC
Modifier and TypeMethodDescriptionResourceKey
<? extends Registry<?>> ClientboundRegistryDataPacket.registry()
Returns the value of theregistry
record component.ModifierConstructorDescriptionClientboundRegistryDataPacket
(ResourceKey<? extends Registry<?>> registry, List<RegistrySynchronization.PackedRegistryEntry> entries) Creates an instance of aClientboundRegistryDataPacket
record class. -
Uses of ResourceKey in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> CommonPlayerSpawnInfo.dimension
The field for thedimension
record component.Modifier and TypeFieldDescriptionprivate final Set
<ResourceKey<Level>> ClientboundLoginPacket.levels
The field for thelevels
record component.Modifier and TypeMethodDescriptionCommonPlayerSpawnInfo.dimension()
Returns the value of thedimension
record component.Modifier and TypeMethodDescriptionClientboundLoginPacket.levels()
Returns the value of thelevels
record component.ModifierConstructorDescriptionCommonPlayerSpawnInfo
(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 aCommonPlayerSpawnInfo
record class.ModifierConstructorDescriptionClientboundLoginPacket
(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 aClientboundLoginPacket
record class. -
Uses of ResourceKey in net.minecraft.references
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Block> Blocks.ATTACHED_MELON_STEM
static final ResourceKey
<Block> Blocks.ATTACHED_PUMPKIN_STEM
static final ResourceKey
<Block> Blocks.MELON
static final ResourceKey
<Item> Items.MELON_SEEDS
static final ResourceKey
<Block> Blocks.MELON_STEM
static final ResourceKey
<Block> Blocks.PUMPKIN
static final ResourceKey
<Item> Items.PUMPKIN_SEEDS
static final ResourceKey
<Block> Blocks.PUMPKIN_STEM
Modifier and TypeMethodDescriptionprivate static ResourceKey
<Block> private static ResourceKey
<Item> -
Uses of ResourceKey in net.minecraft.resources
Modifier and TypeFieldDescriptionprivate final ResourceKey
<? extends Registry<T>> RegistryDataLoader.RegistryData.key
The field for thekey
record component.private final ResourceKey
<? extends Registry<E>> HolderSetCodec.registryKey
private final ResourceKey
<? extends Registry<E>> RegistryFileCodec.registryKey
private final ResourceKey
<? extends Registry<E>> RegistryFixedCodec.registryKey
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<?>, Exception> RegistryDataLoader.Loader.loadingErrors
The field for theloadingErrors
record component.private final Map
<ResourceKey<? extends Registry<?>>, Optional<? extends RegistryOps.RegistryInfo<?>>> RegistryOps.HolderLookupAdapter.lookups
private static final ConcurrentMap
<ResourceKey.InternKey, ResourceKey<?>> ResourceKey.VALUES
Modifier and TypeMethodDescriptionstatic <T> ResourceKey
<T> ResourceKey.create
(ResourceKey<? extends Registry<T>> p_135786_, ResourceLocation p_135787_) private static <T> ResourceKey
<T> ResourceKey.create
(ResourceLocation p_135791_, ResourceLocation p_135792_) static <T> ResourceKey
<Registry<T>> ResourceKey.createRegistryKey
(ResourceLocation p_135789_) ResourceKey
<? extends Registry<T>> RegistryDataLoader.RegistryData.key()
Returns the value of thekey
record component.ResourceKey.registryKey()
Modifier and TypeMethodDescription<E> Optional
<ResourceKey<E>> ResourceKey.cast
(ResourceKey<? extends Registry<E>> p_195976_) static <T> com.mojang.serialization.Codec
<ResourceKey<T>> ResourceKey.codec
(ResourceKey<? extends Registry<T>> p_195967_) Map
<ResourceKey<?>, Exception> RegistryDataLoader.Loader.loadingErrors()
Returns the value of theloadingErrors
record component.static <T> StreamCodec
<io.netty.buffer.ByteBuf, ResourceKey<T>> ResourceKey.streamCodec
(ResourceKey<? extends Registry<T>> p_320330_) Modifier and TypeMethodDescription<E> Optional
<ResourceKey<E>> ResourceKey.cast
(ResourceKey<? extends Registry<E>> p_195976_) static <T> com.mojang.serialization.Codec
<ResourceKey<T>> ResourceKey.codec
(ResourceKey<? extends Registry<T>> p_195967_) int
ResourceKey.compareTo
(ResourceKey<?> o) static <E> com.mojang.serialization.Codec
<HolderSet<E>> HolderSetCodec.create
(ResourceKey<? extends Registry<E>> p_206686_, com.mojang.serialization.Codec<Holder<E>> p_206687_, boolean p_206688_) static <E> RegistryFileCodec
<E> RegistryFileCodec.create
(ResourceKey<? extends Registry<E>> p_135590_, com.mojang.serialization.Codec<E> p_135591_) static <E> RegistryFileCodec
<E> RegistryFileCodec.create
(ResourceKey<? extends Registry<E>> p_135593_, com.mojang.serialization.Codec<E> p_135594_, boolean p_135595_) static <E> RegistryFixedCodec
<E> RegistryFixedCodec.create
(ResourceKey<? extends Registry<E>> p_206741_) static <T> ResourceKey
<T> ResourceKey.create
(ResourceKey<? extends Registry<T>> p_135786_, ResourceLocation p_135787_) private Optional
<RegistryOps.RegistryInfo<Object>> RegistryOps.HolderLookupAdapter.createLookup
(ResourceKey<? extends Registry<?>> p_341910_) <E> Optional
<HolderGetter<E>> RegistryOps.getter
(ResourceKey<? extends Registry<? extends E>> p_256031_) boolean
ResourceKey.isFor
(ResourceKey<? extends Registry<?>> p_135784_) private static <E> void
RegistryDataLoader.loadElementFromResource
(WritableRegistry<E> p_326195_, com.mojang.serialization.Decoder<E> p_326476_, RegistryOps<com.google.gson.JsonElement> p_325932_, ResourceKey<E> p_326054_, Resource p_326141_, RegistrationInfo p_326033_) <E> Optional
<RegistryOps.RegistryInfo<E>> RegistryOps.HolderLookupAdapter.lookup
(ResourceKey<? extends Registry<? extends E>> p_341913_) <T> Optional
<RegistryOps.RegistryInfo<T>> RegistryOps.RegistryInfoLookup.lookup
(ResourceKey<? extends Registry<? extends T>> p_256623_) <E> Optional
<HolderOwner<E>> RegistryOps.owner
(ResourceKey<? extends Registry<? extends E>> p_255757_) static <E,
O> com.mojang.serialization.codecs.RecordCodecBuilder <O, Holder.Reference<E>> RegistryOps.retrieveElement
(ResourceKey<E> p_256347_) static <E,
O> com.mojang.serialization.codecs.RecordCodecBuilder <O, HolderGetter<E>> RegistryOps.retrieveGetter
(ResourceKey<? extends Registry<? extends E>> p_206833_) static <E> com.mojang.serialization.MapCodec
<HolderLookup.RegistryLookup<E>> RegistryOps.retrieveRegistryLookup
(ResourceKey<? extends Registry<? extends E>> resourceKey) static <T> StreamCodec
<io.netty.buffer.ByteBuf, ResourceKey<T>> ResourceKey.streamCodec
(ResourceKey<? extends Registry<T>> p_320330_) Modifier and TypeMethodDescription(package private) RegistryDataLoader.Loader
<T> RegistryDataLoader.RegistryData.create
(com.mojang.serialization.Lifecycle p_251662_, Map<ResourceKey<?>, Exception> p_251565_) static RegistryAccess.Frozen
RegistryDataLoader.load
(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321642_, ResourceProvider p_326068_, RegistryAccess p_321850_, List<RegistryDataLoader.RegistryData<?>> p_321716_) (package private) static <E> void
RegistryDataLoader.loadContentsFromManager
(ResourceManager p_321535_, RegistryOps.RegistryInfoLookup p_321612_, WritableRegistry<E> p_321557_, com.mojang.serialization.Decoder<E> p_321820_, Map<ResourceKey<?>, Exception> p_321649_) (package private) static <E> void
RegistryDataLoader.loadContentsFromNetwork
(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321633_, ResourceProvider p_326020_, RegistryOps.RegistryInfoLookup p_321801_, WritableRegistry<E> p_321671_, com.mojang.serialization.Decoder<E> p_321718_, Map<ResourceKey<?>, Exception> p_321625_) void
RegistryDataLoader.Loader.loadFromNetwork
(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321562_, ResourceProvider p_326419_, RegistryOps.RegistryInfoLookup p_321617_) private static void
RegistryDataLoader.logErrors
(Map<ResourceKey<?>, Exception> p_252325_) void
RegistryDataLoader.RegistryData.runWithArguments
(BiConsumer<ResourceKey<? extends Registry<T>>, com.mojang.serialization.Codec<T>> p_312899_) ModifierConstructorDescriptionprivate
HolderSetCodec
(ResourceKey<? extends Registry<E>> p_206660_, com.mojang.serialization.Codec<Holder<E>> p_206661_, boolean p_206662_) RegistryData
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec) Creates an instance of aRegistryData
record class.private
RegistryFileCodec
(ResourceKey<? extends Registry<E>> p_135574_, com.mojang.serialization.Codec<E> p_135575_, boolean p_135576_) private
RegistryFixedCodec
(ResourceKey<? extends Registry<E>> p_206723_) ModifierConstructorDescription(package private)
Loader
(RegistryDataLoader.RegistryData<T> data, WritableRegistry<T> registry, Map<ResourceKey<?>, Exception> loadingErrors) Creates an instance of aLoader
record class. -
Uses of ResourceKey in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<Level>, ServerLevel> MinecraftServer.levels
private Map
<ResourceKey<Level>, long[]> MinecraftServer.perWorldTickTimes
Modifier and TypeMethodDescriptionMinecraftServer.forgeGetWorldMap()
Deprecated.MinecraftServer.levelKeys()
Stream
<ResourceKey<? extends Registry<?>>> ReloadableServerRegistries.EmptyTagLookupWrapper.listRegistries()
Stream
<ResourceKey<? extends Registry<?>>> ReloadableServerResources.ConfigurableRegistryLookup.listRegistries()
Modifier and TypeMethodDescriptionReloadableServerRegistries.Holder.getKeys
(ResourceKey<? extends Registry<?>> p_335695_) MinecraftServer.getLevel
(ResourceKey<Level> p_129881_) ReloadableServerRegistries.Holder.getLootTable
(ResourceKey<LootTable> p_335504_) long[]
MinecraftServer.getTickTime
(ResourceKey<Level> dim) <T> Optional
<HolderLookup.RegistryLookup<T>> ReloadableServerRegistries.EmptyTagLookupWrapper.lookup
(ResourceKey<? extends Registry<? extends T>> p_335976_) <T> Optional
<HolderLookup.RegistryLookup<T>> ReloadableServerResources.ConfigurableRegistryLookup.lookup
(ResourceKey<? extends Registry<? extends T>> p_323818_) -
Uses of ResourceKey in net.minecraft.server.chase
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> ChaseClient.TeleportTarget.level
The field for thelevel
record component.Modifier and TypeMethodDescriptionChaseClient.TeleportTarget.level()
Returns the value of thelevel
record component.ModifierConstructorDescription(package private)
TeleportTarget
(ResourceKey<Level> level, Vec3 pos, Vec2 rot) Creates an instance of aTeleportTarget
record class. -
Uses of ResourceKey in net.minecraft.server.commands
Modifier and TypeFieldDescriptionstatic com.google.common.collect.BiMap
<String, ResourceKey<Level>> ChaseCommand.DIMENSION_NAMES
private static final ToIntFunction
<ResourceKey<TrimMaterial>> SpawnArmorTrimsCommand.TRIM_MATERIAL_ORDER
private static final ToIntFunction
<ResourceKey<TrimPattern>> SpawnArmorTrimsCommand.TRIM_PATTERN_ORDER
private static final List
<ResourceKey<TrimMaterial>> SpawnArmorTrimsCommand.VANILLA_TRIM_MATERIALS
private static final List
<ResourceKey<TrimPattern>> SpawnArmorTrimsCommand.VANILLA_TRIM_PATTERNS
Modifier and TypeMethodDescriptionprivate static void
LootCommand.callback
(CommandSourceStack p_137969_, List<ItemStack> p_137970_, ResourceKey<LootTable> p_336191_) -
Uses of ResourceKey in net.minecraft.server.dedicated
Modifier and TypeFieldDescriptionprivate static final Map
<String, ResourceKey<WorldPreset>> DedicatedServerProperties.WorldDimensionData.LEGACY_PRESET_NAMES
-
Uses of ResourceKey in net.minecraft.server.level
Modifier and TypeMethodDescriptionvoid
ServerPlayer.setRespawnPosition
(ResourceKey<Level> p_9159_, BlockPos p_9160_, float p_9161_, boolean p_9162_, boolean p_9163_) ModifierConstructorDescriptionServerLevel
(MinecraftServer p_214999_, Executor p_215000_, LevelStorageSource.LevelStorageAccess p_215001_, ServerLevelData p_215002_, ResourceKey<Level> p_215003_, LevelStem p_215004_, ChunkProgressListener p_215005_, boolean p_215006_, long p_215007_, List<CustomSpawner> p_215008_, boolean p_215009_, RandomSequences p_288977_) -
Uses of ResourceKey in net.minecraft.server.players
Modifier and TypeMethodDescriptionvoid
PlayerList.broadcast
(Player p_11242_, double p_11243_, double p_11244_, double p_11245_, double p_11246_, ResourceKey<Level> p_11247_, Packet<?> p_11248_) void
PlayerList.broadcastAll
(Packet<?> p_11271_, ResourceKey<Level> p_11272_) -
Uses of ResourceKey in net.minecraft.tags
Modifier and TypeFieldDescriptionprivate final ResourceKey
<? extends Registry<T>> TagManager.LoadResult.key
The field for thekey
record component.private final ResourceKey
<? extends Registry<T>> TagKey.registry
The field for theregistry
record component.Modifier and TypeFieldDescriptionprivate static final Map
<ResourceKey<? extends Registry<?>>, String> TagManager.CUSTOM_REGISTRY_DIRECTORIES
Modifier and TypeMethodDescriptionResourceKey
<? extends Registry<T>> TagManager.LoadResult.key()
Returns the value of thekey
record component.ResourceKey
<? extends Registry<T>> TagKey.registry()
Returns the value of theregistry
record component.Modifier and TypeMethodDescriptionstatic Map
<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> TagNetworkSerialization.serializeTagsToNetwork
(LayeredRegistryAccess<RegistryLayer> p_251774_) Modifier and TypeMethodDescriptionTagKey.cast
(ResourceKey<? extends Registry<E>> p_207648_) static <T> com.mojang.serialization.Codec
<TagKey<T>> TagKey.codec
(ResourceKey<? extends Registry<T>> p_203878_) static <T> TagKey
<T> TagKey.create
(ResourceKey<? extends Registry<T>> p_203883_, ResourceLocation p_203884_) (package private) static <T> void
TagNetworkSerialization.deserializeTagsFromNetwork
(ResourceKey<? extends Registry<T>> p_203953_, Registry<T> p_203954_, TagNetworkSerialization.NetworkPayload p_203955_, TagNetworkSerialization.TagOutput<T> p_203956_) static String
TagManager.getTagDir
(ResourceKey<? extends Registry<?>> p_203919_) static <T> com.mojang.serialization.Codec
<TagKey<T>> TagKey.hashedCodec
(ResourceKey<? extends Registry<T>> p_203887_) boolean
TagKey.isFor
(ResourceKey<? extends Registry<?>> p_207646_) ModifierConstructorDescriptionLoadResult
(ResourceKey<? extends Registry<T>> key, Map<ResourceLocation, Collection<Holder<T>>> tags) Creates an instance of aLoadResult
record class.TagKey
(ResourceKey<? extends Registry<T>> registry, ResourceLocation location) Deprecated. -
Uses of ResourceKey in net.minecraft.util.profiling.jfr
Modifier and TypeMethodDescriptionJfrProfiler.onChunkGenerate
(ChunkPos p_185313_, ResourceKey<Level> p_185314_, String p_185315_) JvmProfiler.NoOpProfiler.onChunkGenerate
(ChunkPos p_185370_, ResourceKey<Level> p_185371_, String p_185372_) JvmProfiler.onChunkGenerate
(ChunkPos p_185348_, ResourceKey<Level> p_185349_, String p_185350_) -
Uses of ResourceKey in net.minecraft.util.profiling.jfr.event
ModifierConstructorDescriptionChunkGenerationEvent
(ChunkPos p_195543_, ResourceKey<Level> p_195544_, String p_195545_) -
Uses of ResourceKey in net.minecraft.util.worldupdate
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> WorldUpgrader.DimensionToUpgrade.dimensionKey
The field for thedimensionKey
record component.Modifier and TypeFieldDescription(package private) final Set
<ResourceKey<Level>> WorldUpgrader.levels
(package private) final it.unimi.dsi.fastutil.objects.Reference2FloatMap
<ResourceKey<Level>> WorldUpgrader.progressMap
Modifier and TypeMethodDescriptionWorldUpgrader.DimensionToUpgrade.dimensionKey()
Returns the value of thedimensionKey
record component.Modifier and TypeMethodDescriptionfloat
WorldUpgrader.dimensionProgress
(ResourceKey<Level> p_18828_) private boolean
WorldUpgrader.AbstractUpgrader.processOnePosition
(ResourceKey<Level> p_321757_, T p_321658_, ChunkPos p_321833_) protected abstract boolean
WorldUpgrader.AbstractUpgrader.tryProcessOnePosition
(T p_321640_, ChunkPos p_321536_, ResourceKey<Level> p_321782_) protected boolean
WorldUpgrader.ChunkUpgrader.tryProcessOnePosition
(ChunkStorage p_321581_, ChunkPos p_321524_, ResourceKey<Level> p_321488_) protected boolean
WorldUpgrader.SimpleRegionStorageUpgrader.tryProcessOnePosition
(SimpleRegionStorage p_321490_, ChunkPos p_321657_, ResourceKey<Level> p_321485_) ModifierConstructorDescription(package private)
DimensionToUpgrade
(ResourceKey<Level> dimensionKey, T storage, ListIterator<WorldUpgrader.FileToUpgrade> files) Creates an instance of aDimensionToUpgrade
record class. -
Uses of ResourceKey in net.minecraft.world
Modifier and TypeMethodDescriptionstatic void
RandomizableContainer.setBlockEntityLootTable
(BlockGetter p_309623_, RandomSource p_309643_, BlockPos p_309644_, ResourceKey<LootTable> p_335924_) void
RandomizableContainer.setLootTable
(ResourceKey<LootTable> p_335578_) default void
RandomizableContainer.setLootTable
(ResourceKey<LootTable> p_335762_, long p_335967_) -
Uses of ResourceKey in net.minecraft.world.damagesource
Modifier and TypeFieldDescriptionstatic final ResourceKey
<DamageType> DamageTypes.ARROW
static final ResourceKey
<DamageType> DamageTypes.BAD_RESPAWN_POINT
static final ResourceKey
<DamageType> DamageTypes.CACTUS
static final ResourceKey
<DamageType> DamageTypes.CRAMMING
static final ResourceKey
<DamageType> DamageTypes.DRAGON_BREATH
static final ResourceKey
<DamageType> DamageTypes.DROWN
static final ResourceKey
<DamageType> DamageTypes.DRY_OUT
static final ResourceKey
<DamageType> DamageTypes.EXPLOSION
static final ResourceKey
<DamageType> DamageTypes.FALL
static final ResourceKey
<DamageType> DamageTypes.FALLING_ANVIL
static final ResourceKey
<DamageType> DamageTypes.FALLING_BLOCK
static final ResourceKey
<DamageType> DamageTypes.FALLING_STALACTITE
static final ResourceKey
<DamageType> DamageTypes.FELL_OUT_OF_WORLD
static final ResourceKey
<DamageType> DamageTypes.FIREBALL
static final ResourceKey
<DamageType> DamageTypes.FIREWORKS
static final ResourceKey
<DamageType> DamageTypes.FLY_INTO_WALL
static final ResourceKey
<DamageType> DamageTypes.FREEZE
static final ResourceKey
<DamageType> DamageTypes.GENERIC
static final ResourceKey
<DamageType> DamageTypes.GENERIC_KILL
static final ResourceKey
<DamageType> DamageTypes.HOT_FLOOR
static final ResourceKey
<DamageType> DamageTypes.IN_FIRE
static final ResourceKey
<DamageType> DamageTypes.IN_WALL
static final ResourceKey
<DamageType> DamageTypes.INDIRECT_MAGIC
static final ResourceKey
<DamageType> DamageTypes.LAVA
static final ResourceKey
<DamageType> DamageTypes.LIGHTNING_BOLT
static final ResourceKey
<DamageType> DamageTypes.MAGIC
static final ResourceKey
<DamageType> DamageTypes.MOB_ATTACK
static final ResourceKey
<DamageType> DamageTypes.MOB_ATTACK_NO_AGGRO
static final ResourceKey
<DamageType> DamageTypes.MOB_PROJECTILE
static final ResourceKey
<DamageType> DamageTypes.ON_FIRE
static final ResourceKey
<DamageType> DamageTypes.OUTSIDE_BORDER
static final ResourceKey
<DamageType> DamageTypes.PLAYER_ATTACK
static final ResourceKey
<DamageType> DamageTypes.PLAYER_EXPLOSION
static final ResourceKey
<DamageType> DamageTypes.SONIC_BOOM
static final ResourceKey
<DamageType> DamageTypes.SPIT
static final ResourceKey
<DamageType> DamageTypes.STALAGMITE
static final ResourceKey
<DamageType> DamageTypes.STARVE
static final ResourceKey
<DamageType> DamageTypes.STING
static final ResourceKey
<DamageType> DamageTypes.SWEET_BERRY_BUSH
static final ResourceKey
<DamageType> DamageTypes.THORNS
static final ResourceKey
<DamageType> DamageTypes.THROWN
static final ResourceKey
<DamageType> DamageTypes.TRIDENT
static final ResourceKey
<DamageType> DamageTypes.UNATTRIBUTED_FIREBALL
static final ResourceKey
<DamageType> DamageTypes.WIND_CHARGE
static final ResourceKey
<DamageType> DamageTypes.WITHER
static final ResourceKey
<DamageType> DamageTypes.WITHER_SKULL
Modifier and TypeMethodDescriptionboolean
DamageSource.is
(ResourceKey<DamageType> p_276108_) DamageSources.source
(ResourceKey<DamageType> p_270957_) DamageSources.source
(ResourceKey<DamageType> p_270142_, Entity p_270696_) DamageSources.source
(ResourceKey<DamageType> p_270076_, Entity p_270656_, Entity p_270242_) -
Uses of ResourceKey in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate ResourceKey
<LootTable> EntityType.lootTable
private final ResourceKey
<LootTable> EquipmentTable.lootTable
The field for thelootTable
record component.private ResourceKey
<LootTable> Mob.lootTable
Modifier and TypeMethodDescriptionEntityType.getDefaultLootTable()
protected ResourceKey
<LootTable> Mob.getDefaultLootTable()
LivingEntity.getLootTable()
final ResourceKey
<LootTable> Mob.getLootTable()
EquipmentTable.lootTable()
Returns the value of thelootTable
record component.Modifier and TypeMethodDescriptiondefault void
EquipmentUser.equip
(ResourceKey<LootTable> p_340873_, LootParams p_338202_, long p_341024_, Map<EquipmentSlot, Float> p_341367_) default void
EquipmentUser.equip
(ResourceKey<LootTable> p_341330_, LootParams p_340863_, Map<EquipmentSlot, Float> p_341011_) void
Mob.equip
(ResourceKey<LootTable> p_340912_, Map<EquipmentSlot, Float> p_340996_) ModifierConstructorDescriptionEquipmentTable
(ResourceKey<LootTable> lootTable, Map<EquipmentSlot, Float> slotDropChances) Creates an instance of aEquipmentTable
record class. -
Uses of ResourceKey in net.minecraft.world.entity.ai.behavior
Modifier and TypeFieldDescriptionprivate static final Map
<VillagerProfession, ResourceKey<LootTable>> GiveGiftToHero.GIFTS
Deprecated.Neo: use thedata map
instead -
Uses of ResourceKey in net.minecraft.world.entity.ai.village.poi
Modifier and TypeFieldDescriptionstatic final ResourceKey
<PoiType> PoiTypes.ARMORER
static final ResourceKey
<PoiType> PoiTypes.BEE_NEST
static final ResourceKey
<PoiType> PoiTypes.BEEHIVE
static final ResourceKey
<PoiType> PoiTypes.BUTCHER
static final ResourceKey
<PoiType> PoiTypes.CARTOGRAPHER
static final ResourceKey
<PoiType> PoiTypes.CLERIC
static final ResourceKey
<PoiType> PoiTypes.FARMER
static final ResourceKey
<PoiType> PoiTypes.FISHERMAN
static final ResourceKey
<PoiType> PoiTypes.FLETCHER
static final ResourceKey
<PoiType> PoiTypes.HOME
static final ResourceKey
<PoiType> PoiTypes.LEATHERWORKER
static final ResourceKey
<PoiType> PoiTypes.LIBRARIAN
static final ResourceKey
<PoiType> PoiTypes.LIGHTNING_ROD
static final ResourceKey
<PoiType> PoiTypes.LODESTONE
static final ResourceKey
<PoiType> PoiTypes.MASON
static final ResourceKey
<PoiType> PoiTypes.MEETING
static final ResourceKey
<PoiType> PoiTypes.NETHER_PORTAL
static final ResourceKey
<PoiType> PoiTypes.SHEPHERD
static final ResourceKey
<PoiType> PoiTypes.TOOLSMITH
static final ResourceKey
<PoiType> PoiTypes.WEAPONSMITH
Modifier and TypeMethodDescriptionboolean
PoiManager.existsAtPosition
(ResourceKey<PoiType> p_217875_, BlockPos p_217876_) private static PoiType
PoiTypes.register
(Registry<PoiType> p_218085_, ResourceKey<PoiType> p_218086_, Set<BlockState> p_218087_, int p_218088_, int p_218089_) -
Uses of ResourceKey in net.minecraft.world.entity.animal
Modifier and TypeFieldDescriptionstatic final ResourceKey
<CatVariant> CatVariant.ALL_BLACK
static final ResourceKey
<WolfVariant> WolfVariants.ASHEN
static final ResourceKey
<CatVariant> CatVariant.BLACK
static final ResourceKey
<WolfVariant> WolfVariants.BLACK
static final ResourceKey
<CatVariant> CatVariant.BRITISH_SHORTHAIR
static final ResourceKey
<CatVariant> CatVariant.CALICO
static final ResourceKey
<WolfVariant> WolfVariants.CHESTNUT
static final ResourceKey
<FrogVariant> FrogVariant.COLD
private static final ResourceKey
<CatVariant> Cat.DEFAULT_VARIANT
static final ResourceKey
<CatVariant> CatVariant.JELLIE
static final ResourceKey
<WolfVariant> WolfVariants.PALE
static final ResourceKey
<CatVariant> CatVariant.PERSIAN
static final ResourceKey
<CatVariant> CatVariant.RAGDOLL
static final ResourceKey
<CatVariant> CatVariant.RED
static final ResourceKey
<WolfVariant> WolfVariants.RUSTY
static final ResourceKey
<CatVariant> CatVariant.SIAMESE
static final ResourceKey
<WolfVariant> WolfVariants.SNOWY
static final ResourceKey
<WolfVariant> WolfVariants.SPOTTED
static final ResourceKey
<WolfVariant> WolfVariants.STRIPED
static final ResourceKey
<CatVariant> CatVariant.TABBY
static final ResourceKey
<FrogVariant> FrogVariant.TEMPERATE
static final ResourceKey
<FrogVariant> FrogVariant.WARM
static final ResourceKey
<CatVariant> CatVariant.WHITE
static final ResourceKey
<WolfVariant> WolfVariants.WOODS
Modifier and TypeMethodDescriptionprivate static ResourceKey
<CatVariant> private static ResourceKey
<FrogVariant> private static ResourceKey
<WolfVariant> Sheep.getDefaultLootTable()
Modifier and TypeMethodDescriptionprivate static CatVariant
CatVariant.register
(Registry<CatVariant> p_255735_, ResourceKey<CatVariant> p_256159_, String p_256466_) private static FrogVariant
FrogVariant.register
(Registry<FrogVariant> p_336004_, ResourceKey<FrogVariant> p_335508_, String p_218194_) (package private) static void
WolfVariants.register
(BootstrapContext<WolfVariant> p_333853_, ResourceKey<WolfVariant> p_333874_, String p_333924_, HolderSet<Biome> p_333998_) (package private) static void
WolfVariants.register
(BootstrapContext<WolfVariant> p_332703_, ResourceKey<WolfVariant> p_332747_, String p_332786_, ResourceKey<Biome> p_332693_) (package private) static void
WolfVariants.register
(BootstrapContext<WolfVariant> p_333957_, ResourceKey<WolfVariant> p_334052_, String p_333903_, TagKey<Biome> p_333877_) -
Uses of ResourceKey in net.minecraft.world.entity.animal.frog
Modifier and TypeFieldDescriptionprivate static final ResourceKey
<FrogVariant> Frog.DEFAULT_VARIANT
-
Uses of ResourceKey in net.minecraft.world.entity.decoration
Modifier and TypeFieldDescriptionstatic final ResourceKey
<PaintingVariant> PaintingVariants.ALBAN
static final ResourceKey
<PaintingVariant> PaintingVariants.AZTEC
static final ResourceKey
<PaintingVariant> PaintingVariants.AZTEC2
static final ResourceKey
<PaintingVariant> PaintingVariants.BOMB
static final ResourceKey
<PaintingVariant> PaintingVariants.BURNING_SKULL
static final ResourceKey
<PaintingVariant> PaintingVariants.BUST
static final ResourceKey
<PaintingVariant> PaintingVariants.COURBET
static final ResourceKey
<PaintingVariant> PaintingVariants.CREEBET
private static final ResourceKey
<PaintingVariant> Painting.DEFAULT_VARIANT
static final ResourceKey
<PaintingVariant> PaintingVariants.DONKEY_KONG
static final ResourceKey
<PaintingVariant> PaintingVariants.EARTH
static final ResourceKey
<PaintingVariant> PaintingVariants.FIGHTERS
static final ResourceKey
<PaintingVariant> PaintingVariants.FIRE
static final ResourceKey
<PaintingVariant> PaintingVariants.GRAHAM
static final ResourceKey
<PaintingVariant> PaintingVariants.KEBAB
static final ResourceKey
<PaintingVariant> PaintingVariants.MATCH
static final ResourceKey
<PaintingVariant> PaintingVariants.PIGSCENE
static final ResourceKey
<PaintingVariant> PaintingVariants.PLANT
static final ResourceKey
<PaintingVariant> PaintingVariants.POINTER
static final ResourceKey
<PaintingVariant> PaintingVariants.POOL
static final ResourceKey
<PaintingVariant> PaintingVariants.SEA
static final ResourceKey
<PaintingVariant> PaintingVariants.SKELETON
static final ResourceKey
<PaintingVariant> PaintingVariants.SKULL_AND_ROSES
static final ResourceKey
<PaintingVariant> PaintingVariants.STAGE
static final ResourceKey
<PaintingVariant> PaintingVariants.SUNSET
static final ResourceKey
<PaintingVariant> PaintingVariants.VOID
static final ResourceKey
<PaintingVariant> PaintingVariants.WANDERER
static final ResourceKey
<PaintingVariant> PaintingVariants.WASTELAND
static final ResourceKey
<PaintingVariant> PaintingVariants.WATER
static final ResourceKey
<PaintingVariant> PaintingVariants.WIND
static final ResourceKey
<PaintingVariant> PaintingVariants.WITHER
-
Uses of ResourceKey in net.minecraft.world.entity.npc
Modifier and TypeFieldDescriptionprivate static final Map
<ResourceKey<Biome>, VillagerType> VillagerType.BY_BIOME
Modifier and TypeMethodDescriptionprivate static VillagerProfession
VillagerProfession.register
(String p_219648_, ResourceKey<PoiType> p_219649_, com.google.common.collect.ImmutableSet<Item> p_219650_, com.google.common.collect.ImmutableSet<Block> p_219651_, SoundEvent p_219652_) private static VillagerProfession
VillagerProfession.register
(String p_219644_, ResourceKey<PoiType> p_219645_, SoundEvent p_219646_) -
Uses of ResourceKey in net.minecraft.world.entity.vehicle
Modifier and TypeFieldDescriptionprivate ResourceKey
<LootTable> AbstractMinecartContainer.lootTable
private ResourceKey
<LootTable> ChestBoat.lootTable
Modifier and TypeMethodDescriptionAbstractMinecartContainer.getLootTable()
ChestBoat.getLootTable()
ContainerEntity.getLootTable()
Modifier and TypeMethodDescriptionvoid
AbstractMinecartContainer.setLootTable
(ResourceKey<LootTable> p_336075_) void
AbstractMinecartContainer.setLootTable
(ResourceKey<LootTable> p_335456_, long p_38238_) void
ChestBoat.setLootTable
(ResourceKey<LootTable> p_335715_) void
ContainerEntity.setLootTable
(ResourceKey<LootTable> p_336019_) -
Uses of ResourceKey in net.minecraft.world.flag
Modifier and TypeFieldDescriptionstatic final Set
<ResourceKey<? extends Registry<? extends FeatureElement>>> FeatureElement.FILTERED_REGISTRIES
-
Uses of ResourceKey in net.minecraft.world.item
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Instrument> Instruments.ADMIRE_GOAT_HORN
static final ResourceKey
<CreativeModeTab> CreativeModeTabs.BUILDING_BLOCKS
static final ResourceKey
<Instrument> Instruments.CALL_GOAT_HORN
static final ResourceKey
<CreativeModeTab> CreativeModeTabs.COLORED_BLOCKS
static final ResourceKey
<CreativeModeTab> CreativeModeTabs.COMBAT
static final ResourceKey
<Instrument> Instruments.DREAM_GOAT_HORN
static final ResourceKey
<Instrument> Instruments.FEEL_GOAT_HORN
static final ResourceKey
<CreativeModeTab> CreativeModeTabs.FOOD_AND_DRINKS
static final ResourceKey
<CreativeModeTab> CreativeModeTabs.FUNCTIONAL_BLOCKS
static final ResourceKey
<CreativeModeTab> CreativeModeTabs.HOTBAR
static final ResourceKey
<CreativeModeTab> CreativeModeTabs.INGREDIENTS
static final ResourceKey
<CreativeModeTab> CreativeModeTabs.INVENTORY
static final ResourceKey
<CreativeModeTab> CreativeModeTabs.NATURAL_BLOCKS
static final ResourceKey
<CreativeModeTab> CreativeModeTabs.OP_BLOCKS
static final ResourceKey
<Instrument> Instruments.PONDER_GOAT_HORN
static final ResourceKey
<CreativeModeTab> CreativeModeTabs.REDSTONE_BLOCKS
static final ResourceKey
<CreativeModeTab> CreativeModeTabs.SEARCH
static final ResourceKey
<Instrument> Instruments.SEEK_GOAT_HORN
static final ResourceKey
<Instrument> Instruments.SING_GOAT_HORN
static final ResourceKey
<CreativeModeTab> CreativeModeTabs.SPAWN_EGGS
static final ResourceKey
<CreativeModeTab> CreativeModeTabs.TOOLS_AND_UTILITIES
static final ResourceKey
<Instrument> Instruments.YEARN_GOAT_HORN
Modifier and TypeMethodDescriptionprivate static ResourceKey
<Instrument> private static ResourceKey
<CreativeModeTab> Modifier and TypeMethodDescriptionstatic SmithingTemplateItem
SmithingTemplateItem.createArmorTrimTemplate
(ResourceKey<TrimPattern> p_266875_, FeatureFlag... p_334067_) private static MapId
MapItem.createNewSavedData
(Level p_151121_, int p_151122_, int p_151123_, int p_151124_, boolean p_151125_, boolean p_151126_, ResourceKey<Level> p_151127_) static Item
Items.registerItem
(ResourceKey<Item> p_281502_, Item p_283159_) final CreativeModeTab.Builder
CreativeModeTab.Builder.withTabsAfter
(ResourceKey<CreativeModeTab>... tabs) Define tabs that should come after this tab.final CreativeModeTab.Builder
CreativeModeTab.Builder.withTabsBefore
(ResourceKey<CreativeModeTab>... tabs) Define tabs that should come before this tab. -
Uses of ResourceKey in net.minecraft.world.item.armortrim
Modifier and TypeFieldDescriptionstatic final ResourceKey
<TrimMaterial> TrimMaterials.AMETHYST
static final ResourceKey
<TrimPattern> TrimPatterns.BOLT
static final ResourceKey
<TrimPattern> TrimPatterns.COAST
static final ResourceKey
<TrimMaterial> TrimMaterials.COPPER
static final ResourceKey
<TrimMaterial> TrimMaterials.DIAMOND
static final ResourceKey
<TrimPattern> TrimPatterns.DUNE
static final ResourceKey
<TrimMaterial> TrimMaterials.EMERALD
static final ResourceKey
<TrimPattern> TrimPatterns.EYE
static final ResourceKey
<TrimPattern> TrimPatterns.FLOW
static final ResourceKey
<TrimMaterial> TrimMaterials.GOLD
static final ResourceKey
<TrimPattern> TrimPatterns.HOST
static final ResourceKey
<TrimMaterial> TrimMaterials.IRON
static final ResourceKey
<TrimMaterial> TrimMaterials.LAPIS
static final ResourceKey
<TrimMaterial> TrimMaterials.NETHERITE
static final ResourceKey
<TrimMaterial> TrimMaterials.QUARTZ
static final ResourceKey
<TrimPattern> TrimPatterns.RAISER
static final ResourceKey
<TrimMaterial> TrimMaterials.REDSTONE
static final ResourceKey
<TrimPattern> TrimPatterns.RIB
static final ResourceKey
<TrimPattern> TrimPatterns.SENTRY
static final ResourceKey
<TrimPattern> TrimPatterns.SHAPER
static final ResourceKey
<TrimPattern> TrimPatterns.SILENCE
static final ResourceKey
<TrimPattern> TrimPatterns.SNOUT
static final ResourceKey
<TrimPattern> TrimPatterns.SPIRE
static final ResourceKey
<TrimPattern> TrimPatterns.TIDE
static final ResourceKey
<TrimPattern> TrimPatterns.VEX
static final ResourceKey
<TrimPattern> TrimPatterns.WARD
static final ResourceKey
<TrimPattern> TrimPatterns.WAYFINDER
static final ResourceKey
<TrimPattern> TrimPatterns.WILD
Modifier and TypeMethodDescriptionprivate static ResourceKey
<TrimMaterial> TrimMaterials.registryKey
(String p_266965_) private static ResourceKey
<TrimPattern> TrimPatterns.registryKey
(String p_266889_) Modifier and TypeMethodDescriptionprivate static void
TrimMaterials.register
(BootstrapContext<TrimMaterial> p_321637_, ResourceKey<TrimMaterial> p_268293_, Item p_268156_, Style p_268174_, float p_268274_) private static void
TrimMaterials.register
(BootstrapContext<TrimMaterial> p_321693_, ResourceKey<TrimMaterial> p_268139_, Item p_268311_, Style p_268232_, float p_268197_, Map<Holder<ArmorMaterial>, String> p_268352_) static void
TrimPatterns.register
(BootstrapContext<TrimPattern> p_321509_, Item p_267097_, ResourceKey<TrimPattern> p_267079_) -
Uses of ResourceKey in net.minecraft.world.item.component
Modifier and TypeFieldDescriptionprivate final ResourceKey
<LootTable> SeededContainerLoot.lootTable
The field for thelootTable
record component.Modifier and TypeMethodDescriptionSeededContainerLoot.lootTable()
Returns the value of thelootTable
record component.ModifierConstructorDescriptionSeededContainerLoot
(ResourceKey<LootTable> lootTable, long seed) Creates an instance of aSeededContainerLoot
record class. -
Uses of ResourceKey in net.minecraft.world.item.enchantment
Modifier and TypeMethodDescriptionprivate static <T> HolderSet
<T> ItemEnchantments.getTagOrEmpty
(HolderLookup.Provider p_341186_, ResourceKey<Registry<T>> p_341113_, TagKey<T> p_341409_) -
Uses of ResourceKey in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> Level.dimension
static final ResourceKey
<Level> Level.END
static final ResourceKey
<Level> Level.NETHER
static final ResourceKey
<Level> Level.OVERWORLD
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ResourceKey<Level>> Level.RESOURCE_KEY_CODEC
Modifier and TypeMethodDescriptiondefault void
LevelAccessor.gameEvent
(ResourceKey<GameEvent> p_316780_, BlockPos p_316509_, GameEvent.Context p_316524_) default <T> HolderLookup
<T> LevelReader.holderLookup
(ResourceKey<? extends Registry<? extends T>> p_249578_) ModifierConstructorDescriptionprotected
Level
(WritableLevelData p_270739_, ResourceKey<Level> p_270683_, RegistryAccess p_270200_, Holder<DimensionType> p_270240_, Supplier<ProfilerFiller> p_270692_, boolean p_270904_, boolean p_270470_, long p_270248_, int p_270466_) -
Uses of ResourceKey in net.minecraft.world.level.biome
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Biome> Biomes.BADLANDS
static final ResourceKey
<Biome> Biomes.BAMBOO_JUNGLE
static final ResourceKey
<Biome> Biomes.BASALT_DELTAS
static final ResourceKey
<Biome> Biomes.BEACH
static final ResourceKey
<Biome> Biomes.BIRCH_FOREST
static final ResourceKey
<Biome> Biomes.CHERRY_GROVE
static final ResourceKey
<Biome> Biomes.COLD_OCEAN
static final ResourceKey
<Biome> Biomes.CRIMSON_FOREST
static final ResourceKey
<Biome> Biomes.DARK_FOREST
static final ResourceKey
<Biome> Biomes.DEEP_COLD_OCEAN
static final ResourceKey
<Biome> Biomes.DEEP_DARK
static final ResourceKey
<Biome> Biomes.DEEP_FROZEN_OCEAN
static final ResourceKey
<Biome> Biomes.DEEP_LUKEWARM_OCEAN
static final ResourceKey
<Biome> Biomes.DEEP_OCEAN
static final ResourceKey
<Biome> Biomes.DESERT
static final ResourceKey
<Biome> Biomes.DRIPSTONE_CAVES
static final ResourceKey
<Biome> Biomes.END_BARRENS
static final ResourceKey
<Biome> Biomes.END_HIGHLANDS
static final ResourceKey
<Biome> Biomes.END_MIDLANDS
static final ResourceKey
<Biome> Biomes.ERODED_BADLANDS
static final ResourceKey
<Biome> Biomes.FLOWER_FOREST
static final ResourceKey
<Biome> Biomes.FOREST
static final ResourceKey
<Biome> Biomes.FROZEN_OCEAN
static final ResourceKey
<Biome> Biomes.FROZEN_PEAKS
static final ResourceKey
<Biome> Biomes.FROZEN_RIVER
static final ResourceKey
<Biome> Biomes.GROVE
static final ResourceKey
<Biome> Biomes.ICE_SPIKES
static final ResourceKey
<Biome> Biomes.JAGGED_PEAKS
static final ResourceKey
<Biome> Biomes.JUNGLE
static final ResourceKey
<Biome> Biomes.LUKEWARM_OCEAN
static final ResourceKey
<Biome> Biomes.LUSH_CAVES
static final ResourceKey
<Biome> Biomes.MANGROVE_SWAMP
static final ResourceKey
<Biome> Biomes.MEADOW
private final ResourceKey<Biome>[][]
OverworldBiomeBuilder.MIDDLE_BIOMES
private final ResourceKey<Biome>[][]
OverworldBiomeBuilder.MIDDLE_BIOMES_VARIANT
static final ResourceKey
<Biome> Biomes.MUSHROOM_FIELDS
static final ResourceKey
<MultiNoiseBiomeSourceParameterList> MultiNoiseBiomeSourceParameterLists.NETHER
static final ResourceKey
<Biome> Biomes.NETHER_WASTES
static final ResourceKey
<Biome> Biomes.OCEAN
private final ResourceKey<Biome>[][]
OverworldBiomeBuilder.OCEANS
static final ResourceKey
<Biome> Biomes.OLD_GROWTH_BIRCH_FOREST
static final ResourceKey
<Biome> Biomes.OLD_GROWTH_PINE_TAIGA
static final ResourceKey
<Biome> Biomes.OLD_GROWTH_SPRUCE_TAIGA
static final ResourceKey
<MultiNoiseBiomeSourceParameterList> MultiNoiseBiomeSourceParameterLists.OVERWORLD
static final ResourceKey
<Biome> Biomes.PLAINS
private final ResourceKey<Biome>[][]
OverworldBiomeBuilder.PLATEAU_BIOMES
private final ResourceKey<Biome>[][]
OverworldBiomeBuilder.PLATEAU_BIOMES_VARIANT
static final ResourceKey
<Biome> Biomes.RIVER
static final ResourceKey
<Biome> Biomes.SAVANNA
static final ResourceKey
<Biome> Biomes.SAVANNA_PLATEAU
private final ResourceKey<Biome>[][]
OverworldBiomeBuilder.SHATTERED_BIOMES
static final ResourceKey
<Biome> Biomes.SMALL_END_ISLANDS
static final ResourceKey
<Biome> Biomes.SNOWY_BEACH
static final ResourceKey
<Biome> Biomes.SNOWY_PLAINS
static final ResourceKey
<Biome> Biomes.SNOWY_SLOPES
static final ResourceKey
<Biome> Biomes.SNOWY_TAIGA
static final ResourceKey
<Biome> Biomes.SOUL_SAND_VALLEY
static final ResourceKey
<Biome> Biomes.SPARSE_JUNGLE
static final ResourceKey
<Biome> Biomes.STONY_PEAKS
static final ResourceKey
<Biome> Biomes.STONY_SHORE
static final ResourceKey
<Biome> Biomes.SUNFLOWER_PLAINS
static final ResourceKey
<Biome> Biomes.SWAMP
static final ResourceKey
<Biome> Biomes.TAIGA
static final ResourceKey
<Biome> Biomes.THE_END
static final ResourceKey
<Biome> Biomes.THE_VOID
static final ResourceKey
<Biome> Biomes.WARM_OCEAN
static final ResourceKey
<Biome> Biomes.WARPED_FOREST
static final ResourceKey
<Biome> Biomes.WINDSWEPT_FOREST
static final ResourceKey
<Biome> Biomes.WINDSWEPT_GRAVELLY_HILLS
static final ResourceKey
<Biome> Biomes.WINDSWEPT_HILLS
static final ResourceKey
<Biome> Biomes.WINDSWEPT_SAVANNA
static final ResourceKey
<Biome> Biomes.WOODED_BADLANDS
Modifier and TypeMethodDescriptionprivate ResourceKey
<Biome> OverworldBiomeBuilder.maybePickWindsweptSavannaBiome
(int p_201991_, int p_201992_, Climate.Parameter p_201993_, ResourceKey<Biome> p_201994_) private ResourceKey
<Biome> OverworldBiomeBuilder.pickBadlandsBiome
(int p_187173_, Climate.Parameter p_187174_) private ResourceKey
<Biome> OverworldBiomeBuilder.pickBeachBiome
(int p_187161_, int p_187162_) private ResourceKey
<Biome> OverworldBiomeBuilder.pickMiddleBiome
(int p_187164_, int p_187165_, Climate.Parameter p_187166_) private ResourceKey
<Biome> OverworldBiomeBuilder.pickMiddleBiomeOrBadlandsIfHot
(int p_187192_, int p_187193_, Climate.Parameter p_187194_) private ResourceKey
<Biome> OverworldBiomeBuilder.pickMiddleBiomeOrBadlandsIfHotOrSlopeIfCold
(int p_187212_, int p_187213_, Climate.Parameter p_187214_) private ResourceKey
<Biome> OverworldBiomeBuilder.pickPeakBiome
(int p_187241_, int p_187242_, Climate.Parameter p_187243_) private ResourceKey
<Biome> OverworldBiomeBuilder.pickPlateauBiome
(int p_187234_, int p_187235_, Climate.Parameter p_187236_) private ResourceKey
<Biome> OverworldBiomeBuilder.pickShatteredBiome
(int p_202002_, int p_202003_, Climate.Parameter p_202004_) private ResourceKey
<Biome> OverworldBiomeBuilder.pickShatteredCoastBiome
(int p_187223_, int p_187224_, Climate.Parameter p_187225_) private ResourceKey
<Biome> OverworldBiomeBuilder.pickSlopeBiome
(int p_187245_, int p_187246_, Climate.Parameter p_187247_) private static ResourceKey
<Biome> private static ResourceKey
<MultiNoiseBiomeSourceParameterList> Modifier and TypeMethodDescriptionMultiNoiseBiomeSourceParameterList.knownPresets()
MultiNoiseBiomeSourceParameterList.Preset.usedBiomes()
Modifier and TypeMethodDescriptionprivate void
OverworldBiomeBuilder.addBottomBiome
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_220669_, Climate.Parameter p_220670_, Climate.Parameter p_220671_, Climate.Parameter p_220672_, Climate.Parameter p_220673_, Climate.Parameter p_220674_, float p_220675_, ResourceKey<Biome> p_220676_) BiomeGenerationSettings.Builder.addCarver
(GenerationStep.Carving p_256471_, ResourceKey<ConfiguredWorldCarver<?>> p_255733_) BiomeGenerationSettings.Builder.addFeature
(GenerationStep.Decoration p_256059_, ResourceKey<PlacedFeature> p_256259_) private void
OverworldBiomeBuilder.addSurfaceBiome
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187181_, Climate.Parameter p_187182_, Climate.Parameter p_187183_, Climate.Parameter p_187184_, Climate.Parameter p_187185_, Climate.Parameter p_187186_, float p_187187_, ResourceKey<Biome> p_187188_) private void
OverworldBiomeBuilder.addUndergroundBiome
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187201_, Climate.Parameter p_187202_, Climate.Parameter p_187203_, Climate.Parameter p_187204_, Climate.Parameter p_187205_, Climate.Parameter p_187206_, float p_187207_, ResourceKey<Biome> p_187208_) private ResourceKey
<Biome> OverworldBiomeBuilder.maybePickWindsweptSavannaBiome
(int p_201991_, int p_201992_, Climate.Parameter p_201993_, ResourceKey<Biome> p_201994_) boolean
MultiNoiseBiomeSource.stable
(ResourceKey<MultiNoiseBiomeSourceParameterList> p_275637_) Modifier and TypeMethodDescriptionprotected void
OverworldBiomeBuilder.addBiomes
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187176_) private void
OverworldBiomeBuilder.addBottomBiome
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_220669_, Climate.Parameter p_220670_, Climate.Parameter p_220671_, Climate.Parameter p_220672_, Climate.Parameter p_220673_, Climate.Parameter p_220674_, float p_220675_, ResourceKey<Biome> p_220676_) private void
OverworldBiomeBuilder.addDebugBiomes
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_256276_) private void
OverworldBiomeBuilder.addHighSlice
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187198_, Climate.Parameter p_187199_) private void
OverworldBiomeBuilder.addInlandBiomes
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187216_) private void
OverworldBiomeBuilder.addLowSlice
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187229_, Climate.Parameter p_187230_) private void
OverworldBiomeBuilder.addMidSlice
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187218_, Climate.Parameter p_187219_) private void
OverworldBiomeBuilder.addOffCoastBiomes
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187196_) private void
OverworldBiomeBuilder.addPeaks
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187178_, Climate.Parameter p_187179_) private void
OverworldBiomeBuilder.addSurfaceBiome
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187181_, Climate.Parameter p_187182_, Climate.Parameter p_187183_, Climate.Parameter p_187184_, Climate.Parameter p_187185_, Climate.Parameter p_187186_, float p_187187_, ResourceKey<Biome> p_187188_) private void
OverworldBiomeBuilder.addUndergroundBiome
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187201_, Climate.Parameter p_187202_, Climate.Parameter p_187203_, Climate.Parameter p_187204_, Climate.Parameter p_187205_, Climate.Parameter p_187206_, float p_187207_, ResourceKey<Biome> p_187208_) private void
OverworldBiomeBuilder.addUndergroundBiomes
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187227_) private void
OverworldBiomeBuilder.addValleys
(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187238_, Climate.Parameter p_187239_) <T> Climate.ParameterList
<T> MultiNoiseBiomeSourceParameterList.Preset.SourceProvider.apply
(Function<ResourceKey<Biome>, T> p_275485_) (package private) static <T> Climate.ParameterList
<T> MultiNoiseBiomeSourceParameterList.Preset.generateOverworldBiomes
(Function<ResourceKey<Biome>, T> p_277826_) -
Uses of ResourceKey in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Block> StemBlock.attachedStem
private final ResourceKey
<ConfiguredFeature<?, ?>> FungusBlock.feature
private final ResourceKey
<ConfiguredFeature<?, ?>> MushroomBlock.feature
private final ResourceKey
<Block> AttachedStemBlock.fruit
private final ResourceKey
<Block> StemBlock.fruit
private final ResourceKey
<Item> AttachedStemBlock.seed
private final ResourceKey
<Item> StemBlock.seed
private final ResourceKey
<Block> AttachedStemBlock.stem
Modifier and TypeMethodDescriptionprivate void
NyliumBlock.place
(Registry<ConfiguredFeature<?, ?>> p_255879_, ResourceKey<ConfiguredFeature<?, ?>> p_256032_, ServerLevel p_255631_, ChunkGenerator p_256445_, RandomSource p_255709_, BlockPos p_256019_) static Block
Blocks.register
(ResourceKey<Block> p_304740_, Block p_294615_) ModifierConstructorDescriptionAttachedStemBlock
(ResourceKey<Block> p_304582_, ResourceKey<Block> p_304450_, ResourceKey<Item> p_304828_, BlockBehaviour.Properties p_152062_) FungusBlock
(ResourceKey<ConfiguredFeature<?, ?>> p_259087_, Block p_260223_, BlockBehaviour.Properties p_259749_) MushroomBlock
(ResourceKey<ConfiguredFeature<?, ?>> p_256049_, BlockBehaviour.Properties p_256027_) StemBlock
(ResourceKey<Block> p_304976_, ResourceKey<Block> p_304671_, ResourceKey<Item> p_304942_, BlockBehaviour.Properties p_154730_) -
Uses of ResourceKey in net.minecraft.world.level.block.entity
Modifier and TypeFieldDescriptionprivate static final ResourceKey
<String> DecoratedPotPatterns.ANGLER
private static final ResourceKey
<String> DecoratedPotPatterns.ARCHER
private static final ResourceKey
<String> DecoratedPotPatterns.ARMS_UP
static final ResourceKey
<BannerPattern> BannerPatterns.BASE
static final ResourceKey
<String> DecoratedPotPatterns.BASE
private static final ResourceKey
<String> DecoratedPotPatterns.BLADE
static final ResourceKey
<BannerPattern> BannerPatterns.BORDER
private static final ResourceKey
<String> DecoratedPotPatterns.BREWER
private static final ResourceKey
<String> DecoratedPotPatterns.BRICK
static final ResourceKey
<BannerPattern> BannerPatterns.BRICKS
private static final ResourceKey
<String> DecoratedPotPatterns.BURN
static final ResourceKey
<BannerPattern> BannerPatterns.CIRCLE_MIDDLE
static final ResourceKey
<BannerPattern> BannerPatterns.CREEPER
static final ResourceKey
<BannerPattern> BannerPatterns.CROSS
static final ResourceKey
<BannerPattern> BannerPatterns.CURLY_BORDER
private static final ResourceKey
<String> DecoratedPotPatterns.DANGER
static final ResourceKey
<BannerPattern> BannerPatterns.DIAGONAL_LEFT
static final ResourceKey
<BannerPattern> BannerPatterns.DIAGONAL_LEFT_MIRROR
static final ResourceKey
<BannerPattern> BannerPatterns.DIAGONAL_RIGHT
static final ResourceKey
<BannerPattern> BannerPatterns.DIAGONAL_RIGHT_MIRROR
private static final ResourceKey
<String> DecoratedPotPatterns.EXPLORER
static final ResourceKey
<BannerPattern> BannerPatterns.FLOW
private static final ResourceKey
<String> DecoratedPotPatterns.FLOW
static final ResourceKey
<BannerPattern> BannerPatterns.FLOWER
private static final ResourceKey
<String> DecoratedPotPatterns.FRIEND
static final ResourceKey
<BannerPattern> BannerPatterns.GLOBE
static final ResourceKey
<BannerPattern> BannerPatterns.GRADIENT
static final ResourceKey
<BannerPattern> BannerPatterns.GRADIENT_UP
static final ResourceKey
<BannerPattern> BannerPatterns.GUSTER
private static final ResourceKey
<String> DecoratedPotPatterns.GUSTER
static final ResourceKey
<BannerPattern> BannerPatterns.HALF_HORIZONTAL
static final ResourceKey
<BannerPattern> BannerPatterns.HALF_HORIZONTAL_MIRROR
static final ResourceKey
<BannerPattern> BannerPatterns.HALF_VERTICAL
static final ResourceKey
<BannerPattern> BannerPatterns.HALF_VERTICAL_MIRROR
private static final ResourceKey
<String> DecoratedPotPatterns.HEART
private static final ResourceKey
<String> DecoratedPotPatterns.HEARTBREAK
private static final ResourceKey
<String> DecoratedPotPatterns.HOWL
private ResourceKey
<LootTable> BrushableBlockEntity.lootTable
protected ResourceKey
<LootTable> DecoratedPotBlockEntity.lootTable
protected ResourceKey
<LootTable> RandomizableContainerBlockEntity.lootTable
private static final ResourceKey
<String> DecoratedPotPatterns.MINER
static final ResourceKey
<BannerPattern> BannerPatterns.MOJANG
private static final ResourceKey
<String> DecoratedPotPatterns.MOURNER
static final ResourceKey
<BannerPattern> BannerPatterns.PIGLIN
private static final ResourceKey
<String> DecoratedPotPatterns.PLENTY
private ResourceKey
<StructureTemplatePool> JigsawBlockEntity.pool
private static final ResourceKey
<String> DecoratedPotPatterns.PRIZE
static final ResourceKey
<BannerPattern> BannerPatterns.RHOMBUS_MIDDLE
private static final ResourceKey
<String> DecoratedPotPatterns.SCRAPE
private static final ResourceKey
<String> DecoratedPotPatterns.SHEAF
private static final ResourceKey
<String> DecoratedPotPatterns.SHELTER
static final ResourceKey
<BannerPattern> BannerPatterns.SKULL
private static final ResourceKey
<String> DecoratedPotPatterns.SKULL
private static final ResourceKey
<String> DecoratedPotPatterns.SNORT
static final ResourceKey
<BannerPattern> BannerPatterns.SQUARE_BOTTOM_LEFT
static final ResourceKey
<BannerPattern> BannerPatterns.SQUARE_BOTTOM_RIGHT
static final ResourceKey
<BannerPattern> BannerPatterns.SQUARE_TOP_LEFT
static final ResourceKey
<BannerPattern> BannerPatterns.SQUARE_TOP_RIGHT
static final ResourceKey
<BannerPattern> BannerPatterns.STRAIGHT_CROSS
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_BOTTOM
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_CENTER
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_DOWNLEFT
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_DOWNRIGHT
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_LEFT
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_MIDDLE
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_RIGHT
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_SMALL
static final ResourceKey
<BannerPattern> BannerPatterns.STRIPE_TOP
static final ResourceKey
<BannerPattern> BannerPatterns.TRIANGLE_BOTTOM
static final ResourceKey
<BannerPattern> BannerPatterns.TRIANGLE_TOP
static final ResourceKey
<BannerPattern> BannerPatterns.TRIANGLES_BOTTOM
static final ResourceKey
<BannerPattern> BannerPatterns.TRIANGLES_TOP
Modifier and TypeFieldDescriptionprivate static final Map
<Item, ResourceKey<String>> DecoratedPotPatterns.ITEM_TO_POT_TEXTURE
Modifier and TypeMethodDescriptionprivate static ResourceKey
<BannerPattern> private static ResourceKey
<String> DecoratedPotBlockEntity.getLootTable()
RandomizableContainerBlockEntity.getLootTable()
JigsawBlockEntity.getPool()
static ResourceKey
<String> DecoratedPotPatterns.getResourceKey
(Item p_273094_) Modifier and TypeMethodDescriptionBannerPatternLayers.Builder.addIfRegistered
(HolderGetter<BannerPattern> p_332806_, ResourceKey<BannerPattern> p_332663_, DyeColor p_332781_) Deprecated.static ResourceLocation
DecoratedPotPatterns.location
(ResourceKey<String> p_273198_) static void
BannerPatterns.register
(BootstrapContext<BannerPattern> p_332752_, ResourceKey<BannerPattern> p_331267_) void
BrushableBlockEntity.setLootTable
(ResourceKey<LootTable> p_335433_, long p_277991_) void
DecoratedPotBlockEntity.setLootTable
(ResourceKey<LootTable> p_336080_) void
RandomizableContainerBlockEntity.setLootTable
(ResourceKey<LootTable> p_335597_) void
JigsawBlockEntity.setPool
(ResourceKey<StructureTemplatePool> p_222764_) -
Uses of ResourceKey in net.minecraft.world.level.block.entity.trialspawner
Modifier and TypeFieldDescriptionprivate final ResourceKey
<LootTable> TrialSpawnerConfig.itemsToDropWhenOminous
The field for theitemsToDropWhenOminous
record component.Modifier and TypeFieldDescriptionprotected Optional
<ResourceKey<LootTable>> TrialSpawnerData.ejectingLootTable
private final SimpleWeightedRandomList
<ResourceKey<LootTable>> TrialSpawnerConfig.lootTablesToEject
The field for thelootTablesToEject
record component.Modifier and TypeMethodDescriptionTrialSpawnerConfig.itemsToDropWhenOminous()
Returns the value of theitemsToDropWhenOminous
record component.Modifier and TypeMethodDescriptionTrialSpawnerConfig.lootTablesToEject()
Returns the value of thelootTablesToEject
record component.Modifier and TypeMethodDescriptionvoid
TrialSpawner.ejectReward
(ServerLevel p_312892_, BlockPos p_312668_, ResourceKey<LootTable> p_335942_) ModifierConstructorDescriptionTrialSpawnerConfig
(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 aTrialSpawnerConfig
record class. -
Uses of ResourceKey in net.minecraft.world.level.block.entity.vault
Modifier and TypeFieldDescriptionprivate final ResourceKey
<LootTable> VaultConfig.lootTable
The field for thelootTable
record component.Modifier and TypeFieldDescriptionprivate final Optional
<ResourceKey<LootTable>> VaultConfig.overrideLootTableToDisplay
The field for theoverrideLootTableToDisplay
record component.Modifier and TypeMethodDescriptionVaultConfig.lootTable()
Returns the value of thelootTable
record component.Modifier and TypeMethodDescriptionVaultConfig.overrideLootTableToDisplay()
Returns the value of theoverrideLootTableToDisplay
record component.Modifier and TypeMethodDescriptionprivate static ItemStack
VaultBlockEntity.Server.getRandomDisplayItemFromLootTable
(ServerLevel p_323781_, BlockPos p_324109_, ResourceKey<LootTable> p_336119_) ModifierConstructorDescriptionVaultConfig
(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 aVaultConfig
record class.ModifierConstructorDescriptionVaultConfig
(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 aVaultConfig
record class. -
Uses of ResourceKey in net.minecraft.world.level.block.grower
Modifier and TypeFieldDescriptionprivate final Optional
<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.flowers
private final Optional
<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.megaTree
private final Optional
<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.secondaryFlowers
private final Optional
<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.secondaryMegaTree
private final Optional
<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.secondaryTree
private final Optional
<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.tree
Modifier and TypeMethodDescriptionprivate ResourceKey
<ConfiguredFeature<?, ?>> TreeGrower.getConfiguredFeature
(RandomSource p_304525_, boolean p_304410_) private ResourceKey
<ConfiguredFeature<?, ?>> TreeGrower.getConfiguredMegaFeature
(RandomSource p_304575_) ModifierConstructorDescriptionTreeGrower
(String p_304522_, float p_304600_, Optional<ResourceKey<ConfiguredFeature<?, ?>>> p_304738_, Optional<ResourceKey<ConfiguredFeature<?, ?>>> p_304561_, Optional<ResourceKey<ConfiguredFeature<?, ?>>> p_304433_, Optional<ResourceKey<ConfiguredFeature<?, ?>>> p_304821_, Optional<ResourceKey<ConfiguredFeature<?, ?>>> p_304558_, Optional<ResourceKey<ConfiguredFeature<?, ?>>> p_304488_) TreeGrower
(String p_304408_, Optional<ResourceKey<ConfiguredFeature<?, ?>>> p_304634_, Optional<ResourceKey<ConfiguredFeature<?, ?>>> p_304477_, Optional<ResourceKey<ConfiguredFeature<?, ?>>> p_304753_) -
Uses of ResourceKey in net.minecraft.world.level.block.state
Modifier and TypeFieldDescriptionprotected ResourceKey
<LootTable> BlockBehaviour.drops
(package private) ResourceKey
<LootTable> BlockBehaviour.Properties.drops
Modifier and TypeFieldDescriptionprivate final Supplier
<ResourceKey<LootTable>> BlockBehaviour.lootTableSupplier
private Supplier
<ResourceKey<LootTable>> BlockBehaviour.Properties.lootTableSupplier
Modifier and TypeMethodDescriptionboolean
BlockBehaviour.BlockStateBase.is
(ResourceKey<Block> p_304668_) -
Uses of ResourceKey in net.minecraft.world.level.chunk
Modifier and TypeMethodDescriptionOptional
<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> ChunkGenerator.getTypeNameForDataFixer()
-
Uses of ResourceKey in net.minecraft.world.level.chunk.storage
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> RegionStorageInfo.dimension
The field for thedimension
record component.Modifier and TypeMethodDescriptionRegionStorageInfo.dimension()
Returns the value of thedimension
record component.Modifier and TypeMethodDescriptionprivate LegacyStructureDataHandler
ChunkStorage.getLegacyStructureHandler
(ResourceKey<Level> p_223449_, Supplier<DimensionDataStorage> p_223450_) static void
ChunkStorage.injectDatafixingContext
(CompoundTag p_196919_, ResourceKey<Level> p_196920_, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> p_196921_) ChunkStorage.upgradeChunkTag
(ResourceKey<Level> p_188289_, Supplier<DimensionDataStorage> p_188290_, CompoundTag p_188291_, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> p_188292_) Modifier and TypeMethodDescriptionstatic void
ChunkStorage.injectDatafixingContext
(CompoundTag p_196919_, ResourceKey<Level> p_196920_, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> p_196921_) ChunkStorage.upgradeChunkTag
(ResourceKey<Level> p_188289_, Supplier<DimensionDataStorage> p_188290_, CompoundTag p_188291_, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> p_188292_) ModifierConstructorDescriptionRegionStorageInfo
(String level, ResourceKey<Level> dimension, String type) Creates an instance of aRegionStorageInfo
record class. -
Uses of ResourceKey in net.minecraft.world.level.dimension
Modifier and TypeFieldDescriptionstatic final ResourceKey
<DimensionType> BuiltinDimensionTypes.END
static final ResourceKey
<LevelStem> LevelStem.END
static final ResourceKey
<DimensionType> BuiltinDimensionTypes.NETHER
static final ResourceKey
<LevelStem> LevelStem.NETHER
static final ResourceKey
<DimensionType> BuiltinDimensionTypes.OVERWORLD
static final ResourceKey
<LevelStem> LevelStem.OVERWORLD
static final ResourceKey
<DimensionType> BuiltinDimensionTypes.OVERWORLD_CAVES
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.DataResult
<ResourceKey<Level>> DimensionType.parseLegacy
(com.mojang.serialization.Dynamic<?> p_63912_) Deprecated.Modifier and TypeMethodDescriptionstatic Path
DimensionType.getStorageFolder
(ResourceKey<Level> p_196976_, Path p_196977_) -
Uses of ResourceKey in net.minecraft.world.level.gameevent.vibrations
Modifier and TypeFieldDescriptionstatic final List
<ResourceKey<GameEvent>> VibrationSystem.RESONANCE_EVENTS
static final ToIntFunction
<ResourceKey<GameEvent>> VibrationSystem.VIBRATION_FREQUENCY_FOR_EVENT
Deprecated.Neo: use thedata map
instead.Modifier and TypeMethodDescriptionstatic ResourceKey
<GameEvent> VibrationSystem.getResonanceEventByFrequency
(int p_282105_) Modifier and TypeMethodDescriptionstatic int
VibrationSystem.getGameEventFrequency
(ResourceKey<GameEvent> p_316800_) -
Uses of ResourceKey in net.minecraft.world.level.levelgen
Modifier and TypeFieldDescriptionstatic final ResourceKey
<NoiseGeneratorSettings> NoiseGeneratorSettings.AMPLIFIED
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.AQUIFER_BARRIER
static final ResourceKey
<NormalNoise.NoiseParameters> static final ResourceKey
<NormalNoise.NoiseParameters> Noises.AQUIFER_FLUID_LEVEL_SPREAD
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.AQUIFER_LAVA
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.BADLANDS_PILLAR
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.BADLANDS_PILLAR_ROOF
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.BADLANDS_SURFACE
private static final ResourceKey
<DensityFunction> NoiseRouterData.BASE_3D_NOISE_END
private static final ResourceKey
<DensityFunction> NoiseRouterData.BASE_3D_NOISE_NETHER
private static final ResourceKey
<DensityFunction> NoiseRouterData.BASE_3D_NOISE_OVERWORLD
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.CALCITE
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.CAVE_CHEESE
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.CAVE_ENTRANCE
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.CAVE_LAYER
static final ResourceKey
<NoiseGeneratorSettings> NoiseGeneratorSettings.CAVES
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.CLAY_BANDS_OFFSET
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.CONTINENTALNESS
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.CONTINENTALNESS_LARGE
static final ResourceKey
<DensityFunction> NoiseRouterData.CONTINENTS
static final ResourceKey
<DensityFunction> NoiseRouterData.CONTINENTS_LARGE
static final ResourceKey
<DensityFunction> NoiseRouterData.DEPTH
private static final ResourceKey
<DensityFunction> NoiseRouterData.DEPTH_AMPLIFIED
private static final ResourceKey
<DensityFunction> NoiseRouterData.DEPTH_LARGE
static final ResourceKey
<NoiseGeneratorSettings> NoiseGeneratorSettings.END
private static final ResourceKey
<DensityFunction> NoiseRouterData.ENTRANCES
static final ResourceKey
<DensityFunction> NoiseRouterData.EROSION
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.EROSION
static final ResourceKey
<DensityFunction> NoiseRouterData.EROSION_LARGE
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.EROSION_LARGE
static final ResourceKey
<DensityFunction> NoiseRouterData.FACTOR
private static final ResourceKey
<DensityFunction> NoiseRouterData.FACTOR_AMPLIFIED
private static final ResourceKey
<DensityFunction> NoiseRouterData.FACTOR_LARGE
static final ResourceKey
<NoiseGeneratorSettings> NoiseGeneratorSettings.FLOATING_ISLANDS
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.GRAVEL
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.GRAVEL_LAYER
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.ICE
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.ICEBERG_PILLAR
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.ICEBERG_PILLAR_ROOF
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.ICEBERG_SURFACE
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.JAGGED
static final ResourceKey
<DensityFunction> NoiseRouterData.JAGGEDNESS
private static final ResourceKey
<DensityFunction> NoiseRouterData.JAGGEDNESS_AMPLIFIED
private static final ResourceKey
<DensityFunction> NoiseRouterData.JAGGEDNESS_LARGE
static final ResourceKey
<NoiseGeneratorSettings> NoiseGeneratorSettings.LARGE_BIOMES
static final ResourceKey
<NoiseGeneratorSettings> NoiseGeneratorSettings.NETHER
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.NETHER_STATE_SELECTOR
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.NETHER_WART
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.NETHERRACK
private final ResourceKey
<NormalNoise.NoiseParameters> SurfaceRules.NoiseThresholdConditionSource.noise
The field for thenoise
record component.private static final ResourceKey
<DensityFunction> NoiseRouterData.NOODLE
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.NOODLE
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.NOODLE_RIDGE_A
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.NOODLE_RIDGE_B
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.NOODLE_THICKNESS
static final ResourceKey
<DensityFunction> NoiseRouterData.OFFSET
private static final ResourceKey
<DensityFunction> NoiseRouterData.OFFSET_AMPLIFIED
private static final ResourceKey
<DensityFunction> NoiseRouterData.OFFSET_LARGE
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.ORE_GAP
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.ORE_VEIN_A
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.ORE_VEIN_B
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.ORE_VEININESS
static final ResourceKey
<NoiseGeneratorSettings> NoiseGeneratorSettings.OVERWORLD
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.PACKED_ICE
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.PATCH
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.PILLAR
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.PILLAR_RARENESS
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.PILLAR_THICKNESS
private static final ResourceKey
<DensityFunction> NoiseRouterData.PILLARS
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.POWDER_SNOW
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.RIDGE
static final ResourceKey
<DensityFunction> NoiseRouterData.RIDGES
static final ResourceKey
<DensityFunction> NoiseRouterData.RIDGES_FOLDED
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.SHIFT
private static final ResourceKey
<DensityFunction> NoiseRouterData.SHIFT_X
private static final ResourceKey
<DensityFunction> NoiseRouterData.SHIFT_Z
private static final ResourceKey
<DensityFunction> NoiseRouterData.SLOPED_CHEESE
private static final ResourceKey
<DensityFunction> NoiseRouterData.SLOPED_CHEESE_AMPLIFIED
private static final ResourceKey
<DensityFunction> NoiseRouterData.SLOPED_CHEESE_END
private static final ResourceKey
<DensityFunction> NoiseRouterData.SLOPED_CHEESE_LARGE
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.SOUL_SAND_LAYER
private static final ResourceKey
<DensityFunction> NoiseRouterData.SPAGHETTI_2D
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.SPAGHETTI_2D
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.SPAGHETTI_2D_ELEVATION
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.SPAGHETTI_2D_MODULATOR
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.SPAGHETTI_2D_THICKNESS
private static final ResourceKey
<DensityFunction> NoiseRouterData.SPAGHETTI_2D_THICKNESS_MODULATOR
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.SPAGHETTI_3D_1
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.SPAGHETTI_3D_2
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.SPAGHETTI_3D_RARITY
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.SPAGHETTI_3D_THICKNESS
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.SPAGHETTI_ROUGHNESS
private static final ResourceKey
<DensityFunction> NoiseRouterData.SPAGHETTI_ROUGHNESS_FUNCTION
static final ResourceKey
<NormalNoise.NoiseParameters> static final ResourceKey
<NormalNoise.NoiseParameters> Noises.SURFACE
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.SURFACE_SECONDARY
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.SWAMP
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.TEMPERATURE
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.TEMPERATURE_LARGE
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.VEGETATION
static final ResourceKey
<NormalNoise.NoiseParameters> Noises.VEGETATION_LARGE
private static final ResourceKey
<DensityFunction> NoiseRouterData.Y
private static final ResourceKey
<DensityFunction> NoiseRouterData.ZERO
Modifier and TypeFieldDescription(package private) final Predicate
<ResourceKey<Biome>> SurfaceRules.BiomeConditionSource.biomeNameTest
private final List
<ResourceKey<Biome>> SurfaceRules.BiomeConditionSource.biomes
private static final Set
<ResourceKey<LevelStem>> WorldDimensions.BUILTIN_ORDER
private final Map
<ResourceKey<LevelStem>, LevelStem> WorldDimensions.dimensions
The field for thedimensions
record component.private final Map
<ResourceKey<NormalNoise.NoiseParameters>, NormalNoise> RandomState.noiseIntances
private static final Set
<ResourceKey<Biome>> BelowZeroRetrogen.RETAINED_RETROGEN_BIOMES
Modifier and TypeMethodDescriptionprivate static ResourceKey
<DensityFunction> private static ResourceKey
<NormalNoise.NoiseParameters> SurfaceRules.NoiseThresholdConditionSource.noise()
Returns the value of thenoise
record component.Modifier and TypeMethodDescriptionWorldDimensions.dimensions()
Returns the value of thedimensions
record component.static Stream
<ResourceKey<LevelStem>> WorldDimensions.keysInOrder
(Stream<ResourceKey<LevelStem>> p_251309_) com.google.common.collect.ImmutableSet
<ResourceKey<Level>> WorldDimensions.levels()
static Map
<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld
(Map<ResourceKey<LevelStem>, LevelStem> p_326287_, Holder<DimensionType> p_326403_, ChunkGenerator p_251737_) static Map
<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld
(Registry<DimensionType> p_248907_, Map<ResourceKey<LevelStem>, LevelStem> p_326250_, ChunkGenerator p_250220_) Modifier and TypeMethodDescription(package private) static com.mojang.serialization.Lifecycle
WorldDimensions.checkStability
(ResourceKey<LevelStem> p_250764_, LevelStem p_248865_) static RandomState
RandomState.create
(HolderGetter.Provider p_255935_, ResourceKey<NoiseGeneratorSettings> p_256314_, long p_256595_) WorldDimensions.get
(ResourceKey<LevelStem> p_250824_) private static DensityFunction
NoiseRouterData.getFunction
(HolderGetter<DensityFunction> p_256312_, ResourceKey<DensityFunction> p_256077_) RandomState.getOrCreateNoise
(ResourceKey<NormalNoise.NoiseParameters> p_224561_) static NormalNoise
Noises.instantiate
(HolderGetter<NormalNoise.NoiseParameters> p_256362_, PositionalRandomFactory p_256306_, ResourceKey<NormalNoise.NoiseParameters> p_256639_) static SurfaceRules.ConditionSource
SurfaceRules.isBiome
(ResourceKey<Biome>... p_189417_) private static boolean
WorldDimensions.isVanillaLike
(ResourceKey<LevelStem> p_250556_, LevelStem p_250034_) static SurfaceRules.ConditionSource
SurfaceRules.noiseCondition
(ResourceKey<NormalNoise.NoiseParameters> p_189410_, double p_189411_) static SurfaceRules.ConditionSource
SurfaceRules.noiseCondition
(ResourceKey<NormalNoise.NoiseParameters> p_189413_, double p_189414_, double p_189415_) private static DensityFunction
NoiseRouterData.registerAndWrap
(BootstrapContext<DensityFunction> p_321585_, ResourceKey<DensityFunction> p_255905_, DensityFunction p_255856_) private static void
NoiseRouterData.registerTerrainNoises
(BootstrapContext<DensityFunction> p_321572_, HolderGetter<DensityFunction> p_256393_, DensityFunction p_224476_, Holder<DensityFunction> p_224477_, Holder<DensityFunction> p_224478_, ResourceKey<DensityFunction> p_224479_, ResourceKey<DensityFunction> p_224480_, ResourceKey<DensityFunction> p_224481_, ResourceKey<DensityFunction> p_224482_, ResourceKey<DensityFunction> p_224483_, boolean p_224484_) boolean
NoiseBasedChunkGenerator.stable
(ResourceKey<NoiseGeneratorSettings> p_224222_) Modifier and TypeMethodDescriptionprivate static SurfaceRules.BiomeConditionSource
SurfaceRules.isBiome
(List<ResourceKey<Biome>> p_189408_) static Stream
<ResourceKey<LevelStem>> WorldDimensions.keysInOrder
(Stream<ResourceKey<LevelStem>> p_251309_) static Map
<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld
(Map<ResourceKey<LevelStem>, LevelStem> p_326287_, Holder<DimensionType> p_326403_, ChunkGenerator p_251737_) static Map
<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld
(Registry<DimensionType> p_248907_, Map<ResourceKey<LevelStem>, LevelStem> p_326250_, ChunkGenerator p_250220_) ModifierConstructorDescription(package private)
NoiseThresholdConditionSource
(ResourceKey<NormalNoise.NoiseParameters> noise, double minThreshold, double maxThreshold) Creates an instance of aNoiseThresholdConditionSource
record class.ModifierConstructorDescription(package private)
BiomeConditionSource
(List<ResourceKey<Biome>> p_189493_) WorldDimensions
(Map<ResourceKey<LevelStem>, LevelStem> dimensions) Creates an instance of aWorldDimensions
record class. -
Uses of ResourceKey in net.minecraft.world.level.levelgen.flat
Modifier and TypeFieldDescriptionstatic final ResourceKey
<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.BOTTOMLESS_PIT
static final ResourceKey
<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.CLASSIC_FLAT
static final ResourceKey
<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.DESERT
static final ResourceKey
<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.OVERWORLD
static final ResourceKey
<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.REDSTONE_READY
static final ResourceKey
<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.SNOWY_KINGDOM
static final ResourceKey
<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.THE_VOID
static final ResourceKey
<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.TUNNELERS_DREAM
static final ResourceKey
<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.WATER_WORLD
Modifier and TypeMethodDescriptionprivate void
FlatLevelGeneratorPresets.Bootstrap.register
(ResourceKey<FlatLevelGeneratorPreset> p_256174_, ItemLike p_255748_, ResourceKey<Biome> p_256483_, Set<ResourceKey<StructureSet>> p_255807_, boolean p_256642_, boolean p_256006_, FlatLayerInfo... p_255913_) Modifier and TypeMethodDescriptionprivate void
FlatLevelGeneratorPresets.Bootstrap.register
(ResourceKey<FlatLevelGeneratorPreset> p_256174_, ItemLike p_255748_, ResourceKey<Biome> p_256483_, Set<ResourceKey<StructureSet>> p_255807_, boolean p_256642_, boolean p_256006_, FlatLayerInfo... p_255913_) -
Uses of ResourceKey in net.minecraft.world.level.levelgen.presets
Modifier and TypeFieldDescriptionstatic final ResourceKey
<WorldPreset> WorldPresets.AMPLIFIED
static final ResourceKey
<WorldPreset> WorldPresets.DEBUG
static final ResourceKey
<WorldPreset> WorldPresets.FLAT
static final ResourceKey
<WorldPreset> WorldPresets.LARGE_BIOMES
static final ResourceKey
<WorldPreset> WorldPresets.NORMAL
static final ResourceKey
<WorldPreset> WorldPresets.SINGLE_BIOME_SURFACE
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<LevelStem>, LevelStem> WorldPreset.dimensions
Modifier and TypeMethodDescriptionprivate com.google.common.collect.ImmutableMap
<ResourceKey<LevelStem>, LevelStem> WorldPreset.dimensionsInOrder()
static Optional
<ResourceKey<WorldPreset>> WorldPresets.fromSettings
(WorldDimensions p_326314_) Modifier and TypeMethodDescriptionprivate void
WorldPresets.Bootstrap.registerCustomOverworldPreset
(ResourceKey<WorldPreset> p_256570_, LevelStem p_256269_) -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionstatic final ResourceKey
<StructureSet> BuiltinStructureSets.ANCIENT_CITIES
static final ResourceKey
<Structure> BuiltinStructures.ANCIENT_CITY
static final ResourceKey
<Structure> BuiltinStructures.BASTION_REMNANT
static final ResourceKey
<Structure> BuiltinStructures.BURIED_TREASURE
static final ResourceKey
<StructureSet> BuiltinStructureSets.BURIED_TREASURES
static final ResourceKey
<Structure> BuiltinStructures.DESERT_PYRAMID
static final ResourceKey
<StructureSet> BuiltinStructureSets.DESERT_PYRAMIDS
private final ResourceKey
<Level> StructureCheck.dimension
static final ResourceKey
<StructureSet> BuiltinStructureSets.END_CITIES
static final ResourceKey
<Structure> BuiltinStructures.END_CITY
static final ResourceKey
<Structure> BuiltinStructures.FORTRESS
static final ResourceKey
<Structure> BuiltinStructures.IGLOO
static final ResourceKey
<StructureSet> BuiltinStructureSets.IGLOOS
static final ResourceKey
<Structure> BuiltinStructures.JUNGLE_TEMPLE
static final ResourceKey
<StructureSet> BuiltinStructureSets.JUNGLE_TEMPLES
static final ResourceKey
<Structure> BuiltinStructures.MINESHAFT
static final ResourceKey
<Structure> BuiltinStructures.MINESHAFT_MESA
static final ResourceKey
<StructureSet> BuiltinStructureSets.MINESHAFTS
static final ResourceKey
<StructureSet> BuiltinStructureSets.NETHER_COMPLEXES
static final ResourceKey
<Structure> BuiltinStructures.NETHER_FOSSIL
static final ResourceKey
<StructureSet> BuiltinStructureSets.NETHER_FOSSILS
static final ResourceKey
<Structure> BuiltinStructures.OCEAN_MONUMENT
static final ResourceKey
<StructureSet> BuiltinStructureSets.OCEAN_MONUMENTS
static final ResourceKey
<Structure> BuiltinStructures.OCEAN_RUIN_COLD
static final ResourceKey
<Structure> BuiltinStructures.OCEAN_RUIN_WARM
static final ResourceKey
<StructureSet> BuiltinStructureSets.OCEAN_RUINS
static final ResourceKey
<Structure> BuiltinStructures.PILLAGER_OUTPOST
static final ResourceKey
<StructureSet> BuiltinStructureSets.PILLAGER_OUTPOSTS
static final ResourceKey
<Structure> BuiltinStructures.RUINED_PORTAL_DESERT
static final ResourceKey
<Structure> BuiltinStructures.RUINED_PORTAL_JUNGLE
static final ResourceKey
<Structure> BuiltinStructures.RUINED_PORTAL_MOUNTAIN
static final ResourceKey
<Structure> BuiltinStructures.RUINED_PORTAL_NETHER
static final ResourceKey
<Structure> BuiltinStructures.RUINED_PORTAL_OCEAN
static final ResourceKey
<Structure> BuiltinStructures.RUINED_PORTAL_STANDARD
static final ResourceKey
<Structure> BuiltinStructures.RUINED_PORTAL_SWAMP
static final ResourceKey
<StructureSet> BuiltinStructureSets.RUINED_PORTALS
static final ResourceKey
<Structure> BuiltinStructures.SHIPWRECK
static final ResourceKey
<Structure> BuiltinStructures.SHIPWRECK_BEACHED
static final ResourceKey
<StructureSet> BuiltinStructureSets.SHIPWRECKS
static final ResourceKey
<Structure> BuiltinStructures.STRONGHOLD
static final ResourceKey
<StructureSet> BuiltinStructureSets.STRONGHOLDS
static final ResourceKey
<Structure> BuiltinStructures.SWAMP_HUT
static final ResourceKey
<StructureSet> BuiltinStructureSets.SWAMP_HUTS
static final ResourceKey
<Structure> BuiltinStructures.TRAIL_RUINS
static final ResourceKey
<StructureSet> BuiltinStructureSets.TRAIL_RUINS
static final ResourceKey
<Structure> BuiltinStructures.TRIAL_CHAMBERS
static final ResourceKey
<StructureSet> BuiltinStructureSets.TRIAL_CHAMBERS
static final ResourceKey
<Structure> BuiltinStructures.VILLAGE_DESERT
static final ResourceKey
<Structure> BuiltinStructures.VILLAGE_PLAINS
static final ResourceKey
<Structure> BuiltinStructures.VILLAGE_SAVANNA
static final ResourceKey
<Structure> BuiltinStructures.VILLAGE_SNOWY
static final ResourceKey
<Structure> BuiltinStructures.VILLAGE_TAIGA
static final ResourceKey
<StructureSet> BuiltinStructureSets.VILLAGES
static final ResourceKey
<Structure> BuiltinStructures.WOODLAND_MANSION
static final ResourceKey
<StructureSet> BuiltinStructureSets.WOODLAND_MANSIONS
Modifier and TypeMethodDescriptionprivate static ResourceKey
<Structure> private static ResourceKey
<StructureSet> Modifier and TypeMethodDescriptionprotected boolean
StructurePiece.createChest
(ServerLevelAccessor p_226763_, BoundingBox p_226764_, RandomSource p_226765_, BlockPos p_226766_, ResourceKey<LootTable> p_335513_, BlockState p_226768_) protected boolean
StructurePiece.createChest
(WorldGenLevel p_226812_, BoundingBox p_226813_, RandomSource p_226814_, int p_226815_, int p_226816_, int p_226817_, ResourceKey<LootTable> p_335835_) protected boolean
StructurePiece.createDispenser
(WorldGenLevel p_226820_, BoundingBox p_226821_, RandomSource p_226822_, int p_226823_, int p_226824_, int p_226825_, Direction p_226826_, ResourceKey<LootTable> p_336026_) static LegacyStructureDataHandler
LegacyStructureDataHandler.getLegacyStructureHandler
(ResourceKey<Level> p_71332_, DimensionDataStorage p_71333_) ModifierConstructorDescriptionStructureCheck
(ChunkScanAccess p_226712_, RegistryAccess p_226713_, StructureTemplateManager p_226714_, ResourceKey<Level> p_226715_, ChunkGenerator p_226716_, RandomState p_226717_, LevelHeightAccessor p_226718_, BiomeSource p_226719_, long p_226720_, com.mojang.datafixers.DataFixer p_226721_) -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure.pools
Modifier and TypeMethodDescriptionprivate static ResourceKey
<StructureTemplatePool> JigsawPlacement.Placer.readPoolKey
(StructureTemplate.StructureBlockInfo p_307327_, PoolAliasLookup p_307490_) -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure.pools.alias
Modifier and TypeFieldDescriptionprivate final ResourceKey
<StructureTemplatePool> Direct.alias
The field for thealias
record component.private final ResourceKey
<StructureTemplatePool> Random.alias
The field for thealias
record component.private final ResourceKey
<StructureTemplatePool> Direct.target
The field for thetarget
record component.Modifier and TypeFieldDescriptionprivate final SimpleWeightedRandomList
<ResourceKey<StructureTemplatePool>> Random.targets
The field for thetargets
record component.Modifier and TypeMethodDescriptionDirect.alias()
Returns the value of thealias
record component.Random.alias()
Returns the value of thealias
record component.PoolAliasLookup.lookup
(ResourceKey<StructureTemplatePool> p_307512_) Direct.target()
Returns the value of thetarget
record component.Modifier and TypeMethodDescriptionDirect.allTargets()
PoolAliasBinding.allTargets()
Random.allTargets()
RandomGroup.allTargets()
Random.targets()
Returns the value of thetargets
record component.Modifier and TypeMethodDescriptionstatic Direct
PoolAliasBinding.direct
(ResourceKey<StructureTemplatePool> p_307379_, ResourceKey<StructureTemplatePool> p_307242_) PoolAliasLookup.lookup
(ResourceKey<StructureTemplatePool> p_307512_) static Random
PoolAliasBinding.random
(ResourceKey<StructureTemplatePool> p_307260_, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> p_307665_) Modifier and TypeMethodDescriptionvoid
Direct.forEachResolved
(RandomSource p_307630_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307574_) void
Direct.forEachResolved
(RandomSource p_307630_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307574_) void
PoolAliasBinding.forEachResolved
(RandomSource p_307322_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307269_) void
PoolAliasBinding.forEachResolved
(RandomSource p_307322_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307269_) void
Random.forEachResolved
(RandomSource p_307661_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307635_) void
Random.forEachResolved
(RandomSource p_307661_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307635_) void
RandomGroup.forEachResolved
(RandomSource p_307472_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307324_) void
RandomGroup.forEachResolved
(RandomSource p_307472_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307324_) static Random
PoolAliasBinding.random
(ResourceKey<StructureTemplatePool> p_307260_, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> p_307665_) ModifierConstructorDescription(package private)
Direct
(ResourceKey<StructureTemplatePool> alias, ResourceKey<StructureTemplatePool> target) Creates an instance of aDirect
record class.(package private)
Random
(ResourceKey<StructureTemplatePool> alias, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> targets) Creates an instance of aRandom
record class.ModifierConstructorDescription(package private)
Random
(ResourceKey<StructureTemplatePool> alias, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> targets) Creates an instance of aRandom
record class. -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure.structures
Modifier and TypeFieldDescription(package private) static final Map
<String, ResourceKey<LootTable>> ShipwreckPieces.MARKERS_TO_LOOT
Modifier and TypeMethodDescriptionprivate static StructureProcessor
OceanRuinPieces.archyRuleProcessor
(Block p_277376_, Block p_277934_, ResourceKey<LootTable> p_335398_) protected boolean
MineshaftPieces.MineShaftCorridor.createChest
(WorldGenLevel p_227787_, BoundingBox p_227788_, RandomSource p_227789_, int p_227790_, int p_227791_, int p_227792_, ResourceKey<LootTable> p_335869_) -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity
-
Uses of ResourceKey in net.minecraft.world.level.saveddata.maps
Modifier and TypeMethodDescriptionstatic MapItemSavedData
MapItemSavedData.createForClient
(byte p_164777_, boolean p_164778_, ResourceKey<Level> p_164779_) static MapItemSavedData
MapItemSavedData.createFresh
(double p_164781_, double p_164782_, byte p_164783_, boolean p_164784_, boolean p_164785_, ResourceKey<Level> p_164786_) ModifierConstructorDescriptionprivate
MapItemSavedData
(int p_164768_, int p_164769_, byte p_164770_, boolean p_164771_, boolean p_164772_, boolean p_164773_, ResourceKey<Level> p_164774_) -
Uses of ResourceKey in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionLevelStorageSource.LevelStorageAccess.getDimensionPath
(ResourceKey<Level> p_197395_) -
Uses of ResourceKey in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescriptionstatic final ResourceKey
<LootTable> BuiltInLootTables.ABANDONED_MINESHAFT
static final ResourceKey
<LootTable> BuiltInLootTables.ANCIENT_CITY
static final ResourceKey
<LootTable> BuiltInLootTables.ANCIENT_CITY_ICE_BOX
static final ResourceKey
<LootTable> BuiltInLootTables.ARMORER_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.BASTION_BRIDGE
static final ResourceKey
<LootTable> BuiltInLootTables.BASTION_HOGLIN_STABLE
static final ResourceKey
<LootTable> BuiltInLootTables.BASTION_OTHER
static final ResourceKey
<LootTable> BuiltInLootTables.BASTION_TREASURE
static final ResourceKey
<LootTable> BuiltInLootTables.BOGGED_SHEAR
static final ResourceKey
<LootTable> BuiltInLootTables.BURIED_TREASURE
static final ResourceKey
<LootTable> BuiltInLootTables.BUTCHER_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.CARTOGRAPHER_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.CAT_MORNING_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.CLERIC_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.DESERT_PYRAMID
static final ResourceKey
<LootTable> BuiltInLootTables.DESERT_PYRAMID_ARCHAEOLOGY
static final ResourceKey
<LootTable> BuiltInLootTables.DESERT_WELL_ARCHAEOLOGY
static final ResourceKey
<LootTable> BuiltInLootTables.EMPTY
static final ResourceKey
<LootTable> BuiltInLootTables.END_CITY_TREASURE
static final ResourceKey
<LootTable> BuiltInLootTables.EQUIPMENT_TRIAL_CHAMBER
static final ResourceKey
<LootTable> BuiltInLootTables.EQUIPMENT_TRIAL_CHAMBER_MELEE
static final ResourceKey
<LootTable> BuiltInLootTables.EQUIPMENT_TRIAL_CHAMBER_RANGED
static final ResourceKey
<LootTable> BuiltInLootTables.FARMER_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.FISHERMAN_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.FISHING
static final ResourceKey
<LootTable> BuiltInLootTables.FISHING_FISH
static final ResourceKey
<LootTable> BuiltInLootTables.FISHING_JUNK
static final ResourceKey
<LootTable> BuiltInLootTables.FISHING_TREASURE
static final ResourceKey
<LootTable> BuiltInLootTables.FLETCHER_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.IGLOO_CHEST
static final ResourceKey
<LootTable> BuiltInLootTables.JUNGLE_TEMPLE
static final ResourceKey
<LootTable> BuiltInLootTables.JUNGLE_TEMPLE_DISPENSER
static final ResourceKey
<LootTable> BuiltInLootTables.LEATHERWORKER_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.LIBRARIAN_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.MASON_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.NETHER_BRIDGE
static final ResourceKey
<LootTable> BuiltInLootTables.OCEAN_RUIN_COLD_ARCHAEOLOGY
static final ResourceKey
<LootTable> BuiltInLootTables.OCEAN_RUIN_WARM_ARCHAEOLOGY
static final ResourceKey
<LootTable> BuiltInLootTables.PANDA_SNEEZE
static final ResourceKey
<LootTable> BuiltInLootTables.PIGLIN_BARTERING
static final ResourceKey
<LootTable> BuiltInLootTables.PILLAGER_OUTPOST
private final ResourceKey
<Registry<T>> LootDataType.registryKey
The field for theregistryKey
record component.static final ResourceKey
<LootTable> BuiltInLootTables.RUINED_PORTAL
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_BLACK
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_BLUE
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_BROWN
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_CYAN
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_GRAY
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_GREEN
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_LIGHT_BLUE
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_LIGHT_GRAY
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_LIME
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_MAGENTA
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_ORANGE
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_PINK
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_PURPLE
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_RED
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_WHITE
static final ResourceKey
<LootTable> BuiltInLootTables.SHEEP_YELLOW
static final ResourceKey
<LootTable> BuiltInLootTables.SHEPHERD_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.SHIPWRECK_MAP
static final ResourceKey
<LootTable> BuiltInLootTables.SHIPWRECK_SUPPLY
static final ResourceKey
<LootTable> BuiltInLootTables.SHIPWRECK_TREASURE
static final ResourceKey
<LootTable> BuiltInLootTables.SIMPLE_DUNGEON
static final ResourceKey
<LootTable> BuiltInLootTables.SNIFFER_DIGGING
static final ResourceKey
<LootTable> BuiltInLootTables.SPAWN_BONUS_CHEST
static final ResourceKey
<LootTable> BuiltInLootTables.SPAWNER_OMINOUS_TRIAL_CHAMBER_CONSUMABLES
static final ResourceKey
<LootTable> BuiltInLootTables.SPAWNER_OMINOUS_TRIAL_CHAMBER_KEY
static final ResourceKey
<LootTable> BuiltInLootTables.SPAWNER_TRIAL_CHAMBER_CONSUMABLES
static final ResourceKey
<LootTable> BuiltInLootTables.SPAWNER_TRIAL_CHAMBER_KEY
static final ResourceKey
<LootTable> BuiltInLootTables.SPAWNER_TRIAL_ITEMS_TO_DROP_WHEN_OMINOUS
static final ResourceKey
<LootTable> BuiltInLootTables.STRONGHOLD_CORRIDOR
static final ResourceKey
<LootTable> BuiltInLootTables.STRONGHOLD_CROSSING
static final ResourceKey
<LootTable> BuiltInLootTables.STRONGHOLD_LIBRARY
static final ResourceKey
<LootTable> BuiltInLootTables.TOOLSMITH_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.TRAIL_RUINS_ARCHAEOLOGY_COMMON
static final ResourceKey
<LootTable> BuiltInLootTables.TRAIL_RUINS_ARCHAEOLOGY_RARE
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CHAMBER_DISPENSER
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR_DISPENSER
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR_POT
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_ENTRANCE
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_INTERSECTION
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_INTERSECTION_BARREL
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_COMMON
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_COMMON
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_RARE
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_UNIQUE
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_RARE
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_UNIQUE
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_SUPPLY
static final ResourceKey
<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_WATER_DISPENSER
static final ResourceKey
<LootTable> BuiltInLootTables.UNDERWATER_RUIN_BIG
static final ResourceKey
<LootTable> BuiltInLootTables.UNDERWATER_RUIN_SMALL
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_ARMORER
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_BUTCHER
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_CARTOGRAPHER
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_DESERT_HOUSE
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_FISHER
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_FLETCHER
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_MASON
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_PLAINS_HOUSE
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_SAVANNA_HOUSE
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_SHEPHERD
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_SNOWY_HOUSE
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_TAIGA_HOUSE
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_TANNERY
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_TEMPLE
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_TOOLSMITH
static final ResourceKey
<LootTable> BuiltInLootTables.VILLAGE_WEAPONSMITH
static final ResourceKey
<LootTable> BuiltInLootTables.WEAPONSMITH_GIFT
static final ResourceKey
<LootTable> BuiltInLootTables.WOODLAND_MANSION
Modifier and TypeFieldDescriptionprivate static final Set
<ResourceKey<LootTable>> BuiltInLootTables.IMMUTABLE_LOCATIONS
private static final Set
<ResourceKey<LootTable>> BuiltInLootTables.LOCATIONS
private final Set
<ResourceKey<?>> ValidationContext.visitedElements
Modifier and TypeMethodDescriptionprivate static ResourceKey
<LootTable> private static ResourceKey
<LootTable> BuiltInLootTables.register
(ResourceKey<LootTable> p_335977_) LootDataType.registryKey()
Returns the value of theregistryKey
record component.Modifier and TypeMethodDescriptionValidationContext.enterElement
(String p_279180_, ResourceKey<?> p_335771_) boolean
ValidationContext.hasVisitedElement
(ResourceKey<?> p_335626_) private static ResourceKey
<LootTable> BuiltInLootTables.register
(ResourceKey<LootTable> p_335977_) void
LootDataType.Validator.run
(ValidationContext p_279419_, ResourceKey<T> p_335916_, T p_279326_) void
LootDataType.runValidation
(ValidationContext p_279366_, ResourceKey<T> p_336149_, T p_279124_) ModifierConstructorDescriptionprivate
LootDataType
(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, String directory, LootDataType.Validator<T> validator) Deprecated.Neo: use the constructorinvalid reference
with a default value and id setter
LootDataType
(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, String directory, LootDataType.Validator<T> validator, T defaultValue, com.mojang.serialization.Codec<Optional<T>> conditionalCodec, BiConsumer<T, ResourceLocation> idSetter) Creates an instance of aLootDataType
record class.private
LootDataType
(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, String directory, LootDataType.Validator<T> validator, T defaultValue, BiConsumer<T, ResourceLocation> idSetter) ModifierConstructorDescriptionprivate
ValidationContext
(ProblemReporter p_312319_, LootContextParamSet p_279447_, HolderGetter.Provider p_335510_, Set<ResourceKey<?>> p_311760_) -
Uses of ResourceKey in net.minecraft.world.level.storage.loot.entries
Modifier and TypeFieldDescriptionprivate final com.mojang.datafixers.util.Either
<ResourceKey<LootTable>, LootTable> NestedLootTable.contents
Modifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder
<?> NestedLootTable.lootTableReference
(ResourceKey<LootTable> p_335392_) ModifierConstructorDescriptionprivate
NestedLootTable
(com.mojang.datafixers.util.Either<ResourceKey<LootTable>, LootTable> p_330816_, int p_330486_, int p_331616_, List<LootItemCondition> p_330391_, List<LootItemFunction> p_332076_) -
Uses of ResourceKey in net.minecraft.world.level.storage.loot.functions
Modifier and TypeFieldDescriptionprivate final ResourceKey
<LootItemFunction> FunctionReference.name
private final ResourceKey
<LootTable> SetContainerLootTable.name
Modifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder
<?> FunctionReference.functionReference
(ResourceKey<LootItemFunction> p_335382_) static LootItemConditionalFunction.Builder
<?> SetContainerLootTable.withLootTable
(BlockEntityType<?> p_193050_, ResourceKey<LootTable> p_335933_) static LootItemConditionalFunction.Builder
<?> SetContainerLootTable.withLootTable
(BlockEntityType<?> p_193053_, ResourceKey<LootTable> p_335427_, long p_193055_) ModifierConstructorDescriptionprivate
FunctionReference
(List<LootItemCondition> p_298661_, ResourceKey<LootItemFunction> p_335440_) private
SetContainerLootTable
(List<LootItemCondition> p_298290_, ResourceKey<LootTable> p_335525_, long p_193047_, Holder<BlockEntityType<?>> p_298416_) -
Uses of ResourceKey in net.minecraft.world.level.storage.loot.predicates
Modifier and TypeFieldDescriptionprivate final ResourceKey
<LootItemCondition> ConditionReference.name
The field for thename
record component.Modifier and TypeMethodDescriptionConditionReference.name()
Returns the value of thename
record component.Modifier and TypeMethodDescriptionstatic LootItemCondition.Builder
ConditionReference.conditionReference
(ResourceKey<LootItemCondition> p_335879_) ModifierConstructorDescriptionCreates an instance of aConditionReference
record class. -
Uses of ResourceKey in net.neoforged.neoforge.client
Modifier and TypeFieldDescriptionprivate static Map
<ResourceKey<WorldPreset>, PresetEditor> PresetEditorManager.editors
Modifier and TypeMethodDescriptionClientCommandSourceStack.levels()
Returns a set ofResourceKey
for levels from the client side.Modifier and TypeMethodDescriptionstatic @Nullable PresetEditor
PresetEditorManager.get
(ResourceKey<WorldPreset> key) Returns the PresetEditor for the given WorldPreset key, or null if no such PresetEditor exists. -
Uses of ResourceKey in net.neoforged.neoforge.client.event
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<WorldPreset>, PresetEditor> RegisterPresetEditorsEvent.editors
Modifier and TypeMethodDescriptionvoid
RegisterPresetEditorsEvent.register
(ResourceKey<WorldPreset> key, PresetEditor editor) Registers a PresetEditor for a given world preset key.ModifierConstructorDescription -
Uses of ResourceKey in net.neoforged.neoforge.client.model.generators
Modifier and TypeFieldDescriptionprivate static final List
<ResourceKey<TrimMaterial>> ItemModelBuilder.VANILLA_TRIM_MATERIALS
-
Uses of ResourceKey in net.neoforged.neoforge.common
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Biome> BiomeManager.BiomeEntry.key
static final ResourceKey
<DamageType> NeoForgeMod.POISON_DAMAGE
Used in place ofDamageSources.magic()
for damage dealt byMobEffects.POISON
.Modifier and TypeFieldDescriptionprivate static final List
<ResourceKey<Biome>> BiomeManager.additionalOverworldBiomes
private static final List
<ResourceKey<Biome>> BiomeManager.additionalOverworldBiomesView
Modifier and TypeMethodDescriptionstatic List
<ResourceKey<Biome>> BiomeManager.getAdditionalOverworldBiomes()
Modifier and TypeMethodDescriptionstatic void
BiomeManager.addAdditionalOverworldBiomes
(ResourceKey<Biome> biome) Add biomes that you add to the overworld without usingBiomeManager.addBiome(BiomeType, BiomeEntry)
private 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 boolean
CommonHooks.onTravelToDimension
(Entity entity, ResourceKey<Level> dimension) -
Uses of ResourceKey in net.neoforged.neoforge.common.conditions
Modifier and TypeFieldDescriptionprivate @Nullable Map
<ResourceKey<?>, Map<ResourceLocation, Collection<Holder<?>>>> ConditionContext.loadedTags
Modifier and TypeMethodDescription<T> Map
<ResourceLocation, Collection<Holder<T>>> ConditionContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) <T> Map
<ResourceLocation, Collection<Holder<T>>> ICondition.IContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) Return all the loaded tags for the passed registry, or an empty map if none is available. -
Uses of ResourceKey in net.neoforged.neoforge.common.data
Modifier and TypeFieldDescriptionprotected final ResourceKey
<Registry<R>> DataMapProvider.Builder.registryKey
Modifier and TypeFieldDescriptionprivate final Map
<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> DataMapProvider.Builder.values
Modifier and TypeMethodDescriptionDataMapProvider.Builder.add
(ResourceKey<R> key, T value, boolean replace, ICondition... conditions) private void
NeoForgeDamageTypeTagsProvider.tag
(ResourceKey<DamageType> type, TagKey<DamageType>... tags) -
Uses of ResourceKey in net.neoforged.neoforge.common.data.internal
Modifier and TypeMethodDescriptionprivate void
NeoForgeBiomeTagsProvider.tag
(ResourceKey<Biome> biome, TagKey<Biome>... tags) -
Uses of ResourceKey in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptiondefault void
IPlayerListExtension.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 void
IPlayerListExtension.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 void
IPlayerListExtension.broadcastAll
(CustomPacketPayload payload, ResourceKey<Level> targetLevel) Sends a payload to all players within the specific level.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
ModifierConstructorDescriptionAddTableLootModifier
(LootItemCondition[] conditionsIn, ResourceKey<LootTable> table) -
Uses of ResourceKey in net.neoforged.neoforge.common.util
Modifier and TypeMethodDescriptionBlockSnapshot.getDimension()
Returns the recorded dimension key.Modifier and TypeMethodDescriptionstatic BlockSnapshot
BlockSnapshot.create
(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos) Creates a new snapshot with the default block flags (and Block#UPDATE_CLIENTS
.static BlockSnapshot
BlockSnapshot.create
(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, int flag) Creates a new snapshot of the data at the given position.ModifierConstructorDescriptionprivate
BlockSnapshot
(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, BlockState state, @Nullable CompoundTag nbt, int flags) -
Uses of ResourceKey in net.neoforged.neoforge.debug.loot
Modifier and TypeFieldDescriptionprivate static final ResourceKey
<LootTable> LootPoolTest.TEST_LOOT_TABLE_1
private static final ResourceKey
<LootTable> LootPoolTest.TEST_LOOT_TABLE_2
private static final ResourceKey
<LootTable> LootPoolTest.TEST_LOOT_TABLE_3
private static final ResourceKey
<LootTable> LootPoolTest.TEST_LOOT_TABLE_4
-
Uses of ResourceKey in net.neoforged.neoforge.event
Modifier and TypeFieldDescriptionprivate final ResourceKey
<CreativeModeTab> BuildCreativeModeTabContentsEvent.tabKey
Modifier and TypeMethodDescriptionBuildCreativeModeTabContentsEvent.getTabKey()
Returns the key of the creative mode tab currently populating its contents.Modifier and TypeMethodDescriptionstatic void
EventHooks.firePlayerChangedDimensionEvent
(Player player, ResourceKey<Level> fromDim, ResourceKey<Level> toDim) static void
EventHooks.onCreativeModeTabBuildContents
(CreativeModeTab tab, ResourceKey<CreativeModeTab> tabKey, CreativeModeTab.DisplayItemsGenerator originalGenerator, CreativeModeTab.ItemDisplayParameters params, CreativeModeTab.Output output) Fires theBuildCreativeModeTabContentsEvent
.static boolean
EventHooks.onPlayerSpawnSet
(Player player, ResourceKey<Level> levelKey, BlockPos pos, boolean forced) ModifierConstructorDescriptionBuildCreativeModeTabContentsEvent
(CreativeModeTab tab, ResourceKey<CreativeModeTab> tabKey, CreativeModeTab.ItemDisplayParameters parameters, MutableHashedLinkedMap<ItemStack, CreativeModeTab.TabVisibility> entries) -
Uses of ResourceKey in net.neoforged.neoforge.event.entity
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> EntityTravelToDimensionEvent.dimension
ModifierConstructorDescriptionEntityTravelToDimensionEvent
(Entity entity, ResourceKey<Level> dimension) -
Uses of ResourceKey in net.neoforged.neoforge.event.entity.player
Modifier and TypeFieldDescriptionprivate final ResourceKey
<Level> PlayerEvent.PlayerChangedDimensionEvent.fromDim
private final ResourceKey
<Level> PlayerSetSpawnEvent.spawnLevel
private final ResourceKey
<Level> PlayerEvent.PlayerChangedDimensionEvent.toDim
Modifier and TypeMethodDescriptionPlayerEvent.PlayerChangedDimensionEvent.getFrom()
PlayerSetSpawnEvent.getSpawnLevel()
PlayerEvent.PlayerChangedDimensionEvent.getTo()
Modifier and TypeMethodDescriptionvoid
PlayerRespawnPositionEvent.setRespawnLevel
(ResourceKey<Level> respawnLevelResourceKey) Set the level the player will respawn into using aResourceKey
.ModifierConstructorDescriptionPlayerChangedDimensionEvent
(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
Modifier and TypeMethodDescriptionvoid
BlockGrowFeatureEvent.setFeature
(ResourceKey<ConfiguredFeature<?, ?>> featureKey) Changes the feature that will be grown. -
Uses of ResourceKey in net.neoforged.neoforge.network.codec
Modifier and TypeMethodDescriptionstatic <B extends FriendlyByteBuf>
StreamCodec<B, ResourceKey<? extends Registry<?>>> NeoForgeStreamCodecs.registryKey()
Creates a stream codec to encode and decode aResourceKey
that identifies a registry. -
Uses of ResourceKey in net.neoforged.neoforge.network.payload
Modifier and TypeFieldDescriptionprivate final ResourceKey
<? extends Registry<T>> RegistryDataMapSyncPayload.registryKey
The field for theregistryKey
record component.Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<? extends Registry<?>>, List<KnownRegistryDataMapsPayload.KnownDataMap>> KnownRegistryDataMapsPayload.dataMaps
The field for thedataMaps
record component.private final Map
<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> KnownRegistryDataMapsReplyPayload.dataMaps
The field for thedataMaps
record component.private final Map
<ResourceLocation, Map<ResourceKey<T>, ?>> RegistryDataMapSyncPayload.dataMaps
The field for thedataMaps
record component.Modifier and TypeMethodDescriptionResourceKey
<? extends Registry<T>> RegistryDataMapSyncPayload.registryKey()
Returns the value of theregistryKey
record component.Modifier and TypeMethodDescriptionMap
<ResourceKey<? extends Registry<?>>, List<KnownRegistryDataMapsPayload.KnownDataMap>> KnownRegistryDataMapsPayload.dataMaps()
Returns the value of thedataMaps
record component.Map
<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> KnownRegistryDataMapsReplyPayload.dataMaps()
Returns the value of thedataMaps
record component.Map
<ResourceLocation, Map<ResourceKey<T>, ?>> RegistryDataMapSyncPayload.dataMaps()
Returns the value of thedataMaps
record component.ModifierConstructorDescriptionRegistryDataMapSyncPayload
(ResourceKey<? extends Registry<T>> registryKey, Map<ResourceLocation, Map<ResourceKey<T>, ?>> dataMaps) Creates an instance of aRegistryDataMapSyncPayload
record class.ModifierConstructorDescriptionKnownRegistryDataMapsPayload
(Map<ResourceKey<? extends Registry<?>>, List<KnownRegistryDataMapsPayload.KnownDataMap>> dataMaps) Creates an instance of aKnownRegistryDataMapsPayload
record class.KnownRegistryDataMapsReplyPayload
(Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> dataMaps) Creates an instance of aKnownRegistryDataMapsReplyPayload
record class.RegistryDataMapSyncPayload
(ResourceKey<? extends Registry<T>> registryKey, Map<ResourceLocation, Map<ResourceKey<T>, ?>> dataMaps) Creates an instance of aRegistryDataMapSyncPayload
record class. -
Uses of ResourceKey in net.neoforged.neoforge.oldtest
Modifier and TypeFieldDescriptionprivate static final ResourceKey
<Registry<DeferredRegistryTest.Custom>> DeferredRegistryTest.CUSTOM_REGISTRY_KEY
private static final ResourceKey
<CreativeModeTab> CreativeModeTabTest.DAMAGED_SWORDS
private static final ResourceKey
<CreativeModeTab> CreativeModeTabTest.LOGS
private static final ResourceKey
<CreativeModeTab> CreativeModeTabTest.STONE
private static final ResourceKey
<LevelStem> DataGeneratorTest.TEST_LEVEL_STEM
private static final ResourceKey
<NoiseGeneratorSettings> DataGeneratorTest.TEST_SETTINGS
-
Uses of ResourceKey in net.neoforged.neoforge.oldtest.client
Modifier and TypeFieldDescriptionstatic final ResourceKey
<WorldPreset> CustomPresetEditorTest.WORLD_PRESET_KEY
Modifier and TypeMethodDescriptionprivate Button.OnPress
CustomPresetEditorTest.SwampDesertScreen.onPressBiomeButton
(ResourceKey<Biome> biomeKey) CustomPresetEditorTest.SwampDesertScreen.singleBiomeDimension
(ResourceKey<Biome> biomeKey) -
Uses of ResourceKey in net.neoforged.neoforge.oldtest.misc
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<DataPackRegistriesTest.Syncable>> DataPackRegistriesTest.Syncable.REGISTRY_KEY
static final ResourceKey
<Registry<DataPackRegistriesTest.Unsyncable>> DataPackRegistriesTest.Unsyncable.REGISTRY_KEY
-
Uses of ResourceKey in net.neoforged.neoforge.oldtest.world
Modifier and TypeFieldDescriptionprivate static final ResourceKey
<BiomeModifier> BiomeModifierTest.ADD_BASALT_MODIFIER
private static final ResourceKey
<BiomeModifier> BiomeModifierTest.ADD_MAGMA_CUBES_MODIFIER
static final ResourceKey
<Registry<LoginPacketSplitTest.BigData>> LoginPacketSplitTest.BIG_DATA
private static final ResourceKey
<PlacedFeature> BiomeModifierTest.LARGE_BASALT_COLUMNS
private static final ResourceKey
<BiomeModifier> BiomeModifierTest.MODIFY_BADLANDS_MODIFIER
private static final ResourceKey
<BiomeModifier> BiomeModifierTest.REMOVE_FOREST_SKELETONS_MODIFIER
private static final ResourceKey
<BiomeModifier> BiomeModifierTest.REMOVE_FOREST_TREES_MODIFIER
-
Uses of ResourceKey in net.neoforged.neoforge.registries
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<AttachmentType<?>>> NeoForgeRegistries.Keys.ATTACHMENT_TYPES
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends BiomeModifier>>> NeoForgeRegistries.Keys.BIOME_MODIFIER_SERIALIZERS
static final ResourceKey
<Registry<BiomeModifier>> NeoForgeRegistries.Keys.BIOME_MODIFIERS
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends ICondition>>> NeoForgeRegistries.Keys.CONDITION_CODECS
static final ResourceKey
<Registry<ItemDisplayContext>> NeoForgeRegistries.Keys.DISPLAY_CONTEXTS
static final ResourceKey
<Registry<EntityDataSerializer<?>>> NeoForgeRegistries.Keys.ENTITY_DATA_SERIALIZERS
static final ResourceKey
<Registry<FluidIngredientType<?>>> NeoForgeRegistries.Keys.FLUID_INGREDIENT_TYPES
static final ResourceKey
<Registry<FluidType>> NeoForgeRegistries.Keys.FLUID_TYPES
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>>> NeoForgeRegistries.Keys.GLOBAL_LOOT_MODIFIER_SERIALIZERS
static final ResourceKey
<Registry<HolderSetType>> NeoForgeRegistries.Keys.HOLDER_SET_TYPES
static final ResourceKey
<Registry<IngredientType<?>>> NeoForgeRegistries.Keys.INGREDIENT_TYPES
protected final ResourceKey
<R> DeferredHolder.key
The resource key of the target object.private final ResourceKey
<? extends Registry<V>> DeferredRegister.RegistryHolder.registryKey
private final ResourceKey
<? extends Registry<T>> DeferredRegister.registryKey
private final ResourceKey
<? extends Registry<?>> RegisterEvent.registryKey
private final ResourceKey
<? extends Registry<T>> RegistryBuilder.registryKey
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends StructureModifier>>> NeoForgeRegistries.Keys.STRUCTURE_MODIFIER_SERIALIZERS
static final ResourceKey
<Registry<StructureModifier>> NeoForgeRegistries.Keys.STRUCTURE_MODIFIERS
Modifier 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.dataMaps
private static Map
<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegistryManager.dataMaps
private Map
<ResourceKey<? extends Registry<?>>, DataMapLoader.LoadResult<?>> DataMapLoader.results
private static final Set
<ResourceKey<? extends Registry<?>>> DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIES
private static final Set
<ResourceKey<? extends Registry<?>>> DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIES_VIEW
Modifier 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.Modifier 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.Modifier and TypeMethodDescriptionstatic <R,
T extends R>
DeferredHolder<R, T> DeferredHolder.create
(ResourceKey<? extends Registry<R>> registryKey, ResourceLocation valueName) Creates a new DeferredHolder targeting the value with the specified name in the specified registry.static <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 newDeferredHolder
targeting the specifiedBlock
.protected <I extends Block>
DeferredBlock<I> DeferredRegister.Blocks.createHolder
(ResourceKey<? extends Registry<Block>> registryKey, ResourceLocation key) protected <I extends T>
DeferredHolder<T, I> DeferredRegister.createHolder
(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation key) Create aDeferredHolder
or an inheriting type to be stored.protected <I extends Item>
DeferredItem<I> DeferredRegister.Items.createHolder
(ResourceKey<? extends Registry<Item>> registryKey, ResourceLocation key) static <T extends Item>
DeferredItem<T> DeferredItem.createItem
(ResourceKey<Item> key) Creates a newDeferredHolder
targeting the specifiedItem
.<T> void
DataPackRegistryEvent.NewRegistry.dataPackRegistry
(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec) Registers the given registry key as an unsynced datapack registry, which will cause data to be loaded from a datapack folder based on the registry's name.<T> void
DataPackRegistryEvent.NewRegistry.dataPackRegistry
(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec) Registers the registry key as a datapack registry, which will cause data to be loaded from a datapack folder based on the registry's name.RegistryBuilder.defaultKey
(ResourceKey<T> key) <A> A
BaseMappedRegistry.getData
(DataMapType<T, A> type, ResourceKey<T> key) <A> A
IRegistryExtension.getData
(DataMapType<T, A> type, ResourceKey<T> key) Returns the data map value attached with the object with the key, ornull
if there's no attached value.static <R> @Nullable DataMapType
<R, ?> RegistryManager.getDataMap
(ResourceKey<? extends Registry<R>> registry, ResourceLocation key) int
BaseMappedRegistry.getId
(ResourceKey<T> key) int
IRegistryExtension.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) boolean
DeferredHolder.is
(ResourceKey<R> key) Returns true if the passed ResourceKey is the same as this holder's resource key.void
NeoForgeRegistryCallbacks.BlockCallbacks.onAdd
(Registry<Block> registry, int id, ResourceKey<Block> key, Block value) void
NeoForgeRegistryCallbacks.ItemCallbacks.onAdd
(Registry<Item> registry, int id, ResourceKey<Item> key, Item item) void
NeoForgeRegistryCallbacks.PoiTypeCallbacks.onAdd
(Registry<PoiType> registry, int id, ResourceKey<PoiType> key, PoiType value) private static <A,
T> List <DataMapFile<A, T>> DataMapLoader.readData
(RegistryOps<com.google.gson.JsonElement> ops, DataMapType<T, A> attachmentType, ResourceKey<Registry<T>> registryKey, List<Resource> resources) <T> void
RegisterEvent.register
(ResourceKey<? extends Registry<T>> registryKey, Consumer<RegisterEvent.RegisterHelper<T>> consumer) Calls the provided consumer with a register helper if the provided registry key matches this event's registry key.<T> void
RegisterEvent.register
(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation name, Supplier<T> valueSupplier) Registers the value with the given name to the stored registry if the provided registry key matches this event's registry key.default void
RegisterEvent.RegisterHelper.register
(ResourceKey<T> key, T value) Registers the given value with the given name to the registry.protected abstract void
BaseMappedRegistry.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.Modifier and TypeMethodDescriptionprivate static <T> void
RegistryManager.applySnapshot
(MappedRegistry<T> registry, RegistrySnapshot snapshot, Set<ResourceKey<?>> missing) boolean
DeferredHolder.is
(Predicate<ResourceKey<R>> filter) Evaluates the passed predicate against this holder's resource key.ModifierConstructorDescriptionprotected
DeferredBlock
(ResourceKey<Block> key) protected
DeferredHolder
(ResourceKey<R> key) Creates a new DeferredHolder with a ResourceKey.protected
DeferredItem
(ResourceKey<Item> key) protected
DeferredRegister
(ResourceKey<? extends Registry<T>> registryKey, String namespace) (package private)
RegisterEvent
(ResourceKey<? extends Registry<?>> registryKey, Registry<?> registry) RegistryBuilder
(ResourceKey<? extends Registry<T>> registryKey) private
RegistryHolder
(ResourceKey<? extends Registry<V>> registryKey) -
Uses of ResourceKey in net.neoforged.neoforge.registries.callback
-
Uses of ResourceKey in net.neoforged.neoforge.registries.datamaps
Modifier and TypeFieldDescriptionprotected final ResourceKey
<Registry<R>> DataMapType.Builder.registryKey
private final ResourceKey
<Registry<R>> DataMapType.registryKey
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegisterDataMapTypesEvent.attachments
private final com.mojang.datafixers.util.Either
<TagKey<R>, ResourceKey<R>> DataMapEntry.Removal.key
The field for thekey
record component.private final Map
<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> DataMapFile.values
The field for thevalues
record component.Modifier and TypeMethodDescriptionResourceKey
<? extends Registry<?>> DataMapsUpdatedEvent.getRegistryKey()
Returns the key of the registry that had its data maps updated.DataMapType.registryKey()
Returns the key of the registry this data map is for.Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either
<TagKey<R>, ResourceKey<R>> DataMapEntry.Removal.key()
Returns the value of thekey
record component.Map
<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> DataMapFile.values()
Returns the value of thevalues
record component.Modifier and TypeMethodDescriptionstatic <T,
R> AdvancedDataMapType.Builder <T, R, DataMapValueRemover.Default<T, R>> AdvancedDataMapType.builder
(ResourceLocation id, ResourceKey<Registry<R>> registry, com.mojang.serialization.Codec<T> codec) Returns an advanced data map type builder.static <T,
R> DataMapType.Builder <T, R> DataMapType.builder
(ResourceLocation id, ResourceKey<Registry<R>> registry, com.mojang.serialization.Codec<T> codec) Returns a data map type builder.static <T,
R> com.mojang.serialization.Codec <DataMapFile<T, R>> DataMapFile.codec
(ResourceKey<Registry<R>> registryKey, DataMapType<R, T> dataMap) <T> void
DataMapsUpdatedEvent.ifRegistry
(ResourceKey<Registry<T>> type, Consumer<Registry<T>> consumer) Runs the givenconsumer
if the registry is of the giventype
.Modifier 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
.ModifierConstructorDescriptionprivate
AdvancedDataMapType
(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, boolean mandatorySync, com.mojang.serialization.Codec<VR> remover, DataMapValueMerger<R, T> merger) (package private)
Builder
(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec) (package private)
Builder
(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec) (package private)
DataMapType
(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, boolean mandatorySync) ModifierConstructorDescriptionDataMapFile
(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 aDataMapFile
record class.RegisterDataMapTypesEvent
(Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> attachments) private
Removal
(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 aRemoval
record class. -
Uses of ResourceKey in net.neoforged.neoforge.registries.datamaps.builtin
Modifier and TypeFieldDescriptionprivate final ResourceKey
<LootTable> RaidHeroGift.lootTable
The field for thelootTable
record component.Modifier and TypeMethodDescriptionRaidHeroGift.lootTable()
Returns the value of thelootTable
record component.ModifierConstructorDescriptionRaidHeroGift
(ResourceKey<LootTable> lootTable) Creates an instance of aRaidHeroGift
record class. -
Uses of ResourceKey in net.neoforged.neoforge.registries.holdersets
Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.MapCodec
<? extends ICustomHolderSet<T>> AndHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.MapCodec
<? extends ICustomHolderSet<T>> AnyHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.MapCodec
<? extends ICustomHolderSet<T>> NotHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.MapCodec
<? extends ICustomHolderSet<T>> OrHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec
<? extends ICustomHolderSet<T>> HolderSetType.makeCodec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) -
Uses of ResourceKey in net.neoforged.neoforge.server.command
Modifier and TypeFieldDescriptionprivate static final ResourceKey
<Registry<Registry<?>>> DumpCommand.ROOT_REGISTRY_KEY
private static final ResourceKey
<Registry<Registry<?>>> TagsCommand.ROOT_REGISTRY_KEY
Modifier and TypeMethodDescriptionstatic <T> Optional
<ResourceKey<T>> CommandUtils.getResourceKey
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name, ResourceKey<Registry<T>> registryKey) Modifier and TypeMethodDescriptionprivate static int
EntityCommand.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) -
Uses of ResourceKey in net.neoforged.testframework.impl.reg
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<? extends Registry<?>>, DeferredRegister<?>> RegistrationHelperImpl.registrars
Modifier and TypeMethodDescription<T> DeferredRegister
<T> RegistrationHelperImpl.registrar
(ResourceKey<Registry<T>> registry) -
Uses of ResourceKey in net.neoforged.testframework.registration
Modifier and TypeMethodDescriptionprotected <I extends Block>
DeferredBlockBuilder<I> DeferredBlocks.createHolder
(ResourceKey<? extends Registry<Block>> registryKey, ResourceLocation key) protected <I extends EntityType<?>>
DeferredEntityTypeBuilderDeferredEntityTypes.createHolder
(ResourceKey<? extends Registry<EntityType<?>>> registryKey, ResourceLocation key) protected <I extends Item>
DeferredItemBuilder<I> DeferredItems.createHolder
(ResourceKey<? extends Registry<Item>> registryKey, ResourceLocation key) <T> DeferredRegister
<T> RegistrationHelper.registrar
(ResourceKey<Registry<T>> registry) Returns a deferred register for the givenregistry
.DeferredItemBuilder.tab
(ResourceKey<CreativeModeTab> tab) ModifierConstructorDescriptionprotected
DeferredBlockBuilder
(ResourceKey<Block> key, RegistrationHelper helper) protected
DeferredEntityTypeBuilder
(ResourceKey<EntityType<?>> key, RegistrationHelper helper) protected
DeferredItemBuilder
(ResourceKey<Item> key, RegistrationHelper registrationHelper)
PresetEditorManager.get(ResourceKey)
instead.