Uses of Class
net.minecraft.resources.ResourceKey
Packages that use ResourceKey
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Classes for NeoForge's own data generation.
-
Uses of ResourceKey in com.mojang.blaze3d.systems
Methods in com.mojang.blaze3d.systems with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic voidRenderSystem.pushPipelineModifier(ResourceKey<PipelineModifier> modifier) Neo: Push the providedPipelineModifierto be applied to subsequent rendering.static voidRenderSystem.renderWithPipelineModifier(ResourceKey<PipelineModifier> modifier, Runnable renderTask) Neo: Run the providedRunnablewith the providedPipelineModifierapplied to the pipelines used by the rendering done in theRunnable -
Uses of ResourceKey in com.mojang.realmsclient.util
Constructors in com.mojang.realmsclient.util with parameters of type ResourceKey -
Uses of ResourceKey in net.minecraft.advancements
Fields in net.minecraft.advancements with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final ImmutableList.Builder<ResourceKey<LootTable>> AdvancementRewards.Builder.lootprivate final List<ResourceKey<LootTable>> AdvancementRewards.lootThe field for thelootrecord component.private final ImmutableList.Builder<ResourceKey<Recipe<?>>> AdvancementRewards.Builder.recipesprivate final List<ResourceKey<Recipe<?>>> AdvancementRewards.recipesThe field for therecipesrecord component.Methods in net.minecraft.advancements that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionAdvancementRewards.loot()Returns the value of thelootrecord component.List<ResourceKey<Recipe<?>>> AdvancementRewards.recipes()Returns the value of therecipesrecord component.Methods in net.minecraft.advancements with parameters of type ResourceKeyModifier and TypeMethodDescriptionAdvancementRewards.Builder.addLootTable(ResourceKey<LootTable> pLootTable) AdvancementRewards.Builder.addRecipe(ResourceKey<Recipe<?>> pRecipe) static AdvancementRewards.BuilderAdvancementRewards.Builder.loot(ResourceKey<LootTable> pLootTable) static AdvancementRewards.BuilderAdvancementRewards.Builder.recipe(ResourceKey<Recipe<?>> pRecipe) Constructor parameters in net.minecraft.advancements with type arguments of type ResourceKeyModifierConstructorDescriptionAdvancementRewards(int experience, List<ResourceKey<LootTable>> loot, List<ResourceKey<Recipe<?>>> recipes, Optional<CacheableFunction> function) Creates an instance of aAdvancementRewardsrecord class. -
Uses of ResourceKey in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootTable> LootTableTrigger.TriggerInstance.lootTableThe field for thelootTablerecord component.private final ResourceKey<Recipe<?>> RecipeUnlockedTrigger.TriggerInstance.recipeThe field for thereciperecord component.private final ResourceKey<Recipe<?>> RecipeCraftedTrigger.TriggerInstance.recipeIdThe field for therecipeIdrecord component.Fields in net.minecraft.advancements.critereon with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate Optional<ResourceKey<Level>> LocationPredicate.Builder.dimensionprivate final Optional<ResourceKey<Level>> LocationPredicate.dimensionThe field for thedimensionrecord component.private final Optional<ResourceKey<Level>> ChangeDimensionTrigger.TriggerInstance.fromThe field for thefromrecord component.private final it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>> PlayerPredicate.Builder.recipesprivate final it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>> PlayerPredicate.recipesThe field for therecipesrecord component.private final Optional<ResourceKey<Level>> ChangeDimensionTrigger.TriggerInstance.toThe field for thetorecord component.Methods in net.minecraft.advancements.critereon that return ResourceKeyModifier and TypeMethodDescriptionLootTableTrigger.TriggerInstance.lootTable()Returns the value of thelootTablerecord component.ResourceKey<Recipe<?>> RecipeUnlockedTrigger.TriggerInstance.recipe()Returns the value of thereciperecord component.ResourceKey<Recipe<?>> RecipeCraftedTrigger.TriggerInstance.recipeId()Returns the value of therecipeIdrecord component.Methods in net.minecraft.advancements.critereon that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionLocationPredicate.dimension()Returns the value of thedimensionrecord component.ChangeDimensionTrigger.TriggerInstance.from()Returns the value of thefromrecord component.it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>> PlayerPredicate.recipes()Returns the value of therecipesrecord component.ChangeDimensionTrigger.TriggerInstance.to()Returns the value of thetorecord component.Methods in net.minecraft.advancements.critereon with parameters of type ResourceKeyModifier and TypeMethodDescriptionPlayerPredicate.Builder.addRecipe(ResourceKey<Recipe<?>> pRecipe, boolean pUnlocked) ChangeDimensionTrigger.TriggerInstance.changedDimension(ResourceKey<Level> pFrom, ResourceKey<Level> pTo) ChangeDimensionTrigger.TriggerInstance.changedDimensionFrom(ResourceKey<Level> pFrom) ChangeDimensionTrigger.TriggerInstance.changedDimensionTo(ResourceKey<Level> pTo) static <T> com.mojang.serialization.Codec<TagPredicate<T>> TagPredicate.codec(ResourceKey<? extends Registry<T>> pRegistryKey) RecipeCraftedTrigger.TriggerInstance.craftedItem(ResourceKey<Recipe<?>> pRecipeId) RecipeCraftedTrigger.TriggerInstance.craftedItem(ResourceKey<Recipe<?>> pRecipeId, List<ItemPredicate.Builder> pIngredients) RecipeCraftedTrigger.TriggerInstance.crafterCraftedItem(ResourceKey<Recipe<?>> pRecipeId) static LocationPredicate.BuilderLocationPredicate.Builder.inDimension(ResourceKey<Level> pDimension) LootTableTrigger.TriggerInstance.lootTableUsed(ResourceKey<LootTable> pLootTable) booleanChangeDimensionTrigger.TriggerInstance.matches(ResourceKey<Level> pFromLevel, ResourceKey<Level> pToLevel) booleanLootTableTrigger.TriggerInstance.matches(ResourceKey<LootTable> pLootTable) (package private) booleanRecipeCraftedTrigger.TriggerInstance.matches(ResourceKey<Recipe<?>> pRecipeId, List<ItemStack> pIngredients) LocationPredicate.Builder.setDimension(ResourceKey<Level> pDimension) voidChangeDimensionTrigger.trigger(ServerPlayer pPlayer, ResourceKey<Level> pFromLevel, ResourceKey<Level> pToLevel) voidLootTableTrigger.trigger(ServerPlayer pPlayer, ResourceKey<LootTable> pLootTable) voidRecipeCraftedTrigger.trigger(ServerPlayer pPlayer, ResourceKey<Recipe<?>> pRecipeId, List<ItemStack> pIngredients) RecipeUnlockedTrigger.unlocked(ResourceKey<Recipe<?>> pRecipe) Constructors in net.minecraft.advancements.critereon with parameters of type ResourceKeyModifierConstructorDescriptionTriggerInstance(Optional<ContextAwarePredicate> player, ResourceKey<LootTable> lootTable) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, ResourceKey<Recipe<?>> recipeId, List<ItemPredicate> ingredients) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, ResourceKey<Recipe<?>> recipe) Creates an instance of aTriggerInstancerecord class.Constructor parameters in net.minecraft.advancements.critereon with type arguments of type ResourceKeyModifierConstructorDescriptionPlayerPredicate(MinMaxBounds.Ints level, GameTypePredicate gameType, List<PlayerPredicate.StatMatcher<?>> stats, it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>> recipes, Map<ResourceLocation, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> lookingAt, Optional<InputPredicate> input) Creates an instance of aPlayerPredicaterecord class. -
Uses of ResourceKey in net.minecraft.client.data
Fields in net.minecraft.client.data with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final List<ResourceKey<TrimPattern>> AtlasProvider.VANILLA_PATTERNS -
Uses of ResourceKey in net.minecraft.client.data.models
Fields in net.minecraft.client.data.models declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<TrimMaterial> ItemModelGenerators.TrimMaterialData.materialKeyThe field for thematerialKeyrecord component.Methods in net.minecraft.client.data.models that return ResourceKeyModifier and TypeMethodDescriptionItemModelGenerators.TrimMaterialData.materialKey()Returns the value of thematerialKeyrecord component.Methods in net.minecraft.client.data.models with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidItemModelGenerators.generateTrimmableItem(Item pItem, ResourceKey<EquipmentAsset> pEquipmentAsset, ResourceLocation pModelId, boolean pUsesSecondLayer) Method parameters in net.minecraft.client.data.models with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidEquipmentAssetProvider.bootstrap(BiConsumer<ResourceKey<EquipmentAsset>, EquipmentClientInfo> pOutput) private static voidWaypointStyleProvider.bootstrap(BiConsumer<ResourceKey<WaypointStyleAsset>, WaypointStyle> pConsumer) protected voidEquipmentAssetProvider.registerModels(BiConsumer<ResourceKey<EquipmentAsset>, EquipmentClientInfo> output) Constructors in net.minecraft.client.data.models with parameters of type ResourceKeyModifierConstructorDescriptionTrimMaterialData(MaterialAssetGroup assets, ResourceKey<TrimMaterial> materialKey) Creates an instance of aTrimMaterialDatarecord class. -
Uses of ResourceKey in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens declared as ResourceKeyModifier and TypeFieldDescriptionprivate static final ResourceKey<Biome> PresetFlatWorldScreen.DEFAULT_BIOME -
Uses of ResourceKey in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<FlatLevelGeneratorPreset> InitialWorldCreationOptions.flatLevelPresetThe field for theflatLevelPresetrecord component.Fields in net.minecraft.client.gui.screens.worldselection with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final ToIntFunction<ResourceKey<Level>> OptimizeWorldScreen.DIMENSION_COLORSstatic final Map<Optional<ResourceKey<WorldPreset>>, PresetEditor> PresetEditor.EDITORSDeprecated.Methods in net.minecraft.client.gui.screens.worldselection that return ResourceKeyModifier and TypeMethodDescriptionInitialWorldCreationOptions.flatLevelPreset()Returns the value of theflatLevelPresetrecord component.Methods in net.minecraft.client.gui.screens.worldselection with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidCreateWorldScreen.openCreateWorldScreen(Minecraft pMinecraft, Screen pLastScreen, Function<WorldLoader.DataLoadContext, WorldGenSettings> pWorldGenSettingsGetter, WorldCreationContextMapper pCreationContextMapper, ResourceKey<WorldPreset> pPreset, CreateWorldCallback pCreateWorldCallback) Method parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static Optional<Holder<WorldPreset>> WorldCreationUiState.findPreset(WorldCreationContext pContext, Optional<ResourceKey<WorldPreset>> pPreset) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type ResourceKeyModifierConstructorDescriptionInitialWorldCreationOptions(WorldCreationUiState.SelectedGameMode selectedGameMode, Set<GameRules.Key<GameRules.BooleanValue>> disabledGameRules, ResourceKey<FlatLevelGeneratorPreset> flatLevelPreset) Creates an instance of aInitialWorldCreationOptionsrecord class.Constructor parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type ResourceKeyModifierConstructorDescriptionprivateCreateWorldScreen(Minecraft pMinecraft, Screen pLastScreen, WorldCreationContext pContext, Optional<ResourceKey<WorldPreset>> pPreset, OptionalLong pSeed, CreateWorldCallback pCreateWorldCallback) WorldCreationUiState(Path pSavesFolder, WorldCreationContext pSettings, Optional<ResourceKey<WorldPreset>> pPreset, OptionalLong pSeed) -
Uses of ResourceKey in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer with type parameters of type ResourceKeyModifier and TypeFieldDescription(package private) final Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> RegistryDataCollector.ContentsCollector.elementsprivate final Map<ResourceKey<RecipePropertySet>, RecipePropertySet> ClientRecipeContainer.itemSetsprivate Set<ResourceKey<Level>> ClientPacketListener.levelsprivate final Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> RegistryDataCollector.TagCollector.tagsMethods in net.minecraft.client.multiplayer that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionClientPacketListener.levels()ClientSuggestionProvider.levels()Methods in net.minecraft.client.multiplayer with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidRegistryDataCollector.ContentsCollector.append(ResourceKey<? extends Registry<?>> pRegistryKey, List<RegistrySynchronization.PackedRegistryEntry> pEntries) voidRegistryDataCollector.TagCollector.append(ResourceKey<? extends Registry<?>> pRegistryKey, TagNetworkSerialization.NetworkPayload pPayload) voidRegistryDataCollector.appendContents(ResourceKey<? extends Registry<?>> pRegistryKey, List<RegistrySynchronization.PackedRegistryEntry> pRegistryEntries) private ReceivingLevelScreen.ReasonClientPacketListener.determineLevelLoadingReason(boolean pDying, ResourceKey<Level> pSpawnDimension, ResourceKey<Level> pCurrentDimension) ClientRecipeContainer.propertySet(ResourceKey<RecipePropertySet> pPropertySet) private static <T> Registry.PendingTags<T> RegistryDataCollector.resolveRegistryTags(RegistryAccess.Frozen pRegistryAccess, ResourceKey<? extends Registry<? extends T>> pRegistryKey, TagNetworkSerialization.NetworkPayload pPayload) private voidClientPacketListener.startWaitingForNewLevel(LocalPlayer pPlayer, ClientLevel pLevel, ReceivingLevelScreen.Reason pReason, ResourceKey<Level> toDimension, ResourceKey<Level> fromDimension) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> ClientSuggestionProvider.suggestRegistryElements(ResourceKey<? extends Registry<?>> pRegistryKey, SharedSuggestionProvider.ElementSuggestionType pType, com.mojang.brigadier.suggestion.SuggestionsBuilder pBuilder, com.mojang.brigadier.context.CommandContext<?> pContext) private <T> Registry.PendingTags<T> ClientPacketListener.updateTags(ResourceKey<? extends Registry<? extends T>> pRegistryKey, TagNetworkSerialization.NetworkPayload pPayload) Method parameters in net.minecraft.client.multiplayer with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidRegistryDataCollector.addCrashDetails(CrashReport pCrashReport, Map<ResourceKey<? extends Registry<?>>, RegistryDataLoader.NetworkedRegistryData> pDynamicRegistries, List<Registry.PendingTags<?>> pStaticRegistries) voidRegistryDataCollector.appendTags(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> pTags) voidRegistryDataCollector.TagCollector.forEach(BiConsumer<? super ResourceKey<? extends Registry<?>>, ? super TagNetworkSerialization.NetworkPayload> pAction) Constructors in net.minecraft.client.multiplayer with parameters of type ResourceKeyModifierConstructorDescriptionClientLevel(ClientPacketListener pConnection, ClientLevel.ClientLevelData pLevelData, ResourceKey<Level> pDimension, Holder<DimensionType> pDimensionTypeRegistration, int pViewDistance, int pServerSimulationDistance, LevelRenderer pLevelRenderer, boolean pIsDebug, long pBiomeZoomSeed, int pSeaLevel) Constructor parameters in net.minecraft.client.multiplayer with type arguments of type ResourceKeyModifierConstructorDescriptionClientRecipeContainer(Map<ResourceKey<RecipePropertySet>, RecipePropertySet> pItemSets, SelectableRecipe.SingleInputSet<StonecutterRecipe> pStonecutterRecipes) -
Uses of ResourceKey in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic final Map<ResourceKey<DecoratedPotPattern>, Material> Sheets.DECORATED_POT_MATERIALSMethods in net.minecraft.client.renderer with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic MaterialSheets.getDecoratedPotMaterial(ResourceKey<DecoratedPotPattern> pKey) -
Uses of ResourceKey in net.minecraft.client.renderer.debug
Fields in net.minecraft.client.renderer.debug declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<GameEvent> GameEventListenerRenderer.TrackedGameEvent.gameEventThe field for thegameEventrecord component.Fields in net.minecraft.client.renderer.debug with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<Level>, Map<String, BoundingBox>> StructureRenderer.postMainBoxesprivate final Map<ResourceKey<Level>, Map<String, StructuresDebugPayload.PieceInfo>> StructureRenderer.postPiecesMethods in net.minecraft.client.renderer.debug that return ResourceKeyModifier and TypeMethodDescriptionGameEventListenerRenderer.TrackedGameEvent.gameEvent()Returns the value of thegameEventrecord component.Methods in net.minecraft.client.renderer.debug with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidStructureRenderer.addBoundingBox(BoundingBox pBoundingBox, List<StructuresDebugPayload.PieceInfo> pPieces, ResourceKey<Level> pDimension) voidGameEventListenerRenderer.trackGameEvent(ResourceKey<GameEvent> pGameEvent, Vec3 pPosition) Constructors in net.minecraft.client.renderer.debug with parameters of type ResourceKeyModifierConstructorDescription(package private)TrackedGameEvent(long timeStamp, ResourceKey<GameEvent> gameEvent, Vec3 position) Creates an instance of aTrackedGameEventrecord class. -
Uses of ResourceKey in net.minecraft.client.renderer.entity.layers
Fields in net.minecraft.client.renderer.entity.layers declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<EquipmentAsset> EquipmentLayerRenderer.TrimSpriteKey.equipmentAssetIdThe field for theequipmentAssetIdrecord component.Fields in net.minecraft.client.renderer.entity.layers with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceKey<VillagerProfession>, VillagerMetadataSection.Hat> VillagerProfessionLayer.professionHatCacheprivate final it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceKey<VillagerType>, VillagerMetadataSection.Hat> VillagerProfessionLayer.typeHatCacheMethods in net.minecraft.client.renderer.entity.layers that return ResourceKeyModifier and TypeMethodDescriptionEquipmentLayerRenderer.TrimSpriteKey.equipmentAssetId()Returns the value of theequipmentAssetIdrecord component.Methods in net.minecraft.client.renderer.entity.layers with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidLlamaDecorLayer.renderEquipment(PoseStack pPoseStack, MultiBufferSource pBufferSource, LlamaRenderState pRenderState, ItemStack pStack, ResourceKey<EquipmentAsset> pEquipmentAsset, int pPackedLight) voidEquipmentLayerRenderer.renderLayers(EquipmentClientInfo.LayerType pLayerType, ResourceKey<EquipmentAsset> pEquipmentAsset, Model pArmorModel, ItemStack pItem, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight) voidEquipmentLayerRenderer.renderLayers(EquipmentClientInfo.LayerType pLayerType, ResourceKey<EquipmentAsset> pEquipmentAsset, Model pArmorModel, ItemStack pItem, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, ResourceLocation pPlayerTexture) Method parameters in net.minecraft.client.renderer.entity.layers with type arguments of type ResourceKeyModifier and TypeMethodDescriptionVillagerProfessionLayer.getHatData(it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceKey<K>, VillagerMetadataSection.Hat> pCache, String pFolder, Holder<K> pKey) Constructors in net.minecraft.client.renderer.entity.layers with parameters of type ResourceKeyModifierConstructorDescription(package private)TrimSpriteKey(ArmorTrim trim, EquipmentClientInfo.LayerType layerType, ResourceKey<EquipmentAsset> equipmentAssetId) Creates an instance of aTrimSpriteKeyrecord class. -
Uses of ResourceKey in net.minecraft.client.renderer.item.properties.select
Fields in net.minecraft.client.renderer.item.properties.select with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic final SelectItemModelProperty.Type<ContextDimension, ResourceKey<Level>> ContextDimension.TYPEstatic final SelectItemModelProperty.Type<ContextEntityType, ResourceKey<EntityType<?>>> ContextEntityType.TYPEstatic final SelectItemModelProperty.Type<TrimMaterialProperty, ResourceKey<TrimMaterial>> TrimMaterialProperty.TYPEstatic final com.mojang.serialization.Codec<ResourceKey<Level>> ContextDimension.VALUE_CODECstatic final com.mojang.serialization.Codec<ResourceKey<EntityType<?>>> ContextEntityType.VALUE_CODECstatic final com.mojang.serialization.Codec<ResourceKey<TrimMaterial>> TrimMaterialProperty.VALUE_CODECMethods in net.minecraft.client.renderer.item.properties.select that return ResourceKeyModifier and TypeMethodDescriptionContextDimension.get(ItemStack p_390388_, ClientLevel p_390477_, LivingEntity p_390423_, int p_390520_, ItemDisplayContext p_390452_) ContextEntityType.get(ItemStack p_390525_, ClientLevel p_390442_, LivingEntity p_390437_, int p_390427_, ItemDisplayContext p_390397_) TrimMaterialProperty.get(ItemStack p_387701_, ClientLevel p_388261_, LivingEntity p_387373_, int p_388817_, ItemDisplayContext p_386970_) Methods in net.minecraft.client.renderer.item.properties.select that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionContextDimension.type()ContextEntityType.type()TrimMaterialProperty.type()com.mojang.serialization.Codec<ResourceKey<Level>> ContextDimension.valueCodec()com.mojang.serialization.Codec<ResourceKey<EntityType<?>>> ContextEntityType.valueCodec()com.mojang.serialization.Codec<ResourceKey<TrimMaterial>> TrimMaterialProperty.valueCodec() -
Uses of ResourceKey in net.minecraft.client.resources
Fields in net.minecraft.client.resources with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate Map<ResourceKey<WaypointStyleAsset>, WaypointStyle> WaypointStyleManager.waypointStylesMethods in net.minecraft.client.resources with parameters of type ResourceKey -
Uses of ResourceKey in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate Map<ResourceKey<EquipmentAsset>, EquipmentClientInfo> EquipmentAssetManager.equipmentAssetsMethods in net.minecraft.client.resources.model with parameters of type ResourceKey -
Uses of ResourceKey in net.minecraft.commands
Methods in net.minecraft.commands that return types with arguments of type ResourceKeyMethods in net.minecraft.commands with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate Optional<? extends HolderLookup<?>> CommandSourceStack.getLookup(ResourceKey<? extends Registry<?>> pRegistryKey) static <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.listSuggestions(com.mojang.brigadier.context.CommandContext<S> pContext, com.mojang.brigadier.suggestion.SuggestionsBuilder pBuilder, ResourceKey<? extends Registry<?>> pRegistryKey, SharedSuggestionProvider.ElementSuggestionType pType) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> CommandSourceStack.suggestRegistryElements(ResourceKey<? extends Registry<?>> pRegistryKey, SharedSuggestionProvider.ElementSuggestionType pType, com.mojang.brigadier.suggestion.SuggestionsBuilder pBuilder, com.mojang.brigadier.context.CommandContext<?> pContext) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestRegistryElements(ResourceKey<? extends Registry<?>> pRegistryKey, SharedSuggestionProvider.ElementSuggestionType pType, com.mojang.brigadier.suggestion.SuggestionsBuilder pBuilder, com.mojang.brigadier.context.CommandContext<?> pContext) -
Uses of ResourceKey in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<T> ResourceOrIdArgument.ReferenceResult.keyThe field for thekeyrecord component.private final ResourceKey<T> ResourceOrTagKeyArgument.ResourceResult.keyThe field for thekeyrecord component.(package private) final ResourceKey<? extends Registry<T>> ResourceArgument.Info.Template.registryKey(package private) final ResourceKey<? extends Registry<T>> ResourceArgument.registryKey(package private) final ResourceKey<? extends Registry<T>> ResourceKeyArgument.Info.Template.registryKey(package private) final ResourceKey<? extends Registry<T>> ResourceKeyArgument.registryKeyprivate final ResourceKey<? extends Registry<T>> ResourceOrIdArgument.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(package private) final ResourceKey<? extends Registry<T>> ResourceSelectorArgument.Info.Template.registryKey(package private) final ResourceKey<? extends Registry<T>> ResourceSelectorArgument.registryKeyMethods in net.minecraft.commands.arguments that return ResourceKeyModifier and TypeMethodDescriptionstatic <T> ResourceKey<T> ResourceKeyArgument.getRegistryKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType pException) ResourceOrIdArgument.ReferenceResult.key()Returns the value of thekeyrecord component.ResourceOrTagKeyArgument.ResourceResult.key()Returns the value of thekeyrecord component.ResourceKeyArgument.parse(com.mojang.brigadier.StringReader pReader) Methods in net.minecraft.commands.arguments that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<ResourceKey<T>, TagKey<T>> ResourceOrTagKeyArgument.ResourceResult.unwrap()com.mojang.datafixers.util.Either<ResourceKey<T>, TagKey<T>> ResourceOrTagKeyArgument.Result.unwrap()com.mojang.datafixers.util.Either<ResourceKey<T>, TagKey<T>> ResourceOrTagKeyArgument.TagResult.unwrap()Methods in net.minecraft.commands.arguments with parameters of type ResourceKeyModifier and TypeMethodDescription<E> Optional<ResourceOrTagArgument.Result<E>> ResourceOrTagArgument.ResourceResult.cast(ResourceKey<? extends Registry<E>> pRegistryKey) <E> Optional<ResourceOrTagArgument.Result<E>> ResourceOrTagArgument.Result.cast(ResourceKey<? extends Registry<E>> pRegistryKey) <E> Optional<ResourceOrTagArgument.Result<E>> ResourceOrTagArgument.TagResult.cast(ResourceKey<? extends Registry<E>> pRegistryKey) ResourceOrTagKeyArgument.ResourceResult.cast(ResourceKey<? extends Registry<E>> pRegistryKey) ResourceOrTagKeyArgument.Result.cast(ResourceKey<? extends Registry<E>> pRegistryKey) ResourceOrTagKeyArgument.TagResult.cast(ResourceKey<? extends Registry<E>> pRegistryKey) static <T,O> Grammar <ResourceOrIdArgument.Result<T, O>> ResourceOrIdArgument.createGrammar(ResourceKey<? extends Registry<T>> pRegistryKey, com.mojang.serialization.DynamicOps<O> pOps) private static <T> Registry<T> ResourceKeyArgument.getRegistry(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, ResourceKey<? extends Registry<T>> pRegistryKey) static <T> ResourceKey<T> ResourceKeyArgument.getRegistryKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType pException) static <T> Holder.Reference<T> ResourceArgument.getResource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey) static <T> ResourceOrTagArgument.Result<T> ResourceOrTagArgument.getResourceOrTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey) static <T> ResourceOrTagKeyArgument.Result<T> ResourceOrTagKeyArgument.getResourceOrTagKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType pDynamicCommandExceptionType) static <T> ResourceKeyArgument<T> ResourceKeyArgument.key(ResourceKey<? extends Registry<T>> pRegistryKey) private static <T> Holder.Reference<T> ResourceKeyArgument.resolveKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType pException) static <T> ResourceArgument<T> ResourceArgument.resource(CommandBuildContext pContext, ResourceKey<? extends Registry<T>> pRegistryKey) static <T> ResourceOrTagArgument<T> ResourceOrTagArgument.resourceOrTag(CommandBuildContext pContext, ResourceKey<? extends Registry<T>> pRegistryKey) static <T> ResourceOrTagKeyArgument<T> ResourceOrTagKeyArgument.resourceOrTagKey(ResourceKey<? extends Registry<T>> pRegistryKey) static <T> ResourceSelectorArgument<T> ResourceSelectorArgument.resourceSelector(CommandBuildContext pBuildContext, ResourceKey<? extends Registry<T>> pRegistryKey) Constructors in net.minecraft.commands.arguments with parameters of type ResourceKeyModifierConstructorDescriptionReferenceResult(ResourceKey<T> key) Creates an instance of aReferenceResultrecord class.ResourceArgument(CommandBuildContext pContext, ResourceKey<? extends Registry<T>> pRegistryKey) ResourceKeyArgument(ResourceKey<? extends Registry<T>> pRegistryKey) protectedResourceOrIdArgument(CommandBuildContext pRegistryLookup, ResourceKey<? extends Registry<T>> pRegistryKey, com.mojang.serialization.Codec<T> pCodec) ResourceOrTagArgument(CommandBuildContext pContext, ResourceKey<? extends Registry<T>> pRegistryKey) ResourceOrTagKeyArgument(ResourceKey<? extends Registry<T>> pRegistryKey) (package private)ResourceResult(ResourceKey<T> key) Creates an instance of aResourceResultrecord class.(package private)ResourceSelectorArgument(CommandBuildContext pBuildContext, ResourceKey<? extends Registry<T>> pRegistryKey) (package private)Template(ResourceKey<? extends Registry<T>> pRegistryKey) (package private)Template(ResourceKey<? extends Registry<T>> pRegistryKey) (package private)Template(ResourceKey<? extends Registry<T>> pRegistryKey) (package private)Template(ResourceKey<? extends Registry<T>> pRegistryKey) (package private)Template(ResourceKey<? extends Registry<T>> pRegistryKey) -
Uses of ResourceKey in net.minecraft.core
Fields in net.minecraft.core declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> GlobalPos.dimensionThe field for thedimensionrecord component.private ResourceKey<T> Holder.Reference.keyprivate final ResourceKey<? extends Registry<T>> MappedRegistry.keyprivate final ResourceKey<? extends Registry<T>> RegistryAccess.RegistryEntry.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<? extends T>> RegistrySetBuilder.RegistryContents.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<T>> RegistrySetBuilder.RegistryStub.keyThe field for thekeyrecord component.Fields in net.minecraft.core with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<T>, Holder.Reference<T>> MappedRegistry.byKeyprivate final Map<ResourceKey<? extends Registry<?>>, Cloner<?>> Cloner.Factory.codecs(package private) final Map<ResourceKey<Object>, Holder.Reference<Object>> RegistrySetBuilder.UniversalLookup.holdersprivate static final Set<ResourceKey<? extends Registry<?>>> RegistrySynchronization.NETWORKABLE_REGISTRIESprivate final Map<ResourceKey<?>, RegistrySetBuilder.RegisteredValue<?>> RegistrySetBuilder.BuildState.registeredValuesThe field for theregisteredValuesrecord component.private final Map<ResourceKey<T>, RegistrationInfo> MappedRegistry.registrationInfosprivate final Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> RegistryAccess.ImmutableRegistryAccess.registriesprivate final Map<ResourceKey<T>, RegistrySetBuilder.ValueAndHolder<T>> RegistrySetBuilder.RegistryContents.valuesThe field for thevaluesrecord component.Methods in net.minecraft.core that return ResourceKeyModifier and TypeMethodDescriptionGlobalPos.dimension()Returns the value of thedimensionrecord component.@Nullable ResourceKey<T> Holder.Reference.getKey()Holder.Reference.key()default ResourceKey<? extends Registry<? extends T>> HolderLookup.RegistryLookup.Delegate.key()ResourceKey<? extends Registry<? extends T>> HolderLookup.RegistryLookup.key()ResourceKey<? extends Registry<T>> MappedRegistry.key()ResourceKey<? extends Registry<T>> Registry.key()ResourceKey<? extends Registry<? extends T>> Registry.PendingTags.key()ResourceKey<? extends Registry<T>> RegistryAccess.RegistryEntry.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<? extends T>> RegistrySetBuilder.RegistryContents.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<T>> RegistrySetBuilder.RegistryStub.key()Returns the value of thekeyrecord component.Methods in net.minecraft.core that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static Map<ResourceKey<? extends Registry<?>>, Registry<?>> LayeredRegistryAccess.collectRegistries(Stream<? extends RegistryAccess> pAccesses) 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 pValue) Registry.getResourceKey(T pValue) default Stream<ResourceKey<T>> HolderLookup.listElementIds()RegistrySetBuilder.UniversalLookup.listElementIds()Stream<ResourceKey<? extends Registry<?>>> HolderLookup.Provider.listRegistryKeys()default Stream<ResourceKey<? extends Registry<?>>> RegistryAccess.listRegistryKeys()RegistrySetBuilder.BuildState.registeredValues()Returns the value of theregisteredValuesrecord component.Set<ResourceKey<T>> MappedRegistry.registryKeySet()Set<ResourceKey<T>> Registry.registryKeySet()com.mojang.datafixers.util.Either<ResourceKey<T>, T> Holder.Direct.unwrap()com.mojang.datafixers.util.Either<ResourceKey<T>, T> Holder.Reference.unwrap()com.mojang.datafixers.util.Either<ResourceKey<T>, T> Holder.unwrap()Holder.Direct.unwrapKey()Holder.Reference.unwrapKey()Holder.unwrapKey()RegistrySetBuilder.RegistryContents.values()Returns the value of thevaluesrecord component.Methods in net.minecraft.core with parameters of type ResourceKeyModifier and TypeMethodDescriptionRegistrySetBuilder.add(ResourceKey<? extends Registry<T>> pKey, com.mojang.serialization.Lifecycle pLifecycle, RegistrySetBuilder.RegistryBootstrap<T> pBootstrap) RegistrySetBuilder.add(ResourceKey<? extends Registry<T>> pKey, RegistrySetBuilder.RegistryBootstrap<T> pBootstrap) <T> Cloner.FactoryCloner.Factory.addCodec(ResourceKey<? extends Registry<? extends T>> pRegistryKey, com.mojang.serialization.Codec<T> pCodec) (package private) voidHolder.Reference.bindKey(ResourceKey<T> pKey) <T> Cloner<T> Cloner.Factory.cloner(ResourceKey<? extends Registry<? extends T>> pRegistryKey) booleanMappedRegistry.containsKey(ResourceKey<T> pKey) booleanRegistry.containsKey(ResourceKey<T> pKey) private <T> HolderLookup.RegistryLookup<T> RegistrySetBuilder.createLazyFullPatchedRegistries(HolderOwner<T> pOwner, Cloner.Factory pClonerFactory, ResourceKey<? extends Registry<? extends T>> pRegistryKey, HolderLookup.Provider pRegistryLookupProvider, HolderLookup.Provider pLookupProvider, org.apache.commons.lang3.mutable.MutableObject<HolderLookup.Provider> pObject) static <T> Holder.Reference<T> Holder.Reference.createStandAlone(HolderOwner<T> pOwner, ResourceKey<T> pKey) private static <T> RegistryAccess.RegistryEntry<T> RegistryAccess.RegistryEntry.fromUntyped(ResourceKey<? extends Registry<?>> pKey, Registry<?> pValue) HolderGetter.get(ResourceKey<T> pResourceKey) default <T> Optional<Holder.Reference<T>> HolderGetter.Provider.get(ResourceKey<T> pKey) default Optional<Holder.Reference<T>> HolderLookup.RegistryLookup.Delegate.get(ResourceKey<T> p_255619_) MappedRegistry.get(ResourceKey<T> pResourceKey) RegistrySetBuilder.UniversalLookup.get(ResourceKey<Object> pResourceKey) default <A> AHolderLookup.RegistryLookup.Delegate.getData(DataMapType<T, A> attachment, ResourceKey<T> key) default <A> AHolderLookup.RegistryLookup.getData(DataMapType<T, A> type, ResourceKey<T> key) Returns the data map value attached with the object with the key, ornullif there's no attached value.intMappedRegistry.getId(ResourceKey<T> key) Registry.getOptional(ResourceKey<T> pRegistryKey) (package private) <T> Holder.Reference<T> RegistrySetBuilder.UniversalLookup.getOrCreate(ResourceKey<T> pKey) (package private) Holder.Reference<T> MappedRegistry.getOrCreateHolderOrThrow(ResourceKey<T> pKey) default Holder.Reference<T> HolderGetter.getOrThrow(ResourceKey<T> pResourceKey) default <T> Holder.Reference<T> HolderGetter.Provider.getOrThrow(ResourceKey<T> pKey) MappedRegistry.getValue(ResourceKey<T> pKey) Registry.getValue(ResourceKey<T> pKey) default TRegistry.getValueOrThrow(ResourceKey<T> pKey) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> pRegistryKey) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> pRegistryKey, boolean pDisallowInline) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> pRegistryKey, com.mojang.serialization.Codec<E> pElementCodec) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> pRegistryKey, com.mojang.serialization.Codec<E> pElementCodec, boolean pDisallowInline) booleanHolder.Direct.is(ResourceKey<T> p_205725_) booleanHolder.is(ResourceKey<T> pResourceKey) booleanHolder.Reference.is(ResourceKey<T> pResourceKey) booleanGlobalPos.isCloseEnough(ResourceKey<Level> pDimension, BlockPos pPos, int pMaxDistance) static booleanRegistrySynchronization.isNetworkable(ResourceKey<? extends Registry<?>> pRegistryKey) <T> Optional<? extends HolderGetter<T>> HolderGetter.Provider.lookup(ResourceKey<? extends Registry<? extends T>> pRegistryKey) <T> Optional<? extends HolderLookup.RegistryLookup<T>> HolderLookup.Provider.lookup(ResourceKey<? extends Registry<? extends T>> pRegistryKey) RegistryAccess.ImmutableRegistryAccess.lookup(ResourceKey<? extends Registry<? extends E>> pRegistryKey) RegistryAccess.lookup(ResourceKey<? extends Registry<? extends E>> pRegistryKey) (package private) static <T> HolderLookup.RegistryLookup<T> RegistrySetBuilder.lookupFromMap(ResourceKey<? extends Registry<? extends T>> pRegistryKey, com.mojang.serialization.Lifecycle pRegistryLifecycle, HolderOwner<T> pOwner, Map<ResourceKey<T>, Holder.Reference<T>> pElements) default <T> HolderGetter<T> HolderGetter.Provider.lookupOrThrow(ResourceKey<? extends Registry<? extends T>> pRegistryKey) default <T> HolderLookup.RegistryLookup<T> HolderLookup.Provider.lookupOrThrow(ResourceKey<? extends Registry<? extends T>> p_255957_) default <E> Registry<E> RegistryAccess.lookupOrThrow(ResourceKey<? extends Registry<? extends E>> pRegistryKey) static GlobalPosGlobalPos.of(ResourceKey<Level> p_122644_, BlockPos p_122645_) DefaultedMappedRegistry.register(ResourceKey<T> pKey, T pValue, RegistrationInfo pRegistrationInfo) MappedRegistry.register(int id, ResourceKey<T> p_256252_, T p_256591_, RegistrationInfo p_326235_) MappedRegistry.register(ResourceKey<T> pKey, T pValue, RegistrationInfo pRegistrationInfo) static <V,T extends V>
TRegistry.register(Registry<V> pRegistry, ResourceKey<V> pKey, T pValue) WritableRegistry.register(ResourceKey<T> pKey, T pValue, RegistrationInfo pRegistrationInfo) static <T> Holder.Reference<T> Registry.registerForHolder(Registry<T> pRegistry, ResourceKey<T> pKey, T pValue) protected voidMappedRegistry.registerIdMapping(ResourceKey<T> key, int id) MappedRegistry.registrationInfo(ResourceKey<T> pKey) Registry.registrationInfo(ResourceKey<T> pKey) private voidMappedRegistry.validateWrite(ResourceKey<T> pKey) Method parameters in net.minecraft.core with type arguments of type ResourceKeyModifier and TypeMethodDescriptionRegistrySetBuilder.BuildState.create(RegistryAccess pRegistryAccess, Stream<ResourceKey<? extends Registry<?>>> pRegistries) private HolderLookup.ProviderRegistrySetBuilder.createLazyFullPatchedRegistries(RegistryAccess pRegistry, HolderLookup.Provider pLookupProvider, Cloner.Factory pClonerFactory, Map<ResourceKey<? extends Registry<?>>, RegistrySetBuilder.RegistryContents<?>> pRegistries, HolderLookup.Provider pRegistryLookupProvider) private static <T,R extends Registry<? extends T>>
RegistryAccess.RegistryEntry<T> RegistryAccess.RegistryEntry.fromMapEntry(Map.Entry<? extends ResourceKey<? extends Registry<?>>, R> pMapEntry) booleanHolder.Direct.is(Predicate<ResourceKey<T>> p_205723_) booleanHolder.is(Predicate<ResourceKey<T>> pPredicate) booleanHolder.Reference.is(Predicate<ResourceKey<T>> pPredicate) (package private) static <T> HolderLookup.RegistryLookup<T> RegistrySetBuilder.lookupFromMap(ResourceKey<? extends Registry<? extends T>> pRegistryKey, com.mojang.serialization.Lifecycle pRegistryLifecycle, HolderOwner<T> pOwner, Map<ResourceKey<T>, Holder.Reference<T>> pElements) static voidRegistrySynchronization.packRegistries(com.mojang.serialization.DynamicOps<Tag> pOps, RegistryAccess pRegistryAccess, Set<KnownPack> pPacks, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> pPacketSender) private static <T> voidRegistrySynchronization.packRegistry(com.mojang.serialization.DynamicOps<Tag> pOps, RegistryDataLoader.RegistryData<T> pRegistryData, RegistryAccess pRegistryAccess, Set<KnownPack> pPacks, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> pPacketSender) Constructors in net.minecraft.core with parameters of type ResourceKeyModifierConstructorDescriptionDefaultedMappedRegistry(String pDefaultKey, ResourceKey<? extends Registry<T>> pKey, com.mojang.serialization.Lifecycle pRegistryLifecycle, boolean pHasIntrusiveHolders) GlobalPos(ResourceKey<Level> dimension, BlockPos pos) Creates an instance of aGlobalPosrecord class.protectedLazyHolder(HolderOwner<T> pOwner, ResourceKey<T> pKey) MappedRegistry(ResourceKey<? extends Registry<T>> pKey, com.mojang.serialization.Lifecycle pRegistryLifecycle) MappedRegistry(ResourceKey<? extends Registry<T>> pKey, com.mojang.serialization.Lifecycle pRegistryLifecycle, boolean pHasIntrusiveHolders) protectedReference(Holder.Reference.Type pType, HolderOwner<T> pOwner, ResourceKey<T> pKey, T pValue) (package private)RegistryContents(ResourceKey<? extends Registry<? extends T>> key, com.mojang.serialization.Lifecycle lifecycle, Map<ResourceKey<T>, RegistrySetBuilder.ValueAndHolder<T>> values) Creates an instance of aRegistryContentsrecord class.RegistryEntry(ResourceKey<? extends Registry<T>> key, Registry<T> value) Creates an instance of aRegistryEntryrecord class.(package private)RegistryStub(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, RegistrySetBuilder.RegistryBootstrap<T> bootstrap) Creates an instance of aRegistryStubrecord class.Constructor parameters in net.minecraft.core with type arguments of type ResourceKeyModifierConstructorDescriptionImmutableRegistryAccess(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> pRegistries) (package private)RegistryContents(ResourceKey<? extends Registry<? extends T>> key, com.mojang.serialization.Lifecycle lifecycle, Map<ResourceKey<T>, RegistrySetBuilder.ValueAndHolder<T>> values) Creates an instance of aRegistryContentsrecord class. -
Uses of ResourceKey in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic final DataComponentType<List<ResourceKey<Recipe<?>>>> DataComponents.RECIPES -
Uses of ResourceKey in net.minecraft.core.registries
Fields in net.minecraft.core.registries declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<Activity>> Registries.ACTIVITYstatic final ResourceKey<Registry<Advancement>> Registries.ADVANCEMENTstatic final ResourceKey<Registry<Attribute>> Registries.ATTRIBUTEstatic final ResourceKey<Registry<BannerPattern>> Registries.BANNER_PATTERNstatic final ResourceKey<Registry<Biome>> Registries.BIOMEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends BiomeSource>>> Registries.BIOME_SOURCEstatic final ResourceKey<Registry<Block>> Registries.BLOCKstatic final ResourceKey<Registry<BlockEntityType<?>>> Registries.BLOCK_ENTITY_TYPEstatic final ResourceKey<Registry<BlockPredicateType<?>>> Registries.BLOCK_PREDICATE_TYPEstatic final ResourceKey<Registry<BlockStateProviderType<?>>> Registries.BLOCK_STATE_PROVIDER_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends Block>>> Registries.BLOCK_TYPEstatic final ResourceKey<Registry<WorldCarver<?>>> Registries.CARVERstatic final ResourceKey<Registry<CatVariant>> Registries.CAT_VARIANTstatic final ResourceKey<Registry<ChatType>> Registries.CHAT_TYPEstatic final ResourceKey<Registry<ChickenVariant>> Registries.CHICKEN_VARIANTstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> Registries.CHUNK_GENERATORstatic final ResourceKey<Registry<ChunkStatus>> Registries.CHUNK_STATUSstatic final ResourceKey<Registry<ArgumentTypeInfo<?, ?>>> Registries.COMMAND_ARGUMENT_TYPEstatic final ResourceKey<Registry<ConfiguredWorldCarver<?>>> Registries.CONFIGURED_CARVERstatic final ResourceKey<Registry<ConfiguredFeature<?, ?>>> Registries.CONFIGURED_FEATUREstatic final ResourceKey<Registry<ConsumeEffect.Type<?>>> Registries.CONSUME_EFFECT_TYPEstatic final ResourceKey<Registry<CowVariant>> Registries.COW_VARIANTstatic final ResourceKey<Registry<CreativeModeTab>> Registries.CREATIVE_MODE_TABstatic final ResourceKey<Registry<ResourceLocation>> Registries.CUSTOM_STATstatic final ResourceKey<Registry<DamageType>> Registries.DAMAGE_TYPEstatic final ResourceKey<Registry<DataComponentPredicate.Type<?>>> Registries.DATA_COMPONENT_PREDICATE_TYPEstatic final ResourceKey<Registry<DataComponentType<?>>> Registries.DATA_COMPONENT_TYPEstatic final ResourceKey<Registry<DecoratedPotPattern>> Registries.DECORATED_POT_PATTERNstatic final ResourceKey<Registry<DensityFunction>> Registries.DENSITY_FUNCTIONstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>>> Registries.DENSITY_FUNCTION_TYPEstatic final ResourceKey<Registry<Dialog>> Registries.DIALOGstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends Action>>> Registries.DIALOG_ACTION_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends DialogBody>>> Registries.DIALOG_BODY_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends Dialog>>> Registries.DIALOG_TYPEstatic final ResourceKey<Registry<Level>> Registries.DIMENSIONstatic final ResourceKey<Registry<DimensionType>> Registries.DIMENSION_TYPEstatic final ResourceKey<Registry<Enchantment>> Registries.ENCHANTMENTstatic final ResourceKey<Registry<DataComponentType<?>>> Registries.ENCHANTMENT_EFFECT_COMPONENT_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>>> Registries.ENCHANTMENT_ENTITY_EFFECT_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends LevelBasedValue>>> Registries.ENCHANTMENT_LEVEL_BASED_VALUE_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>>> Registries.ENCHANTMENT_LOCATION_BASED_EFFECT_TYPEstatic final ResourceKey<Registry<EnchantmentProvider>> Registries.ENCHANTMENT_PROVIDERstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>>> Registries.ENCHANTMENT_PROVIDER_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>>> Registries.ENCHANTMENT_VALUE_EFFECT_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>>> Registries.ENTITY_SUB_PREDICATE_TYPEstatic final ResourceKey<Registry<EntityType<?>>> Registries.ENTITY_TYPEstatic final ResourceKey<Registry<Feature<?>>> Registries.FEATUREstatic final ResourceKey<Registry<FeatureSizeType<?>>> Registries.FEATURE_SIZE_TYPEstatic final ResourceKey<Registry<FlatLevelGeneratorPreset>> Registries.FLAT_LEVEL_GENERATOR_PRESETstatic final ResourceKey<Registry<FloatProviderType<?>>> Registries.FLOAT_PROVIDER_TYPEstatic final ResourceKey<Registry<Fluid>> Registries.FLUIDstatic final ResourceKey<Registry<FoliagePlacerType<?>>> Registries.FOLIAGE_PLACER_TYPEstatic final ResourceKey<Registry<FrogVariant>> Registries.FROG_VARIANTstatic final ResourceKey<Registry<GameEvent>> Registries.GAME_EVENTstatic final ResourceKey<Registry<HeightProviderType<?>>> Registries.HEIGHT_PROVIDER_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends InputControl>>> Registries.INPUT_CONTROL_TYPEstatic final ResourceKey<Registry<Instrument>> Registries.INSTRUMENTstatic final ResourceKey<Registry<IntProviderType<?>>> Registries.INT_PROVIDER_TYPEstatic final ResourceKey<Registry<Item>> Registries.ITEMstatic final ResourceKey<Registry<LootItemFunction>> Registries.ITEM_MODIFIERstatic final ResourceKey<Registry<JukeboxSong>> Registries.JUKEBOX_SONGstatic final ResourceKey<Registry<LevelStem>> Registries.LEVEL_STEMstatic final ResourceKey<Registry<LootItemConditionType>> Registries.LOOT_CONDITION_TYPEstatic final ResourceKey<Registry<LootItemFunctionType<?>>> Registries.LOOT_FUNCTION_TYPEstatic final ResourceKey<Registry<LootNbtProviderType>> Registries.LOOT_NBT_PROVIDER_TYPEstatic final ResourceKey<Registry<LootNumberProviderType>> Registries.LOOT_NUMBER_PROVIDER_TYPEstatic final ResourceKey<Registry<LootPoolEntryType>> Registries.LOOT_POOL_ENTRY_TYPEstatic final ResourceKey<Registry<LootScoreProviderType>> Registries.LOOT_SCORE_PROVIDER_TYPEstatic final ResourceKey<Registry<LootTable>> Registries.LOOT_TABLEstatic final ResourceKey<Registry<MapDecorationType>> Registries.MAP_DECORATION_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource>>> Registries.MATERIAL_CONDITIONstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.RuleSource>>> Registries.MATERIAL_RULEstatic final ResourceKey<Registry<MemoryModuleType<?>>> Registries.MEMORY_MODULE_TYPEstatic final ResourceKey<Registry<MenuType<?>>> Registries.MENUstatic final ResourceKey<Registry<MobEffect>> Registries.MOB_EFFECTstatic final ResourceKey<Registry<MultiNoiseBiomeSourceParameterList>> Registries.MULTI_NOISE_BIOME_SOURCE_PARAMETER_LISTstatic final ResourceKey<Registry<NormalNoise.NoiseParameters>> Registries.NOISEstatic final ResourceKey<Registry<NoiseGeneratorSettings>> Registries.NOISE_SETTINGSstatic final ResourceKey<Registry<NumberFormatType<?>>> Registries.NUMBER_FORMAT_TYPEstatic final ResourceKey<Registry<PaintingVariant>> Registries.PAINTING_VARIANTstatic final ResourceKey<Registry<ParticleType<?>>> Registries.PARTICLE_TYPEstatic final ResourceKey<Registry<PigVariant>> Registries.PIG_VARIANTstatic final ResourceKey<Registry<PlacedFeature>> Registries.PLACED_FEATUREstatic final ResourceKey<Registry<PlacementModifierType<?>>> Registries.PLACEMENT_MODIFIER_TYPEstatic final ResourceKey<Registry<PoiType>> Registries.POINT_OF_INTEREST_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends PoolAliasBinding>>> Registries.POOL_ALIAS_BINDINGstatic final ResourceKey<Registry<PosRuleTestType<?>>> Registries.POS_RULE_TESTstatic final ResourceKey<Registry<PositionSourceType<?>>> Registries.POSITION_SOURCE_TYPEstatic final ResourceKey<Registry<Potion>> Registries.POTIONstatic final ResourceKey<Registry<LootItemCondition>> Registries.PREDICATEstatic final ResourceKey<Registry<StructureProcessorList>> Registries.PROCESSOR_LISTstatic final ResourceKey<Registry<Recipe<?>>> Registries.RECIPEstatic final ResourceKey<Registry<RecipeBookCategory>> Registries.RECIPE_BOOK_CATEGORYstatic final ResourceKey<Registry<RecipeDisplay.Type<?>>> Registries.RECIPE_DISPLAYstatic final ResourceKey<Registry<RecipeSerializer<?>>> Registries.RECIPE_SERIALIZERstatic final ResourceKey<Registry<RecipeType<?>>> Registries.RECIPE_TYPEstatic final ResourceKey<Registry<RootPlacerType<?>>> Registries.ROOT_PLACER_TYPEstatic final ResourceKey<Registry<RuleBlockEntityModifierType<?>>> Registries.RULE_BLOCK_ENTITY_MODIFIERstatic final ResourceKey<Registry<RuleTestType<?>>> Registries.RULE_TESTstatic final ResourceKey<Registry<Schedule>> Registries.SCHEDULEstatic final ResourceKey<Registry<SensorType<?>>> Registries.SENSOR_TYPEstatic final ResourceKey<Registry<SlotDisplay.Type<?>>> Registries.SLOT_DISPLAYstatic final ResourceKey<Registry<SoundEvent>> Registries.SOUND_EVENTstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends SpawnCondition>>> Registries.SPAWN_CONDITION_TYPEstatic final ResourceKey<Registry<StatType<?>>> Registries.STAT_TYPEstatic final ResourceKey<Registry<Structure>> Registries.STRUCTUREstatic final ResourceKey<Registry<StructurePieceType>> Registries.STRUCTURE_PIECEstatic final ResourceKey<Registry<StructurePlacementType<?>>> Registries.STRUCTURE_PLACEMENTstatic final ResourceKey<Registry<StructurePoolElementType<?>>> Registries.STRUCTURE_POOL_ELEMENTstatic final ResourceKey<Registry<StructureProcessorType<?>>> Registries.STRUCTURE_PROCESSORstatic final ResourceKey<Registry<StructureSet>> Registries.STRUCTURE_SETstatic final ResourceKey<Registry<StructureType<?>>> Registries.STRUCTURE_TYPEstatic final ResourceKey<Registry<StructureTemplatePool>> Registries.TEMPLATE_POOLstatic final ResourceKey<Registry<TestEnvironmentDefinition>> Registries.TEST_ENVIRONMENTstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends TestEnvironmentDefinition>>> Registries.TEST_ENVIRONMENT_DEFINITION_TYPEstatic final ResourceKey<Registry<Consumer<GameTestHelper>>> Registries.TEST_FUNCTIONstatic final ResourceKey<Registry<GameTestInstance>> Registries.TEST_INSTANCEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends GameTestInstance>>> Registries.TEST_INSTANCE_TYPEstatic final ResourceKey<Registry<TicketType>> Registries.TICKET_TYPEstatic final ResourceKey<Registry<TreeDecoratorType<?>>> Registries.TREE_DECORATOR_TYPEstatic final ResourceKey<Registry<TrialSpawnerConfig>> Registries.TRIAL_SPAWNER_CONFIGstatic final ResourceKey<Registry<CriterionTrigger<?>>> Registries.TRIGGER_TYPEstatic final ResourceKey<Registry<TrimMaterial>> Registries.TRIM_MATERIALstatic final ResourceKey<Registry<TrimPattern>> Registries.TRIM_PATTERNstatic final ResourceKey<Registry<TrunkPlacerType<?>>> Registries.TRUNK_PLACER_TYPEstatic final ResourceKey<Registry<VillagerProfession>> Registries.VILLAGER_PROFESSIONstatic final ResourceKey<Registry<VillagerType>> Registries.VILLAGER_TYPEstatic final ResourceKey<Registry<WolfSoundVariant>> Registries.WOLF_SOUND_VARIANTstatic final ResourceKey<Registry<WolfVariant>> Registries.WOLF_VARIANTstatic final ResourceKey<Registry<WorldPreset>> Registries.WORLD_PRESETMethods in net.minecraft.core.registries that return ResourceKeyModifier and TypeMethodDescriptionprivate static <T> ResourceKey<Registry<T>> Registries.createRegistryKey(String pName) static ResourceKey<Level> Registries.levelStemToLevel(ResourceKey<LevelStem> pLevelStem) static ResourceKey<LevelStem> Registries.levelToLevelStem(ResourceKey<Level> pLevel) Methods in net.minecraft.core.registries with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic StringRegistries.elementsDirPath(ResourceKey<? extends Registry<?>> pRegistryKey) private static <T,R extends WritableRegistry<T>>
RBuiltInRegistries.internalRegister(ResourceKey<? extends Registry<T>> pKey, R pRegistry, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) static ResourceKey<Level> Registries.levelStemToLevel(ResourceKey<LevelStem> pLevelStem) static ResourceKey<LevelStem> Registries.levelToLevelStem(ResourceKey<Level> pLevel) private static <T> DefaultedRegistry<T> BuiltInRegistries.registerDefaulted(ResourceKey<? extends Registry<T>> pKey, String pDefaultKey, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) private static <T> DefaultedRegistry<T> BuiltInRegistries.registerDefaultedWithIntrusiveHolders(ResourceKey<? extends Registry<T>> pKey, String pDefaultKey, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) private static <T> Registry<T> BuiltInRegistries.registerSimple(ResourceKey<? extends Registry<T>> pKey, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) private static <T> Registry<T> BuiltInRegistries.registerSimpleWithIntrusiveHolders(ResourceKey<? extends Registry<T>> pKey, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) static StringRegistries.tagsDirPath(ResourceKey<? extends Registry<?>> pRegistryKey) -
Uses of ResourceKey in net.minecraft.data
Methods in net.minecraft.data with parameters of type ResourceKeyModifier and TypeMethodDescriptionPackOutput.createRegistryElementsPathProvider(ResourceKey<? extends Registry<?>> pRegistryKey) PackOutput.createRegistryTagsPathProvider(ResourceKey<? extends Registry<?>> pRegistryKey) PackOutput.PathProvider.json(ResourceKey<?> pKey) -
Uses of ResourceKey in net.minecraft.data.advancements.packs
Method parameters in net.minecraft.data.advancements.packs with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprotected static Advancement.BuilderVanillaAdventureAdvancements.addBiomes(Advancement.Builder pBuilder, HolderLookup.Provider pLevelRegistry, List<ResourceKey<Biome>> pBiomes) -
Uses of ResourceKey in net.minecraft.data.info
Fields in net.minecraft.data.info with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<Climate.ParameterList<ResourceKey<Biome>>> BiomeParametersDumpReport.CODECprivate static final com.mojang.serialization.MapCodec<ResourceKey<Biome>> BiomeParametersDumpReport.ENTRY_CODECprivate static final Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> DatapackStructureReport.MANUAL_ENTRIESprivate final Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> DatapackStructureReport.Report.registriesThe field for theregistriesrecord component.(package private) static final com.mojang.serialization.Codec<ResourceKey<? extends Registry<?>>> DatapackStructureReport.REGISTRY_KEY_CODECMethods in net.minecraft.data.info that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> DatapackStructureReport.listRegistries()Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> DatapackStructureReport.Report.registries()Returns the value of theregistriesrecord component.Methods in net.minecraft.data.info with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidDatapackStructureReport.putIfNotPresent(Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> pMap, ResourceKey<? extends Registry<?>> pRegistryKey, DatapackStructureReport.Entry pEntry) Method parameters in net.minecraft.data.info with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate voidDatapackStructureReport.putIfNotPresent(Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> pMap, ResourceKey<? extends Registry<?>> pRegistryKey, DatapackStructureReport.Entry pEntry) Constructor parameters in net.minecraft.data.info with type arguments of type ResourceKeyModifierConstructorDescription(package private)Report(Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> registries, Map<String, DatapackStructureReport.CustomPackEntry> others) Creates an instance of aReportrecord class. -
Uses of ResourceKey in net.minecraft.data.loot
Fields in net.minecraft.data.loot declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootTable> LootTableProvider.MissingTableProblem.idThe field for theidrecord component.Fields in net.minecraft.data.loot with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprotected final Map<ResourceKey<LootTable>, LootTable.Builder> BlockLootSubProvider.mapprivate final Map<EntityType<?>, Map<ResourceKey<LootTable>, LootTable.Builder>> EntityLootSubProvider.mapprivate final Set<ResourceKey<LootTable>> LootTableProvider.requiredTablesMethods in net.minecraft.data.loot that return ResourceKeyModifier and TypeMethodDescriptionLootTableProvider.MissingTableProblem.id()Returns the value of theidrecord component.Methods in net.minecraft.data.loot with parameters of type ResourceKeyModifier and TypeMethodDescriptionprotected voidEntityLootSubProvider.add(EntityType<?> pEntityType, ResourceKey<LootTable> pDefaultLootTable, LootTable.Builder pBuilder) protected LootItemCondition.BuilderEntityLootSubProvider.killedByFrogVariant(HolderGetter<EntityType<?>> pEntityTypeRegistry, HolderGetter<FrogVariant> pVariantRegistry, ResourceKey<FrogVariant> pVariantKey) private static ResourceLocationLootTableProvider.sequenceIdForLootTable(ResourceKey<LootTable> pLootTable) Method parameters in net.minecraft.data.loot with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic LootPool.BuilderEntityLootSubProvider.createSheepDispatchPool(Map<DyeColor, ResourceKey<LootTable>> pLootTables) voidBlockLootSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> pOutput) voidEntityLootSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> pOutput) voidLootTableSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> pOutput) Constructors in net.minecraft.data.loot with parameters of type ResourceKeyModifierConstructorDescriptionCreates an instance of aMissingTableProblemrecord class.Constructor parameters in net.minecraft.data.loot with type arguments of type ResourceKeyModifierConstructorDescriptionprotectedBlockLootSubProvider(Set<Item> pExplosionResistant, FeatureFlagSet pEnabledFeatures, Map<ResourceKey<LootTable>, LootTable.Builder> pMap, HolderLookup.Provider pRegistries) LootTableProvider(PackOutput pOutput, Set<ResourceKey<LootTable>> pRequiredTables, List<LootTableProvider.SubProviderEntry> pSubProviders, CompletableFuture<HolderLookup.Provider> pRegistries) -
Uses of ResourceKey in net.minecraft.data.loot.packs
Method parameters in net.minecraft.data.loot.packs with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidTradeRebalanceChestLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_301981_) voidVanillaArchaeologyLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_278066_) voidVanillaChestLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> pOutput) voidVanillaEquipmentLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> pOutput) voidVanillaFishingLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_249559_) voidVanillaGiftLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_250831_) voidVanillaPiglinBarterLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_250176_) voidVanillaShearingLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> p_332018_) voidVanillaChestLoot.spawnerLootTables(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> pOutput) -
Uses of ResourceKey in net.minecraft.data.recipes
Methods in net.minecraft.data.recipes with parameters of type ResourceKeyModifier and TypeMethodDescriptiondefault voidRecipeOutput.accept(ResourceKey<Recipe<?>> pKey, Recipe<?> pRecipe, AdvancementHolder pAdvancement) private ShapedRecipePatternShapedRecipeBuilder.ensureValid(ResourceKey<Recipe<?>> pRecipe) private voidShapelessRecipeBuilder.ensureValid(ResourceKey<Recipe<?>> pRecipe) private voidSimpleCookingRecipeBuilder.ensureValid(ResourceKey<Recipe<?>> pRecipe) private voidSingleItemRecipeBuilder.ensureValid(ResourceKey<Recipe<?>> pRecipe) private voidSmithingTransformRecipeBuilder.ensureValid(ResourceKey<Recipe<?>> pRecipe) private voidSmithingTrimRecipeBuilder.ensureValid(ResourceKey<Recipe<?>> pRecipe) private voidTransmuteRecipeBuilder.ensureValid(ResourceKey<Recipe<?>> pRecipe) voidRecipeBuilder.save(RecipeOutput pOutput, ResourceKey<Recipe<?>> pResourceKey) voidShapedRecipeBuilder.save(RecipeOutput pOutput, ResourceKey<Recipe<?>> pResourceKey) voidShapelessRecipeBuilder.save(RecipeOutput pOutput, ResourceKey<Recipe<?>> pResourceKey) voidSimpleCookingRecipeBuilder.save(RecipeOutput pOutput, ResourceKey<Recipe<?>> pResourceKey) voidSingleItemRecipeBuilder.save(RecipeOutput pOutput, ResourceKey<Recipe<?>> pResourceKey) voidSmithingTransformRecipeBuilder.save(RecipeOutput pOutput, ResourceKey<Recipe<?>> pResourceKey) voidSmithingTrimRecipeBuilder.save(RecipeOutput pOutput, ResourceKey<Recipe<?>> pResourceKey) voidSpecialRecipeBuilder.save(RecipeOutput pOutput, ResourceKey<Recipe<?>> pResourceKey) voidTransmuteRecipeBuilder.save(RecipeOutput pOutput, ResourceKey<Recipe<?>> pResourceKey) protected voidRecipeProvider.trimSmithing(Item pTemplate, ResourceKey<TrimPattern> pPattern, ResourceKey<Recipe<?>> pRecipe) -
Uses of ResourceKey in net.minecraft.data.recipes.packs
Fields in net.minecraft.data.recipes.packs declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<TrimPattern> VanillaRecipeProvider.TrimTemplate.patternIdThe field for thepatternIdrecord component.private final ResourceKey<Recipe<?>> VanillaRecipeProvider.TrimTemplate.recipeIdThe field for therecipeIdrecord component.Methods in net.minecraft.data.recipes.packs that return ResourceKeyModifier and TypeMethodDescriptionVanillaRecipeProvider.TrimTemplate.patternId()Returns the value of thepatternIdrecord component.ResourceKey<Recipe<?>> VanillaRecipeProvider.TrimTemplate.recipeId()Returns the value of therecipeIdrecord component.Constructors in net.minecraft.data.recipes.packs with parameters of type ResourceKeyModifierConstructorDescriptionTrimTemplate(Item template, ResourceKey<TrimPattern> patternId, ResourceKey<Recipe<?>> recipeId) Creates an instance of aTrimTemplaterecord class. -
Uses of ResourceKey in net.minecraft.data.registries
Fields in net.minecraft.data.registries with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<?>, List<ICondition>> RegistriesDatapackGenerator.conditionsDeprecated.static final List<? extends ResourceKey<? extends Registry<?>>> VanillaRegistries.DATAPACK_REGISTRY_KEYSConstructor parameters in net.minecraft.data.registries with type arguments of type ResourceKeyModifierConstructorDescriptionRegistriesDatapackGenerator(PackOutput pOutput, CompletableFuture<HolderLookup.Provider> pRegistries, Set<String> modIds, Map<ResourceKey<?>, List<ICondition>> conditions) Deprecated. -
Uses of ResourceKey in net.minecraft.data.tags
Fields in net.minecraft.data.tags declared as ResourceKeyModifier and TypeFieldDescriptionprotected final ResourceKey<? extends Registry<T>> TagsProvider.registryKeyFields in net.minecraft.data.tags with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Function<T, ResourceKey<T>> IntrinsicHolderTagsProvider.keyExtractor(package private) static final List<ResourceKey<GameEvent>> GameEventTagsProvider.VIBRATIONS_EXCEPT_FLAPMethods in net.minecraft.data.tags that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic <T> TagAppender<ResourceKey<T>, T> TagAppender.forBuilder(TagBuilder pBuilder) protected TagAppender<ResourceKey<T>, T> Methods in net.minecraft.data.tags with parameters of type ResourceKeyModifier and TypeMethodDescriptionprotected voidEnchantmentTagsProvider.tooltipOrder(HolderLookup.Provider pProvider, ResourceKey<Enchantment>... pValues) Constructors in net.minecraft.data.tags with parameters of type ResourceKeyModifierConstructorDescriptionIntrinsicHolderTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> pParentProvider, Function<T, ResourceKey<T>> pKeyExtractor) Deprecated.IntrinsicHolderTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> pParentProvider, Function<T, ResourceKey<T>> pKeyExtractor, String modId) IntrinsicHolderTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, Function<T, ResourceKey<T>> pKeyExtractor) Deprecated.IntrinsicHolderTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, Function<T, ResourceKey<T>> pKeyExtractor, String modId) protectedKeyTagProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider) Deprecated.protectedKeyTagProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, String modId) protectedTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider) Deprecated.Forge: Use the mod id variantprotectedTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, String modId) protectedTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> pParentProvider) Deprecated.Forge: Use the mod id variantprotectedTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> pParentProvider, String modId) Constructor parameters in net.minecraft.data.tags with type arguments of type ResourceKeyModifierConstructorDescriptionIntrinsicHolderTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> pParentProvider, Function<T, ResourceKey<T>> pKeyExtractor) Deprecated.IntrinsicHolderTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> pParentProvider, Function<T, ResourceKey<T>> pKeyExtractor, String modId) IntrinsicHolderTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, Function<T, ResourceKey<T>> pKeyExtractor) Deprecated.IntrinsicHolderTagsProvider(PackOutput pOutput, ResourceKey<? extends Registry<T>> pRegistryKey, CompletableFuture<HolderLookup.Provider> pLookupProvider, Function<T, ResourceKey<T>> pKeyExtractor, String modId) -
Uses of ResourceKey in net.minecraft.data.worldgen
Fields in net.minecraft.data.worldgen declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<StructureProcessorList> ProcessorLists.ANCIENT_CITY_GENERIC_DEGRADATIONstatic final ResourceKey<StructureProcessorList> ProcessorLists.ANCIENT_CITY_START_DEGRADATIONstatic final ResourceKey<StructureProcessorList> ProcessorLists.ANCIENT_CITY_WALLS_DEGRADATIONstatic final ResourceKey<StructureProcessorList> ProcessorLists.BASTION_GENERIC_DEGRADATIONstatic final ResourceKey<StructureProcessorList> ProcessorLists.BOTTOM_RAMPARTstatic final ResourceKey<StructureProcessorList> ProcessorLists.BRIDGEstatic final ResourceKey<ConfiguredWorldCarver<?>> Carvers.CANYONstatic final ResourceKey<ConfiguredWorldCarver<?>> Carvers.CAVEstatic final ResourceKey<ConfiguredWorldCarver<?>> Carvers.CAVE_EXTRA_UNDERGROUNDstatic final ResourceKey<StructureTemplatePool> Pools.EMPTYprivate static final ResourceKey<StructureProcessorList> ProcessorLists.EMPTYstatic final ResourceKey<StructureProcessorList> ProcessorLists.ENTRANCE_REPLACEMENTstatic final ResourceKey<StructureProcessorList> ProcessorLists.FARM_DESERTstatic final ResourceKey<StructureProcessorList> ProcessorLists.FARM_PLAINSstatic final ResourceKey<StructureProcessorList> ProcessorLists.FARM_SAVANNAstatic final ResourceKey<StructureProcessorList> ProcessorLists.FARM_SNOWYstatic final ResourceKey<StructureProcessorList> ProcessorLists.FARM_TAIGAstatic final ResourceKey<StructureProcessorList> ProcessorLists.FOSSIL_COALstatic final ResourceKey<StructureProcessorList> ProcessorLists.FOSSIL_DIAMONDSstatic final ResourceKey<StructureProcessorList> ProcessorLists.FOSSIL_ROTstatic final ResourceKey<StructureTemplatePool> TrialChambersStructurePools.HALLWAY_FALLBACKstatic final ResourceKey<StructureProcessorList> ProcessorLists.HIGH_RAMPARTstatic final ResourceKey<StructureProcessorList> ProcessorLists.HIGH_WALLstatic final ResourceKey<StructureProcessorList> ProcessorLists.HOUSINGstatic final ResourceKey<StructureProcessorList> ProcessorLists.MOSSIFY_10_PERCENTstatic final ResourceKey<StructureProcessorList> ProcessorLists.MOSSIFY_20_PERCENTstatic final ResourceKey<StructureProcessorList> ProcessorLists.MOSSIFY_70_PERCENTstatic final ResourceKey<ConfiguredWorldCarver<?>> Carvers.NETHER_CAVEstatic final ResourceKey<StructureProcessorList> ProcessorLists.OUTPOST_ROTstatic final ResourceKey<StructureProcessorList> ProcessorLists.RAMPART_DEGRADATIONstatic final ResourceKey<StructureProcessorList> ProcessorLists.ROOFstatic final ResourceKey<StructureProcessorList> ProcessorLists.SIDE_WALL_DEGRADATIONstatic final ResourceKey<StructureProcessorList> ProcessorLists.STABLE_DEGRADATIONstatic final ResourceKey<StructureTemplatePool> AncientCityStructurePieces.STARTstatic final ResourceKey<StructureTemplatePool> BastionPieces.STARTstatic final ResourceKey<StructureTemplatePool> DesertVillagePools.STARTstatic final ResourceKey<StructureTemplatePool> PillagerOutpostPools.STARTstatic final ResourceKey<StructureTemplatePool> PlainVillagePools.STARTstatic final ResourceKey<StructureTemplatePool> SavannaVillagePools.STARTstatic final ResourceKey<StructureTemplatePool> SnowyVillagePools.STARTstatic final ResourceKey<StructureTemplatePool> TaigaVillagePools.STARTstatic final ResourceKey<StructureTemplatePool> TrailRuinsStructurePools.STARTstatic final ResourceKey<StructureTemplatePool> TrialChambersStructurePools.STARTstatic final ResourceKey<StructureProcessorList> ProcessorLists.STREET_PLAINSstatic final ResourceKey<StructureProcessorList> ProcessorLists.STREET_SAVANNAstatic final ResourceKey<StructureProcessorList> ProcessorLists.STREET_SNOWY_OR_TAIGAprivate static final ResourceKey<StructureTemplatePool> DesertVillagePools.TERMINATORS_KEYprivate static final ResourceKey<StructureTemplatePool> PlainVillagePools.TERMINATORS_KEYprivate static final ResourceKey<StructureTemplatePool> SavannaVillagePools.TERMINATORS_KEYprivate static final ResourceKey<StructureTemplatePool> SnowyVillagePools.TERMINATORS_KEYprivate static final ResourceKey<StructureTemplatePool> TaigaVillagePools.TERMINATORS_KEYstatic final ResourceKey<StructureProcessorList> ProcessorLists.TRAIL_RUINS_HOUSES_ARCHAEOLOGYstatic final ResourceKey<StructureProcessorList> ProcessorLists.TRAIL_RUINS_ROADS_ARCHAEOLOGYstatic final ResourceKey<StructureProcessorList> ProcessorLists.TRAIL_RUINS_TOWER_TOP_ARCHAEOLOGYstatic final ResourceKey<StructureProcessorList> ProcessorLists.TREASURE_ROOMSstatic final ResourceKey<StructureProcessorList> ProcessorLists.TRIAL_CHAMBERS_COPPER_BULB_DEGRADATIONstatic final ResourceKey<StructureProcessorList> ProcessorLists.ZOMBIE_DESERTstatic final ResourceKey<StructureProcessorList> ProcessorLists.ZOMBIE_PLAINSstatic final ResourceKey<StructureProcessorList> ProcessorLists.ZOMBIE_SAVANNAstatic final ResourceKey<StructureProcessorList> ProcessorLists.ZOMBIE_SNOWYstatic final ResourceKey<StructureProcessorList> ProcessorLists.ZOMBIE_TAIGAprivate static final ResourceKey<StructureTemplatePool> DesertVillagePools.ZOMBIE_TERMINATORS_KEYprivate static final ResourceKey<StructureTemplatePool> SavannaVillagePools.ZOMBIE_TERMINATORS_KEYMethods in net.minecraft.data.worldgen that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<ConfiguredWorldCarver<?>> static ResourceKey<StructureTemplatePool> static ResourceKey<StructureTemplatePool> Pools.createKey(ResourceLocation pLocation) private static ResourceKey<StructureProcessorList> static ResourceKey<StructureTemplatePool> Methods in net.minecraft.data.worldgen with parameters of type ResourceKeyModifier and TypeMethodDescription<S> HolderGetter<S> BootstrapContext.lookup(ResourceKey<? extends Registry<? extends S>> pRegistryKey) default Holder.Reference<T> BootstrapContext.register(ResourceKey<T> pKey, T pValue) BootstrapContext.register(ResourceKey<T> pKey, T pValue, com.mojang.serialization.Lifecycle pRegistryLifecycle) private static voidNoiseData.register(BootstrapContext<NormalNoise.NoiseParameters> pContext, ResourceKey<NormalNoise.NoiseParameters> pKey, int pFirstOctave, double pAmplitude, double... pOtherAmplitudes) private static voidProcessorLists.register(BootstrapContext<StructureProcessorList> pContext, ResourceKey<StructureProcessorList> pKey, List<StructureProcessor> pProcessors) private static voidNoiseData.registerBiomeNoises(BootstrapContext<NormalNoise.NoiseParameters> pContext, int pFirstOctave, ResourceKey<NormalNoise.NoiseParameters> pTemperature, ResourceKey<NormalNoise.NoiseParameters> pVegetation, ResourceKey<NormalNoise.NoiseParameters> pContinentalness, ResourceKey<NormalNoise.NoiseParameters> pErosion) default <S> Optional<HolderLookup.RegistryLookup<S>> BootstrapContext.registryLookup(ResourceKey<? extends Registry<? extends S>> registry) private static CappedProcessorProcessorLists.trailsArchyLootProcessor(ResourceKey<LootTable> pLootTable, int pLimit) -
Uses of ResourceKey in net.minecraft.data.worldgen.features
Fields in net.minecraft.data.worldgen.features declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.ACACIAstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.AMETHYST_GEODEstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.AZALEA_TREEstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.BAMBOO_NO_PODZOLstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.BAMBOO_SOME_PODZOLstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.BAMBOO_VEGETATIONstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.BASALT_BLOBSstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.BASALT_PILLARstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.BIRCHstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.BIRCH_BEES_0002static final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.BIRCH_BEES_0002_LEAF_LITTERstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.BIRCH_BEES_002static final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.BIRCH_BEES_005static final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.BIRCH_LEAF_LITTERstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.BIRCH_TALLstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.BLACKSTONE_BLOBSstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.BLUE_ICEstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.BONUS_CHESTstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.CAVE_VINEstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.CAVE_VINE_IN_MOSSstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.CHERRYstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.CHERRY_BEES_005static final ResourceKey<ConfiguredFeature<?, ?>> EndFeatures.CHORUS_PLANTstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.CLAY_POOL_WITH_DRIPLEAVESstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.CLAY_WITH_DRIPLEAVESstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.CRIMSON_FOREST_VEGETATIONstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.CRIMSON_FOREST_VEGETATION_BONEMEALstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.CRIMSON_FUNGUSstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.CRIMSON_FUNGUS_PLANTEDstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.DARK_FOREST_VEGETATIONstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.DARK_OAKstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.DARK_OAK_LEAF_LITTERstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.DELTAstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.DESERT_WELLstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.DISK_CLAYstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.DISK_GRASSstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.DISK_GRAVELstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.DISK_SANDstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.DRIPLEAFstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.DRIPSTONE_CLUSTERstatic final ResourceKey<ConfiguredFeature<?, ?>> EndFeatures.END_GATEWAY_DELAYEDstatic final ResourceKey<ConfiguredFeature<?, ?>> EndFeatures.END_GATEWAY_RETURNstatic final ResourceKey<ConfiguredFeature<?, ?>> EndFeatures.END_ISLANDstatic final ResourceKey<ConfiguredFeature<?, ?>> EndFeatures.END_PLATFORMstatic final ResourceKey<ConfiguredFeature<?, ?>> EndFeatures.END_SPIKEstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.FALLEN_BIRCH_TREEstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.FALLEN_JUNGLE_TREEstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.FALLEN_OAK_TREEstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.FALLEN_SPRUCE_TREEstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.FALLEN_SUPER_BIRCH_TREEstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.FANCY_OAKstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.FANCY_OAK_BEESstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.FANCY_OAK_BEES_0002_LEAF_LITTERstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.FANCY_OAK_BEES_002static final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.FANCY_OAK_BEES_005static final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.FANCY_OAK_LEAF_LITTERstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.FLOWER_CHERRYstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.FLOWER_DEFAULTstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.FLOWER_FLOWER_FORESTstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.FLOWER_MEADOWstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.FLOWER_PALE_GARDENstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.FLOWER_PLAINstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.FLOWER_SWAMPstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.FOREST_FLOWERSstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.FOREST_ROCKstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.FOSSIL_COALstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.FOSSIL_DIAMONDSstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.FREEZE_TOP_LAYERstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.GLOW_LICHENstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.GLOWSTONE_EXTRAstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.HUGE_BROWN_MUSHROOMstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.HUGE_RED_MUSHROOMstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.ICE_PATCHstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.ICE_SPIKEstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.ICEBERG_BLUEstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.ICEBERG_PACKEDstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.JUNGLE_BUSHstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.JUNGLE_TREEstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.JUNGLE_TREE_NO_VINEstatic final ResourceKey<ConfiguredFeature<?, ?>> AquaticFeatures.KELPstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.LAKE_LAVAstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.LARGE_BASALT_COLUMNSstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.LARGE_DRIPSTONEstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.LUSH_CAVES_CLAYstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.MANGROVEstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.MANGROVE_VEGETATIONstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.MEADOW_TREESstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.MEGA_JUNGLE_TREEstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.MEGA_PINEstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.MEGA_SPRUCEstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.MONSTER_ROOMstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.MOSS_PATCHstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.MOSS_PATCH_BONEMEALstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.MOSS_PATCH_CEILINGstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.MOSS_VEGETATIONstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.MUSHROOM_ISLAND_VEGETATIONstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.NETHER_SPROUTSstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.NETHER_SPROUTS_BONEMEALstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.OAKstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.OAK_BEES_0002_LEAF_LITTERstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.OAK_BEES_002static final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.OAK_BEES_005static final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.OAK_LEAF_LITTERstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_ANCIENT_DEBRIS_LARGEstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_ANCIENT_DEBRIS_SMALLstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_ANDESITEstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_BLACKSTONEstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_CLAYstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_COALstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_COAL_BURIEDstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_COPPER_LARGEstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_COPPPER_SMALLstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_DIAMOND_BURIEDstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_DIAMOND_LARGEstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_DIAMOND_MEDIUMstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_DIAMOND_SMALLstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_DIORITEstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_DIRTstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_EMERALDstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_GOLDstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_GOLD_BURIEDstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_GRANITEstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_GRAVELstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_GRAVEL_NETHERstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_INFESTEDstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_IRONstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_IRON_SMALLstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_LAPISstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_LAPIS_BURIEDstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_MAGMAstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_NETHER_GOLDstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_QUARTZstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_REDSTONEstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_SOUL_SANDstatic final ResourceKey<ConfiguredFeature<?, ?>> OreFeatures.ORE_TUFFstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PALE_FOREST_FLOWERSstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PALE_GARDEN_VEGETATIONstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PALE_MOSS_PATCHstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PALE_MOSS_PATCH_BONEMEALstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PALE_MOSS_VEGETATIONstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.PALE_OAKstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.PALE_OAK_BONEMEALstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.PALE_OAK_CREAKINGstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_BERRY_BUSHstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_BROWN_MUSHROOMstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_BUSHstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_CACTUSstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.PATCH_CRIMSON_ROOTSstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_DEAD_BUSHstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_DRY_GRASSstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.PATCH_FIREstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_FIREFLY_BUSHstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_GRASSstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_GRASS_JUNGLEstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_GRASS_MEADOWstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_LARGE_FERNstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_LEAF_LITTERstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_MELONstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_PUMPKINstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_RED_MUSHROOMstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.PATCH_SOUL_FIREstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_SUGAR_CANEstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_SUNFLOWERstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_TAIGA_GRASSstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_TALL_GRASSstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.PATCH_WATERLILYstatic final ResourceKey<ConfiguredFeature<?, ?>> PileFeatures.PILE_HAYstatic final ResourceKey<ConfiguredFeature<?, ?>> PileFeatures.PILE_ICEstatic final ResourceKey<ConfiguredFeature<?, ?>> PileFeatures.PILE_MELONstatic final ResourceKey<ConfiguredFeature<?, ?>> PileFeatures.PILE_PUMPKINstatic final ResourceKey<ConfiguredFeature<?, ?>> PileFeatures.PILE_SNOWstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.PINEstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.POINTED_DRIPSTONEstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.ROOTED_AZALEA_TREEstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.SCULK_PATCH_ANCIENT_CITYstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.SCULK_PATCH_DEEP_DARKstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.SCULK_VEINstatic final ResourceKey<ConfiguredFeature<?, ?>> AquaticFeatures.SEA_PICKLEstatic final ResourceKey<ConfiguredFeature<?, ?>> AquaticFeatures.SEAGRASS_MIDstatic final ResourceKey<ConfiguredFeature<?, ?>> AquaticFeatures.SEAGRASS_SHORTstatic final ResourceKey<ConfiguredFeature<?, ?>> AquaticFeatures.SEAGRASS_SLIGHTLY_LESS_SHORTstatic final ResourceKey<ConfiguredFeature<?, ?>> AquaticFeatures.SEAGRASS_TALLstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.SINGLE_PIECE_OF_GRASSstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.SMALL_BASALT_COLUMNSstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.SPORE_BLOSSOMstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.SPRING_LAVA_FROZENstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.SPRING_LAVA_NETHERstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.SPRING_LAVA_OVERWORLDstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.SPRING_NETHER_CLOSEDstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.SPRING_NETHER_OPENstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.SPRING_WATERstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.SPRUCEstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.SUPER_BIRCH_BEESstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.SUPER_BIRCH_BEES_0002static final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.SWAMP_OAKstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.TALL_MANGROVEstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_BADLANDSstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_BIRCHstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_BIRCH_AND_OAK_LEAF_LITTERstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_FLOWER_FORESTstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_GROVEstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_JUNGLEstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_OLD_GROWTH_PINE_TAIGAstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_OLD_GROWTH_SPRUCE_TAIGAstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_PLAINSstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_SAVANNAstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_SNOWYstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_SPARSE_JUNGLEstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_TAIGAstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_WATERstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.TREES_WINDSWEPT_HILLSstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.TWISTING_VINESstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.TWISTING_VINES_BONEMEALstatic final ResourceKey<ConfiguredFeature<?, ?>> CaveFeatures.UNDERWATER_MAGMAstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.VINESstatic final ResourceKey<ConfiguredFeature<?, ?>> MiscOverworldFeatures.VOID_START_PLATFORMstatic final ResourceKey<ConfiguredFeature<?, ?>> AquaticFeatures.WARM_OCEAN_VEGETATIONstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.WARPED_FOREST_VEGETATION_BONEMEALstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.WARPED_FOREST_VEGETIONstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.WARPED_FUNGUSstatic final ResourceKey<ConfiguredFeature<?, ?>> TreeFeatures.WARPED_FUNGUS_PLANTEDstatic final ResourceKey<ConfiguredFeature<?, ?>> NetherFeatures.WEEPING_VINESstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.WILDFLOWERS_BIRCH_FORESTstatic final ResourceKey<ConfiguredFeature<?, ?>> VegetationFeatures.WILDFLOWERS_MEADOWMethods in net.minecraft.data.worldgen.features that return ResourceKeyMethods in net.minecraft.data.worldgen.features with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic <FC extends FeatureConfiguration,F extends Feature<FC>>
voidFeatureUtils.register(BootstrapContext<ConfiguredFeature<?, ?>> pContext, ResourceKey<ConfiguredFeature<?, ?>> pKey, F pFeature, FC pConfig) static voidFeatureUtils.register(BootstrapContext<ConfiguredFeature<?, ?>> pContext, ResourceKey<ConfiguredFeature<?, ?>> pKey, Feature<NoneFeatureConfiguration> pFeature) -
Uses of ResourceKey in net.minecraft.data.worldgen.placement
Fields in net.minecraft.data.worldgen.placement declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<PlacedFeature> TreePlacements.ACACIA_CHECKEDstatic final ResourceKey<PlacedFeature> VillagePlacements.ACACIA_VILLAGEstatic final ResourceKey<PlacedFeature> CavePlacements.AMETHYST_GEODEstatic final ResourceKey<PlacedFeature> VegetationPlacements.BAMBOOstatic final ResourceKey<PlacedFeature> VegetationPlacements.BAMBOO_LIGHTstatic final ResourceKey<PlacedFeature> VegetationPlacements.BAMBOO_VEGETATIONstatic final ResourceKey<PlacedFeature> NetherPlacements.BASALT_BLOBSstatic final ResourceKey<PlacedFeature> NetherPlacements.BASALT_PILLARstatic final ResourceKey<PlacedFeature> TreePlacements.BIRCH_BEES_0002_LEAF_LITTERstatic final ResourceKey<PlacedFeature> TreePlacements.BIRCH_BEES_0002_PLACEDstatic final ResourceKey<PlacedFeature> TreePlacements.BIRCH_BEES_002static final ResourceKey<PlacedFeature> TreePlacements.BIRCH_CHECKEDstatic final ResourceKey<PlacedFeature> TreePlacements.BIRCH_LEAF_LITTERstatic final ResourceKey<PlacedFeature> VegetationPlacements.BIRCH_TALLstatic final ResourceKey<PlacedFeature> NetherPlacements.BLACKSTONE_BLOBSstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.BLUE_ICEstatic final ResourceKey<PlacedFeature> VegetationPlacements.BROWN_MUSHROOM_NETHERstatic final ResourceKey<PlacedFeature> VegetationPlacements.BROWN_MUSHROOM_NORMALstatic final ResourceKey<PlacedFeature> VegetationPlacements.BROWN_MUSHROOM_OLD_GROWTHstatic final ResourceKey<PlacedFeature> VegetationPlacements.BROWN_MUSHROOM_SWAMPstatic final ResourceKey<PlacedFeature> VegetationPlacements.BROWN_MUSHROOM_TAIGAstatic final ResourceKey<PlacedFeature> CavePlacements.CAVE_VINESstatic final ResourceKey<PlacedFeature> TreePlacements.CHERRY_BEES_005static final ResourceKey<PlacedFeature> TreePlacements.CHERRY_CHECKEDstatic final ResourceKey<PlacedFeature> EndPlacements.CHORUS_PLANTstatic final ResourceKey<PlacedFeature> CavePlacements.CLASSIC_VINESstatic final ResourceKey<PlacedFeature> NetherPlacements.CRIMSON_FOREST_VEGETATIONstatic final ResourceKey<PlacedFeature> TreePlacements.CRIMSON_FUNGIstatic final ResourceKey<PlacedFeature> VegetationPlacements.DARK_FOREST_VEGETATIONstatic final ResourceKey<PlacedFeature> TreePlacements.DARK_OAK_CHECKEDstatic final ResourceKey<PlacedFeature> TreePlacements.DARK_OAK_LEAF_LITTERstatic final ResourceKey<PlacedFeature> NetherPlacements.DELTAstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.DESERT_WELLstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.DISK_CLAYstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.DISK_GRASSstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.DISK_GRAVELstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.DISK_SANDstatic final ResourceKey<PlacedFeature> CavePlacements.DRIPSTONE_CLUSTERstatic final ResourceKey<PlacedFeature> EndPlacements.END_GATEWAY_RETURNstatic final ResourceKey<PlacedFeature> EndPlacements.END_ISLAND_DECORATEDstatic final ResourceKey<PlacedFeature> EndPlacements.END_PLATFORMstatic final ResourceKey<PlacedFeature> EndPlacements.END_SPIKEstatic final ResourceKey<PlacedFeature> TreePlacements.FALLEN_BIRCH_TREEstatic final ResourceKey<PlacedFeature> TreePlacements.FALLEN_JUNGLE_TREEstatic final ResourceKey<PlacedFeature> TreePlacements.FALLEN_OAK_TREEstatic final ResourceKey<PlacedFeature> TreePlacements.FALLEN_SPRUCE_TREEstatic final ResourceKey<PlacedFeature> TreePlacements.FALLEN_SUPER_BIRCH_TREEstatic final ResourceKey<PlacedFeature> TreePlacements.FANCY_OAK_BEESstatic final ResourceKey<PlacedFeature> TreePlacements.FANCY_OAK_BEES_0002_LEAF_LITTERstatic final ResourceKey<PlacedFeature> TreePlacements.FANCY_OAK_BEES_002static final ResourceKey<PlacedFeature> TreePlacements.FANCY_OAK_CHECKEDstatic final ResourceKey<PlacedFeature> TreePlacements.FANCY_OAK_LEAF_LITTERstatic final ResourceKey<PlacedFeature> VegetationPlacements.FLOWER_CHERRYstatic final ResourceKey<PlacedFeature> VegetationPlacements.FLOWER_DEFAULTstatic final ResourceKey<PlacedFeature> VegetationPlacements.FLOWER_FLOWER_FORESTstatic final ResourceKey<PlacedFeature> VegetationPlacements.FLOWER_FOREST_FLOWERSstatic final ResourceKey<PlacedFeature> VegetationPlacements.FLOWER_MEADOWstatic final ResourceKey<PlacedFeature> VegetationPlacements.FLOWER_PALE_GARDENstatic final ResourceKey<PlacedFeature> VillagePlacements.FLOWER_PLAIN_VILLAGEstatic final ResourceKey<PlacedFeature> VegetationPlacements.FLOWER_PLAINSstatic final ResourceKey<PlacedFeature> VegetationPlacements.FLOWER_SWAMPstatic final ResourceKey<PlacedFeature> VegetationPlacements.FLOWER_WARMstatic final ResourceKey<PlacedFeature> VegetationPlacements.FOREST_FLOWERSstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.FOREST_ROCKstatic final ResourceKey<PlacedFeature> CavePlacements.FOSSIL_LOWERstatic final ResourceKey<PlacedFeature> CavePlacements.FOSSIL_UPPERstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.FREEZE_TOP_LAYERstatic final ResourceKey<PlacedFeature> CavePlacements.GLOW_LICHENstatic final ResourceKey<PlacedFeature> NetherPlacements.GLOWSTONEstatic final ResourceKey<PlacedFeature> NetherPlacements.GLOWSTONE_EXTRAstatic final ResourceKey<PlacedFeature> VegetationPlacements.GRASS_BONEMEALstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.ICE_PATCHstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.ICE_SPIKEstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.ICEBERG_BLUEstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.ICEBERG_PACKEDstatic final ResourceKey<PlacedFeature> TreePlacements.JUNGLE_BUSHstatic final ResourceKey<PlacedFeature> TreePlacements.JUNGLE_TREE_CHECKEDstatic final ResourceKey<PlacedFeature> AquaticPlacements.KELP_COLDstatic final ResourceKey<PlacedFeature> AquaticPlacements.KELP_WARMstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.LAKE_LAVA_SURFACEstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.LAKE_LAVA_UNDERGROUNDstatic final ResourceKey<PlacedFeature> NetherPlacements.LARGE_BASALT_COLUMNSstatic final ResourceKey<PlacedFeature> CavePlacements.LARGE_DRIPSTONEstatic final ResourceKey<PlacedFeature> CavePlacements.LUSH_CAVES_CEILING_VEGETATIONstatic final ResourceKey<PlacedFeature> CavePlacements.LUSH_CAVES_CLAYstatic final ResourceKey<PlacedFeature> CavePlacements.LUSH_CAVES_VEGETATIONstatic final ResourceKey<PlacedFeature> TreePlacements.MANGROVE_CHECKEDstatic final ResourceKey<PlacedFeature> TreePlacements.MEGA_JUNGLE_TREE_CHECKEDstatic final ResourceKey<PlacedFeature> TreePlacements.MEGA_PINE_CHECKEDstatic final ResourceKey<PlacedFeature> TreePlacements.MEGA_SPRUCE_CHECKEDstatic final ResourceKey<PlacedFeature> CavePlacements.MONSTER_ROOMstatic final ResourceKey<PlacedFeature> CavePlacements.MONSTER_ROOM_DEEPstatic final ResourceKey<PlacedFeature> VegetationPlacements.MUSHROOM_ISLAND_VEGETATIONstatic final ResourceKey<PlacedFeature> NetherPlacements.NETHER_SPROUTSstatic final ResourceKey<PlacedFeature> TreePlacements.OAK_BEES_0002_LEAF_LITTERstatic final ResourceKey<PlacedFeature> TreePlacements.OAK_BEES_002static final ResourceKey<PlacedFeature> TreePlacements.OAK_CHECKEDstatic final ResourceKey<PlacedFeature> TreePlacements.OAK_LEAF_LITTERstatic final ResourceKey<PlacedFeature> VillagePlacements.OAK_VILLAGEstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_ANCIENT_DEBRIS_LARGEstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_ANCIENT_DEBRIS_SMALLstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_ANDESITE_LOWERstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_ANDESITE_UPPERstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_BLACKSTONEstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_CLAYstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_COAL_LOWERstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_COAL_UPPERstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_COPPERstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_COPPER_LARGEstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_DIAMONDstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_DIAMOND_BURIEDstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_DIAMOND_LARGEstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_DIAMOND_MEDIUMstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_DIORITE_LOWERstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_DIORITE_UPPERstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_DIRTstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_EMERALDstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_GOLDstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_GOLD_DELTASstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_GOLD_EXTRAstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_GOLD_LOWERstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_GOLD_NETHERstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_GRANITE_LOWERstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_GRANITE_UPPERstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_GRAVELstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_GRAVEL_NETHERstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_INFESTEDstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_IRON_MIDDLEstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_IRON_SMALLstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_IRON_UPPERstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_LAPISstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_LAPIS_BURIEDstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_MAGMAstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_QUARTZ_DELTASstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_QUARTZ_NETHERstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_REDSTONEstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_REDSTONE_LOWERstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_SOUL_SANDstatic final ResourceKey<PlacedFeature> OrePlacements.ORE_TUFFstatic final ResourceKey<PlacedFeature> VegetationPlacements.PALE_GARDEN_FLOWERSstatic final ResourceKey<PlacedFeature> VegetationPlacements.PALE_GARDEN_VEGETATIONstatic final ResourceKey<PlacedFeature> VegetationPlacements.PALE_MOSS_PATCHstatic final ResourceKey<PlacedFeature> TreePlacements.PALE_OAK_CHECKEDstatic final ResourceKey<PlacedFeature> TreePlacements.PALE_OAK_CREAKING_CHECKEDstatic final ResourceKey<PlacedFeature> VillagePlacements.PATCH_BERRY_BUSH_VILLAGEstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_BERRY_COMMONstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_BERRY_RAREstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_BUSHstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_CACTUS_DECORATEDstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_CACTUS_DESERTstatic final ResourceKey<PlacedFeature> VillagePlacements.PATCH_CACTUS_VILLAGEstatic final ResourceKey<PlacedFeature> NetherPlacements.PATCH_CRIMSON_ROOTSstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_DEAD_BUSHstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_DEAD_BUSH_2static final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_DEAD_BUSH_BADLANDSstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_DRY_GRASS_BADLANDSstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_DRY_GRASS_DESERTstatic final ResourceKey<PlacedFeature> NetherPlacements.PATCH_FIREstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_FIREFLY_BUSH_NEAR_WATERstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_FIREFLY_BUSH_NEAR_WATER_SWAMPstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_FIREFLY_BUSH_SWAMPstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_GRASS_BADLANDSstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_GRASS_FORESTstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_GRASS_JUNGLEstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_GRASS_MEADOWstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_GRASS_NORMALstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_GRASS_PLAINstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_GRASS_SAVANNAstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_GRASS_TAIGAstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_GRASS_TAIGA_2static final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_LARGE_FERNstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_LEAF_LITTERstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_MELONstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_MELON_SPARSEstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_PUMPKINstatic final ResourceKey<PlacedFeature> NetherPlacements.PATCH_SOUL_FIREstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_SUGAR_CANEstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_SUGAR_CANE_BADLANDSstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_SUGAR_CANE_DESERTstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_SUGAR_CANE_SWAMPstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_SUNFLOWERstatic final ResourceKey<PlacedFeature> VillagePlacements.PATCH_TAIGA_GRASS_VILLAGEstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_TALL_GRASSstatic final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_TALL_GRASS_2static final ResourceKey<PlacedFeature> VegetationPlacements.PATCH_WATERLILYstatic final ResourceKey<PlacedFeature> VillagePlacements.PILE_HAY_VILLAGEstatic final ResourceKey<PlacedFeature> VillagePlacements.PILE_ICE_VILLAGEstatic final ResourceKey<PlacedFeature> VillagePlacements.PILE_MELON_VILLAGEstatic final ResourceKey<PlacedFeature> VillagePlacements.PILE_PUMPKIN_VILLAGEstatic final ResourceKey<PlacedFeature> VillagePlacements.PILE_SNOW_VILLAGEstatic final ResourceKey<PlacedFeature> TreePlacements.PINE_CHECKEDstatic final ResourceKey<PlacedFeature> TreePlacements.PINE_ON_SNOWstatic final ResourceKey<PlacedFeature> VillagePlacements.PINE_VILLAGEstatic final ResourceKey<PlacedFeature> CavePlacements.POINTED_DRIPSTONEstatic final ResourceKey<PlacedFeature> VegetationPlacements.RED_MUSHROOM_NETHERstatic final ResourceKey<PlacedFeature> VegetationPlacements.RED_MUSHROOM_NORMALstatic final ResourceKey<PlacedFeature> VegetationPlacements.RED_MUSHROOM_OLD_GROWTHstatic final ResourceKey<PlacedFeature> VegetationPlacements.RED_MUSHROOM_SWAMPstatic final ResourceKey<PlacedFeature> VegetationPlacements.RED_MUSHROOM_TAIGAstatic final ResourceKey<PlacedFeature> CavePlacements.ROOTED_AZALEA_TREEstatic final ResourceKey<PlacedFeature> CavePlacements.SCULK_PATCH_ANCIENT_CITYstatic final ResourceKey<PlacedFeature> CavePlacements.SCULK_PATCH_DEEP_DARKstatic final ResourceKey<PlacedFeature> CavePlacements.SCULK_VEINstatic final ResourceKey<PlacedFeature> AquaticPlacements.SEA_PICKLEstatic final ResourceKey<PlacedFeature> AquaticPlacements.SEAGRASS_COLDstatic final ResourceKey<PlacedFeature> AquaticPlacements.SEAGRASS_DEEPstatic final ResourceKey<PlacedFeature> AquaticPlacements.SEAGRASS_DEEP_COLDstatic final ResourceKey<PlacedFeature> AquaticPlacements.SEAGRASS_DEEP_WARMstatic final ResourceKey<PlacedFeature> AquaticPlacements.SEAGRASS_NORMALstatic final ResourceKey<PlacedFeature> AquaticPlacements.SEAGRASS_RIVERstatic final ResourceKey<PlacedFeature> AquaticPlacements.SEAGRASS_SWAMPstatic final ResourceKey<PlacedFeature> AquaticPlacements.SEAGRASS_WARMstatic final ResourceKey<PlacedFeature> NetherPlacements.SMALL_BASALT_COLUMNSstatic final ResourceKey<PlacedFeature> CavePlacements.SPORE_BLOSSOMstatic final ResourceKey<PlacedFeature> NetherPlacements.SPRING_CLOSEDstatic final ResourceKey<PlacedFeature> NetherPlacements.SPRING_CLOSED_DOUBLEstatic final ResourceKey<PlacedFeature> NetherPlacements.SPRING_DELTAstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.SPRING_LAVAstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.SPRING_LAVA_FROZENstatic final ResourceKey<PlacedFeature> NetherPlacements.SPRING_OPENstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.SPRING_WATERstatic final ResourceKey<PlacedFeature> TreePlacements.SPRUCE_CHECKEDstatic final ResourceKey<PlacedFeature> TreePlacements.SPRUCE_ON_SNOWstatic final ResourceKey<PlacedFeature> VillagePlacements.SPRUCE_VILLAGEstatic final ResourceKey<PlacedFeature> TreePlacements.SUPER_BIRCH_BEESstatic final ResourceKey<PlacedFeature> TreePlacements.SUPER_BIRCH_BEES_0002static final ResourceKey<PlacedFeature> TreePlacements.TALL_MANGROVE_CHECKEDstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_BADLANDSstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_BIRCHstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_BIRCH_AND_OAK_LEAF_LITTERstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_CHERRYstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_FLOWER_FORESTstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_GROVEstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_JUNGLEstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_MANGROVEstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_MEADOWstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_OLD_GROWTH_PINE_TAIGAstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_OLD_GROWTH_SPRUCE_TAIGAstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_PLAINSstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_SAVANNAstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_SNOWYstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_SPARSE_JUNGLEstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_SWAMPstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_TAIGAstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_WATERstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_WINDSWEPT_FORESTstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_WINDSWEPT_HILLSstatic final ResourceKey<PlacedFeature> VegetationPlacements.TREES_WINDSWEPT_SAVANNAstatic final ResourceKey<PlacedFeature> NetherPlacements.TWISTING_VINESstatic final ResourceKey<PlacedFeature> CavePlacements.UNDERWATER_MAGMAstatic final ResourceKey<PlacedFeature> VegetationPlacements.VINESstatic final ResourceKey<PlacedFeature> MiscOverworldPlacements.VOID_START_PLATFORMstatic final ResourceKey<PlacedFeature> AquaticPlacements.WARM_OCEAN_VEGETATIONstatic final ResourceKey<PlacedFeature> NetherPlacements.WARPED_FOREST_VEGETATIONstatic final ResourceKey<PlacedFeature> TreePlacements.WARPED_FUNGIstatic final ResourceKey<PlacedFeature> NetherPlacements.WEEPING_VINESstatic final ResourceKey<PlacedFeature> VegetationPlacements.WILDFLOWERS_BIRCH_FORESTstatic final ResourceKey<PlacedFeature> VegetationPlacements.WILDFLOWERS_MEADOWMethods in net.minecraft.data.worldgen.placement that return ResourceKeyMethods in net.minecraft.data.worldgen.placement with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic voidPlacementUtils.register(BootstrapContext<PlacedFeature> pContext, ResourceKey<PlacedFeature> pKey, Holder<ConfiguredFeature<?, ?>> pConfiguredFeature, List<PlacementModifier> pPlacements) static voidPlacementUtils.register(BootstrapContext<PlacedFeature> pContext, ResourceKey<PlacedFeature> pKey, Holder<ConfiguredFeature<?, ?>> pConfiguredFeature, PlacementModifier... pPlacements) -
Uses of ResourceKey in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Consumer<GameTestHelper>> BuiltinTestFunctions.ALWAYS_PASSstatic final ResourceKey<GameTestInstance> GameTestInstances.ALWAYS_PASSstatic final ResourceKey<TestEnvironmentDefinition> GameTestEnvironments.DEFAULT_KEYprivate final ResourceKey<Consumer<GameTestHelper>> FunctionGameTestInstance.functionprivate final ResourceKey<Consumer<GameTestHelper>> GeneratedTest.functionKeyThe field for thefunctionKeyrecord component.Fields in net.minecraft.gametest.framework with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> GeneratedTest.testsThe field for thetestsrecord component.Methods in net.minecraft.gametest.framework that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<Consumer<GameTestHelper>> private static ResourceKey<TestEnvironmentDefinition> private static ResourceKey<GameTestInstance> private ResourceKey<Consumer<GameTestHelper>> FunctionGameTestInstance.function()GeneratedTest.functionKey()Returns the value of thefunctionKeyrecord component.Methods in net.minecraft.gametest.framework that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionGeneratedTest.tests()Returns the value of thetestsrecord component.Methods in net.minecraft.gametest.framework with parameters of type ResourceKeyMethod parameters in net.minecraft.gametest.framework with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidBuiltinTestFunctions.load(BiConsumer<ResourceKey<Consumer<GameTestHelper>>, Consumer<GameTestHelper>> pLoader) abstract voidTestFunctionLoader.load(BiConsumer<ResourceKey<Consumer<GameTestHelper>>, Consumer<GameTestHelper>> pLoader) Constructors in net.minecraft.gametest.framework with parameters of type ResourceKeyModifierConstructorDescriptionFunctionGameTestInstance(ResourceKey<Consumer<GameTestHelper>> p_401257_, TestData<Holder<TestEnvironmentDefinition>> p_397689_) GeneratedTest(Map<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> tests, ResourceKey<Consumer<GameTestHelper>> functionKey, Consumer<GameTestHelper> function) Creates an instance of aGeneratedTestrecord class.Constructor parameters in net.minecraft.gametest.framework with type arguments of type ResourceKeyModifierConstructorDescriptionGeneratedTest(Map<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> tests, ResourceKey<Consumer<GameTestHelper>> functionKey, Consumer<GameTestHelper> function) Creates an instance of aGeneratedTestrecord class.GeneratedTest(Map<ResourceLocation, TestData<ResourceKey<TestEnvironmentDefinition>>> p_397881_, ResourceLocation p_397734_, Consumer<GameTestHelper> p_397974_) GeneratedTest(ResourceLocation p_397873_, TestData<ResourceKey<TestEnvironmentDefinition>> p_397065_, Consumer<GameTestHelper> p_397393_) -
Uses of ResourceKey in net.minecraft.nbt
Fields in net.minecraft.nbt with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<ResourceKey<Block>> NbtUtils.BLOCK_NAME_CODEC -
Uses of ResourceKey in net.minecraft.network
Methods in net.minecraft.network that return ResourceKeyModifier and TypeMethodDescription<T> ResourceKey<? extends Registry<T>> FriendlyByteBuf.readRegistryKey()<T> ResourceKey<T> FriendlyByteBuf.readResourceKey(ResourceKey<? extends Registry<T>> pRegistryKey) Methods in net.minecraft.network with parameters of type ResourceKeyModifier and TypeMethodDescription<T> ResourceKey<T> FriendlyByteBuf.readResourceKey(ResourceKey<? extends Registry<T>> pRegistryKey) voidFriendlyByteBuf.writeResourceKey(ResourceKey<?> pResourceKey) -
Uses of ResourceKey in net.minecraft.network.chat
Fields in net.minecraft.network.chat declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<ChatType> ChatType.CHATstatic final ResourceKey<ChatType> ChatType.EMOTE_COMMANDstatic final ResourceKey<ChatType> ChatType.MSG_COMMAND_INCOMINGstatic final ResourceKey<ChatType> ChatType.MSG_COMMAND_OUTGOINGstatic final ResourceKey<ChatType> ChatType.SAY_COMMANDstatic final ResourceKey<ChatType> ChatType.TEAM_MSG_COMMAND_INCOMINGstatic final ResourceKey<ChatType> ChatType.TEAM_MSG_COMMAND_OUTGOINGMethods in net.minecraft.network.chat that return ResourceKeyMethods in net.minecraft.network.chat with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic ChatType.BoundChatType.bind(ResourceKey<ChatType> pChatTypeKey, CommandSourceStack pSource) static ChatType.BoundChatType.bind(ResourceKey<ChatType> pChatTypeKey, RegistryAccess pRegistryAccess, Component pName) static ChatType.BoundChatType.bind(ResourceKey<ChatType> pChatTypeKey, Entity pEntity) -
Uses of ResourceKey in net.minecraft.network.codec
Methods in net.minecraft.network.codec with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static <T> Registry<T> ByteBufCodecs.getSyncableRegistryOrThrow(RegistryFriendlyByteBuf buffer, ResourceKey<? extends Registry<T>> registryKey) static <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder(ResourceKey<? extends Registry<T>> pRegistryKey, StreamCodec<? super RegistryFriendlyByteBuf, T> pCodec) static <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holderRegistry(ResourceKey<? extends Registry<T>> pRegistryKey) static <T> StreamCodec<RegistryFriendlyByteBuf, HolderSet<T>> ByteBufCodecs.holderSet(ResourceKey<? extends Registry<T>> pRegistryKey) static <T> StreamCodec<RegistryFriendlyByteBuf, T> ByteBufCodecs.registry(ResourceKey<? extends Registry<T>> pRegistryKey) private static <T,R> StreamCodec <RegistryFriendlyByteBuf, R> ByteBufCodecs.registry(ResourceKey<? extends Registry<T>> pRegistryKey, Function<Registry<T>, IdMap<R>> pIdGetter) -
Uses of ResourceKey in net.minecraft.network.protocol.common
Fields in net.minecraft.network.protocol.common with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.tagsMethods in net.minecraft.network.protocol.common that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionMap<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.getTags()Constructor parameters in net.minecraft.network.protocol.common with type arguments of type ResourceKeyModifierConstructorDescriptionClientboundUpdateTagsPacket(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> pTags) -
Uses of ResourceKey in net.minecraft.network.protocol.common.custom
Fields in net.minecraft.network.protocol.common.custom declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> StructuresDebugPayload.dimensionThe field for thedimensionrecord component.private final ResourceKey<GameEvent> GameEventDebugPayload.gameEventTypeThe field for thegameEventTyperecord component.Methods in net.minecraft.network.protocol.common.custom that return ResourceKeyModifier and TypeMethodDescriptionStructuresDebugPayload.dimension()Returns the value of thedimensionrecord component.GameEventDebugPayload.gameEventType()Returns the value of thegameEventTyperecord component.Constructors in net.minecraft.network.protocol.common.custom with parameters of type ResourceKeyModifierConstructorDescriptionGameEventDebugPayload(ResourceKey<GameEvent> gameEventType, Vec3 pos) Creates an instance of aGameEventDebugPayloadrecord class.StructuresDebugPayload(ResourceKey<Level> dimension, BoundingBox mainBB, List<StructuresDebugPayload.PieceInfo> pieces) Creates an instance of aStructuresDebugPayloadrecord class. -
Uses of ResourceKey in net.minecraft.network.protocol.configuration
Fields in net.minecraft.network.protocol.configuration declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<? extends Registry<?>> ClientboundRegistryDataPacket.registryThe field for theregistryrecord component.Fields in net.minecraft.network.protocol.configuration with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final StreamCodec<io.netty.buffer.ByteBuf, ResourceKey<? extends Registry<?>>> ClientboundRegistryDataPacket.REGISTRY_KEY_STREAM_CODECMethods in net.minecraft.network.protocol.configuration that return ResourceKeyModifier and TypeMethodDescriptionResourceKey<? extends Registry<?>> ClientboundRegistryDataPacket.registry()Returns the value of theregistryrecord component.Constructors in net.minecraft.network.protocol.configuration with parameters of type ResourceKeyModifierConstructorDescriptionClientboundRegistryDataPacket(ResourceKey<? extends Registry<?>> registry, List<RegistrySynchronization.PackedRegistryEntry> entries) Creates an instance of aClientboundRegistryDataPacketrecord class. -
Uses of ResourceKey in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> CommonPlayerSpawnInfo.dimensionThe field for thedimensionrecord component.Fields in net.minecraft.network.protocol.game with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<RecipePropertySet>, RecipePropertySet> ClientboundUpdateRecipesPacket.itemSetsThe field for theitemSetsrecord component.private final Set<ResourceKey<Level>> ClientboundLoginPacket.levelsThe field for thelevelsrecord component.Methods in net.minecraft.network.protocol.game that return ResourceKeyModifier and TypeMethodDescriptionCommonPlayerSpawnInfo.dimension()Returns the value of thedimensionrecord component.Methods in net.minecraft.network.protocol.game that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionClientboundUpdateRecipesPacket.itemSets()Returns the value of theitemSetsrecord component.ClientboundLoginPacket.levels()Returns the value of thelevelsrecord component.Constructors in net.minecraft.network.protocol.game with parameters of type ResourceKeyModifierConstructorDescriptionCommonPlayerSpawnInfo(Holder<DimensionType> dimensionType, ResourceKey<Level> dimension, long seed, GameType gameType, GameType previousGameType, boolean isDebug, boolean isFlat, Optional<GlobalPos> lastDeathLocation, int portalCooldown, int seaLevel) Creates an instance of aCommonPlayerSpawnInforecord class.Constructor parameters in net.minecraft.network.protocol.game with type arguments of type ResourceKeyModifierConstructorDescriptionClientboundLoginPacket(int playerId, boolean hardcore, Set<ResourceKey<Level>> levels, int maxPlayers, int chunkRadius, int simulationDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean doLimitedCrafting, CommonPlayerSpawnInfo commonPlayerSpawnInfo, boolean enforcesSecureChat) Creates an instance of aClientboundLoginPacketrecord class.ClientboundUpdateRecipesPacket(Map<ResourceKey<RecipePropertySet>, RecipePropertySet> itemSets, SelectableRecipe.SingleInputSet<StonecutterRecipe> stonecutterRecipes) Creates an instance of aClientboundUpdateRecipesPacketrecord class.ServerboundTestInstanceBlockActionPacket(BlockPos p_397563_, ServerboundTestInstanceBlockActionPacket.Action p_397686_, Optional<ResourceKey<GameTestInstance>> p_397885_, Vec3i p_397965_, Rotation p_397552_, boolean p_397584_) -
Uses of ResourceKey in net.minecraft.references
Fields in net.minecraft.references declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Block> Blocks.ATTACHED_MELON_STEMstatic final ResourceKey<Block> Blocks.ATTACHED_PUMPKIN_STEMstatic final ResourceKey<Block> Blocks.MELONstatic final ResourceKey<Item> Items.MELON_SEEDSstatic final ResourceKey<Block> Blocks.MELON_STEMstatic final ResourceKey<Block> Blocks.PUMPKINstatic final ResourceKey<Item> Items.PUMPKIN_SEEDSstatic final ResourceKey<Block> Blocks.PUMPKIN_STEMMethods in net.minecraft.references that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<Block> private static ResourceKey<Item> -
Uses of ResourceKey in net.minecraft.resources
Fields in net.minecraft.resources declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<? extends Registry<T>> RegistryDataLoader.RegistryData.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<E>> HolderSetCodec.registryKeyprivate final ResourceKey<? extends Registry<E>> RegistryFileCodec.registryKeyprivate final ResourceKey<? extends Registry<E>> RegistryFixedCodec.registryKeyFields in net.minecraft.resources with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Comparator<ResourceKey<?>> RegistryDataLoader.ERROR_KEY_COMPARATORprivate final Map<ResourceKey<?>, Exception> RegistryDataLoader.Loader.loadingErrorsThe field for theloadingErrorsrecord component.private final Map<ResourceKey<? extends Registry<?>>, Optional<? extends RegistryOps.RegistryInfo<?>>> RegistryOps.HolderLookupAdapter.lookupsprivate static final ConcurrentMap<ResourceKey.InternKey, ResourceKey<?>> ResourceKey.VALUESMethods in net.minecraft.resources that return ResourceKeyModifier and TypeMethodDescriptionstatic <T> ResourceKey<T> ResourceKey.create(ResourceKey<? extends Registry<T>> pRegistryKey, ResourceLocation pLocation) Constructs a newResourceKeyfor a resource with the specifiedlocationwithin the registry specified by the givenregistryKey.private static <T> ResourceKey<T> ResourceKey.create(ResourceLocation pRegistryName, ResourceLocation pLocation) static <T> ResourceKey<Registry<T>> ResourceKey.createRegistryKey(ResourceLocation pLocation) ResourceKey<? extends Registry<T>> RegistryDataLoader.RegistryData.key()Returns the value of thekeyrecord component.ResourceKey.registryKey()Methods in net.minecraft.resources that return types with arguments of type ResourceKeyModifier and TypeMethodDescription<E> Optional<ResourceKey<E>> ResourceKey.cast(ResourceKey<? extends Registry<E>> pRegistryKey) static <T> com.mojang.serialization.Codec<ResourceKey<T>> ResourceKey.codec(ResourceKey<? extends Registry<T>> pRegistryKey) Map<ResourceKey<?>, Exception> RegistryDataLoader.Loader.loadingErrors()Returns the value of theloadingErrorsrecord component.static <T> StreamCodec<io.netty.buffer.ByteBuf, ResourceKey<T>> ResourceKey.streamCodec(ResourceKey<? extends Registry<T>> pRegistryKey) Methods in net.minecraft.resources with parameters of type ResourceKeyModifier and TypeMethodDescription<E> Optional<ResourceKey<E>> ResourceKey.cast(ResourceKey<? extends Registry<E>> pRegistryKey) static <T> com.mojang.serialization.Codec<ResourceKey<T>> ResourceKey.codec(ResourceKey<? extends Registry<T>> pRegistryKey) intResourceKey.compareTo(ResourceKey<?> o) static <E> com.mojang.serialization.Codec<HolderSet<E>> HolderSetCodec.create(ResourceKey<? extends Registry<E>> pRegistryKey, com.mojang.serialization.Codec<Holder<E>> pHolderCodec, boolean pDisallowInline) static <E> RegistryFileCodec<E> RegistryFileCodec.create(ResourceKey<? extends Registry<E>> pRegistryKey, com.mojang.serialization.Codec<E> pElementCodec) Creates a codec for a single registry element, which is held as an un-resolvedSupplier<E>.static <E> RegistryFileCodec<E> RegistryFileCodec.create(ResourceKey<? extends Registry<E>> pRegistryKey, com.mojang.serialization.Codec<E> pElementCodec, boolean pAllowInline) static <E> RegistryFixedCodec<E> RegistryFixedCodec.create(ResourceKey<? extends Registry<E>> pRegistryKey) static <T> ResourceKey<T> ResourceKey.create(ResourceKey<? extends Registry<T>> pRegistryKey, ResourceLocation pLocation) Constructs a newResourceKeyfor a resource with the specifiedlocationwithin the registry specified by the givenregistryKey.private Optional<RegistryOps.RegistryInfo<Object>> RegistryOps.HolderLookupAdapter.createLookup(ResourceKey<? extends Registry<?>> p_341910_) DependantName.get(ResourceKey<T> pKey) <E> Optional<HolderGetter<E>> RegistryOps.getter(ResourceKey<? extends Registry<? extends E>> pRegistryKey) booleanResourceKey.isFor(ResourceKey<? extends Registry<?>> pRegistryKey) private static <E> voidRegistryDataLoader.loadElementFromResource(WritableRegistry<E> pRegistry, com.mojang.serialization.Decoder<E> pCodec, RegistryOps<JsonElement> pOps, ResourceKey<E> pResourceKey, Resource pResource, RegistrationInfo pRegistrationInfo) <E> Optional<RegistryOps.RegistryInfo<E>> RegistryOps.HolderLookupAdapter.lookup(ResourceKey<? extends Registry<? extends E>> pRegistryKey) <T> Optional<RegistryOps.RegistryInfo<T>> RegistryOps.RegistryInfoLookup.lookup(ResourceKey<? extends Registry<? extends T>> pRegistryKey) <E> Optional<HolderOwner<E>> RegistryOps.owner(ResourceKey<? extends Registry<? extends E>> pRegistryKey) static FileToIdConverterFileToIdConverter.registry(ResourceKey<? extends Registry<?>> pRegistryKey) static <E,O> com.mojang.serialization.codecs.RecordCodecBuilder <O, Holder.Reference<E>> RegistryOps.retrieveElement(ResourceKey<E> pKey) static <E,O> com.mojang.serialization.codecs.RecordCodecBuilder <O, HolderGetter<E>> RegistryOps.retrieveGetter(ResourceKey<? extends Registry<? extends E>> pRegistryOps) 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>> pRegistryKey) Method parameters in net.minecraft.resources with type arguments of type ResourceKeyModifier and TypeMethodDescription(package private) RegistryDataLoader.Loader<T> RegistryDataLoader.RegistryData.create(com.mojang.serialization.Lifecycle pRegistryLifecycle, Map<ResourceKey<?>, Exception> pLoadingErrors) private static ReportedExceptionRegistryDataLoader.createReportWithBriefInfo(Map<ResourceKey<?>, Exception> pErrors) static RegistryAccess.FrozenRegistryDataLoader.load(Map<ResourceKey<? extends Registry<?>>, RegistryDataLoader.NetworkedRegistryData> pElements, ResourceProvider pResourceProvider, List<HolderLookup.RegistryLookup<?>> pRegistryLookups, List<RegistryDataLoader.RegistryData<?>> pRegistryData) (package private) static <E> voidRegistryDataLoader.loadContentsFromManager(ResourceManager pResourceManager, RegistryOps.RegistryInfoLookup pRegistryInfoLookup, WritableRegistry<E> pRegistry, com.mojang.serialization.Decoder<E> pCodec, Map<ResourceKey<?>, Exception> pLoadingErrors) (package private) static <E> voidRegistryDataLoader.loadContentsFromNetwork(Map<ResourceKey<? extends Registry<?>>, RegistryDataLoader.NetworkedRegistryData> pElements, ResourceProvider pResourceProvider, RegistryOps.RegistryInfoLookup pRegistryInfoLookup, WritableRegistry<E> pRegistry, com.mojang.serialization.Decoder<E> pCodec, Map<ResourceKey<?>, Exception> pLoadingErrors) voidRegistryDataLoader.Loader.loadFromNetwork(Map<ResourceKey<? extends Registry<?>>, RegistryDataLoader.NetworkedRegistryData> pElements, ResourceProvider pResourceProvider, RegistryOps.RegistryInfoLookup pRegistryInfoLookup) private static ReportedExceptionRegistryDataLoader.logErrors(Map<ResourceKey<?>, Exception> pErrors) private static voidRegistryDataLoader.printFullDetailsToLog(Map<ResourceKey<?>, Exception> pErrors) voidRegistryDataLoader.RegistryData.runWithArguments(BiConsumer<ResourceKey<? extends Registry<T>>, com.mojang.serialization.Codec<T>> pRunner) Constructors in net.minecraft.resources with parameters of type ResourceKeyModifierConstructorDescriptionprivateHolderSetCodec(ResourceKey<? extends Registry<E>> pRegistryKey, com.mojang.serialization.Codec<Holder<E>> pElementCodec, boolean pDisallowInline) (package private)RegistryData(ResourceKey<? extends Registry<T>> p_251360_, com.mojang.serialization.Codec<T> p_248976_) RegistryData(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec, boolean requiredNonEmpty) RegistryData(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec, boolean requiredNonEmpty, Consumer<RegistryBuilder<T>> registryBuilderConsumer) Creates an instance of aRegistryDatarecord class.privateRegistryFileCodec(ResourceKey<? extends Registry<E>> pRegistryKey, com.mojang.serialization.Codec<E> pElementCodec, boolean pAllowInline) privateRegistryFixedCodec(ResourceKey<? extends Registry<E>> pRegistryKey) Constructor parameters in net.minecraft.resources with type arguments of type ResourceKeyModifierConstructorDescription(package private)Loader(RegistryDataLoader.RegistryData<T> data, WritableRegistry<T> registry, Map<ResourceKey<?>, Exception> loadingErrors) Creates an instance of aLoaderrecord class. -
Uses of ResourceKey in net.minecraft.server
Fields in net.minecraft.server declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<CommandFunction<CommandSourceStack>>> ServerFunctionLibrary.TYPE_KEYFields in net.minecraft.server with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<Level>, ServerLevel> MinecraftServer.levelsprivate Map<ResourceKey<Level>, long[]> MinecraftServer.perWorldTickTimesMethods in net.minecraft.server that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionMinecraftServer.forgeGetWorldMap()Deprecated.MinecraftServer.levelKeys()Methods in net.minecraft.server with parameters of type ResourceKeyModifier and TypeMethodDescriptionMinecraftServer.getLevel(ResourceKey<Level> pDimension) Gets the worldServer by the given dimension.ReloadableServerRegistries.Holder.getLootTable(ResourceKey<LootTable> pLootTableKey) long[]MinecraftServer.getTickTime(ResourceKey<Level> dim) -
Uses of ResourceKey in net.minecraft.server.chase
Fields in net.minecraft.server.chase declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> ChaseClient.TeleportTarget.levelThe field for thelevelrecord component.Methods in net.minecraft.server.chase that return ResourceKeyModifier and TypeMethodDescriptionChaseClient.TeleportTarget.level()Returns the value of thelevelrecord component.Constructors in net.minecraft.server.chase with parameters of type ResourceKeyModifierConstructorDescription(package private)TeleportTarget(ResourceKey<Level> level, Vec3 pos, Vec2 rot) Creates an instance of aTeleportTargetrecord class. -
Uses of ResourceKey in net.minecraft.server.commands
Fields in net.minecraft.server.commands with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic BiMap<String, ResourceKey<Level>> ChaseCommand.DIMENSION_NAMESprivate static final ToIntFunction<ResourceKey<TrimMaterial>> SpawnArmorTrimsCommand.TRIM_MATERIAL_ORDERprivate static final ToIntFunction<ResourceKey<TrimPattern>> SpawnArmorTrimsCommand.TRIM_PATTERN_ORDERprivate static final List<ResourceKey<TrimMaterial>> SpawnArmorTrimsCommand.VANILLA_TRIM_MATERIALSprivate static final List<ResourceKey<TrimPattern>> SpawnArmorTrimsCommand.VANILLA_TRIM_PATTERNSMethods in net.minecraft.server.commands with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidLootCommand.callback(CommandSourceStack pSource, List<ItemStack> pItems, ResourceKey<LootTable> pLootTable) private static intWaypointCommand.setWaypointStyle(CommandSourceStack pSource, WaypointTransmitter pWaypoint, ResourceKey<WaypointStyleAsset> pStyle) private static intSpawnArmorTrimsCommand.spawnArmorTrim(CommandSourceStack pSource, Player pPlayer, ResourceKey<TrimPattern> pPattern) -
Uses of ResourceKey in net.minecraft.server.dedicated
Fields in net.minecraft.server.dedicated with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Map<String, ResourceKey<WorldPreset>> DedicatedServerProperties.WorldDimensionData.LEGACY_PRESET_NAMES -
Uses of ResourceKey in net.minecraft.server.dialog
Fields in net.minecraft.server.dialog declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Dialog> Dialogs.CUSTOM_OPTIONSstatic final ResourceKey<Dialog> Dialogs.QUICK_ACTIONSstatic final ResourceKey<Dialog> Dialogs.SERVER_LINKSMethods in net.minecraft.server.dialog that return ResourceKey -
Uses of ResourceKey in net.minecraft.server.level
Fields in net.minecraft.server.level declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> ServerPlayer.RespawnConfig.dimensionThe field for thedimensionrecord component.Methods in net.minecraft.server.level that return ResourceKeyModifier and TypeMethodDescriptionServerPlayer.RespawnConfig.dimension()Returns the value of thedimensionrecord component.static ResourceKey<Level> ServerPlayer.RespawnConfig.getDimensionOrDefault(ServerPlayer.RespawnConfig pRespawnConfig) Method parameters in net.minecraft.server.level with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidServerPlayer.awardRecipesByKey(List<ResourceKey<Recipe<?>>> pRecipes) Constructors in net.minecraft.server.level with parameters of type ResourceKeyModifierConstructorDescriptionRespawnConfig(ResourceKey<Level> dimension, BlockPos pos, float angle, boolean forced) Creates an instance of aRespawnConfigrecord class.ServerLevel(MinecraftServer pServer, Executor pDispatcher, LevelStorageSource.LevelStorageAccess pLevelStorageAccess, ServerLevelData pServerLevelData, ResourceKey<Level> pDimension, LevelStem pLevelStem, ChunkProgressListener pProgressListener, boolean pIsDebug, long pBiomeZoomSeed, List<CustomSpawner> pCustomSpawners, boolean pTickTime, RandomSequences pRandomSequences) -
Uses of ResourceKey in net.minecraft.server.packs.resources
Methods in net.minecraft.server.packs.resources with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic <T> voidSimpleJsonResourceReloadListener.scanDirectory(ResourceManager pResourceManager, ResourceKey<? extends Registry<T>> pRegistryKey, com.mojang.serialization.DynamicOps<JsonElement> pOps, com.mojang.serialization.Codec<T> pCodec, Map<ResourceLocation, T> pOutput) static <T> voidSimpleJsonResourceReloadListener.scanDirectoryWithOptionalValues(ResourceManager p_386974_, ResourceKey<? extends Registry<T>> p_388878_, com.mojang.serialization.DynamicOps<JsonElement> p_388402_, com.mojang.serialization.Codec<Optional<T>> p_387608_, Map<ResourceLocation, Optional<T>> p_386495_) Constructors in net.minecraft.server.packs.resources with parameters of type ResourceKeyModifierConstructorDescriptionprotectedSimpleJsonResourceReloadListener(HolderLookup.Provider pProvider, com.mojang.serialization.Codec<T> pCodec, ResourceKey<? extends Registry<T>> pRegistryKey) -
Uses of ResourceKey in net.minecraft.server.players
Methods in net.minecraft.server.players with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidPlayerList.broadcast(Player pExcept, double pX, double pY, double pZ, double pRadius, ResourceKey<Level> pDimension, Packet<?> pPacket) voidPlayerList.broadcastAll(Packet<?> pPacket, ResourceKey<Level> pDimension) -
Uses of ResourceKey in net.minecraft.stats
Fields in net.minecraft.stats with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprotected final Set<ResourceKey<Recipe<?>>> ServerRecipeBook.highlightprivate final List<ResourceKey<Recipe<?>>> ServerRecipeBook.Packed.highlightThe field for thehighlightrecord component.protected final Set<ResourceKey<Recipe<?>>> ServerRecipeBook.knownprivate final List<ResourceKey<Recipe<?>>> ServerRecipeBook.Packed.knownThe field for theknownrecord component.Methods in net.minecraft.stats that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionList<ResourceKey<Recipe<?>>> ServerRecipeBook.Packed.highlight()Returns the value of thehighlightrecord component.List<ResourceKey<Recipe<?>>> ServerRecipeBook.Packed.known()Returns the value of theknownrecord component.Methods in net.minecraft.stats with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidServerRecipeBook.add(ResourceKey<Recipe<?>> pRecipe) private voidServerRecipeBook.addHighlight(ResourceKey<Recipe<?>> pRecipe) booleanServerRecipeBook.contains(ResourceKey<Recipe<?>> pRecipe) voidServerRecipeBook.DisplayResolver.displaysForRecipe(ResourceKey<Recipe<?>> pRecipe, Consumer<RecipeDisplayEntry> pOutput) voidServerRecipeBook.remove(ResourceKey<Recipe<?>> pRecipe) voidServerRecipeBook.removeHighlight(ResourceKey<Recipe<?>> pRecipe) Method parameters in net.minecraft.stats with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate voidServerRecipeBook.loadRecipes(List<ResourceKey<Recipe<?>>> pRecipes, Consumer<ResourceKey<Recipe<?>>> pOutput, Predicate<ResourceKey<Recipe<?>>> pIsRecognized) private voidServerRecipeBook.loadRecipes(List<ResourceKey<Recipe<?>>> pRecipes, Consumer<ResourceKey<Recipe<?>>> pOutput, Predicate<ResourceKey<Recipe<?>>> pIsRecognized) private voidServerRecipeBook.loadRecipes(List<ResourceKey<Recipe<?>>> pRecipes, Consumer<ResourceKey<Recipe<?>>> pOutput, Predicate<ResourceKey<Recipe<?>>> pIsRecognized) voidServerRecipeBook.loadUntrusted(ServerRecipeBook.Packed pRecipeBook, Predicate<ResourceKey<Recipe<?>>> pPredicate) Constructor parameters in net.minecraft.stats with type arguments of type ResourceKeyModifierConstructorDescriptionPacked(RecipeBookSettings settings, List<ResourceKey<Recipe<?>>> known, List<ResourceKey<Recipe<?>>> highlight) Creates an instance of aPackedrecord class. -
Uses of ResourceKey in net.minecraft.tags
Fields in net.minecraft.tags declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<? extends Registry<T>> TagLoader.LoadResult.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<T>> TagKey.registryThe field for theregistryrecord component.Methods in net.minecraft.tags that return ResourceKeyModifier and TypeMethodDescriptionResourceKey<? extends Registry<T>> TagLoader.LoadResult.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<T>> TagKey.registry()Returns the value of theregistryrecord component.Methods in net.minecraft.tags that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> TagNetworkSerialization.serializeTagsToNetwork(LayeredRegistryAccess<RegistryLayer> pRegistryAccess) Methods in net.minecraft.tags with parameters of type ResourceKeyModifier and TypeMethodDescriptionTagKey.cast(ResourceKey<? extends Registry<E>> pRegistry) static <T> com.mojang.serialization.Codec<TagKey<T>> TagKey.codec(ResourceKey<? extends Registry<T>> pRegistry) static <T> TagKey<T> TagKey.create(ResourceKey<? extends Registry<T>> pRegistry, ResourceLocation pLocation) private static Registry.PendingTags<?> TagLoader.findTagsForRegistry(List<Registry.PendingTags<?>> pTags, ResourceKey<? extends Registry<?>> pRegistryKey) static <T> com.mojang.serialization.Codec<TagKey<T>> TagKey.hashedCodec(ResourceKey<? extends Registry<T>> pRegistry) booleanTagKey.isFor(ResourceKey<? extends Registry<?>> pRegistry) static <T> StreamCodec<io.netty.buffer.ByteBuf, TagKey<T>> TagKey.streamCodec(ResourceKey<? extends Registry<T>> pRegistry) TagLoader.wrapTags(ResourceKey<? extends Registry<T>> pRegistryKey, Map<ResourceLocation, List<Holder<T>>> pTags) Constructors in net.minecraft.tags with parameters of type ResourceKeyModifierConstructorDescriptionLoadResult(ResourceKey<? extends Registry<T>> key, Map<TagKey<T>, List<Holder<T>>> tags) Creates an instance of aLoadResultrecord class.TagKey(ResourceKey<? extends Registry<T>> registry, ResourceLocation location) Deprecated. -
Uses of ResourceKey in net.minecraft.util
Fields in net.minecraft.util declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<?> ProblemReporter.ElementReferencePathElement.idThe field for theidrecord component.private final ResourceKey<?> ProblemReporter.RootElementPathElement.idThe field for theidrecord component.Fields in net.minecraft.util with type parameters of type ResourceKeyModifier and TypeFieldDescription(package private) final Map<ResourceKey<Object>, Holder.Reference<Object>> PlaceholderLookupProvider.holdersMethods in net.minecraft.util that return ResourceKeyModifier and TypeMethodDescriptionResourceKey<?> ProblemReporter.ElementReferencePathElement.id()Returns the value of theidrecord component.ResourceKey<?> ProblemReporter.RootElementPathElement.id()Returns the value of theidrecord component.Methods in net.minecraft.util with parameters of type ResourceKeyModifier and TypeMethodDescriptionPlaceholderLookupProvider.UniversalLookup.get(ResourceKey<Object> pResourceKey) private Holder.Reference<Object> PlaceholderLookupProvider.UniversalLookup.getOrCreate(ResourceKey<Object> pKey) PlaceholderLookupProvider.UniversalLookup.getOrThrow(ResourceKey<Object> pResourceKey) <T> Optional<? extends HolderGetter<T>> PlaceholderLookupProvider.lookup(ResourceKey<? extends Registry<? extends T>> pRegistryKey) Constructors in net.minecraft.util with parameters of type ResourceKeyModifierConstructorDescriptionCreates an instance of aElementReferencePathElementrecord class.Creates an instance of aRootElementPathElementrecord class. -
Uses of ResourceKey in net.minecraft.util.profiling.jfr
Methods in net.minecraft.util.profiling.jfr with parameters of type ResourceKeyModifier and TypeMethodDescriptionJfrProfiler.onChunkGenerate(ChunkPos pChunkPos, ResourceKey<Level> pLevel, String pName) JvmProfiler.NoOpProfiler.onChunkGenerate(ChunkPos p_185370_, ResourceKey<Level> p_185371_, String p_185372_) JvmProfiler.onChunkGenerate(ChunkPos pChunkPos, ResourceKey<Level> pLevel, String pName) JfrProfiler.onStructureGenerate(ChunkPos pChunkPos, ResourceKey<Level> pLevel, Holder<Structure> pStructure) JvmProfiler.NoOpProfiler.onStructureGenerate(ChunkPos p_383098_, ResourceKey<Level> p_383187_, Holder<Structure> p_383176_) JvmProfiler.onStructureGenerate(ChunkPos pChunkPos, ResourceKey<Level> pLevel, Holder<Structure> pStructure) -
Uses of ResourceKey in net.minecraft.util.profiling.jfr.event
Constructors in net.minecraft.util.profiling.jfr.event with parameters of type ResourceKeyModifierConstructorDescriptionChunkGenerationEvent(ChunkPos pChunkPos, ResourceKey<Level> pLevel, String pTargetStatus) StructureGenerationEvent(ChunkPos pChunkPos, Holder<Structure> pStructure, ResourceKey<Level> pLevel) -
Uses of ResourceKey in net.minecraft.util.worldupdate
Fields in net.minecraft.util.worldupdate declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> WorldUpgrader.DimensionToUpgrade.dimensionKeyThe field for thedimensionKeyrecord component.Fields in net.minecraft.util.worldupdate with type parameters of type ResourceKeyModifier and TypeFieldDescription(package private) final Set<ResourceKey<Level>> WorldUpgrader.levels(package private) final it.unimi.dsi.fastutil.objects.Reference2FloatMap<ResourceKey<Level>> WorldUpgrader.progressMapMethods in net.minecraft.util.worldupdate that return ResourceKeyModifier and TypeMethodDescriptionWorldUpgrader.DimensionToUpgrade.dimensionKey()Returns the value of thedimensionKeyrecord component.Methods in net.minecraft.util.worldupdate that return types with arguments of type ResourceKeyMethods in net.minecraft.util.worldupdate with parameters of type ResourceKeyModifier and TypeMethodDescriptionfloatWorldUpgrader.dimensionProgress(ResourceKey<Level> pLevel) private booleanWorldUpgrader.AbstractUpgrader.processOnePosition(ResourceKey<Level> pDimension, T pStorage, ChunkPos pChunkPos) protected abstract booleanWorldUpgrader.AbstractUpgrader.tryProcessOnePosition(T pChunkStorage, ChunkPos pChunkPos, ResourceKey<Level> pDimension) protected booleanWorldUpgrader.ChunkUpgrader.tryProcessOnePosition(ChunkStorage p_321581_, ChunkPos p_321524_, ResourceKey<Level> p_321488_) protected booleanWorldUpgrader.SimpleRegionStorageUpgrader.tryProcessOnePosition(SimpleRegionStorage pChunkStorage, ChunkPos pChunkPos, ResourceKey<Level> pDimension) Constructors in net.minecraft.util.worldupdate with parameters of type ResourceKeyModifierConstructorDescription(package private)DimensionToUpgrade(ResourceKey<Level> dimensionKey, T storage, ListIterator<WorldUpgrader.FileToUpgrade> files) Creates an instance of aDimensionToUpgraderecord class. -
Uses of ResourceKey in net.minecraft.world
Methods in net.minecraft.world that return ResourceKeyMethods in net.minecraft.world with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic voidRandomizableContainer.setBlockEntityLootTable(BlockGetter pLevel, RandomSource pRandom, BlockPos pPs, ResourceKey<LootTable> pLootTable) voidRandomizableContainer.setLootTable(ResourceKey<LootTable> pLootTable) default voidRandomizableContainer.setLootTable(ResourceKey<LootTable> pLootTable, long pSeed) -
Uses of ResourceKey in net.minecraft.world.damagesource
Fields in net.minecraft.world.damagesource declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<DamageType> DamageTypes.ARROWstatic final ResourceKey<DamageType> DamageTypes.BAD_RESPAWN_POINTstatic final ResourceKey<DamageType> DamageTypes.CACTUSstatic final ResourceKey<DamageType> DamageTypes.CAMPFIREstatic final ResourceKey<DamageType> DamageTypes.CRAMMINGstatic final ResourceKey<DamageType> DamageTypes.DRAGON_BREATHstatic final ResourceKey<DamageType> DamageTypes.DROWNstatic final ResourceKey<DamageType> DamageTypes.DRY_OUTstatic final ResourceKey<DamageType> DamageTypes.ENDER_PEARLstatic final ResourceKey<DamageType> DamageTypes.EXPLOSIONstatic final ResourceKey<DamageType> DamageTypes.FALLstatic final ResourceKey<DamageType> DamageTypes.FALLING_ANVILstatic final ResourceKey<DamageType> DamageTypes.FALLING_BLOCKstatic final ResourceKey<DamageType> DamageTypes.FALLING_STALACTITEstatic final ResourceKey<DamageType> DamageTypes.FELL_OUT_OF_WORLDstatic final ResourceKey<DamageType> DamageTypes.FIREBALLstatic final ResourceKey<DamageType> DamageTypes.FIREWORKSstatic final ResourceKey<DamageType> DamageTypes.FLY_INTO_WALLstatic final ResourceKey<DamageType> DamageTypes.FREEZEstatic final ResourceKey<DamageType> DamageTypes.GENERICstatic final ResourceKey<DamageType> DamageTypes.GENERIC_KILLstatic final ResourceKey<DamageType> DamageTypes.HOT_FLOORstatic final ResourceKey<DamageType> DamageTypes.IN_FIREstatic final ResourceKey<DamageType> DamageTypes.IN_WALLstatic final ResourceKey<DamageType> DamageTypes.INDIRECT_MAGICstatic final ResourceKey<DamageType> DamageTypes.LAVAstatic final ResourceKey<DamageType> DamageTypes.LIGHTNING_BOLTstatic final ResourceKey<DamageType> DamageTypes.MACE_SMASHstatic final ResourceKey<DamageType> DamageTypes.MAGICstatic final ResourceKey<DamageType> DamageTypes.MOB_ATTACKstatic final ResourceKey<DamageType> DamageTypes.MOB_ATTACK_NO_AGGROstatic final ResourceKey<DamageType> DamageTypes.MOB_PROJECTILEstatic final ResourceKey<DamageType> DamageTypes.ON_FIREstatic final ResourceKey<DamageType> DamageTypes.OUTSIDE_BORDERstatic final ResourceKey<DamageType> DamageTypes.PLAYER_ATTACKstatic final ResourceKey<DamageType> DamageTypes.PLAYER_EXPLOSIONstatic final ResourceKey<DamageType> DamageTypes.SONIC_BOOMstatic final ResourceKey<DamageType> DamageTypes.SPITstatic final ResourceKey<DamageType> DamageTypes.STALAGMITEstatic final ResourceKey<DamageType> DamageTypes.STARVEstatic final ResourceKey<DamageType> DamageTypes.STINGstatic final ResourceKey<DamageType> DamageTypes.SWEET_BERRY_BUSHstatic final ResourceKey<DamageType> DamageTypes.THORNSstatic final ResourceKey<DamageType> DamageTypes.THROWNstatic final ResourceKey<DamageType> DamageTypes.TRIDENTstatic final ResourceKey<DamageType> DamageTypes.UNATTRIBUTED_FIREBALLstatic final ResourceKey<DamageType> DamageTypes.WIND_CHARGEstatic final ResourceKey<DamageType> DamageTypes.WITHERstatic final ResourceKey<DamageType> DamageTypes.WITHER_SKULLMethods in net.minecraft.world.damagesource with parameters of type ResourceKeyModifier and TypeMethodDescriptionbooleanDamageSource.is(ResourceKey<DamageType> pDamageTypeKey) DamageSources.source(ResourceKey<DamageType> pDamageTypeKey) DamageSources.source(ResourceKey<DamageType> pDamageTypeKey, Entity pEntity) DamageSources.source(ResourceKey<DamageType> pDamageTypeKey, Entity pCausingEntity, Entity pDirectEntity) -
Uses of ResourceKey in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootTable> EquipmentTable.lootTableThe field for thelootTablerecord component.Fields in net.minecraft.world.entity with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate DependantName<EntityType<?>, Optional<ResourceKey<LootTable>>> EntityType.Builder.lootTableprivate final Optional<ResourceKey<LootTable>> EntityType.lootTableprivate Optional<ResourceKey<LootTable>> Mob.lootTableMethods in net.minecraft.world.entity that return ResourceKeyModifier and TypeMethodDescriptionEquipmentTable.lootTable()Returns the value of thelootTablerecord component.private static ResourceKey<EntityType<?>> EntityType.vanillaEntityId(String pName) Methods in net.minecraft.world.entity that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionEntityType.getDefaultLootTable()Entity.getLootTable()final Optional<ResourceKey<LootTable>> Mob.getLootTable()Methods in net.minecraft.world.entity with parameters of type ResourceKeyModifier and TypeMethodDescriptionEntityType.Builder.build(ResourceKey<EntityType<?>> pEntityType) booleanLivingEntity.dropFromGiftLootTable(ServerLevel pLevel, ResourceKey<LootTable> pLootTable, BiConsumer<ServerLevel, ItemStack> pDropConsumer) protected booleanLivingEntity.dropFromLootTable(ServerLevel pLevel, ResourceKey<LootTable> pLootTable, Function<LootParams.Builder, LootParams> pParamsBuilder, BiConsumer<ServerLevel, ItemStack> pDropConsumer) protected voidLivingEntity.dropFromShearingLootTable(ServerLevel pLevel, ResourceKey<LootTable> pLootTable, ItemStack pShears, BiConsumer<ServerLevel, ItemStack> pDropConsumer) default voidEquipmentUser.equip(ResourceKey<LootTable> pEquipmentLootTable, LootParams pParams, long pSeed, Map<EquipmentSlot, Float> pSlotDropChances) default voidEquipmentUser.equip(ResourceKey<LootTable> pEquipmentLootTable, LootParams pParams, Map<EquipmentSlot, Float> pSlotDropChances) voidMob.equip(ResourceKey<LootTable> pEquipmentLootTable, Map<EquipmentSlot, Float> pSlotDropChances) private static <T extends Entity>
EntityType<T> EntityType.register(ResourceKey<EntityType<?>> pKey, EntityType.Builder<T> pBuilder) Constructors in net.minecraft.world.entity with parameters of type ResourceKeyModifierConstructorDescriptionEquipmentTable(ResourceKey<LootTable> p_368531_, float p_368593_) EquipmentTable(ResourceKey<LootTable> lootTable, Map<EquipmentSlot, Float> slotDropChances) Creates an instance of aEquipmentTablerecord class.Constructor parameters in net.minecraft.world.entity with type arguments of type ResourceKeyModifierConstructorDescriptionEntityType(EntityType.EntityFactory<T> pFactory, MobCategory pCategory, boolean pSerialize, boolean pSummon, boolean pFireImmune, boolean pCanSpawnFarFromPlayer, ImmutableSet<Block> pImmuneTo, EntityDimensions pDimensions, float pSpawnDimensionsScale, int pClientTrackingRange, int pUpdateInterval, String pDescriptionId, Optional<ResourceKey<LootTable>> pLootTable, FeatureFlagSet pRequiredFeatures) EntityType(EntityType.EntityFactory<T> pFactory, MobCategory pCategory, boolean pSerialize, boolean pSummon, boolean pFireImmune, boolean pCanSpawnFarFromPlayer, ImmutableSet<Block> pImmuneTo, EntityDimensions pDimensions, float pSpawnDimensionsScale, int pClientTrackingRange, int pUpdateInterval, String pDescriptionId, Optional<ResourceKey<LootTable>> pLootTable, FeatureFlagSet pRequiredFeatures, Predicate<EntityType<?>> trackDeltasSupplier, ToIntFunction<EntityType<?>> trackingRangeSupplier, ToIntFunction<EntityType<?>> updateIntervalSupplier, boolean onlyOpCanSetNbt) -
Uses of ResourceKey in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Map<ResourceKey<VillagerProfession>, ResourceKey<LootTable>> GiveGiftToHero.GIFTSDeprecated.Neo: use thedata mapinsteadprivate static final Map<ResourceKey<VillagerProfession>, ResourceKey<LootTable>> GiveGiftToHero.GIFTSDeprecated.Neo: use thedata mapinsteadMethods in net.minecraft.world.entity.ai.behavior that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<LootTable> GiveGiftToHero.getLootTableToThrow(Villager pVillager) -
Uses of ResourceKey in net.minecraft.world.entity.ai.village.poi
Fields in net.minecraft.world.entity.ai.village.poi declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<PoiType> PoiTypes.ARMORERstatic final ResourceKey<PoiType> PoiTypes.BEE_NESTstatic final ResourceKey<PoiType> PoiTypes.BEEHIVEstatic final ResourceKey<PoiType> PoiTypes.BUTCHERstatic final ResourceKey<PoiType> PoiTypes.CARTOGRAPHERstatic final ResourceKey<PoiType> PoiTypes.CLERICstatic final ResourceKey<PoiType> PoiTypes.FARMERstatic final ResourceKey<PoiType> PoiTypes.FISHERMANstatic final ResourceKey<PoiType> PoiTypes.FLETCHERstatic final ResourceKey<PoiType> PoiTypes.HOMEstatic final ResourceKey<PoiType> PoiTypes.LEATHERWORKERstatic final ResourceKey<PoiType> PoiTypes.LIBRARIANstatic final ResourceKey<PoiType> PoiTypes.LIGHTNING_RODstatic final ResourceKey<PoiType> PoiTypes.LODESTONEstatic final ResourceKey<PoiType> PoiTypes.MASONstatic final ResourceKey<PoiType> PoiTypes.MEETINGstatic final ResourceKey<PoiType> PoiTypes.NETHER_PORTALstatic final ResourceKey<PoiType> PoiTypes.SHEPHERDstatic final ResourceKey<PoiType> PoiTypes.TEST_INSTANCEstatic final ResourceKey<PoiType> PoiTypes.TOOLSMITHstatic final ResourceKey<PoiType> PoiTypes.WEAPONSMITHMethods in net.minecraft.world.entity.ai.village.poi that return ResourceKeyMethods in net.minecraft.world.entity.ai.village.poi with parameters of type ResourceKeyModifier and TypeMethodDescriptionbooleanPoiManager.existsAtPosition(ResourceKey<PoiType> pType, BlockPos pPos) private static PoiTypePoiTypes.register(Registry<PoiType> pKey, ResourceKey<PoiType> pValue, Set<BlockState> pMatchingStates, int pMaxTickets, int pValidRange) -
Uses of ResourceKey in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<CatVariant> CatVariants.ALL_BLACKstatic final ResourceKey<CatVariant> CatVariants.BLACKstatic final ResourceKey<CatVariant> CatVariants.BRITISH_SHORTHAIRstatic final ResourceKey<CatVariant> CatVariants.CALICOstatic final ResourceKey<ChickenVariant> ChickenVariants.COLDstatic final ResourceKey<CowVariant> CowVariants.COLDstatic final ResourceKey<PigVariant> PigVariants.COLDstatic final ResourceKey<ChickenVariant> ChickenVariants.DEFAULTstatic final ResourceKey<CowVariant> CowVariants.DEFAULTstatic final ResourceKey<PigVariant> PigVariants.DEFAULTprivate static final ResourceKey<CatVariant> Cat.DEFAULT_VARIANTstatic final ResourceKey<CatVariant> CatVariants.JELLIEstatic final ResourceKey<CatVariant> CatVariants.PERSIANstatic final ResourceKey<CatVariant> CatVariants.RAGDOLLstatic final ResourceKey<CatVariant> CatVariants.REDstatic final ResourceKey<CatVariant> CatVariants.SIAMESEstatic final ResourceKey<CatVariant> CatVariants.TABBYstatic final ResourceKey<ChickenVariant> ChickenVariants.TEMPERATEstatic final ResourceKey<CowVariant> CowVariants.TEMPERATEstatic final ResourceKey<PigVariant> PigVariants.TEMPERATEstatic final ResourceKey<ChickenVariant> ChickenVariants.WARMstatic final ResourceKey<CowVariant> CowVariants.WARMstatic final ResourceKey<PigVariant> PigVariants.WARMstatic final ResourceKey<CatVariant> CatVariants.WHITEMethods in net.minecraft.world.entity.animal that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<CatVariant> private static ResourceKey<ChickenVariant> ChickenVariants.createKey(ResourceLocation pName) private static ResourceKey<CowVariant> CowVariants.createKey(ResourceLocation pName) private static ResourceKey<PigVariant> PigVariants.createKey(ResourceLocation pName) Methods in net.minecraft.world.entity.animal with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidCatVariants.register(BootstrapContext<CatVariant> pContext, ResourceKey<CatVariant> pKey, String pName, SpawnPrioritySelectors pSpawnConditions) private static voidChickenVariants.register(BootstrapContext<ChickenVariant> pContext, ResourceKey<ChickenVariant> pKey, ChickenVariant.ModelType pModelType, String pName, TagKey<Biome> pBiomes) private static voidChickenVariants.register(BootstrapContext<ChickenVariant> pContext, ResourceKey<ChickenVariant> pKey, ChickenVariant.ModelType pModelType, String pName, SpawnPrioritySelectors pSpawnConditions) private static voidCowVariants.register(BootstrapContext<CowVariant> pContext, ResourceKey<CowVariant> pKey, CowVariant.ModelType pModelType, String pAssetId, TagKey<Biome> pBiomes) private static voidCowVariants.register(BootstrapContext<CowVariant> pContext, ResourceKey<CowVariant> pKey, CowVariant.ModelType pModelType, String pAssetId, SpawnPrioritySelectors pSpawnConditions) private static voidPigVariants.register(BootstrapContext<PigVariant> pContext, ResourceKey<PigVariant> pKey, PigVariant.ModelType pModelType, String pName, TagKey<Biome> pBiomes) private static voidPigVariants.register(BootstrapContext<PigVariant> pContext, ResourceKey<PigVariant> pKey, PigVariant.ModelType pModelType, String pName, SpawnPrioritySelectors pSpawnConditions) private static voidCatVariants.registerForAnyConditions(BootstrapContext<CatVariant> pContext, ResourceKey<CatVariant> pKey, String pName) -
Uses of ResourceKey in net.minecraft.world.entity.animal.frog
Fields in net.minecraft.world.entity.animal.frog declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<FrogVariant> FrogVariants.COLDprivate static final ResourceKey<FrogVariant> Frog.DEFAULT_VARIANTstatic final ResourceKey<FrogVariant> FrogVariants.TEMPERATEstatic final ResourceKey<FrogVariant> FrogVariants.WARMMethods in net.minecraft.world.entity.animal.frog that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<FrogVariant> FrogVariants.createKey(ResourceLocation pName) Methods in net.minecraft.world.entity.animal.frog with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidFrogVariants.register(BootstrapContext<FrogVariant> pContext, ResourceKey<FrogVariant> pKey, String pName, TagKey<Biome> pBiome) private static voidFrogVariants.register(BootstrapContext<FrogVariant> pContext, ResourceKey<FrogVariant> pKey, String pName, SpawnPrioritySelectors pSpawnConditions) -
Uses of ResourceKey in net.minecraft.world.entity.animal.wolf
Fields in net.minecraft.world.entity.animal.wolf declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<WolfSoundVariant> WolfSoundVariants.ANGRYstatic final ResourceKey<WolfVariant> WolfVariants.ASHENstatic final ResourceKey<WolfSoundVariant> WolfSoundVariants.BIGstatic final ResourceKey<WolfVariant> WolfVariants.BLACKstatic final ResourceKey<WolfVariant> WolfVariants.CHESTNUTstatic final ResourceKey<WolfSoundVariant> WolfSoundVariants.CLASSICstatic final ResourceKey<WolfSoundVariant> WolfSoundVariants.CUTEstatic final ResourceKey<WolfVariant> WolfVariants.DEFAULTstatic final ResourceKey<WolfSoundVariant> WolfSoundVariants.GRUMPYstatic final ResourceKey<WolfVariant> WolfVariants.PALEstatic final ResourceKey<WolfSoundVariant> WolfSoundVariants.PUGLINstatic final ResourceKey<WolfVariant> WolfVariants.RUSTYstatic final ResourceKey<WolfSoundVariant> WolfSoundVariants.SADstatic final ResourceKey<WolfVariant> WolfVariants.SNOWYstatic final ResourceKey<WolfVariant> WolfVariants.SPOTTEDstatic final ResourceKey<WolfVariant> WolfVariants.STRIPEDstatic final ResourceKey<WolfVariant> WolfVariants.WOODSMethods in net.minecraft.world.entity.animal.wolf that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<WolfSoundVariant> WolfSoundVariants.createKey(WolfSoundVariants.SoundSet pSoundSet) private static ResourceKey<WolfVariant> Methods in net.minecraft.world.entity.animal.wolf with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidWolfSoundVariants.register(BootstrapContext<WolfSoundVariant> pContext, ResourceKey<WolfSoundVariant> pKey, WolfSoundVariants.SoundSet pSoundSet) private static voidWolfVariants.register(BootstrapContext<WolfVariant> pContext, ResourceKey<WolfVariant> pKey, String pName, ResourceKey<Biome> pBiome) private static voidWolfVariants.register(BootstrapContext<WolfVariant> pContext, ResourceKey<WolfVariant> pKey, String pName, TagKey<Biome> pBiomes) private static voidWolfVariants.register(BootstrapContext<WolfVariant> pContext, ResourceKey<WolfVariant> pKey, String pName, SpawnPrioritySelectors pSpawnConditions) -
Uses of ResourceKey in net.minecraft.world.entity.decoration
Fields in net.minecraft.world.entity.decoration declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<PaintingVariant> PaintingVariants.ALBANstatic final ResourceKey<PaintingVariant> PaintingVariants.AZTECstatic final ResourceKey<PaintingVariant> PaintingVariants.AZTEC2static final ResourceKey<PaintingVariant> PaintingVariants.BACKYARDstatic final ResourceKey<PaintingVariant> PaintingVariants.BAROQUEstatic final ResourceKey<PaintingVariant> PaintingVariants.BOMBstatic final ResourceKey<PaintingVariant> PaintingVariants.BOUQUETstatic final ResourceKey<PaintingVariant> PaintingVariants.BURNING_SKULLstatic final ResourceKey<PaintingVariant> PaintingVariants.BUSTstatic final ResourceKey<PaintingVariant> PaintingVariants.CAVEBIRDstatic final ResourceKey<PaintingVariant> PaintingVariants.CHANGINGstatic final ResourceKey<PaintingVariant> PaintingVariants.COTANstatic final ResourceKey<PaintingVariant> PaintingVariants.COURBETstatic final ResourceKey<PaintingVariant> PaintingVariants.CREEBETstatic final ResourceKey<PaintingVariant> PaintingVariants.DENNISstatic final ResourceKey<PaintingVariant> PaintingVariants.DONKEY_KONGstatic final ResourceKey<PaintingVariant> PaintingVariants.EARTHstatic final ResourceKey<PaintingVariant> PaintingVariants.ENDBOSSstatic final ResourceKey<PaintingVariant> PaintingVariants.FERNstatic final ResourceKey<PaintingVariant> PaintingVariants.FIGHTERSstatic final ResourceKey<PaintingVariant> PaintingVariants.FINDINGstatic final ResourceKey<PaintingVariant> PaintingVariants.FIREstatic final ResourceKey<PaintingVariant> PaintingVariants.GRAHAMstatic final ResourceKey<PaintingVariant> PaintingVariants.HUMBLEstatic final ResourceKey<PaintingVariant> PaintingVariants.KEBABstatic final ResourceKey<PaintingVariant> PaintingVariants.LOWMISTstatic final ResourceKey<PaintingVariant> PaintingVariants.MATCHstatic final ResourceKey<PaintingVariant> PaintingVariants.MEDITATIVEstatic final ResourceKey<PaintingVariant> PaintingVariants.ORBstatic final ResourceKey<PaintingVariant> PaintingVariants.OWLEMONSstatic final ResourceKey<PaintingVariant> PaintingVariants.PASSAGEstatic final ResourceKey<PaintingVariant> PaintingVariants.PIGSCENEstatic final ResourceKey<PaintingVariant> PaintingVariants.PLANTstatic final ResourceKey<PaintingVariant> PaintingVariants.POINTERstatic final ResourceKey<PaintingVariant> PaintingVariants.PONDstatic final ResourceKey<PaintingVariant> PaintingVariants.POOLstatic final ResourceKey<PaintingVariant> PaintingVariants.PRAIRIE_RIDEstatic final ResourceKey<PaintingVariant> PaintingVariants.SEAstatic final ResourceKey<PaintingVariant> PaintingVariants.SKELETONstatic final ResourceKey<PaintingVariant> PaintingVariants.SKULL_AND_ROSESstatic final ResourceKey<PaintingVariant> PaintingVariants.STAGEstatic final ResourceKey<PaintingVariant> PaintingVariants.SUNFLOWERSstatic final ResourceKey<PaintingVariant> PaintingVariants.SUNSETstatic final ResourceKey<PaintingVariant> PaintingVariants.TIDESstatic final ResourceKey<PaintingVariant> PaintingVariants.UNPACKEDstatic final ResourceKey<PaintingVariant> PaintingVariants.VOIDstatic final ResourceKey<PaintingVariant> PaintingVariants.WANDERERstatic final ResourceKey<PaintingVariant> PaintingVariants.WASTELANDstatic final ResourceKey<PaintingVariant> PaintingVariants.WATERstatic final ResourceKey<PaintingVariant> PaintingVariants.WINDstatic final ResourceKey<PaintingVariant> PaintingVariants.WITHERMethods in net.minecraft.world.entity.decoration that return ResourceKeyMethods in net.minecraft.world.entity.decoration with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidPaintingVariants.register(BootstrapContext<PaintingVariant> pContext, ResourceKey<PaintingVariant> pKey, int pWidth, int pHeight) private static voidPaintingVariants.register(BootstrapContext<PaintingVariant> pContext, ResourceKey<PaintingVariant> pKey, int pWidth, int pHeight, boolean pHasAuthor) -
Uses of ResourceKey in net.minecraft.world.entity.npc
Fields in net.minecraft.world.entity.npc declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<VillagerProfession> VillagerProfession.ARMORERstatic final ResourceKey<VillagerProfession> VillagerProfession.BUTCHERstatic final ResourceKey<VillagerProfession> VillagerProfession.CARTOGRAPHERstatic final ResourceKey<VillagerProfession> VillagerProfession.CLERICstatic final ResourceKey<VillagerType> VillagerType.DESERTstatic final ResourceKey<VillagerProfession> VillagerProfession.FARMERstatic final ResourceKey<VillagerProfession> VillagerProfession.FISHERMANstatic final ResourceKey<VillagerProfession> VillagerProfession.FLETCHERstatic final ResourceKey<VillagerType> VillagerType.JUNGLEstatic final ResourceKey<VillagerProfession> VillagerProfession.LEATHERWORKERstatic final ResourceKey<VillagerProfession> VillagerProfession.LIBRARIANstatic final ResourceKey<VillagerProfession> VillagerProfession.MASONstatic final ResourceKey<VillagerProfession> VillagerProfession.NITWITstatic final ResourceKey<VillagerProfession> VillagerProfession.NONEstatic final ResourceKey<VillagerType> VillagerType.PLAINSstatic final ResourceKey<VillagerType> VillagerType.SAVANNAstatic final ResourceKey<VillagerProfession> VillagerProfession.SHEPHERDstatic final ResourceKey<VillagerType> VillagerType.SNOWstatic final ResourceKey<VillagerType> VillagerType.SWAMPstatic final ResourceKey<VillagerType> VillagerType.TAIGAstatic final ResourceKey<VillagerProfession> VillagerProfession.TOOLSMITHstatic final ResourceKey<VillagerProfession> VillagerProfession.WEAPONSMITHFields in net.minecraft.world.entity.npc with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Map<ResourceKey<Biome>, ResourceKey<VillagerType>> VillagerType.BY_BIOMEDeprecated.private static final Map<ResourceKey<Biome>, ResourceKey<VillagerType>> VillagerType.BY_BIOMEDeprecated.private final Optional<ResourceKey<EnchantmentProvider>> VillagerTrades.ItemsAndEmeraldsToItems.enchantmentProviderprivate final Optional<ResourceKey<EnchantmentProvider>> VillagerTrades.ItemsForEmeralds.enchantmentProviderstatic final Map<ResourceKey<VillagerProfession>, it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> VillagerTrades.EXPERIMENTAL_TRADESprivate final Map<ResourceKey<VillagerType>, Item> VillagerTrades.EmeraldsForVillagerTypeItem.tradesprivate final Map<ResourceKey<VillagerType>, VillagerTrades.ItemListing> VillagerTrades.TypeSpecificTrade.tradesThe field for thetradesrecord component.static final Map<ResourceKey<VillagerProfession>, it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> VillagerTrades.TRADESMethods in net.minecraft.world.entity.npc that return ResourceKeyModifier and TypeMethodDescriptionstatic ResourceKey<VillagerType> private static ResourceKey<VillagerProfession> private static ResourceKey<VillagerType> Methods in net.minecraft.world.entity.npc that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionVillagerTrades.TypeSpecificTrade.trades()Returns the value of thetradesrecord component.Methods in net.minecraft.world.entity.npc with parameters of type ResourceKeyModifier and TypeMethodDescriptionVillagerTrades.TypeSpecificTrade.oneTradeInBiomes(VillagerTrades.ItemListing pListing, ResourceKey<VillagerType>... pVillagerTypes) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pName, Predicate<Holder<PoiType>> pHeldJobSite, Predicate<Holder<PoiType>> pAcquirableJobSite, ImmutableSet<Item> pRequestedItems, ImmutableSet<Block> pSecondaryPoi, SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pName, Predicate<Holder<PoiType>> pHeldJobSite, Predicate<Holder<PoiType>> pAcquirableJobSite, SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pName, ResourceKey<PoiType> pJobSite, ImmutableSet<Item> pRequestedItems, ImmutableSet<Block> pSecondaryPoi, SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pName, ResourceKey<PoiType> pPoiType, SoundEvent pWorkSound) private static VillagerTypeVillagerType.register(Registry<VillagerType> pRegistry, ResourceKey<VillagerType> pKey) VillagerData.withProfession(HolderGetter.Provider pRegistries, ResourceKey<VillagerProfession> pProfession) VillagerData.withType(HolderGetter.Provider pRegistries, ResourceKey<VillagerType> pType) Constructors in net.minecraft.world.entity.npc with parameters of type ResourceKeyModifierConstructorDescriptionItemsAndEmeraldsToItems(ItemLike pFromItem, int pFromItemAmount, int pEmeraldCost, ItemLike pToItem, int pToItemCount, int pMaxUses, int pVillagerXp, float pPriceMultiplier, ResourceKey<EnchantmentProvider> pEnchantmentProvider) ItemsForEmeralds(Item pItem, int pEmeraldCost, int pNumberOfItems, int pMaxUses, int pVillagerXp, float pPriceMultiplier, ResourceKey<EnchantmentProvider> pEnchantmentProvider) Villager(EntityType<? extends Villager> pEntityType, Level pLevel, ResourceKey<VillagerType> pVillagerType) Constructor parameters in net.minecraft.world.entity.npc with type arguments of type ResourceKeyModifierConstructorDescriptionEmeraldsForVillagerTypeItem(int pCost, int pMaxUses, int pVillagerXp, Map<ResourceKey<VillagerType>, Item> pTrades) ItemsAndEmeraldsToItems(ItemCost pFromItem, int pEmeraldCost, ItemStack pToItem, int pMaxUses, int pVillagerXp, float pPriceMultiplier, Optional<ResourceKey<EnchantmentProvider>> pEnchantmentProvider) ItemsForEmeralds(ItemStack pItemStack, int pEmeraldCost, int pNumberOfItems, int pMaxUses, int pVillagerXp, float pPriceMultiplier, Optional<ResourceKey<EnchantmentProvider>> pEnchantmentProvider) Creates an instance of aTypeSpecificTraderecord class. -
Uses of ResourceKey in net.minecraft.world.entity.player
Method parameters in net.minecraft.world.entity.player with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidPlayer.awardRecipesByKey(List<ResourceKey<Recipe<?>>> pRecipes) -
Uses of ResourceKey in net.minecraft.world.entity.variant
Methods in net.minecraft.world.entity.variant with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic <T> Holder<T> VariantUtils.getAny(RegistryAccess pRegistryAccess, ResourceKey<? extends Registry<T>> pRegistryKey) static <T> Holder<T> VariantUtils.getDefaultOrAny(RegistryAccess pRegistryAccess, ResourceKey<T> pKey) VariantUtils.readVariant(ValueInput pInput, ResourceKey<? extends Registry<T>> pRegistryKey) static <T extends PriorityProvider<SpawnContext,?>>
Optional<Holder.Reference<T>> VariantUtils.selectVariantToSpawn(SpawnContext pContext, ResourceKey<Registry<T>> pRegistryKey) -
Uses of ResourceKey in net.minecraft.world.entity.vehicle
Fields in net.minecraft.world.entity.vehicle declared as ResourceKeyModifier and TypeFieldDescriptionprivate ResourceKey<LootTable> AbstractChestBoat.lootTableprivate ResourceKey<LootTable> AbstractMinecartContainer.lootTableMethods in net.minecraft.world.entity.vehicle that return ResourceKeyModifier and TypeMethodDescriptionAbstractChestBoat.getContainerLootTable()AbstractMinecartContainer.getContainerLootTable()ContainerEntity.getContainerLootTable()Methods in net.minecraft.world.entity.vehicle with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidAbstractChestBoat.setContainerLootTable(ResourceKey<LootTable> pLootTable) voidAbstractMinecartContainer.setContainerLootTable(ResourceKey<LootTable> pLootTable) voidContainerEntity.setContainerLootTable(ResourceKey<LootTable> pLootTable) voidAbstractMinecartContainer.setLootTable(ResourceKey<LootTable> pLootTable, long pSeed) -
Uses of ResourceKey in net.minecraft.world.flag
Fields in net.minecraft.world.flag with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic final Set<ResourceKey<? extends Registry<? extends FeatureElement>>> FeatureElement.FILTERED_REGISTRIES -
Uses of ResourceKey in net.minecraft.world.inventory
Constructors in net.minecraft.world.inventory with parameters of type ResourceKeyModifierConstructorDescriptionprotectedAbstractFurnaceMenu(MenuType<?> pMenuType, RecipeType<? extends AbstractCookingRecipe> pRecipeType, ResourceKey<RecipePropertySet> pAcceptedInputs, RecipeBookType pRecipeBookType, int pContainerId, Inventory pInventory) protectedAbstractFurnaceMenu(MenuType<?> pMenuType, RecipeType<? extends AbstractCookingRecipe> pRecipeType, ResourceKey<RecipePropertySet> pAcceptedInputs, RecipeBookType pRecipeBookType, int pContainerId, Inventory pInventory, Container pContainer, ContainerData pData) -
Uses of ResourceKey in net.minecraft.world.item
Fields in net.minecraft.world.item declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Instrument> Instruments.ADMIRE_GOAT_HORNstatic final ResourceKey<JukeboxSong> JukeboxSongs.BLOCKSstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.BUILDING_BLOCKSstatic final ResourceKey<Instrument> Instruments.CALL_GOAT_HORNstatic final ResourceKey<JukeboxSong> JukeboxSongs.CATstatic final ResourceKey<JukeboxSong> JukeboxSongs.CHIRPstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.COLORED_BLOCKSstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.COMBATstatic final ResourceKey<JukeboxSong> JukeboxSongs.CREATORstatic final ResourceKey<JukeboxSong> JukeboxSongs.CREATOR_MUSIC_BOXstatic final ResourceKey<Instrument> Instruments.DREAM_GOAT_HORNstatic final ResourceKey<JukeboxSong> JukeboxSongs.ELEVENstatic final ResourceKey<JukeboxSong> JukeboxSongs.FARstatic final ResourceKey<Instrument> Instruments.FEEL_GOAT_HORNstatic final ResourceKey<JukeboxSong> JukeboxSongs.FIVEstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.FOOD_AND_DRINKSstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.FUNCTIONAL_BLOCKSstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.HOTBARprivate ResourceKey<Item> Item.Properties.idstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.INGREDIENTSstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.INVENTORYstatic final ResourceKey<JukeboxSong> JukeboxSongs.LAVA_CHICKENstatic final ResourceKey<JukeboxSong> JukeboxSongs.MALLstatic final ResourceKey<JukeboxSong> JukeboxSongs.MELLOHIstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.NATURAL_BLOCKSstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.OP_BLOCKSstatic final ResourceKey<JukeboxSong> JukeboxSongs.OTHERSIDEstatic final ResourceKey<JukeboxSong> JukeboxSongs.PIGSTEPstatic final ResourceKey<Instrument> Instruments.PONDER_GOAT_HORNstatic final ResourceKey<JukeboxSong> JukeboxSongs.PRECIPICEstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.REDSTONE_BLOCKSstatic final ResourceKey<JukeboxSong> JukeboxSongs.RELICstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.SEARCHstatic final ResourceKey<Instrument> Instruments.SEEK_GOAT_HORNstatic final ResourceKey<Instrument> Instruments.SING_GOAT_HORNstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.SPAWN_EGGSstatic final ResourceKey<JukeboxSong> JukeboxSongs.STALstatic final ResourceKey<JukeboxSong> JukeboxSongs.STRADstatic final ResourceKey<JukeboxSong> JukeboxSongs.TEARSstatic final ResourceKey<JukeboxSong> JukeboxSongs.THIRTEENstatic final ResourceKey<CreativeModeTab> CreativeModeTabs.TOOLS_AND_UTILITIESstatic final ResourceKey<JukeboxSong> JukeboxSongs.WAITstatic final ResourceKey<JukeboxSong> JukeboxSongs.WARDstatic final ResourceKey<Instrument> Instruments.YEARN_GOAT_HORNFields in net.minecraft.world.item with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final com.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>> EitherHolder.contentsThe field for thecontentsrecord component.Methods in net.minecraft.world.item that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<Item> Items.blockIdToItemId(ResourceKey<Block> pBlockId) private static ResourceKey<Instrument> private static ResourceKey<JukeboxSong> private static ResourceKey<CreativeModeTab> private static ResourceKey<Item> Items.vanillaItemId(String pName) Methods in net.minecraft.world.item that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>> EitherHolder.contents()Returns the value of thecontentsrecord component.EitherHolder.key()Methods in net.minecraft.world.item with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<Item> Items.blockIdToItemId(ResourceKey<Block> pBlockId) static <T> com.mojang.serialization.Codec<EitherHolder<T>> EitherHolder.codec(ResourceKey<Registry<T>> pRegistryKey, com.mojang.serialization.Codec<Holder<T>> pCodec) private static MapIdMapItem.createNewSavedData(ServerLevel pLevel, int pX, int pZ, int pScale, boolean pTrackingPosition, boolean pUnlimitedTracking, ResourceKey<Level> pDimension) Item.Properties.jukeboxPlayable(ResourceKey<JukeboxSong> pSong) static voidInstruments.register(BootstrapContext<Instrument> pContext, ResourceKey<Instrument> pKey, Holder<SoundEvent> pSoundEvent, float pUseDuration, float pRange) private static voidJukeboxSongs.register(BootstrapContext<JukeboxSong> pContext, ResourceKey<JukeboxSong> pKey, Holder.Reference<SoundEvent> pSoundEvent, int pLengthInSeconds, int pComparatorOutput) static ItemItems.registerItem(ResourceKey<Item> pKey, Function<Item.Properties, Item> pFactory) static ItemItems.registerItem(ResourceKey<Item> pKey, Function<Item.Properties, Item> pFactory, Item.Properties pProperties) Item.Properties.setId(ResourceKey<Item> pId) static <T> StreamCodec<RegistryFriendlyByteBuf, EitherHolder<T>> EitherHolder.streamCodec(ResourceKey<Registry<T>> pRegistryKey, StreamCodec<RegistryFriendlyByteBuf, Holder<T>> pStreamCodec) Item.Properties.trimMaterial(ResourceKey<TrimMaterial> pTrimMaterial) final CreativeModeTab.BuilderCreativeModeTab.Builder.withTabsAfter(ResourceKey<CreativeModeTab>... tabs) Define tabs that should come after this tab.final CreativeModeTab.BuilderCreativeModeTab.Builder.withTabsBefore(ResourceKey<CreativeModeTab>... tabs) Define tabs that should come before this tab.Constructors in net.minecraft.world.item with parameters of type ResourceKeyConstructor parameters in net.minecraft.world.item with type arguments of type ResourceKeyModifierConstructorDescriptionEitherHolder(com.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>> contents) Creates an instance of aEitherHolderrecord class. -
Uses of ResourceKey in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootTable> SeededContainerLoot.lootTableThe field for thelootTablerecord component.Methods in net.minecraft.world.item.component that return ResourceKeyModifier and TypeMethodDescriptionSeededContainerLoot.lootTable()Returns the value of thelootTablerecord component.Methods in net.minecraft.world.item.component with parameters of type ResourceKeyModifier and TypeMethodDescription<T> TCustomData.parseEntityType(HolderLookup.Provider pRegistries, ResourceKey<? extends Registry<T>> pRegistryKey) Constructors in net.minecraft.world.item.component with parameters of type ResourceKeyModifierConstructorDescriptionInstrumentComponent(ResourceKey<Instrument> p_399945_) Deprecated.ProvidesTrimMaterial(ResourceKey<TrimMaterial> p_399658_) Deprecated.SeededContainerLoot(ResourceKey<LootTable> lootTable, long seed) Creates an instance of aSeededContainerLootrecord class. -
Uses of ResourceKey in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<RecipePropertySet> RecipePropertySet.BLAST_FURNACE_INPUTstatic final ResourceKey<RecipePropertySet> RecipePropertySet.CAMPFIRE_INPUTstatic final ResourceKey<RecipePropertySet> RecipePropertySet.FURNACE_INPUTprivate final ResourceKey<Recipe<?>> RecipeHolder.idThe field for theidrecord component.(package private) final ResourceKey<RecipePropertySet> RecipeManager.IngredientCollector.keystatic final ResourceKey<RecipePropertySet> RecipePropertySet.SMITHING_ADDITIONstatic final ResourceKey<RecipePropertySet> RecipePropertySet.SMITHING_BASEstatic final ResourceKey<RecipePropertySet> RecipePropertySet.SMITHING_TEMPLATEstatic final ResourceKey<RecipePropertySet> RecipePropertySet.SMOKER_INPUTstatic final ResourceKey<? extends Registry<RecipePropertySet>> RecipePropertySet.TYPE_KEYFields in net.minecraft.world.item.crafting with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<Recipe<?>>, RecipeHolder<?>> RecipeMap.byKeystatic final com.mojang.serialization.Codec<ResourceKey<Recipe<?>>> Recipe.KEY_CODECprivate Map<ResourceKey<RecipePropertySet>, RecipePropertySet> RecipeManager.propertySetsprivate static final Map<ResourceKey<RecipePropertySet>, RecipeManager.IngredientExtractor> RecipeManager.RECIPE_PROPERTY_SETSprivate it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> RecipeManager.recipePrioritiesprivate Map<ResourceKey<Recipe<?>>, List<RecipeManager.ServerDisplayInfo>> RecipeManager.recipeToDisplayMethods in net.minecraft.world.item.crafting that return ResourceKeyModifier and TypeMethodDescriptionResourceKey<Recipe<?>> RecipeHolder.id()Returns the value of theidrecord component.private static ResourceKey<RecipePropertySet> RecipePropertySet.registerVanilla(String pName) Methods in net.minecraft.world.item.crafting that return types with arguments of type ResourceKeyMethods in net.minecraft.world.item.crafting with parameters of type ResourceKeyModifier and TypeMethodDescriptionOptional<RecipeHolder<?>> RecipeManager.byKey(ResourceKey<Recipe<?>> pKey) RecipeHolder<?> RecipeMap.byKey(ResourceKey<Recipe<?>> pKey) private <T extends Recipe<?>>
RecipeHolder<T> RecipeManager.byKeyTyped(RecipeType<T> pType, ResourceKey<Recipe<?>> pKey) protected static RecipeHolder<?> RecipeManager.fromJson(ResourceKey<Recipe<?>> pRecipe, JsonObject pJson, HolderLookup.Provider pRegistries) <I extends RecipeInput,T extends Recipe<I>>
Optional<RecipeHolder<T>> RecipeManager.getRecipeFor(RecipeType<T> pRecipeType, I pInput, Level pLevel, ResourceKey<Recipe<?>> pRecipe) voidRecipeManager.listDisplaysForRecipe(ResourceKey<Recipe<?>> pRecipe, Consumer<RecipeDisplayEntry> pOutput) RecipeAccess.propertySet(ResourceKey<RecipePropertySet> pPropertySet) RecipeManager.propertySet(ResourceKey<RecipePropertySet> pPropertySet) Method parameters in net.minecraft.world.item.crafting with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidRecipeMap.order(it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> recipePriorities) voidRecipeManager.setPriorityMap(it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> recipePriorities) Constructors in net.minecraft.world.item.crafting with parameters of type ResourceKeyModifierConstructorDescriptionprotectedIngredientCollector(ResourceKey<RecipePropertySet> pKey, RecipeManager.IngredientExtractor pExtractor) RecipeHolder(ResourceKey<Recipe<?>> id, T value) Creates an instance of aRecipeHolderrecord class.Constructor parameters in net.minecraft.world.item.crafting with type arguments of type ResourceKeyModifierConstructorDescriptionprivateRecipeMap(Multimap<RecipeType<?>, RecipeHolder<?>> pByType, Map<ResourceKey<Recipe<?>>, RecipeHolder<?>> pByKey) -
Uses of ResourceKey in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Enchantment> Enchantments.AQUA_AFFINITYstatic final ResourceKey<Enchantment> Enchantments.BANE_OF_ARTHROPODSstatic final ResourceKey<Enchantment> Enchantments.BINDING_CURSEstatic final ResourceKey<Enchantment> Enchantments.BLAST_PROTECTIONstatic final ResourceKey<Enchantment> Enchantments.BREACHstatic final ResourceKey<Enchantment> Enchantments.CHANNELINGstatic final ResourceKey<Enchantment> Enchantments.DENSITYstatic final ResourceKey<Enchantment> Enchantments.DEPTH_STRIDERstatic final ResourceKey<Enchantment> Enchantments.EFFICIENCYstatic final ResourceKey<Enchantment> Enchantments.FEATHER_FALLINGstatic final ResourceKey<Enchantment> Enchantments.FIRE_ASPECTstatic final ResourceKey<Enchantment> Enchantments.FIRE_PROTECTIONstatic final ResourceKey<Enchantment> Enchantments.FLAMEstatic final ResourceKey<Enchantment> Enchantments.FORTUNEstatic final ResourceKey<Enchantment> Enchantments.FROST_WALKERstatic final ResourceKey<Enchantment> Enchantments.IMPALINGstatic final ResourceKey<Enchantment> Enchantments.INFINITYstatic final ResourceKey<Enchantment> Enchantments.KNOCKBACKstatic final ResourceKey<Enchantment> Enchantments.LOOTINGstatic final ResourceKey<Enchantment> Enchantments.LOYALTYstatic final ResourceKey<Enchantment> Enchantments.LUCK_OF_THE_SEAstatic final ResourceKey<Enchantment> Enchantments.LUREstatic final ResourceKey<Enchantment> Enchantments.MENDINGstatic final ResourceKey<Enchantment> Enchantments.MULTISHOTstatic final ResourceKey<Enchantment> Enchantments.PIERCINGstatic final ResourceKey<Enchantment> Enchantments.POWERstatic final ResourceKey<Enchantment> Enchantments.PROJECTILE_PROTECTIONstatic final ResourceKey<Enchantment> Enchantments.PROTECTIONstatic final ResourceKey<Enchantment> Enchantments.PUNCHstatic final ResourceKey<Enchantment> Enchantments.QUICK_CHARGEstatic final ResourceKey<Enchantment> Enchantments.RESPIRATIONstatic final ResourceKey<Enchantment> Enchantments.RIPTIDEstatic final ResourceKey<Enchantment> Enchantments.SHARPNESSstatic final ResourceKey<Enchantment> Enchantments.SILK_TOUCHstatic final ResourceKey<Enchantment> Enchantments.SMITEstatic final ResourceKey<Enchantment> Enchantments.SOUL_SPEEDstatic final ResourceKey<Enchantment> Enchantments.SWEEPING_EDGEstatic final ResourceKey<Enchantment> Enchantments.SWIFT_SNEAKstatic final ResourceKey<Enchantment> Enchantments.THORNSstatic final ResourceKey<Enchantment> Enchantments.UNBREAKINGstatic final ResourceKey<Enchantment> Enchantments.VANISHING_CURSEstatic final ResourceKey<Enchantment> Enchantments.WIND_BURSTMethods in net.minecraft.world.item.enchantment that return ResourceKeyMethods in net.minecraft.world.item.enchantment with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic voidEnchantmentHelper.enchantItemFromProvider(ItemStack pStack, RegistryAccess pRegistries, ResourceKey<EnchantmentProvider> pKey, DifficultyInstance pDifficulty, RandomSource pRandom) private static <T> HolderSet<T> ItemEnchantments.getTagOrEmpty(HolderLookup.Provider pRegistries, ResourceKey<Registry<T>> pRegistryKey, TagKey<T> pKey) private static voidEnchantments.register(BootstrapContext<Enchantment> pContext, ResourceKey<Enchantment> pKey, Enchantment.Builder pBuilder) -
Uses of ResourceKey in net.minecraft.world.item.enchantment.providers
Fields in net.minecraft.world.item.enchantment.providers declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.ENDERMAN_LOOT_DROPstatic final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.MOB_SPAWN_EQUIPMENTstatic final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.PILLAGER_SPAWN_CROSSBOWstatic final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.RAID_PILLAGER_POST_WAVE_3static final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.RAID_PILLAGER_POST_WAVE_5static final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.RAID_VINDICATORstatic final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.RAID_VINDICATOR_POST_WAVE_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_BOOTS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_CHESTPLATE_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_CHESTPLATE_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_HELMET_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_LEGGINGS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_DESERT_ARMORER_LEGGINGS_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_BOOTS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_BOOTS_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_CHESTPLATE_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_HELMET_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_HELMET_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_JUNGLE_ARMORER_LEGGINGS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_BOOTS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_BOOTS_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_CHESTPLATE_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_HELMET_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_LEGGINGS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_PLAINS_ARMORER_LEGGINGS_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_BOOTS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_CHESTPLATE_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_CHESTPLATE_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_HELMET_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_HELMET_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SAVANNA_ARMORER_LEGGINGS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SNOW_ARMORER_BOOTS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SNOW_ARMORER_BOOTS_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SNOW_ARMORER_HELMET_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SNOW_ARMORER_HELMET_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_BOOTS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_BOOTS_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_CHESTPLATE_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_HELMET_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_HELMET_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_SWAMP_ARMORER_LEGGINGS_4static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_TAIGA_ARMORER_CHESTPLATE_5static final ResourceKey<EnchantmentProvider> TradeRebalanceEnchantmentProviders.TRADES_TAIGA_ARMORER_LEGGINGS_5Methods in net.minecraft.world.item.enchantment.providers that return ResourceKey -
Uses of ResourceKey in net.minecraft.world.item.equipment
Fields in net.minecraft.world.item.equipment declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<EquipmentAsset> EquipmentAssets.ARMADILLO_SCUTEprivate final ResourceKey<EquipmentAsset> ArmorMaterial.assetIdThe field for theassetIdrecord component.static final ResourceKey<EquipmentAsset> EquipmentAssets.CHAINMAILstatic final ResourceKey<EquipmentAsset> EquipmentAssets.DIAMONDstatic final ResourceKey<EquipmentAsset> EquipmentAssets.ELYTRAstatic final ResourceKey<EquipmentAsset> EquipmentAssets.GOLDstatic final ResourceKey<EquipmentAsset> EquipmentAssets.IRONstatic final ResourceKey<EquipmentAsset> EquipmentAssets.LEATHERstatic final ResourceKey<EquipmentAsset> EquipmentAssets.NETHERITEstatic final ResourceKey<? extends Registry<EquipmentAsset>> EquipmentAssets.ROOT_IDstatic final ResourceKey<EquipmentAsset> EquipmentAssets.SADDLEstatic final ResourceKey<EquipmentAsset> EquipmentAssets.TRADER_LLAMAstatic final ResourceKey<EquipmentAsset> EquipmentAssets.TURTLE_SCUTEFields in net.minecraft.world.item.equipment with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Optional<ResourceKey<EquipmentAsset>> Equippable.assetIdThe field for theassetIdrecord component.private Optional<ResourceKey<EquipmentAsset>> Equippable.Builder.assetIdstatic final Map<DyeColor, ResourceKey<EquipmentAsset>> EquipmentAssets.CARPETSstatic final Map<DyeColor, ResourceKey<EquipmentAsset>> EquipmentAssets.HARNESSESMethods in net.minecraft.world.item.equipment that return ResourceKeyModifier and TypeMethodDescriptionArmorMaterial.assetId()Returns the value of theassetIdrecord component.static ResourceKey<EquipmentAsset> Methods in net.minecraft.world.item.equipment that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionEquippable.assetId()Returns the value of theassetIdrecord component.Methods in net.minecraft.world.item.equipment with parameters of type ResourceKeyModifier and TypeMethodDescriptionEquippable.Builder.setAsset(ResourceKey<EquipmentAsset> pAsset) Constructors in net.minecraft.world.item.equipment with parameters of type ResourceKeyModifierConstructorDescriptionArmorMaterial(int durability, Map<ArmorType, Integer> defense, int enchantmentValue, Holder<SoundEvent> equipSound, float toughness, float knockbackResistance, TagKey<Item> repairIngredient, ResourceKey<EquipmentAsset> assetId) Creates an instance of aArmorMaterialrecord class.Constructor parameters in net.minecraft.world.item.equipment with type arguments of type ResourceKeyModifierConstructorDescriptionEquippable(EquipmentSlot slot, Holder<SoundEvent> equipSound, Optional<ResourceKey<EquipmentAsset>> assetId, Optional<ResourceLocation> cameraOverlay, Optional<HolderSet<EntityType<?>>> allowedEntities, boolean dispensable, boolean swappable, boolean damageOnHurt, boolean equipOnInteract, boolean canBeSheared, Holder<SoundEvent> shearingSound) Creates an instance of aEquippablerecord class. -
Uses of ResourceKey in net.minecraft.world.item.equipment.trim
Fields in net.minecraft.world.item.equipment.trim declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<TrimMaterial> TrimMaterials.AMETHYSTstatic final ResourceKey<TrimPattern> TrimPatterns.BOLTstatic final ResourceKey<TrimPattern> TrimPatterns.COASTstatic final ResourceKey<TrimMaterial> TrimMaterials.COPPERstatic final ResourceKey<TrimMaterial> TrimMaterials.DIAMONDstatic final ResourceKey<TrimPattern> TrimPatterns.DUNEstatic final ResourceKey<TrimMaterial> TrimMaterials.EMERALDstatic final ResourceKey<TrimPattern> TrimPatterns.EYEstatic final ResourceKey<TrimPattern> TrimPatterns.FLOWstatic final ResourceKey<TrimMaterial> TrimMaterials.GOLDstatic final ResourceKey<TrimPattern> TrimPatterns.HOSTstatic final ResourceKey<TrimMaterial> TrimMaterials.IRONstatic final ResourceKey<TrimMaterial> TrimMaterials.LAPISstatic final ResourceKey<TrimMaterial> TrimMaterials.NETHERITEstatic final ResourceKey<TrimMaterial> TrimMaterials.QUARTZstatic final ResourceKey<TrimPattern> TrimPatterns.RAISERstatic final ResourceKey<TrimMaterial> TrimMaterials.REDSTONEstatic final ResourceKey<TrimMaterial> TrimMaterials.RESINstatic final ResourceKey<TrimPattern> TrimPatterns.RIBstatic final ResourceKey<TrimPattern> TrimPatterns.SENTRYstatic final ResourceKey<TrimPattern> TrimPatterns.SHAPERstatic final ResourceKey<TrimPattern> TrimPatterns.SILENCEstatic final ResourceKey<TrimPattern> TrimPatterns.SNOUTstatic final ResourceKey<TrimPattern> TrimPatterns.SPIREstatic final ResourceKey<TrimPattern> TrimPatterns.TIDEstatic final ResourceKey<TrimPattern> TrimPatterns.VEXstatic final ResourceKey<TrimPattern> TrimPatterns.WARDstatic final ResourceKey<TrimPattern> TrimPatterns.WAYFINDERstatic final ResourceKey<TrimPattern> TrimPatterns.WILDFields in net.minecraft.world.item.equipment.trim with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<EquipmentAsset>, MaterialAssetGroup.AssetInfo> MaterialAssetGroup.overridesThe field for theoverridesrecord component.Methods in net.minecraft.world.item.equipment.trim that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<TrimMaterial> TrimMaterials.registryKey(String pName) private static ResourceKey<TrimPattern> TrimPatterns.registryKey(String pName) Methods in net.minecraft.world.item.equipment.trim that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionMaterialAssetGroup.overrides()Returns the value of theoverridesrecord component.Methods in net.minecraft.world.item.equipment.trim with parameters of type ResourceKeyModifier and TypeMethodDescriptionMaterialAssetGroup.assetId(ResourceKey<EquipmentAsset> pAssetKey) static ResourceLocationTrimPatterns.defaultAssetId(ResourceKey<TrimPattern> pKey) ArmorTrim.layerAssetId(String pPrefix, ResourceKey<EquipmentAsset> pEquipmentAssetId) private static voidTrimMaterials.register(BootstrapContext<TrimMaterial> pContext, ResourceKey<TrimMaterial> pKey, Style pStyle, MaterialAssetGroup pAssets) static voidTrimPatterns.register(BootstrapContext<TrimPattern> pContext, ResourceKey<TrimPattern> pKey) Method parameters in net.minecraft.world.item.equipment.trim with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic MaterialAssetGroupMaterialAssetGroup.create(String pName, Map<ResourceKey<EquipmentAsset>, String> pOverrides) Constructor parameters in net.minecraft.world.item.equipment.trim with type arguments of type ResourceKeyModifierConstructorDescriptionMaterialAssetGroup(MaterialAssetGroup.AssetInfo base, Map<ResourceKey<EquipmentAsset>, MaterialAssetGroup.AssetInfo> overrides) Creates an instance of aMaterialAssetGrouprecord class. -
Uses of ResourceKey in net.minecraft.world.level
Fields in net.minecraft.world.level declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> Level.dimensionstatic final ResourceKey<Level> Level.ENDstatic final ResourceKey<Level> Level.NETHERstatic final ResourceKey<Level> Level.OVERWORLDFields in net.minecraft.world.level with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ResourceKey<Level>> Level.RESOURCE_KEY_CODECMethods in net.minecraft.world.level that return ResourceKeyMethods in net.minecraft.world.level with parameters of type ResourceKeyModifier and TypeMethodDescriptiondefault voidLevelAccessor.gameEvent(ResourceKey<GameEvent> pGameEvent, BlockPos pPos, GameEvent.Context pContext) default <T> HolderLookup<T> LevelReader.holderLookup(ResourceKey<? extends Registry<? extends T>> pRegistryKey) Constructors in net.minecraft.world.level with parameters of type ResourceKeyModifierConstructorDescriptionprotectedLevel(WritableLevelData pLevelData, ResourceKey<Level> pDimension, RegistryAccess pRegistryAccess, Holder<DimensionType> pDimensionTypeRegistration, boolean pIsClientSide, boolean pIsDebug, long pBiomeZoomSeed, int pMaxChainedNeighborUpdates) -
Uses of ResourceKey in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Biome> Biomes.BADLANDSstatic final ResourceKey<Biome> Biomes.BAMBOO_JUNGLEstatic final ResourceKey<Biome> Biomes.BASALT_DELTASstatic final ResourceKey<Biome> Biomes.BEACHstatic final ResourceKey<Biome> Biomes.BIRCH_FORESTstatic final ResourceKey<Biome> Biomes.CHERRY_GROVEstatic final ResourceKey<Biome> Biomes.COLD_OCEANstatic final ResourceKey<Biome> Biomes.CRIMSON_FORESTstatic final ResourceKey<Biome> Biomes.DARK_FORESTstatic final ResourceKey<Biome> Biomes.DEEP_COLD_OCEANstatic final ResourceKey<Biome> Biomes.DEEP_DARKstatic final ResourceKey<Biome> Biomes.DEEP_FROZEN_OCEANstatic final ResourceKey<Biome> Biomes.DEEP_LUKEWARM_OCEANstatic final ResourceKey<Biome> Biomes.DEEP_OCEANstatic final ResourceKey<Biome> Biomes.DESERTstatic final ResourceKey<Biome> Biomes.DRIPSTONE_CAVESstatic final ResourceKey<Biome> Biomes.END_BARRENSstatic final ResourceKey<Biome> Biomes.END_HIGHLANDSstatic final ResourceKey<Biome> Biomes.END_MIDLANDSstatic final ResourceKey<Biome> Biomes.ERODED_BADLANDSstatic final ResourceKey<Biome> Biomes.FLOWER_FORESTstatic final ResourceKey<Biome> Biomes.FORESTstatic final ResourceKey<Biome> Biomes.FROZEN_OCEANstatic final ResourceKey<Biome> Biomes.FROZEN_PEAKSstatic final ResourceKey<Biome> Biomes.FROZEN_RIVERstatic final ResourceKey<Biome> Biomes.GROVEstatic final ResourceKey<Biome> Biomes.ICE_SPIKESstatic final ResourceKey<Biome> Biomes.JAGGED_PEAKSstatic final ResourceKey<Biome> Biomes.JUNGLEstatic final ResourceKey<Biome> Biomes.LUKEWARM_OCEANstatic final ResourceKey<Biome> Biomes.LUSH_CAVESstatic final ResourceKey<Biome> Biomes.MANGROVE_SWAMPstatic final ResourceKey<Biome> Biomes.MEADOWprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.MIDDLE_BIOMESprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.MIDDLE_BIOMES_VARIANTstatic final ResourceKey<Biome> Biomes.MUSHROOM_FIELDSstatic final ResourceKey<MultiNoiseBiomeSourceParameterList> MultiNoiseBiomeSourceParameterLists.NETHERstatic final ResourceKey<Biome> Biomes.NETHER_WASTESstatic final ResourceKey<Biome> Biomes.OCEANprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.OCEANSstatic final ResourceKey<Biome> Biomes.OLD_GROWTH_BIRCH_FORESTstatic final ResourceKey<Biome> Biomes.OLD_GROWTH_PINE_TAIGAstatic final ResourceKey<Biome> Biomes.OLD_GROWTH_SPRUCE_TAIGAstatic final ResourceKey<MultiNoiseBiomeSourceParameterList> MultiNoiseBiomeSourceParameterLists.OVERWORLDstatic final ResourceKey<Biome> Biomes.PALE_GARDENstatic final ResourceKey<Biome> Biomes.PLAINSprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.PLATEAU_BIOMESprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.PLATEAU_BIOMES_VARIANTstatic final ResourceKey<Biome> Biomes.RIVERstatic final ResourceKey<Biome> Biomes.SAVANNAstatic final ResourceKey<Biome> Biomes.SAVANNA_PLATEAUprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.SHATTERED_BIOMESstatic final ResourceKey<Biome> Biomes.SMALL_END_ISLANDSstatic final ResourceKey<Biome> Biomes.SNOWY_BEACHstatic final ResourceKey<Biome> Biomes.SNOWY_PLAINSstatic final ResourceKey<Biome> Biomes.SNOWY_SLOPESstatic final ResourceKey<Biome> Biomes.SNOWY_TAIGAstatic final ResourceKey<Biome> Biomes.SOUL_SAND_VALLEYstatic final ResourceKey<Biome> Biomes.SPARSE_JUNGLEstatic final ResourceKey<Biome> Biomes.STONY_PEAKSstatic final ResourceKey<Biome> Biomes.STONY_SHOREstatic final ResourceKey<Biome> Biomes.SUNFLOWER_PLAINSstatic final ResourceKey<Biome> Biomes.SWAMPstatic final ResourceKey<Biome> Biomes.TAIGAstatic final ResourceKey<Biome> Biomes.THE_ENDstatic final ResourceKey<Biome> Biomes.THE_VOIDstatic final ResourceKey<Biome> Biomes.WARM_OCEANstatic final ResourceKey<Biome> Biomes.WARPED_FORESTstatic final ResourceKey<Biome> Biomes.WINDSWEPT_FORESTstatic final ResourceKey<Biome> Biomes.WINDSWEPT_GRAVELLY_HILLSstatic final ResourceKey<Biome> Biomes.WINDSWEPT_HILLSstatic final ResourceKey<Biome> Biomes.WINDSWEPT_SAVANNAstatic final ResourceKey<Biome> Biomes.WOODED_BADLANDSMethods in net.minecraft.world.level.biome that return ResourceKeyModifier and TypeMethodDescriptionprivate ResourceKey<Biome> OverworldBiomeBuilder.maybePickWindsweptSavannaBiome(int pTemperature, int pHumidity, Climate.Parameter pParam, ResourceKey<Biome> pKey) private ResourceKey<Biome> OverworldBiomeBuilder.pickBadlandsBiome(int pHumidity, Climate.Parameter pParam) private ResourceKey<Biome> OverworldBiomeBuilder.pickBeachBiome(int pTemperature, int pHumidity) private ResourceKey<Biome> OverworldBiomeBuilder.pickMiddleBiome(int pTemperature, int pHumidity, Climate.Parameter pParam) private ResourceKey<Biome> OverworldBiomeBuilder.pickMiddleBiomeOrBadlandsIfHot(int pTemperature, int pHumidity, Climate.Parameter pParam) private ResourceKey<Biome> OverworldBiomeBuilder.pickMiddleBiomeOrBadlandsIfHotOrSlopeIfCold(int pTemperature, int pHumidity, Climate.Parameter pParam) private ResourceKey<Biome> OverworldBiomeBuilder.pickPeakBiome(int pTemperature, int pHumidity, Climate.Parameter pParam) private ResourceKey<Biome> OverworldBiomeBuilder.pickPlateauBiome(int pTemperature, int pHumidity, Climate.Parameter pParam) private ResourceKey<Biome> OverworldBiomeBuilder.pickShatteredBiome(int pTemperature, int pHumidity, Climate.Parameter pParam) private ResourceKey<Biome> OverworldBiomeBuilder.pickShatteredCoastBiome(int pTemperature, int pHumidity, Climate.Parameter pParam) private ResourceKey<Biome> OverworldBiomeBuilder.pickSlopeBiome(int pTemperature, int pHumidity, Climate.Parameter pParam) private static ResourceKey<Biome> private static ResourceKey<MultiNoiseBiomeSourceParameterList> Methods in net.minecraft.world.level.biome that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionMultiNoiseBiomeSourceParameterList.knownPresets()MultiNoiseBiomeSourceParameterList.Preset.usedBiomes()Methods in net.minecraft.world.level.biome with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidOverworldBiomeBuilder.addBottomBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> pConsumer, Climate.Parameter pTemperature, Climate.Parameter pHumidity, Climate.Parameter pContinentalness, Climate.Parameter pErosion, Climate.Parameter pDepth, float pWeirdness, ResourceKey<Biome> pKey) BiomeGenerationSettings.Builder.addCarver(ResourceKey<ConfiguredWorldCarver<?>> pCarver) BiomeGenerationSettings.Builder.addFeature(GenerationStep.Decoration pDecoration, ResourceKey<PlacedFeature> pFeature) private voidOverworldBiomeBuilder.addSurfaceBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> pConsumer, Climate.Parameter pTemperature, Climate.Parameter pHumidity, Climate.Parameter pContinentalness, Climate.Parameter pErosion, Climate.Parameter pDepth, float pWeirdness, ResourceKey<Biome> pKey) private voidOverworldBiomeBuilder.addUndergroundBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> pConsumer, Climate.Parameter pTemperature, Climate.Parameter pHumidity, Climate.Parameter pContinentalness, Climate.Parameter pErosion, Climate.Parameter pDepth, float pWeirdness, ResourceKey<Biome> pKey) private ResourceKey<Biome> OverworldBiomeBuilder.maybePickWindsweptSavannaBiome(int pTemperature, int pHumidity, Climate.Parameter pParam, ResourceKey<Biome> pKey) booleanMultiNoiseBiomeSource.stable(ResourceKey<MultiNoiseBiomeSourceParameterList> pResourceKey) Method parameters in net.minecraft.world.level.biome with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprotected voidOverworldBiomeBuilder.addBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> pKey) private voidOverworldBiomeBuilder.addBottomBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> pConsumer, Climate.Parameter pTemperature, Climate.Parameter pHumidity, Climate.Parameter pContinentalness, Climate.Parameter pErosion, Climate.Parameter pDepth, float pWeirdness, ResourceKey<Biome> pKey) private voidOverworldBiomeBuilder.addDebugBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> pKey) private voidOverworldBiomeBuilder.addHighSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> pConsumer, Climate.Parameter pParam) private voidOverworldBiomeBuilder.addInlandBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> pConsumer) private voidOverworldBiomeBuilder.addLowSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> pConsumer, Climate.Parameter pParam) private voidOverworldBiomeBuilder.addMidSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> pConsumer, Climate.Parameter pParam) private voidOverworldBiomeBuilder.addOffCoastBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> pConsumer) private voidOverworldBiomeBuilder.addPeaks(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> pConsumer, Climate.Parameter pParam) private voidOverworldBiomeBuilder.addSurfaceBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> pConsumer, Climate.Parameter pTemperature, Climate.Parameter pHumidity, Climate.Parameter pContinentalness, Climate.Parameter pErosion, Climate.Parameter pDepth, float pWeirdness, ResourceKey<Biome> pKey) private voidOverworldBiomeBuilder.addUndergroundBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> pConsumer, Climate.Parameter pTemperature, Climate.Parameter pHumidity, Climate.Parameter pContinentalness, Climate.Parameter pErosion, Climate.Parameter pDepth, float pWeirdness, ResourceKey<Biome> pKey) private voidOverworldBiomeBuilder.addUndergroundBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> pConsume) private voidOverworldBiomeBuilder.addValleys(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> pConsumer, Climate.Parameter pParam) <T> Climate.ParameterList<T> MultiNoiseBiomeSourceParameterList.Preset.SourceProvider.apply(Function<ResourceKey<Biome>, T> pValueGetter) (package private) static <T> Climate.ParameterList<T> MultiNoiseBiomeSourceParameterList.Preset.generateOverworldBiomes(Function<ResourceKey<Biome>, T> pValueGetter) -
Uses of ResourceKey in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Block> StemBlock.attachedStemprivate final ResourceKey<ConfiguredFeature<?, ?>> BonemealableFeaturePlacerBlock.featureprivate final ResourceKey<ConfiguredFeature<?, ?>> FungusBlock.featureprivate final ResourceKey<ConfiguredFeature<?, ?>> MushroomBlock.featureprivate final ResourceKey<Block> AttachedStemBlock.fruitprivate final ResourceKey<Block> StemBlock.fruitprivate final ResourceKey<Item> AttachedStemBlock.seedprivate final ResourceKey<Item> StemBlock.seedprivate final ResourceKey<Block> AttachedStemBlock.stemMethods in net.minecraft.world.level.block that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<Block> Blocks.vanillaBlockId(String pName) Methods in net.minecraft.world.level.block with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidNyliumBlock.place(Registry<ConfiguredFeature<?, ?>> pFeatureRegistry, ResourceKey<ConfiguredFeature<?, ?>> pFeatureKey, ServerLevel pLevel, ChunkGenerator pChunkGenerator, RandomSource pRandom, BlockPos pPos) private static BlockBlocks.register(ResourceKey<Block> pResourceKey, Function<BlockBehaviour.Properties, Block> pFactory, BlockBehaviour.Properties pProperties) private static BlockBlocks.register(ResourceKey<Block> pResourceKey, BlockBehaviour.Properties pProperties) Constructors in net.minecraft.world.level.block with parameters of type ResourceKeyModifierConstructorDescriptionAttachedStemBlock(ResourceKey<Block> p_304582_, ResourceKey<Block> p_304450_, ResourceKey<Item> p_304828_, BlockBehaviour.Properties p_152062_) BonemealableFeaturePlacerBlock(ResourceKey<ConfiguredFeature<?, ?>> p_379459_, BlockBehaviour.Properties p_380054_) 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
Fields in net.minecraft.world.level.block.entity declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.ANGLERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.ARCHERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.ARMS_UPstatic final ResourceKey<BannerPattern> BannerPatterns.BASEstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.BLADEstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.BLANKstatic final ResourceKey<BannerPattern> BannerPatterns.BORDERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.BREWERstatic final ResourceKey<BannerPattern> BannerPatterns.BRICKSstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.BURNstatic final ResourceKey<BannerPattern> BannerPatterns.CIRCLE_MIDDLEstatic final ResourceKey<BannerPattern> BannerPatterns.CREEPERstatic final ResourceKey<BannerPattern> BannerPatterns.CROSSstatic final ResourceKey<BannerPattern> BannerPatterns.CURLY_BORDERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.DANGERstatic final ResourceKey<BannerPattern> BannerPatterns.DIAGONAL_LEFTstatic final ResourceKey<BannerPattern> BannerPatterns.DIAGONAL_LEFT_MIRRORstatic final ResourceKey<BannerPattern> BannerPatterns.DIAGONAL_RIGHTstatic final ResourceKey<BannerPattern> BannerPatterns.DIAGONAL_RIGHT_MIRRORstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.EXPLORERstatic final ResourceKey<BannerPattern> BannerPatterns.FLOWstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.FLOWstatic final ResourceKey<BannerPattern> BannerPatterns.FLOWERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.FRIENDstatic final ResourceKey<BannerPattern> BannerPatterns.GLOBEstatic final ResourceKey<BannerPattern> BannerPatterns.GRADIENTstatic final ResourceKey<BannerPattern> BannerPatterns.GRADIENT_UPstatic final ResourceKey<BannerPattern> BannerPatterns.GUSTERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.GUSTERstatic final ResourceKey<BannerPattern> BannerPatterns.HALF_HORIZONTALstatic final ResourceKey<BannerPattern> BannerPatterns.HALF_HORIZONTAL_MIRRORstatic final ResourceKey<BannerPattern> BannerPatterns.HALF_VERTICALstatic final ResourceKey<BannerPattern> BannerPatterns.HALF_VERTICAL_MIRRORstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.HEARTstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.HEARTBREAKstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.HOWLprivate ResourceKey<LootTable> BrushableBlockEntity.lootTableprotected ResourceKey<LootTable> DecoratedPotBlockEntity.lootTableprotected ResourceKey<LootTable> RandomizableContainerBlockEntity.lootTablestatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.MINERstatic final ResourceKey<BannerPattern> BannerPatterns.MOJANGstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.MOURNERstatic final ResourceKey<BannerPattern> BannerPatterns.PIGLINstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.PLENTYprivate ResourceKey<StructureTemplatePool> JigsawBlockEntity.poolstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.PRIZEstatic final ResourceKey<BannerPattern> BannerPatterns.RHOMBUS_MIDDLEstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.SCRAPEstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.SHEAFstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.SHELTERstatic final ResourceKey<BannerPattern> BannerPatterns.SKULLstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.SKULLstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.SNORTstatic final ResourceKey<BannerPattern> BannerPatterns.SQUARE_BOTTOM_LEFTstatic final ResourceKey<BannerPattern> BannerPatterns.SQUARE_BOTTOM_RIGHTstatic final ResourceKey<BannerPattern> BannerPatterns.SQUARE_TOP_LEFTstatic final ResourceKey<BannerPattern> BannerPatterns.SQUARE_TOP_RIGHTstatic final ResourceKey<BannerPattern> BannerPatterns.STRAIGHT_CROSSstatic final ResourceKey<BannerPattern> BannerPatterns.STRIPE_BOTTOMstatic final ResourceKey<BannerPattern> BannerPatterns.STRIPE_CENTERstatic final ResourceKey<BannerPattern> BannerPatterns.STRIPE_DOWNLEFTstatic final ResourceKey<BannerPattern> BannerPatterns.STRIPE_DOWNRIGHTstatic final ResourceKey<BannerPattern> BannerPatterns.STRIPE_LEFTstatic final ResourceKey<BannerPattern> BannerPatterns.STRIPE_MIDDLEstatic final ResourceKey<BannerPattern> BannerPatterns.STRIPE_RIGHTstatic final ResourceKey<BannerPattern> BannerPatterns.STRIPE_SMALLstatic final ResourceKey<BannerPattern> BannerPatterns.STRIPE_TOPstatic final ResourceKey<BannerPattern> BannerPatterns.TRIANGLE_BOTTOMstatic final ResourceKey<BannerPattern> BannerPatterns.TRIANGLE_TOPstatic final ResourceKey<BannerPattern> BannerPatterns.TRIANGLES_BOTTOMstatic final ResourceKey<BannerPattern> BannerPatterns.TRIANGLES_TOPFields in net.minecraft.world.level.block.entity with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Map<Item, ResourceKey<DecoratedPotPattern>> DecoratedPotPatterns.ITEM_TO_POT_TEXTUREstatic final com.mojang.serialization.Codec<ResourceKey<StructureTemplatePool>> JigsawBlockEntity.POOL_CODECprivate static final com.mojang.serialization.Codec<Map<ResourceKey<Recipe<?>>, Integer>> AbstractFurnaceBlockEntity.RECIPES_USED_CODECprivate final it.unimi.dsi.fastutil.objects.Reference2IntOpenHashMap<ResourceKey<Recipe<?>>> AbstractFurnaceBlockEntity.recipesUsedprivate final Optional<ResourceKey<GameTestInstance>> TestInstanceBlockEntity.Data.testThe field for thetestrecord component.Methods in net.minecraft.world.level.block.entity that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<BannerPattern> private static ResourceKey<DecoratedPotPattern> DecoratedPotBlockEntity.getLootTable()RandomizableContainerBlockEntity.getLootTable()static ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.getPatternFromItem(Item pItem) JigsawBlockEntity.getPool()Methods in net.minecraft.world.level.block.entity that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionTestInstanceBlockEntity.Data.test()Returns the value of thetestrecord component.TestInstanceBlockEntity.test()Methods in net.minecraft.world.level.block.entity with parameters of type ResourceKeyModifier and TypeMethodDescriptionBannerPatternLayers.Builder.addIfRegistered(HolderGetter<BannerPattern> pPatterns, ResourceKey<BannerPattern> pPatternKey, DyeColor pColor) Deprecated.TestInstanceBlockEntity.getStructureSize(ServerLevel pLevel, ResourceKey<GameTestInstance> pTestKey) private static Optional<StructureTemplate> TestInstanceBlockEntity.getStructureTemplate(ServerLevel pLevel, ResourceKey<GameTestInstance> pTestKey) static voidBannerPatterns.register(BootstrapContext<BannerPattern> pContext, ResourceKey<BannerPattern> pResourceKey) private static DecoratedPotPatternDecoratedPotPatterns.register(Registry<DecoratedPotPattern> pRegistry, ResourceKey<DecoratedPotPattern> pKey, String pAssetId) voidBrushableBlockEntity.setLootTable(ResourceKey<LootTable> pLootTable, long pSeed) voidDecoratedPotBlockEntity.setLootTable(ResourceKey<LootTable> pLootTable) voidRandomizableContainerBlockEntity.setLootTable(ResourceKey<LootTable> pLootTable) voidJigsawBlockEntity.setPool(ResourceKey<StructureTemplatePool> pPool) Constructor parameters in net.minecraft.world.level.block.entity with type arguments of type ResourceKeyModifierConstructorDescriptionData(Optional<ResourceKey<GameTestInstance>> test, Vec3i size, Rotation rotation, boolean ignoreEntities, TestInstanceBlockEntity.Status status, Optional<Component> errorMessage) Creates an instance of aDatarecord class. -
Uses of ResourceKey in net.minecraft.world.level.block.entity.trialspawner
Fields in net.minecraft.world.level.block.entity.trialspawner declared as ResourceKeyModifier and TypeFieldDescriptionprivate ResourceKey<LootTable> TrialSpawnerConfig.Builder.itemsToDropWhenOminousprivate final ResourceKey<LootTable> TrialSpawnerConfig.itemsToDropWhenOminousThe field for theitemsToDropWhenOminousrecord component.private final ResourceKey<TrialSpawnerConfig> TrialSpawnerConfigs.Keys.normalThe field for thenormalrecord component.private final ResourceKey<TrialSpawnerConfig> TrialSpawnerConfigs.Keys.ominousThe field for theominousrecord component.Fields in net.minecraft.world.level.block.entity.trialspawner with type parameters of type ResourceKeyModifier and TypeFieldDescription(package private) Optional<ResourceKey<LootTable>> TrialSpawnerStateData.ejectingLootTableprivate final Optional<ResourceKey<LootTable>> TrialSpawnerStateData.Packed.ejectingLootTableThe field for theejectingLootTablerecord component.private WeightedList<ResourceKey<LootTable>> TrialSpawnerConfig.Builder.lootTablesToEjectprivate final WeightedList<ResourceKey<LootTable>> TrialSpawnerConfig.lootTablesToEjectThe field for thelootTablesToEjectrecord component.Methods in net.minecraft.world.level.block.entity.trialspawner that return ResourceKeyModifier and TypeMethodDescriptionTrialSpawnerConfig.itemsToDropWhenOminous()Returns the value of theitemsToDropWhenOminousrecord component.TrialSpawnerConfigs.Keys.normal()Returns the value of thenormalrecord component.TrialSpawnerConfigs.Keys.ominous()Returns the value of theominousrecord component.(package private) static ResourceKey<TrialSpawnerConfig> TrialSpawnerConfigs.registryKey(String pName) Methods in net.minecraft.world.level.block.entity.trialspawner that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionTrialSpawnerStateData.Packed.ejectingLootTable()Returns the value of theejectingLootTablerecord component.TrialSpawnerConfig.lootTablesToEject()Returns the value of thelootTablesToEjectrecord component.Methods in net.minecraft.world.level.block.entity.trialspawner with parameters of type ResourceKeyModifier and TypeMethodDescriptionTrialSpawnerConfigs.customSpawnDataWithEquipment(EntityType<T> pEntityType, Consumer<CompoundTag> pTagConsumer, ResourceKey<LootTable> pLootTableKey) voidTrialSpawner.ejectReward(ServerLevel pLevel, BlockPos pPos, ResourceKey<LootTable> pLootTable) TrialSpawnerConfig.Builder.itemsToDropWhenOminous(ResourceKey<LootTable> pItemsToDropWhenOminous) TrialSpawnerConfigs.spawnDataWithEquipment(EntityType<T> pEntityType, ResourceKey<LootTable> pLootTableKey) Method parameters in net.minecraft.world.level.block.entity.trialspawner with type arguments of type ResourceKeyModifier and TypeMethodDescriptionTrialSpawnerConfig.Builder.lootTablesToEject(WeightedList<ResourceKey<LootTable>> pLootTablesToEject) Constructors in net.minecraft.world.level.block.entity.trialspawner with parameters of type ResourceKeyModifierConstructorDescription(package private)Keys(ResourceKey<TrialSpawnerConfig> normal, ResourceKey<TrialSpawnerConfig> ominous) Creates an instance of aKeysrecord class.TrialSpawnerConfig(int spawnRange, float totalMobs, float simultaneousMobs, float totalMobsAddedPerPlayer, float simultaneousMobsAddedPerPlayer, int ticksBetweenSpawn, WeightedList<SpawnData> spawnPotentialsDefinition, WeightedList<ResourceKey<LootTable>> lootTablesToEject, ResourceKey<LootTable> itemsToDropWhenOminous) Creates an instance of aTrialSpawnerConfigrecord class. -
Uses of ResourceKey in net.minecraft.world.level.block.entity.vault
Fields in net.minecraft.world.level.block.entity.vault declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootTable> VaultConfig.lootTableThe field for thelootTablerecord component.Fields in net.minecraft.world.level.block.entity.vault with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Optional<ResourceKey<LootTable>> VaultConfig.overrideLootTableToDisplayThe field for theoverrideLootTableToDisplayrecord component.Methods in net.minecraft.world.level.block.entity.vault that return ResourceKeyModifier and TypeMethodDescriptionVaultConfig.lootTable()Returns the value of thelootTablerecord component.Methods in net.minecraft.world.level.block.entity.vault that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionVaultConfig.overrideLootTableToDisplay()Returns the value of theoverrideLootTableToDisplayrecord component.Methods in net.minecraft.world.level.block.entity.vault with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static ItemStackVaultBlockEntity.Server.getRandomDisplayItemFromLootTable(ServerLevel pLevel, BlockPos pPos, ResourceKey<LootTable> pLootTable) Constructors in net.minecraft.world.level.block.entity.vault with parameters of type ResourceKeyModifierConstructorDescriptionVaultConfig(ResourceKey<LootTable> p_335999_, double p_323704_, double p_323499_, ItemStack p_323661_, Optional<ResourceKey<LootTable>> p_323481_) VaultConfig(ResourceKey<LootTable> lootTable, double activationRange, double deactivationRange, ItemStack keyItem, Optional<ResourceKey<LootTable>> overrideLootTableToDisplay, PlayerDetector playerDetector, PlayerDetector.EntitySelector entitySelector) Creates an instance of aVaultConfigrecord class.Constructor parameters in net.minecraft.world.level.block.entity.vault with type arguments of type ResourceKeyModifierConstructorDescriptionVaultConfig(ResourceKey<LootTable> p_335999_, double p_323704_, double p_323499_, ItemStack p_323661_, Optional<ResourceKey<LootTable>> p_323481_) VaultConfig(ResourceKey<LootTable> lootTable, double activationRange, double deactivationRange, ItemStack keyItem, Optional<ResourceKey<LootTable>> overrideLootTableToDisplay, PlayerDetector playerDetector, PlayerDetector.EntitySelector entitySelector) Creates an instance of aVaultConfigrecord class. -
Uses of ResourceKey in net.minecraft.world.level.block.grower
Fields in net.minecraft.world.level.block.grower with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Optional<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.flowersprivate final Optional<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.megaTreeprivate final Optional<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.secondaryFlowersprivate final Optional<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.secondaryMegaTreeprivate final Optional<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.secondaryTreeprivate final Optional<ResourceKey<ConfiguredFeature<?, ?>>> TreeGrower.treeMethods in net.minecraft.world.level.block.grower that return ResourceKeyModifier and TypeMethodDescriptionprivate ResourceKey<ConfiguredFeature<?, ?>> TreeGrower.getConfiguredFeature(RandomSource pRandom, boolean pFlowers) private ResourceKey<ConfiguredFeature<?, ?>> TreeGrower.getConfiguredMegaFeature(RandomSource pRandom) Constructor parameters in net.minecraft.world.level.block.grower with type arguments of type ResourceKeyModifierConstructorDescriptionTreeGrower(String pName, float pSecondaryChance, Optional<ResourceKey<ConfiguredFeature<?, ?>>> pMegaTree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> pSecondaryMegaTree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> pTree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> pSecondaryTree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> pFlowers, Optional<ResourceKey<ConfiguredFeature<?, ?>>> pSecondaryFlowers) TreeGrower(String pName, Optional<ResourceKey<ConfiguredFeature<?, ?>>> pMegaTree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> pTree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> pFlowers) -
Uses of ResourceKey in net.minecraft.world.level.block.state
Fields in net.minecraft.world.level.block.state declared as ResourceKeyFields in net.minecraft.world.level.block.state with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprotected final Optional<ResourceKey<LootTable>> BlockBehaviour.dropsprivate DependantName<Block, Optional<ResourceKey<LootTable>>> BlockBehaviour.Properties.dropsSets loot table informationMethods in net.minecraft.world.level.block.state that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionprotected Optional<ResourceKey<LootTable>> BlockBehaviour.Properties.effectiveDrops()final Optional<ResourceKey<LootTable>> BlockBehaviour.getLootTable()Methods in net.minecraft.world.level.block.state with parameters of type ResourceKeyModifier and TypeMethodDescriptionbooleanBlockBehaviour.BlockStateBase.is(ResourceKey<Block> pBlock) BlockBehaviour.Properties.setId(ResourceKey<Block> pId) Method parameters in net.minecraft.world.level.block.state with type arguments of type ResourceKeyModifier and TypeMethodDescriptionBlockBehaviour.Properties.overrideLootTable(Optional<ResourceKey<LootTable>> pLootTable) -
Uses of ResourceKey in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionOptional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> ChunkGenerator.getTypeNameForDataFixer()Methods in net.minecraft.world.level.chunk with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidChunkGenerator.createStructures(RegistryAccess pRegistryAccess, ChunkGeneratorStructureState pStructureState, StructureManager pStructureManager, ChunkAccess pChunk, StructureTemplateManager pStructureTemplateManager, ResourceKey<Level> pLevel) private booleanChunkGenerator.tryGenerateStructure(StructureSet.StructureSelectionEntry pStructureSelectionEntry, StructureManager pStructureManager, RegistryAccess pRegistryAccess, RandomState pRandom, StructureTemplateManager pStructureTemplateManager, long pSeed, ChunkAccess pChunk, ChunkPos pChunkPos, SectionPos pSectionPos, ResourceKey<Level> pLevel) -
Uses of ResourceKey in net.minecraft.world.level.chunk.storage
Fields in net.minecraft.world.level.chunk.storage declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> RegionStorageInfo.dimensionThe field for thedimensionrecord component.Methods in net.minecraft.world.level.chunk.storage that return ResourceKeyModifier and TypeMethodDescriptionRegionStorageInfo.dimension()Returns the value of thedimensionrecord component.Methods in net.minecraft.world.level.chunk.storage with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate LegacyStructureDataHandlerChunkStorage.getLegacyStructureHandler(ResourceKey<Level> pLevel, Supplier<DimensionDataStorage> pStorage) static voidChunkStorage.injectDatafixingContext(CompoundTag pChunkData, ResourceKey<Level> pLevelKey, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> pChunkGeneratorKey) ChunkStorage.upgradeChunkTag(ResourceKey<Level> pLevelKey, Supplier<DimensionDataStorage> pStorage, CompoundTag pChunkData, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> pChunkGeneratorKey) Method parameters in net.minecraft.world.level.chunk.storage with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic voidChunkStorage.injectDatafixingContext(CompoundTag pChunkData, ResourceKey<Level> pLevelKey, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> pChunkGeneratorKey) ChunkStorage.upgradeChunkTag(ResourceKey<Level> pLevelKey, Supplier<DimensionDataStorage> pStorage, CompoundTag pChunkData, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> pChunkGeneratorKey) Constructors in net.minecraft.world.level.chunk.storage with parameters of type ResourceKeyModifierConstructorDescriptionRegionStorageInfo(String level, ResourceKey<Level> dimension, String type) Creates an instance of aRegionStorageInforecord class. -
Uses of ResourceKey in net.minecraft.world.level.dimension
Fields in net.minecraft.world.level.dimension declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<DimensionType> BuiltinDimensionTypes.ENDstatic final ResourceKey<LevelStem> LevelStem.ENDstatic final ResourceKey<DimensionType> BuiltinDimensionTypes.NETHERstatic final ResourceKey<LevelStem> LevelStem.NETHERstatic final ResourceKey<DimensionType> BuiltinDimensionTypes.OVERWORLDstatic final ResourceKey<LevelStem> LevelStem.OVERWORLDstatic final ResourceKey<DimensionType> BuiltinDimensionTypes.OVERWORLD_CAVESMethods in net.minecraft.world.level.dimension that return ResourceKeyMethods in net.minecraft.world.level.dimension with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic PathDimensionType.getStorageFolder(ResourceKey<Level> pDimensionKey, Path pLevelFolder) -
Uses of ResourceKey in net.minecraft.world.level.gameevent.vibrations
Fields in net.minecraft.world.level.gameevent.vibrations with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic final List<ResourceKey<GameEvent>> VibrationSystem.RESONANCE_EVENTSstatic final ToIntFunction<ResourceKey<GameEvent>> VibrationSystem.VIBRATION_FREQUENCY_FOR_EVENTDeprecated.Neo: use thedata mapinstead.Methods in net.minecraft.world.level.gameevent.vibrations that return ResourceKeyModifier and TypeMethodDescriptionstatic ResourceKey<GameEvent> VibrationSystem.getResonanceEventByFrequency(int pFrequency) Methods in net.minecraft.world.level.gameevent.vibrations with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic intVibrationSystem.getGameEventFrequency(ResourceKey<GameEvent> p_316800_) -
Uses of ResourceKey in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<NoiseGeneratorSettings> NoiseGeneratorSettings.AMPLIFIEDstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.AQUIFER_BARRIERstatic final ResourceKey<NormalNoise.NoiseParameters> static final ResourceKey<NormalNoise.NoiseParameters> Noises.AQUIFER_FLUID_LEVEL_SPREADstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.AQUIFER_LAVAstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.BADLANDS_PILLARstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.BADLANDS_PILLAR_ROOFstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.BADLANDS_SURFACEprivate static final ResourceKey<DensityFunction> NoiseRouterData.BASE_3D_NOISE_ENDprivate static final ResourceKey<DensityFunction> NoiseRouterData.BASE_3D_NOISE_NETHERprivate static final ResourceKey<DensityFunction> NoiseRouterData.BASE_3D_NOISE_OVERWORLDstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.CALCITEstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.CAVE_CHEESEstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.CAVE_ENTRANCEstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.CAVE_LAYERstatic final ResourceKey<NoiseGeneratorSettings> NoiseGeneratorSettings.CAVESstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.CLAY_BANDS_OFFSETstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.CONTINENTALNESSstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.CONTINENTALNESS_LARGEstatic final ResourceKey<DensityFunction> NoiseRouterData.CONTINENTSstatic final ResourceKey<DensityFunction> NoiseRouterData.CONTINENTS_LARGEstatic final ResourceKey<DensityFunction> NoiseRouterData.DEPTHprivate static final ResourceKey<DensityFunction> NoiseRouterData.DEPTH_AMPLIFIEDprivate static final ResourceKey<DensityFunction> NoiseRouterData.DEPTH_LARGEstatic final ResourceKey<NoiseGeneratorSettings> NoiseGeneratorSettings.ENDprivate static final ResourceKey<DensityFunction> NoiseRouterData.ENTRANCESstatic final ResourceKey<DensityFunction> NoiseRouterData.EROSIONstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.EROSIONstatic final ResourceKey<DensityFunction> NoiseRouterData.EROSION_LARGEstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.EROSION_LARGEstatic final ResourceKey<DensityFunction> NoiseRouterData.FACTORprivate static final ResourceKey<DensityFunction> NoiseRouterData.FACTOR_AMPLIFIEDprivate static final ResourceKey<DensityFunction> NoiseRouterData.FACTOR_LARGEstatic final ResourceKey<NoiseGeneratorSettings> NoiseGeneratorSettings.FLOATING_ISLANDSstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.GRAVELstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.GRAVEL_LAYERstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.ICEstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.ICEBERG_PILLARstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.ICEBERG_PILLAR_ROOFstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.ICEBERG_SURFACEstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.JAGGEDstatic final ResourceKey<DensityFunction> NoiseRouterData.JAGGEDNESSprivate static final ResourceKey<DensityFunction> NoiseRouterData.JAGGEDNESS_AMPLIFIEDprivate static final ResourceKey<DensityFunction> NoiseRouterData.JAGGEDNESS_LARGEstatic final ResourceKey<NoiseGeneratorSettings> NoiseGeneratorSettings.LARGE_BIOMESstatic final ResourceKey<NoiseGeneratorSettings> NoiseGeneratorSettings.NETHERstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.NETHER_STATE_SELECTORstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.NETHER_WARTstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.NETHERRACKprivate final ResourceKey<NormalNoise.NoiseParameters> SurfaceRules.NoiseThresholdConditionSource.noiseThe field for thenoiserecord component.private static final ResourceKey<DensityFunction> NoiseRouterData.NOODLEstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.NOODLEstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.NOODLE_RIDGE_Astatic final ResourceKey<NormalNoise.NoiseParameters> Noises.NOODLE_RIDGE_Bstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.NOODLE_THICKNESSstatic final ResourceKey<DensityFunction> NoiseRouterData.OFFSETprivate static final ResourceKey<DensityFunction> NoiseRouterData.OFFSET_AMPLIFIEDprivate static final ResourceKey<DensityFunction> NoiseRouterData.OFFSET_LARGEstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.ORE_GAPstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.ORE_VEIN_Astatic final ResourceKey<NormalNoise.NoiseParameters> Noises.ORE_VEIN_Bstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.ORE_VEININESSstatic final ResourceKey<NoiseGeneratorSettings> NoiseGeneratorSettings.OVERWORLDstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.PACKED_ICEstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.PATCHstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.PILLARstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.PILLAR_RARENESSstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.PILLAR_THICKNESSprivate static final ResourceKey<DensityFunction> NoiseRouterData.PILLARSstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.POWDER_SNOWstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.RIDGEstatic final ResourceKey<DensityFunction> NoiseRouterData.RIDGESstatic final ResourceKey<DensityFunction> NoiseRouterData.RIDGES_FOLDEDstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.SHIFTprivate static final ResourceKey<DensityFunction> NoiseRouterData.SHIFT_Xprivate static final ResourceKey<DensityFunction> NoiseRouterData.SHIFT_Zprivate static final ResourceKey<DensityFunction> NoiseRouterData.SLOPED_CHEESEprivate static final ResourceKey<DensityFunction> NoiseRouterData.SLOPED_CHEESE_AMPLIFIEDprivate static final ResourceKey<DensityFunction> NoiseRouterData.SLOPED_CHEESE_ENDprivate static final ResourceKey<DensityFunction> NoiseRouterData.SLOPED_CHEESE_LARGEstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.SOUL_SAND_LAYERprivate static final ResourceKey<DensityFunction> NoiseRouterData.SPAGHETTI_2Dstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.SPAGHETTI_2Dstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.SPAGHETTI_2D_ELEVATIONstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.SPAGHETTI_2D_MODULATORstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.SPAGHETTI_2D_THICKNESSprivate static final ResourceKey<DensityFunction> NoiseRouterData.SPAGHETTI_2D_THICKNESS_MODULATORstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.SPAGHETTI_3D_1static final ResourceKey<NormalNoise.NoiseParameters> Noises.SPAGHETTI_3D_2static final ResourceKey<NormalNoise.NoiseParameters> Noises.SPAGHETTI_3D_RARITYstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.SPAGHETTI_3D_THICKNESSstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.SPAGHETTI_ROUGHNESSprivate static final ResourceKey<DensityFunction> NoiseRouterData.SPAGHETTI_ROUGHNESS_FUNCTIONstatic final ResourceKey<NormalNoise.NoiseParameters> static final ResourceKey<NormalNoise.NoiseParameters> Noises.SURFACEstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.SURFACE_SECONDARYstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.SWAMPstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.TEMPERATUREstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.TEMPERATURE_LARGEstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.VEGETATIONstatic final ResourceKey<NormalNoise.NoiseParameters> Noises.VEGETATION_LARGEprivate static final ResourceKey<DensityFunction> NoiseRouterData.Yprivate static final ResourceKey<DensityFunction> NoiseRouterData.ZEROFields in net.minecraft.world.level.levelgen with type parameters of type ResourceKeyModifier and TypeFieldDescription(package private) final Predicate<ResourceKey<Biome>> SurfaceRules.BiomeConditionSource.biomeNameTestprivate final List<ResourceKey<Biome>> SurfaceRules.BiomeConditionSource.biomesprivate static final Set<ResourceKey<LevelStem>> WorldDimensions.BUILTIN_ORDERprivate final Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.dimensionsThe field for thedimensionsrecord component.private final Map<ResourceKey<NormalNoise.NoiseParameters>, NormalNoise> RandomState.noiseIntancesprivate static final Set<ResourceKey<Biome>> BelowZeroRetrogen.RETAINED_RETROGEN_BIOMESMethods in net.minecraft.world.level.levelgen that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<DensityFunction> private static ResourceKey<NormalNoise.NoiseParameters> SurfaceRules.NoiseThresholdConditionSource.noise()Returns the value of thenoiserecord component.Methods in net.minecraft.world.level.levelgen that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionWorldDimensions.dimensions()Returns the value of thedimensionsrecord component.static Stream<ResourceKey<LevelStem>> WorldDimensions.keysInOrder(Stream<ResourceKey<LevelStem>> pStemKeys) WorldDimensions.levels()static Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld(Map<ResourceKey<LevelStem>, LevelStem> pStemMap, Holder<DimensionType> pDimensionType, ChunkGenerator pChunkGenerator) static Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld(HolderLookup<DimensionType> pDimensionTypeRegistry, Map<ResourceKey<LevelStem>, LevelStem> pDimensions, ChunkGenerator pChunkGenerator) Methods in net.minecraft.world.level.levelgen with parameters of type ResourceKeyModifier and TypeMethodDescription(package private) static com.mojang.serialization.LifecycleWorldDimensions.checkStability(ResourceKey<LevelStem> pKey, LevelStem pStem) static RandomStateRandomState.create(HolderGetter.Provider pRegistries, ResourceKey<NoiseGeneratorSettings> pSettingsKey, long pLevelSeed) WorldDimensions.get(ResourceKey<LevelStem> pStemKey) private static DensityFunctionNoiseRouterData.getFunction(HolderGetter<DensityFunction> pDensityFunctionRegistry, ResourceKey<DensityFunction> pKey) RandomState.getOrCreateNoise(ResourceKey<NormalNoise.NoiseParameters> pResourceKey) static NormalNoiseNoises.instantiate(HolderGetter<NormalNoise.NoiseParameters> pNoises, PositionalRandomFactory pRandom, ResourceKey<NormalNoise.NoiseParameters> pResourceKey) static SurfaceRules.ConditionSourceSurfaceRules.isBiome(ResourceKey<Biome>... pBiomes) private static booleanWorldDimensions.isVanillaLike(ResourceKey<LevelStem> pKey, LevelStem pStem) static SurfaceRules.ConditionSourceSurfaceRules.noiseCondition(ResourceKey<NormalNoise.NoiseParameters> pNoise, double pMinThreshold) static SurfaceRules.ConditionSourceSurfaceRules.noiseCondition(ResourceKey<NormalNoise.NoiseParameters> pNoise, double pMinThreshold, double pMaxThreshold) private static DensityFunctionNoiseRouterData.registerAndWrap(BootstrapContext<DensityFunction> pContext, ResourceKey<DensityFunction> pKey, DensityFunction pValue) private static voidNoiseRouterData.registerTerrainNoises(BootstrapContext<DensityFunction> pContext, HolderGetter<DensityFunction> pDensityFunctionRegistry, DensityFunction pJaggedNoise, Holder<DensityFunction> pContinentalness, Holder<DensityFunction> pErosion, ResourceKey<DensityFunction> pOffsetKey, ResourceKey<DensityFunction> pFactorKey, ResourceKey<DensityFunction> pJaggednessKey, ResourceKey<DensityFunction> pDepthKey, ResourceKey<DensityFunction> pSlopedCheeseKey, boolean pAmplified) booleanNoiseBasedChunkGenerator.stable(ResourceKey<NoiseGeneratorSettings> pSettings) Method parameters in net.minecraft.world.level.levelgen with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static SurfaceRules.BiomeConditionSourceSurfaceRules.isBiome(List<ResourceKey<Biome>> pBiomes) static Stream<ResourceKey<LevelStem>> WorldDimensions.keysInOrder(Stream<ResourceKey<LevelStem>> pStemKeys) static Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld(Map<ResourceKey<LevelStem>, LevelStem> pStemMap, Holder<DimensionType> pDimensionType, ChunkGenerator pChunkGenerator) static Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld(HolderLookup<DimensionType> pDimensionTypeRegistry, Map<ResourceKey<LevelStem>, LevelStem> pDimensions, ChunkGenerator pChunkGenerator) Constructors in net.minecraft.world.level.levelgen with parameters of type ResourceKeyModifierConstructorDescription(package private)NoiseThresholdConditionSource(ResourceKey<NormalNoise.NoiseParameters> noise, double minThreshold, double maxThreshold) Creates an instance of aNoiseThresholdConditionSourcerecord class.Constructor parameters in net.minecraft.world.level.levelgen with type arguments of type ResourceKeyModifierConstructorDescription(package private)BiomeConditionSource(List<ResourceKey<Biome>> pBiomes) WorldDimensions(Map<ResourceKey<LevelStem>, LevelStem> dimensions) Creates an instance of aWorldDimensionsrecord class. -
Uses of ResourceKey in net.minecraft.world.level.levelgen.flat
Fields in net.minecraft.world.level.levelgen.flat declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.BOTTOMLESS_PITstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.CLASSIC_FLATstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.DESERTstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.OVERWORLDstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.REDSTONE_READYstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.SNOWY_KINGDOMstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.THE_VOIDstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.TUNNELERS_DREAMstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.WATER_WORLDMethods in net.minecraft.world.level.levelgen.flat that return ResourceKeyMethods in net.minecraft.world.level.levelgen.flat with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidFlatLevelGeneratorPresets.Bootstrap.register(ResourceKey<FlatLevelGeneratorPreset> pPresetKey, ItemLike pDisplayItem, ResourceKey<Biome> pBiomeKey, Set<ResourceKey<StructureSet>> pStructureSetKeys, boolean pSetDecoration, boolean pAddLakes, FlatLayerInfo... pFlatLayerInfos) Method parameters in net.minecraft.world.level.levelgen.flat with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate voidFlatLevelGeneratorPresets.Bootstrap.register(ResourceKey<FlatLevelGeneratorPreset> pPresetKey, ItemLike pDisplayItem, ResourceKey<Biome> pBiomeKey, Set<ResourceKey<StructureSet>> pStructureSetKeys, boolean pSetDecoration, boolean pAddLakes, FlatLayerInfo... pFlatLayerInfos) -
Uses of ResourceKey in net.minecraft.world.level.levelgen.presets
Fields in net.minecraft.world.level.levelgen.presets declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<WorldPreset> WorldPresets.AMPLIFIEDstatic final ResourceKey<WorldPreset> WorldPresets.DEBUGstatic final ResourceKey<WorldPreset> WorldPresets.FLATstatic final ResourceKey<WorldPreset> WorldPresets.LARGE_BIOMESstatic final ResourceKey<WorldPreset> WorldPresets.NORMALstatic final ResourceKey<WorldPreset> WorldPresets.SINGLE_BIOME_SURFACEFields in net.minecraft.world.level.levelgen.presets with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<LevelStem>, LevelStem> WorldPreset.dimensionsMethods in net.minecraft.world.level.levelgen.presets that return ResourceKeyMethods in net.minecraft.world.level.levelgen.presets that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate ImmutableMap<ResourceKey<LevelStem>, LevelStem> WorldPreset.dimensionsInOrder()static Optional<ResourceKey<WorldPreset>> WorldPresets.fromSettings(WorldDimensions pWorldDimensions) Methods in net.minecraft.world.level.levelgen.presets with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidWorldPresets.Bootstrap.registerCustomOverworldPreset(ResourceKey<WorldPreset> pDimensionKey, LevelStem pLevelStem) Constructor parameters in net.minecraft.world.level.levelgen.presets with type arguments of type ResourceKey -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<StructureSet> BuiltinStructureSets.ANCIENT_CITIESstatic final ResourceKey<Structure> BuiltinStructures.ANCIENT_CITYstatic final ResourceKey<Structure> BuiltinStructures.BASTION_REMNANTstatic final ResourceKey<Structure> BuiltinStructures.BURIED_TREASUREstatic final ResourceKey<StructureSet> BuiltinStructureSets.BURIED_TREASURESstatic final ResourceKey<Structure> BuiltinStructures.DESERT_PYRAMIDstatic final ResourceKey<StructureSet> BuiltinStructureSets.DESERT_PYRAMIDSprivate final ResourceKey<Level> StructureCheck.dimensionstatic final ResourceKey<StructureSet> BuiltinStructureSets.END_CITIESstatic final ResourceKey<Structure> BuiltinStructures.END_CITYstatic final ResourceKey<Structure> BuiltinStructures.FORTRESSstatic final ResourceKey<Structure> BuiltinStructures.IGLOOstatic final ResourceKey<StructureSet> BuiltinStructureSets.IGLOOSstatic final ResourceKey<Structure> BuiltinStructures.JUNGLE_TEMPLEstatic final ResourceKey<StructureSet> BuiltinStructureSets.JUNGLE_TEMPLESstatic final ResourceKey<Structure> BuiltinStructures.MINESHAFTstatic final ResourceKey<Structure> BuiltinStructures.MINESHAFT_MESAstatic final ResourceKey<StructureSet> BuiltinStructureSets.MINESHAFTSstatic final ResourceKey<StructureSet> BuiltinStructureSets.NETHER_COMPLEXESstatic final ResourceKey<Structure> BuiltinStructures.NETHER_FOSSILstatic final ResourceKey<StructureSet> BuiltinStructureSets.NETHER_FOSSILSstatic final ResourceKey<Structure> BuiltinStructures.OCEAN_MONUMENTstatic final ResourceKey<StructureSet> BuiltinStructureSets.OCEAN_MONUMENTSstatic final ResourceKey<Structure> BuiltinStructures.OCEAN_RUIN_COLDstatic final ResourceKey<Structure> BuiltinStructures.OCEAN_RUIN_WARMstatic final ResourceKey<StructureSet> BuiltinStructureSets.OCEAN_RUINSstatic final ResourceKey<Structure> BuiltinStructures.PILLAGER_OUTPOSTstatic final ResourceKey<StructureSet> BuiltinStructureSets.PILLAGER_OUTPOSTSstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_DESERTstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_JUNGLEstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_MOUNTAINstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_NETHERstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_OCEANstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_STANDARDstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_SWAMPstatic final ResourceKey<StructureSet> BuiltinStructureSets.RUINED_PORTALSstatic final ResourceKey<Structure> BuiltinStructures.SHIPWRECKstatic final ResourceKey<Structure> BuiltinStructures.SHIPWRECK_BEACHEDstatic final ResourceKey<StructureSet> BuiltinStructureSets.SHIPWRECKSstatic final ResourceKey<Structure> BuiltinStructures.STRONGHOLDstatic final ResourceKey<StructureSet> BuiltinStructureSets.STRONGHOLDSstatic final ResourceKey<Structure> BuiltinStructures.SWAMP_HUTstatic final ResourceKey<StructureSet> BuiltinStructureSets.SWAMP_HUTSstatic final ResourceKey<Structure> BuiltinStructures.TRAIL_RUINSstatic final ResourceKey<StructureSet> BuiltinStructureSets.TRAIL_RUINSstatic final ResourceKey<Structure> BuiltinStructures.TRIAL_CHAMBERSstatic final ResourceKey<StructureSet> BuiltinStructureSets.TRIAL_CHAMBERSstatic final ResourceKey<Structure> BuiltinStructures.VILLAGE_DESERTstatic final ResourceKey<Structure> BuiltinStructures.VILLAGE_PLAINSstatic final ResourceKey<Structure> BuiltinStructures.VILLAGE_SAVANNAstatic final ResourceKey<Structure> BuiltinStructures.VILLAGE_SNOWYstatic final ResourceKey<Structure> BuiltinStructures.VILLAGE_TAIGAstatic final ResourceKey<StructureSet> BuiltinStructureSets.VILLAGESstatic final ResourceKey<Structure> BuiltinStructures.WOODLAND_MANSIONstatic final ResourceKey<StructureSet> BuiltinStructureSets.WOODLAND_MANSIONSMethods in net.minecraft.world.level.levelgen.structure that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<Structure> private static ResourceKey<StructureSet> Methods in net.minecraft.world.level.levelgen.structure with parameters of type ResourceKeyModifier and TypeMethodDescriptionprotected booleanStructurePiece.createChest(ServerLevelAccessor pLevel, BoundingBox pBox, RandomSource pRandom, BlockPos pPos, ResourceKey<LootTable> pLootTable, BlockState pState) protected booleanStructurePiece.createChest(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, int pX, int pY, int pZ, ResourceKey<LootTable> pLootTable) protected booleanStructurePiece.createDispenser(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, int pX, int pY, int pZ, Direction pFacing, ResourceKey<LootTable> pLootTable) Structure.generate(Holder<Structure> pStructure, ResourceKey<Level> pLevel, RegistryAccess pRegistryAccess, ChunkGenerator pChunkGenerator, BiomeSource pBiomeSource, RandomState pRandomState, StructureTemplateManager pStructureTemplateManager, long pSeed, ChunkPos pChunkPos, int pReferences, LevelHeightAccessor pHeightAccessor, Predicate<Holder<Biome>> pValidBiome) static LegacyStructureDataHandlerLegacyStructureDataHandler.getLegacyStructureHandler(ResourceKey<Level> pLevel, DimensionDataStorage pStorage) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type ResourceKeyModifierConstructorDescriptionStructureCheck(ChunkScanAccess pStorageAccess, RegistryAccess pRegistryAccess, StructureTemplateManager pStructureTemplateManager, ResourceKey<Level> pDimension, ChunkGenerator pChunkGenerator, RandomState pRandomState, LevelHeightAccessor pHeightAccessor, BiomeSource pBiomeSource, long pSeed, com.mojang.datafixers.DataFixer pFixerUpper) -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure.pools.alias
Fields in net.minecraft.world.level.levelgen.structure.pools.alias declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<StructureTemplatePool> DirectPoolAlias.aliasThe field for thealiasrecord component.private final ResourceKey<StructureTemplatePool> RandomPoolAlias.aliasThe field for thealiasrecord component.private final ResourceKey<StructureTemplatePool> DirectPoolAlias.targetThe field for thetargetrecord component.Fields in net.minecraft.world.level.levelgen.structure.pools.alias with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final WeightedList<ResourceKey<StructureTemplatePool>> RandomPoolAlias.targetsThe field for thetargetsrecord component.Methods in net.minecraft.world.level.levelgen.structure.pools.alias that return ResourceKeyModifier and TypeMethodDescriptionDirectPoolAlias.alias()Returns the value of thealiasrecord component.RandomPoolAlias.alias()Returns the value of thealiasrecord component.PoolAliasLookup.lookup(ResourceKey<StructureTemplatePool> pPoolKey) DirectPoolAlias.target()Returns the value of thetargetrecord component.Methods in net.minecraft.world.level.levelgen.structure.pools.alias that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionDirectPoolAlias.allTargets()PoolAliasBinding.allTargets()RandomGroupPoolAlias.allTargets()RandomPoolAlias.allTargets()RandomPoolAlias.targets()Returns the value of thetargetsrecord component.Methods in net.minecraft.world.level.levelgen.structure.pools.alias with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic DirectPoolAliasPoolAliasBinding.direct(ResourceKey<StructureTemplatePool> pAlias, ResourceKey<StructureTemplatePool> pTarget) PoolAliasLookup.lookup(ResourceKey<StructureTemplatePool> pPoolKey) static RandomPoolAliasPoolAliasBinding.random(ResourceKey<StructureTemplatePool> pAlias, WeightedList<ResourceKey<StructureTemplatePool>> pTargets) Method parameters in net.minecraft.world.level.levelgen.structure.pools.alias with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidDirectPoolAlias.forEachResolved(RandomSource pRandom, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> pStructurePoolKey) voidDirectPoolAlias.forEachResolved(RandomSource pRandom, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> pStructurePoolKey) voidPoolAliasBinding.forEachResolved(RandomSource pRandom, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> pStructurePoolKey) voidPoolAliasBinding.forEachResolved(RandomSource pRandom, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> pStructurePoolKey) voidRandomGroupPoolAlias.forEachResolved(RandomSource pRandom, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> pStructurePoolKey) voidRandomGroupPoolAlias.forEachResolved(RandomSource pRandom, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> pStructurePoolKey) voidRandomPoolAlias.forEachResolved(RandomSource pRandom, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> pStructurePoolKey) voidRandomPoolAlias.forEachResolved(RandomSource pRandom, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> pStructurePoolKey) static RandomPoolAliasPoolAliasBinding.random(ResourceKey<StructureTemplatePool> pAlias, WeightedList<ResourceKey<StructureTemplatePool>> pTargets) Constructors in net.minecraft.world.level.levelgen.structure.pools.alias with parameters of type ResourceKeyModifierConstructorDescriptionDirectPoolAlias(ResourceKey<StructureTemplatePool> alias, ResourceKey<StructureTemplatePool> target) Creates an instance of aDirectPoolAliasrecord class.RandomPoolAlias(ResourceKey<StructureTemplatePool> alias, WeightedList<ResourceKey<StructureTemplatePool>> targets) Creates an instance of aRandomPoolAliasrecord class.Constructor parameters in net.minecraft.world.level.levelgen.structure.pools.alias with type arguments of type ResourceKeyModifierConstructorDescriptionRandomPoolAlias(ResourceKey<StructureTemplatePool> alias, WeightedList<ResourceKey<StructureTemplatePool>> targets) Creates an instance of aRandomPoolAliasrecord class. -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure.structures
Fields in net.minecraft.world.level.levelgen.structure.structures with type parameters of type ResourceKeyModifier and TypeFieldDescription(package private) static final Map<String, ResourceKey<LootTable>> ShipwreckPieces.MARKERS_TO_LOOTMethods in net.minecraft.world.level.levelgen.structure.structures with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static StructureProcessorOceanRuinPieces.archyRuleProcessor(Block pBlock, Block pSuspiciousBlock, ResourceKey<LootTable> pLootTable) protected booleanMineshaftPieces.MineShaftCorridor.createChest(WorldGenLevel pLevel, BoundingBox pBox, RandomSource pRandom, int pX, int pY, int pZ, ResourceKey<LootTable> pLootTable) -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<StructureTemplatePool> StructureTemplate.JigsawBlockInfo.poolThe field for thepoolrecord component.Methods in net.minecraft.world.level.levelgen.structure.templatesystem that return ResourceKeyModifier and TypeMethodDescriptionStructureTemplate.JigsawBlockInfo.pool()Returns the value of thepoolrecord component.Constructors in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type ResourceKeyModifierConstructorDescriptionJigsawBlockInfo(StructureTemplate.StructureBlockInfo info, JigsawBlockEntity.JointType jointType, ResourceLocation name, ResourceKey<StructureTemplatePool> pool, ResourceLocation target, int placementPriority, int selectionPriority) Creates an instance of aJigsawBlockInforecord class. -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity
Fields in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity declared as ResourceKeyConstructors in net.minecraft.world.level.levelgen.structure.templatesystem.rule.blockentity with parameters of type ResourceKey -
Uses of ResourceKey in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps declared as ResourceKeyMethods in net.minecraft.world.level.saveddata.maps with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic MapItemSavedDataMapItemSavedData.createForClient(byte pScale, boolean pLocked, ResourceKey<Level> pDimension) static MapItemSavedDataMapItemSavedData.createFresh(double pX, double pZ, byte pScale, boolean pTrackingPosition, boolean pUnlimitedTracking, ResourceKey<Level> pDimension) Constructors in net.minecraft.world.level.saveddata.maps with parameters of type ResourceKeyModifierConstructorDescriptionprivateMapItemSavedData(int pX, int pZ, byte pScale, boolean pTrackingPosition, boolean pUnlimitedTracking, boolean pLocked, ResourceKey<Level> pDimension) privateMapItemSavedData(ResourceKey<Level> p_401030_, int p_401084_, int p_401048_, byte p_401197_, ByteBuffer p_401348_, boolean p_401353_, boolean p_401003_, boolean p_401306_, List<MapBanner> p_401007_, List<MapFrame> p_401318_) -
Uses of ResourceKey in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage with parameters of type ResourceKeyModifier and TypeMethodDescriptionLevelStorageSource.LevelStorageAccess.getDimensionPath(ResourceKey<Level> pDimensionPath) -
Uses of ResourceKey in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<LootTable> BuiltInLootTables.ABANDONED_MINESHAFTstatic final ResourceKey<LootTable> BuiltInLootTables.ANCIENT_CITYstatic final ResourceKey<LootTable> BuiltInLootTables.ANCIENT_CITY_ICE_BOXstatic final ResourceKey<LootTable> BuiltInLootTables.ARMADILLO_SHEDstatic final ResourceKey<LootTable> BuiltInLootTables.ARMORER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.BABY_VILLAGER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.BASTION_BRIDGEstatic final ResourceKey<LootTable> BuiltInLootTables.BASTION_HOGLIN_STABLEstatic final ResourceKey<LootTable> BuiltInLootTables.BASTION_OTHERstatic final ResourceKey<LootTable> BuiltInLootTables.BASTION_TREASUREstatic final ResourceKey<LootTable> BuiltInLootTables.BOGGED_SHEARstatic final ResourceKey<LootTable> BuiltInLootTables.BURIED_TREASUREstatic final ResourceKey<LootTable> BuiltInLootTables.BUTCHER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.CARTOGRAPHER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.CAT_MORNING_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.CHICKEN_LAYstatic final ResourceKey<LootTable> BuiltInLootTables.CLERIC_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.DESERT_PYRAMIDstatic final ResourceKey<LootTable> BuiltInLootTables.DESERT_PYRAMID_ARCHAEOLOGYstatic final ResourceKey<LootTable> BuiltInLootTables.DESERT_WELL_ARCHAEOLOGYstatic final ResourceKey<LootTable> BuiltInLootTables.END_CITY_TREASUREstatic final ResourceKey<LootTable> BuiltInLootTables.EQUIPMENT_TRIAL_CHAMBERstatic final ResourceKey<LootTable> BuiltInLootTables.EQUIPMENT_TRIAL_CHAMBER_MELEEstatic final ResourceKey<LootTable> BuiltInLootTables.EQUIPMENT_TRIAL_CHAMBER_RANGEDstatic final ResourceKey<LootTable> BuiltInLootTables.FARMER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.FISHERMAN_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.FISHINGstatic final ResourceKey<LootTable> BuiltInLootTables.FISHING_FISHstatic final ResourceKey<LootTable> BuiltInLootTables.FISHING_JUNKstatic final ResourceKey<LootTable> BuiltInLootTables.FISHING_TREASUREstatic final ResourceKey<LootTable> BuiltInLootTables.FLETCHER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.IGLOO_CHESTstatic final ResourceKey<LootTable> BuiltInLootTables.JUNGLE_TEMPLEstatic final ResourceKey<LootTable> BuiltInLootTables.JUNGLE_TEMPLE_DISPENSERstatic final ResourceKey<LootTable> BuiltInLootTables.LEATHERWORKER_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.LIBRARIAN_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.MASON_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.NETHER_BRIDGEstatic final ResourceKey<LootTable> BuiltInLootTables.OCEAN_RUIN_COLD_ARCHAEOLOGYstatic final ResourceKey<LootTable> BuiltInLootTables.OCEAN_RUIN_WARM_ARCHAEOLOGYstatic final ResourceKey<LootTable> BuiltInLootTables.PANDA_SNEEZEstatic final ResourceKey<LootTable> BuiltInLootTables.PIGLIN_BARTERINGstatic final ResourceKey<LootTable> BuiltInLootTables.PILLAGER_OUTPOSTprivate final ResourceKey<?> ValidationContext.MissingReferenceProblem.referencedThe field for thereferencedrecord component.private final ResourceKey<?> ValidationContext.RecursiveReferenceProblem.referencedThe field for thereferencedrecord component.private final ResourceKey<?> ValidationContext.ReferenceNotAllowedProblem.referencedThe field for thereferencedrecord component.private final ResourceKey<Registry<T>> LootDataType.registryKeyThe field for theregistryKeyrecord component.static final ResourceKey<LootTable> BuiltInLootTables.RUINED_PORTALstatic final ResourceKey<LootTable> BuiltInLootTables.SHEAR_BROWN_MOOSHROOMstatic final ResourceKey<LootTable> BuiltInLootTables.SHEAR_MOOSHROOMstatic final ResourceKey<LootTable> BuiltInLootTables.SHEAR_RED_MOOSHROOMstatic final ResourceKey<LootTable> BuiltInLootTables.SHEAR_SHEEPstatic final ResourceKey<LootTable> BuiltInLootTables.SHEAR_SNOW_GOLEMstatic final ResourceKey<LootTable> BuiltInLootTables.SHEPHERD_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.SHIPWRECK_MAPstatic final ResourceKey<LootTable> BuiltInLootTables.SHIPWRECK_SUPPLYstatic final ResourceKey<LootTable> BuiltInLootTables.SHIPWRECK_TREASUREstatic final ResourceKey<LootTable> BuiltInLootTables.SIMPLE_DUNGEONstatic final ResourceKey<LootTable> BuiltInLootTables.SNIFFER_DIGGINGstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWN_BONUS_CHESTstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWNER_OMINOUS_TRIAL_CHAMBER_CONSUMABLESstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWNER_OMINOUS_TRIAL_CHAMBER_KEYstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWNER_TRIAL_CHAMBER_CONSUMABLESstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWNER_TRIAL_CHAMBER_KEYstatic final ResourceKey<LootTable> BuiltInLootTables.SPAWNER_TRIAL_ITEMS_TO_DROP_WHEN_OMINOUSstatic final ResourceKey<LootTable> BuiltInLootTables.STRONGHOLD_CORRIDORstatic final ResourceKey<LootTable> BuiltInLootTables.STRONGHOLD_CROSSINGstatic final ResourceKey<LootTable> BuiltInLootTables.STRONGHOLD_LIBRARYstatic final ResourceKey<LootTable> BuiltInLootTables.TOOLSMITH_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.TRAIL_RUINS_ARCHAEOLOGY_COMMONstatic final ResourceKey<LootTable> BuiltInLootTables.TRAIL_RUINS_ARCHAEOLOGY_RAREstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CHAMBER_DISPENSERstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CORRIDORstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR_DISPENSERstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR_POTstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_ENTRANCEstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_INTERSECTIONstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_INTERSECTION_BARRELstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARDstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_COMMONstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUSstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_COMMONstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_RAREstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_UNIQUEstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_RAREstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_REWARD_UNIQUEstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_SUPPLYstatic final ResourceKey<LootTable> BuiltInLootTables.TRIAL_CHAMBERS_WATER_DISPENSERstatic final ResourceKey<LootTable> BuiltInLootTables.UNDERWATER_RUIN_BIGstatic final ResourceKey<LootTable> BuiltInLootTables.UNDERWATER_RUIN_SMALLstatic final ResourceKey<LootTable> BuiltInLootTables.UNEMPLOYED_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_ARMORERstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_BUTCHERstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_CARTOGRAPHERstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_DESERT_HOUSEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_FISHERstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_FLETCHERstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_MASONstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_PLAINS_HOUSEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_SAVANNA_HOUSEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_SHEPHERDstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_SNOWY_HOUSEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_TAIGA_HOUSEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_TANNERYstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_TEMPLEstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_TOOLSMITHstatic final ResourceKey<LootTable> BuiltInLootTables.VILLAGE_WEAPONSMITHstatic final ResourceKey<LootTable> BuiltInLootTables.WEAPONSMITH_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.WOODLAND_MANSIONFields in net.minecraft.world.level.storage.loot with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Set<ResourceKey<LootTable>> BuiltInLootTables.IMMUTABLE_LOCATIONSstatic final com.mojang.serialization.Codec<ResourceKey<LootTable>> LootTable.KEY_CODECprivate static final Set<ResourceKey<LootTable>> BuiltInLootTables.LOCATIONSstatic final Map<DyeColor, ResourceKey<LootTable>> BuiltInLootTables.SHEAR_SHEEP_BY_DYEstatic final Map<DyeColor, ResourceKey<LootTable>> BuiltInLootTables.SHEEP_BY_DYEprivate final Set<ResourceKey<?>> ValidationContext.visitedElementsMethods in net.minecraft.world.level.storage.loot that return ResourceKeyModifier and TypeMethodDescriptionResourceKey<?> ValidationContext.MissingReferenceProblem.referenced()Returns the value of thereferencedrecord component.ResourceKey<?> ValidationContext.RecursiveReferenceProblem.referenced()Returns the value of thereferencedrecord component.ResourceKey<?> ValidationContext.ReferenceNotAllowedProblem.referenced()Returns the value of thereferencedrecord component.private static ResourceKey<LootTable> private static ResourceKey<LootTable> BuiltInLootTables.register(ResourceKey<LootTable> pName) LootDataType.registryKey()Returns the value of theregistryKeyrecord component.Methods in net.minecraft.world.level.storage.loot that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic Set<ResourceKey<LootTable>> BuiltInLootTables.all()private static Map<DyeColor, ResourceKey<LootTable>> BuiltInLootTables.makeDyeKeyMap(String pPath) Methods in net.minecraft.world.level.storage.loot with parameters of type ResourceKeyModifier and TypeMethodDescriptionValidationContext.enterElement(ProblemReporter.PathElement pElement, ResourceKey<?> pKey) booleanValidationContext.hasVisitedElement(ResourceKey<?> pKey) private static ResourceKey<LootTable> BuiltInLootTables.register(ResourceKey<LootTable> pName) voidLootDataType.Validator.run(ValidationContext pContext, ResourceKey<T> pKey, T pValue) voidLootDataType.runValidation(ValidationContext pContext, ResourceKey<T> pKey, T pValue) Constructors in net.minecraft.world.level.storage.loot with parameters of type ResourceKeyModifierConstructorDescriptionprivateLootDataType(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator) Deprecated.Neo: use the constructorto support conditionsinvalid reference
with a default value and id setterLootDataType(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator, T defaultValue, com.mojang.serialization.Codec<Optional<T>> conditionalCodec, BiConsumer<T, ResourceLocation> idSetter) Creates an instance of aLootDataTyperecord class.privateLootDataType(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.Validator<T> validator, T defaultValue, BiConsumer<T, ResourceLocation> idSetter) MissingReferenceProblem(ResourceKey<?> referenced) Creates an instance of aMissingReferenceProblemrecord class.RecursiveReferenceProblem(ResourceKey<?> referenced) Creates an instance of aRecursiveReferenceProblemrecord class.ReferenceNotAllowedProblem(ResourceKey<?> referenced) Creates an instance of aReferenceNotAllowedProblemrecord class.Constructor parameters in net.minecraft.world.level.storage.loot with type arguments of type ResourceKeyModifierConstructorDescriptionprivateValidationContext(ProblemReporter pReporter, ContextKeySet pContextKeySet, Optional<HolderGetter.Provider> pResolver, Set<ResourceKey<?>> pVisitedElements) -
Uses of ResourceKey in net.minecraft.world.level.storage.loot.entries
Fields in net.minecraft.world.level.storage.loot.entries with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final com.mojang.datafixers.util.Either<ResourceKey<LootTable>, LootTable> NestedLootTable.contentsMethods in net.minecraft.world.level.storage.loot.entries with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder<?> NestedLootTable.lootTableReference(ResourceKey<LootTable> pLootTable) Constructor parameters in net.minecraft.world.level.storage.loot.entries with type arguments of type ResourceKeyModifierConstructorDescriptionprivateNestedLootTable(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
Fields in net.minecraft.world.level.storage.loot.functions declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootItemFunction> FunctionReference.nameprivate final ResourceKey<LootTable> SetContainerLootTable.nameMethods in net.minecraft.world.level.storage.loot.functions with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?> FunctionReference.functionReference(ResourceKey<LootItemFunction> pKey) static LootItemConditionalFunction.Builder<?> SetContainerLootTable.withLootTable(BlockEntityType<?> pType, ResourceKey<LootTable> pToolTable) static LootItemConditionalFunction.Builder<?> SetContainerLootTable.withLootTable(BlockEntityType<?> pType, ResourceKey<LootTable> pLootTable, long pSeed) Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type ResourceKeyModifierConstructorDescriptionprivateFunctionReference(List<LootItemCondition> p_298661_, ResourceKey<LootItemFunction> p_335440_) privateSetContainerLootTable(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
Fields in net.minecraft.world.level.storage.loot.predicates declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootItemCondition> ConditionReference.nameThe field for thenamerecord component.Methods in net.minecraft.world.level.storage.loot.predicates that return ResourceKeyModifier and TypeMethodDescriptionConditionReference.name()Returns the value of thenamerecord component.Methods in net.minecraft.world.level.storage.loot.predicates with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic LootItemCondition.BuilderConditionReference.conditionReference(ResourceKey<LootItemCondition> pName) Constructors in net.minecraft.world.level.storage.loot.predicates with parameters of type ResourceKeyModifierConstructorDescriptionCreates an instance of aConditionReferencerecord class. -
Uses of ResourceKey in net.minecraft.world.waypoints
Fields in net.minecraft.world.waypoints declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<WaypointStyleAsset> WaypointStyleAssets.BOWTIEstatic final ResourceKey<WaypointStyleAsset> WaypointStyleAssets.DEFAULTstatic final ResourceKey<? extends Registry<WaypointStyleAsset>> WaypointStyleAssets.ROOT_IDWaypoint.Icon.styleMethods in net.minecraft.world.waypoints that return ResourceKeyModifier and TypeMethodDescriptionstatic ResourceKey<WaypointStyleAsset> private ResourceKey<WaypointStyleAsset> Waypoint.Icon.getOverrideStyle()Constructors in net.minecraft.world.waypoints with parameters of type ResourceKeyModifierConstructorDescriptionprivateIcon(ResourceKey<WaypointStyleAsset> p_419506_, Optional<Integer> p_416555_) -
Uses of ResourceKey in net.neoforged.neoforge.client
Fields in net.neoforged.neoforge.client with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Map<com.mojang.datafixers.util.Pair<ResourceKey<Level>, ResourceKey<Level>>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> DimensionTransitionScreenManager.conditionalDimensionEffectsprivate static final Map<com.mojang.datafixers.util.Pair<ResourceKey<Level>, ResourceKey<Level>>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> DimensionTransitionScreenManager.conditionalDimensionEffectsprivate static Map<ResourceKey<WorldPreset>, PresetEditor> PresetEditorManager.editorsprivate static final Map<ResourceKey<Level>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> DimensionTransitionScreenManager.fromDimensionTransitionsprivate static final Map<ResourceKey<Level>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> DimensionTransitionScreenManager.toDimensionTransitionsMethods in net.neoforged.neoforge.client that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionClientCommandSourceStack.levels()Returns a set ofResourceKeyfor levels from the client side.Methods in net.neoforged.neoforge.client with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic @Nullable PresetEditorPresetEditorManager.get(ResourceKey<WorldPreset> key) Returns the PresetEditor for the given WorldPreset key, or null if no such PresetEditor exists.DimensionTransitionScreenManager.getScreen(@Nullable ResourceKey<Level> toDimension, @Nullable ResourceKey<Level> fromDimension) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> ClientCommandSourceStack.suggestRegistryElements(ResourceKey<? extends Registry<?>> registry, SharedSuggestionProvider.ElementSuggestionType suggestionType, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, com.mojang.brigadier.context.CommandContext<?> context) -
Uses of ResourceKey in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<com.mojang.datafixers.util.Pair<ResourceKey<Level>, ResourceKey<Level>>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> RegisterDimensionTransitionScreenEvent.conditionalDimensionEffectsprivate final Map<com.mojang.datafixers.util.Pair<ResourceKey<Level>, ResourceKey<Level>>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> RegisterDimensionTransitionScreenEvent.conditionalDimensionEffectsprivate final Map<ResourceKey<WorldPreset>, PresetEditor> RegisterPresetEditorsEvent.editorsRegisterDimensionTransitionScreenEvent.fromEffectsRegisterDimensionTransitionScreenEvent.toEffectsMethods in net.neoforged.neoforge.client.event with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidRegisterPresetEditorsEvent.register(ResourceKey<WorldPreset> key, PresetEditor editor) Registers a PresetEditor for a given world preset key.booleanRegisterDimensionTransitionScreenEvent.registerConditionalEffect(ResourceKey<Level> toDimension, ResourceKey<Level> fromDimension, DimensionTransitionScreenManager.ReceivingLevelScreenFactory screen) Registers a dimension transition when traveling to a dimension from a certain dimension.booleanRegisterDimensionTransitionScreenEvent.registerIncomingEffect(ResourceKey<Level> dimension, DimensionTransitionScreenManager.ReceivingLevelScreenFactory screen) Registers a dimension transition when traveling to a dimension.booleanRegisterDimensionTransitionScreenEvent.registerOutgoingEffect(ResourceKey<Level> dimension, DimensionTransitionScreenManager.ReceivingLevelScreenFactory screen) Registers a dimension transition when traveling from a dimension.Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type ResourceKeyModifierConstructorDescriptionRegisterDimensionTransitionScreenEvent(Map<com.mojang.datafixers.util.Pair<ResourceKey<Level>, ResourceKey<Level>>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> conditionalDimensionEffects, Map<ResourceKey<Level>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> toEffects, Map<ResourceKey<Level>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> fromEffects) RegisterDimensionTransitionScreenEvent(Map<com.mojang.datafixers.util.Pair<ResourceKey<Level>, ResourceKey<Level>>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> conditionalDimensionEffects, Map<ResourceKey<Level>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> toEffects, Map<ResourceKey<Level>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> fromEffects) -
Uses of ResourceKey in net.neoforged.neoforge.client.internal
Methods in net.neoforged.neoforge.client.internal with parameters of type ResourceKeyModifier and TypeMethodDescription<T> HolderLookup.RegistryLookup<T> NeoForgeClientProxy.resolveLookup(ResourceKey<? extends Registry<T>> key) -
Uses of ResourceKey in net.neoforged.neoforge.client.pipeline
Fields in net.neoforged.neoforge.client.pipeline declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<PipelineModifier>> PipelineModifier.MODIFIERS_KEYFields in net.neoforged.neoforge.client.pipeline with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Deque<ResourceKey<PipelineModifier>> PipelineModifierStack.modifiers(package private) static final Map<ResourceKey<PipelineModifier>, PipelineModifier> PipelineModifiers.MODIFIERSprivate final Map<ResourceKey<PipelineModifier>, Map<RenderPipeline, RenderPipeline>> PipelineModifierStack.modifierTransformCacheMethods in net.neoforged.neoforge.client.pipeline with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidPipelineModifierStack.push(ResourceKey<PipelineModifier> modifier) voidRegisterPipelineModifiersEvent.register(ResourceKey<PipelineModifier> key, PipelineModifier modifier) Register aPipelineModifier.voidPipelineModifierStack.renderWithModifier(ResourceKey<PipelineModifier> modifier, Runnable renderTask) -
Uses of ResourceKey in net.neoforged.neoforge.client.renderstate
Fields in net.neoforged.neoforge.client.renderstate with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Map<ResourceKey<MapDecorationType>, Collection<MapDecorationRenderStateModifier>> RenderStateExtensions.MAP_DECORATIONMethods in net.neoforged.neoforge.client.renderstate with parameters of type ResourceKeyModifier and TypeMethodDescription(package private) static voidRenderStateExtensions.registerMapDecoration(ResourceKey<MapDecorationType> mapDecorationTypeKey, MapDecorationRenderStateModifier modifier) voidRegisterRenderStateModifiersEvent.registerMapDecorationModifier(ResourceKey<MapDecorationType> mapDecorationTypeKey, MapDecorationRenderStateModifier modifier) Registers a render state modifier forMapRenderState.MapDecorationRenderStates which are run after vanilla map decoration data has been set. -
Uses of ResourceKey in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<DamageType> NeoForgeMod.POISON_DAMAGEUsed in place ofDamageSources.magic()for damage dealt byMobEffects.POISON.Fields in net.neoforged.neoforge.common with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Map<ResourceKey<VillagerProfession>, it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> VillagerTradingManager.VANILLA_TRADESMethods in net.neoforged.neoforge.common with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static <T> AbstractMap.SimpleEntry<TagKey<T>, String> TagConventionLogWarning.createForgeMapEntry(ResourceKey<Registry<T>> registryKey, String tagId1, String tagId2) private static <T,R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createForgeMapEntry(ResourceKey<Registry<T>> registryKey, String tagId1, TagKey<R> tag2) private static <T,R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createMapEntry(ResourceKey<Registry<T>> registryKey, String tagNamespace1, String tagId1, TagKey<R> tag2) private static <T,R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createMapEntry(ResourceKey<Registry<T>> registryKey, String tagNamespace1, String tagId1, TagKey<R>... replacementTags) private static <T> TagKey<T> TagConventionLogWarning.createTagKey(ResourceKey<Registry<T>> registryKey, String namespace, String tagId) static booleanCommonHooks.onTravelToDimension(Entity entity, ResourceKey<Level> dimension) static <T> @Nullable HolderLookup.RegistryLookup<T> CommonHooks.resolveLookup(ResourceKey<? extends Registry<T>> key) Attempts to resolve aHolderLookup.RegistryLookupusing the current global state. -
Uses of ResourceKey in net.neoforged.neoforge.common.conditions
Fields in net.neoforged.neoforge.common.conditions declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<T> RegisteredCondition.registryKeyThe field for theregistryKeyrecord component.Fields in net.neoforged.neoforge.common.conditions with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>, HolderLookup.RegistryLookup<?>> ConditionContext.pendingTagsMethods in net.neoforged.neoforge.common.conditions that return ResourceKeyModifier and TypeMethodDescriptionRegisteredCondition.registryKey()Returns the value of theregistryKeyrecord component.Methods in net.neoforged.neoforge.common.conditions with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic <TRegistry>
IConditionNeoForgeConditions.registered(ResourceKey<? extends Registry<TRegistry>> registryType, ResourceLocation registryName) static <TRegistry>
IConditionNeoForgeConditions.registered(ResourceKey<TRegistry> registryKey) static <TRegistry>
IConditionNeoForgeConditions.tagEmpty(ResourceKey<? extends Registry<TRegistry>> tagType, ResourceLocation tagName) Constructors in net.neoforged.neoforge.common.conditions with parameters of type ResourceKeyModifierConstructorDescriptionRegisteredCondition(ResourceKey<T> registryKey) Creates an instance of aRegisteredConditionrecord class. -
Uses of ResourceKey in net.neoforged.neoforge.common.crafting
Fields in net.neoforged.neoforge.common.crafting with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> RecipePriorityManager.recipePrioritiesMethods in net.neoforged.neoforge.common.crafting that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionit.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> RecipePriorityManager.getRecipePriorities()An immutable map of the registered recipe priorities in layered order.protected it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> RecipePriorityManager.prepare(ResourceManager resourceManager, ProfilerFiller profilerFiller) Methods in net.neoforged.neoforge.common.crafting with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidConditionalRecipeOutput.accept(ResourceKey<Recipe<?>> id, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) Method parameters in net.neoforged.neoforge.common.crafting with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprotected voidRecipePriorityManager.apply(it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> map, ResourceManager resourceManager, ProfilerFiller profilerFiller) -
Uses of ResourceKey in net.neoforged.neoforge.common.data
Fields in net.neoforged.neoforge.common.data declared as ResourceKeyModifier and TypeFieldDescriptionprotected final ResourceKey<Registry<R>> DataMapProvider.Builder.registryKeyFields in net.neoforged.neoforge.common.data with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> DataMapProvider.Builder.valuesMethods in net.neoforged.neoforge.common.data that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static Map<ResourceKey<?>, List<ICondition>> DatapackBuiltinEntriesProvider.buildConditionsMap(Consumer<BiConsumer<ResourceKey<?>, ICondition>> conditionBuilder) Methods in net.neoforged.neoforge.common.data with parameters of type ResourceKeyModifier and TypeMethodDescriptionDataMapProvider.Builder.add(ResourceKey<R> key, T value, boolean replace, ICondition... conditions) voidRecipePrioritiesProvider.add(ResourceKey<Recipe> recipe, int priority) voidLanguageProvider.addBiome(ResourceKey<Biome> biome, String value) voidLanguageProvider.addDimension(ResourceKey<Level> dimension, String value) Method parameters in net.neoforged.neoforge.common.data with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static Map<ResourceKey<?>, List<ICondition>> DatapackBuiltinEntriesProvider.buildConditionsMap(Consumer<BiConsumer<ResourceKey<?>, ICondition>> conditionBuilder) voidConditionalLootTableSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) Constructor parameters in net.neoforged.neoforge.common.data with type arguments of type ResourceKeyModifierConstructorDescriptionDatapackBuiltinEntriesProvider(PackOutput output, CompletableFuture<HolderLookup.Provider> registries, RegistrySetBuilder datapackEntriesBuilder, Consumer<BiConsumer<ResourceKey<?>, ICondition>> conditionsBuilder, Set<String> modIds) Constructs a new datapack provider which generates all registry objects from the provided mods using the holder.DatapackBuiltinEntriesProvider(PackOutput output, CompletableFuture<HolderLookup.Provider> registries, RegistrySetBuilder datapackEntriesBuilder, Map<ResourceKey<?>, List<ICondition>> conditions, Set<String> modIds) Constructs a new datapack provider which generates all registry objects from the provided mods using the holder.DatapackBuiltinEntriesProvider(PackOutput output, CompletableFuture<RegistrySetBuilder.PatchedRegistries> registries, Consumer<BiConsumer<ResourceKey<?>, ICondition>> conditionsBuilder, Set<String> modIds) Constructs a new datapack provider which generates all registry objects from the provided mods using the holder.DatapackBuiltinEntriesProvider(PackOutput output, CompletableFuture<RegistrySetBuilder.PatchedRegistries> registries, Map<ResourceKey<?>, List<ICondition>> conditions, Set<String> modIds) Constructs a new datapack provider which generates all registry objects from the provided mods using the holder. -
Uses of ResourceKey in net.neoforged.neoforge.common.data.internal
Fields in net.neoforged.neoforge.common.data.internal with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Set<ResourceKey<Recipe<?>>> NeoForgeRecipeProvider.InterceptingRecipeOutput.excludesMethods in net.neoforged.neoforge.common.data.internal that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate TagAppender<ResourceKey<DamageType>, DamageType> NeoForgeDamageTypeTagsProvider.addAsVanilla(ResourceKey<DamageType> entry) Returns an appender for vanilla tags that contain the given entry directly.protected TagAppender<ResourceKey<DamageType>, DamageType> NeoForgeDamageTypeTagsProvider.tag(TagKey<DamageType> tag) private TagAppender<ResourceKey<Biome>, Biome> NeoForgeBiomeTagsProvider.tagWithOptionalLegacy(TagKey<Biome> tag) private TagAppender<ResourceKey<DamageType>, DamageType> NeoForgeDamageTypeTagsProvider.tagWithOptionalLegacy(TagKey<DamageType> tag) Methods in net.neoforged.neoforge.common.data.internal with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidNeoForgeRecipeProvider.InterceptingRecipeOutput.accept(ResourceKey<Recipe<?>> id, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) private TagAppender<ResourceKey<DamageType>, DamageType> NeoForgeDamageTypeTagsProvider.addAsVanilla(ResourceKey<DamageType> entry) Returns an appender for vanilla tags that contain the given entry directly.private @Nullable IngredientNeoForgeRecipeProvider.InterceptingRecipeOutput.enhance(ResourceKey<Recipe<?>> name, Ingredient vanilla) private @Nullable Recipe<?> NeoForgeRecipeProvider.InterceptingRecipeOutput.enhance(ResourceKey<Recipe<?>> id, Recipe<?> vanilla) private @Nullable ShapedRecipeNeoForgeRecipeProvider.InterceptingRecipeOutput.enhance(ResourceKey<Recipe<?>> id, ShapedRecipe vanilla) private @Nullable ShapelessRecipeNeoForgeRecipeProvider.InterceptingRecipeOutput.enhance(ResourceKey<Recipe<?>> id, ShapelessRecipe vanilla) private voidNeoForgeBiomeTagsProvider.tag(ResourceKey<Biome> biome, TagKey<Biome>... tags) private voidNeoForgeDamageTypeTagsProvider.tag(ResourceKey<DamageType> type, TagKey<DamageType>... tags) -
Uses of ResourceKey in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return ResourceKeyModifier and TypeMethodDescriptiondefault @Nullable ResourceKey<T> IHolderExtension.getKey()Get the resource key held by this Holder, or null if none is present.Methods in net.neoforged.neoforge.common.extensions with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidIRecipeOutputExtension.accept(ResourceKey<Recipe<?>> key, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) Generates a recipe with the given conditions.default voidIPlayerListExtension.broadcast(double x, double y, double z, double range, ResourceKey<Level> level, CustomPacketPayload payload) Sends a payload to all players within the specific level, within a given range around the target pointdefault voidIPlayerListExtension.broadcast(Player excludedPlayer, double x, double y, double z, double range, ResourceKey<Level> level, CustomPacketPayload payload) Sends a payload to all players within the specific level, within a given range around the target point, excluding the specified player.default voidIPlayerListExtension.broadcastAll(CustomPacketPayload payload, ResourceKey<Level> targetLevel) Sends a payload to all players within the specific level.default <T> Optional<Holder.Reference<T>> IHolderLookupProviderExtension.holder(ResourceKey<T> key) Shortcut method to get an optional holder from a ResourceKey.default <T> Optional<Holder.Reference<T>> ILevelReaderExtension.holder(ResourceKey<T> key) Shortcut method to get an optional holder from a ResourceKey.default <T> Holder<T> IHolderLookupProviderExtension.holderOrThrow(ResourceKey<T> key) Shortcut method to get a holder from a ResourceKey.default <T> Holder<T> ILevelReaderExtension.holderOrThrow(ResourceKey<T> key) Shortcut method to get a holder from a ResourceKey. -
Uses of ResourceKey in net.neoforged.neoforge.common.loot
Fields in net.neoforged.neoforge.common.loot declared as ResourceKeyMethods in net.neoforged.neoforge.common.loot that return ResourceKeyConstructors in net.neoforged.neoforge.common.loot with parameters of type ResourceKeyModifierConstructorDescriptionAddTableLootModifier(LootItemCondition[] conditionsIn, ResourceKey<LootTable> table) -
Uses of ResourceKey in net.neoforged.neoforge.common.util
Fields in net.neoforged.neoforge.common.util declared as ResourceKeyMethods in net.neoforged.neoforge.common.util that return ResourceKeyModifier and TypeMethodDescriptionBlockSnapshot.getDimension()Returns the recorded dimension key.Methods in net.neoforged.neoforge.common.util with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic BlockSnapshotBlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos) Creates a new snapshot with the default block flags (and Block#UPDATE_CLIENTS.static BlockSnapshotBlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, int flag) Creates a new snapshot of the data at the given position.Constructors in net.neoforged.neoforge.common.util with parameters of type ResourceKeyModifierConstructorDescriptionprivateBlockSnapshot(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, BlockState state, @Nullable CompoundTag nbt, int flags) -
Uses of ResourceKey in net.neoforged.neoforge.common.world.poi
Fields in net.neoforged.neoforge.common.world.poi with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final BiConsumer<ResourceKey<PoiType>, Set<BlockState>> ExtendPoiTypesEvent.registrarMethods in net.neoforged.neoforge.common.world.poi with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidExtendPoiTypesEvent.addBlockToPoi(ResourceKey<PoiType> typeKey, Block block) voidExtendPoiTypesEvent.addStatesToPoi(ResourceKey<PoiType> typeKey, Set<BlockState> states) private static voidPoiTypeExtender.register(ResourceKey<PoiType> typeKey, Set<BlockState> states) Constructor parameters in net.neoforged.neoforge.common.world.poi with type arguments of type ResourceKeyModifierConstructorDescription(package private)ExtendPoiTypesEvent(BiConsumer<ResourceKey<PoiType>, Set<BlockState>> registrar) -
Uses of ResourceKey in net.neoforged.neoforge.data.event
Method parameters in net.neoforged.neoforge.data.event with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidGatherDataEvent.createDatapackRegistryObjects(RegistrySetBuilder datapackEntriesBuilder, Consumer<BiConsumer<ResourceKey<?>, ICondition>> conditionsBuilder) voidGatherDataEvent.createDatapackRegistryObjects(RegistrySetBuilder datapackEntriesBuilder, Consumer<BiConsumer<ResourceKey<?>, ICondition>> conditionsBuilder, Set<String> modIds) voidGatherDataEvent.createDatapackRegistryObjects(RegistrySetBuilder datapackEntriesBuilder, Map<ResourceKey<?>, List<ICondition>> conditions) voidGatherDataEvent.createDatapackRegistryObjects(RegistrySetBuilder datapackEntriesBuilder, Map<ResourceKey<?>, List<ICondition>> conditions, Set<String> modIds) -
Uses of ResourceKey in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as ResourceKeyModifier and TypeFieldDescriptionprivate @Nullable ResourceKey<LootTable> LootTableLoadEvent.keyprivate final ResourceKey<CreativeModeTab> BuildCreativeModeTabContentsEvent.tabKeyMethods in net.neoforged.neoforge.event that return ResourceKeyModifier and TypeMethodDescriptionLootTableLoadEvent.getKey()BuildCreativeModeTabContentsEvent.getTabKey()Returns the key of the creative mode tab currently populating its contents.Methods in net.neoforged.neoforge.event with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic voidEventHooks.firePlayerChangedDimensionEvent(Player player, ResourceKey<Level> fromDim, ResourceKey<Level> toDim) voidBlockEntityTypeAddBlocksEvent.modify(ResourceKey<BlockEntityType<?>> blockEntityTypeKey, Block... blocksToAdd) Will add the given blocks to theBlockEntityType's set of valid blocks.static voidEventHooks.onCreativeModeTabBuildContents(CreativeModeTab tab, ResourceKey<CreativeModeTab> tabKey, CreativeModeTab.DisplayItemsGenerator originalGenerator, CreativeModeTab.ItemDisplayParameters params, CreativeModeTab.Output output) Fires theBuildCreativeModeTabContentsEvent.Method parameters in net.neoforged.neoforge.event with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidBlockEntityTypeAddBlocksEvent.modify(BiPredicate<ResourceKey<BlockEntityType<?>>, BlockEntityType<?>> blockEntityTypeToMatch, Block... blocksToAdd) Will add the given blocks to the matchingBlockEntityType's set of valid blocks.Constructors in net.neoforged.neoforge.event with parameters of type ResourceKeyModifierConstructorDescriptionBuildCreativeModeTabContentsEvent(CreativeModeTab tab, ResourceKey<CreativeModeTab> tabKey, CreativeModeTab.ItemDisplayParameters parameters, InsertableLinkedOpenCustomHashSet<ItemStack> parentEntries, InsertableLinkedOpenCustomHashSet<ItemStack> searchEntries) -
Uses of ResourceKey in net.neoforged.neoforge.event.enchanting
Methods in net.neoforged.neoforge.event.enchanting with parameters of type ResourceKeyModifier and TypeMethodDescriptionGetEnchantmentLevelEvent.getHolder(ResourceKey<Enchantment> key) Attempts to resolve aHolder.Referencefor a target enchantment.booleanGetEnchantmentLevelEvent.isTargetting(ResourceKey<Enchantment> ench) Helper method aroundGetEnchantmentLevelEvent.getTargetEnchant()that checks if the target is the specified enchantment, or if the target is null. -
Uses of ResourceKey in net.neoforged.neoforge.event.entity
Fields in net.neoforged.neoforge.event.entity declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> EntityTravelToDimensionEvent.dimensionMethods in net.neoforged.neoforge.event.entity that return ResourceKeyConstructors in net.neoforged.neoforge.event.entity with parameters of type ResourceKeyModifierConstructorDescriptionEntityTravelToDimensionEvent(Entity entity, ResourceKey<Level> dimension) -
Uses of ResourceKey in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> PlayerEvent.PlayerChangedDimensionEvent.fromDimprivate final ResourceKey<Level> PlayerSetSpawnEvent.spawnLevelprivate final ResourceKey<Level> PlayerEvent.PlayerChangedDimensionEvent.toDimMethods in net.neoforged.neoforge.event.entity.player that return ResourceKeyModifier and TypeMethodDescriptionPlayerEvent.PlayerChangedDimensionEvent.getFrom()PlayerSetSpawnEvent.getSpawnLevel()PlayerEvent.PlayerChangedDimensionEvent.getTo()Methods in net.neoforged.neoforge.event.entity.player with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidPlayerRespawnPositionEvent.setRespawnLevel(ResourceKey<Level> respawnLevelResourceKey) Set the level the player will respawn into using aResourceKey.Constructors in net.neoforged.neoforge.event.entity.player with parameters of type ResourceKeyModifierConstructorDescriptionPlayerChangedDimensionEvent(Player player, ResourceKey<Level> fromDim, ResourceKey<Level> toDim) -
Uses of ResourceKey in net.neoforged.neoforge.event.level
Methods in net.neoforged.neoforge.event.level with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidBlockGrowFeatureEvent.setFeature(ResourceKey<ConfiguredFeature<?, ?>> featureKey) Changes the feature that will be grown. -
Uses of ResourceKey in net.neoforged.neoforge.event.village
Fields in net.neoforged.neoforge.event.village declared as ResourceKeyModifier and TypeFieldDescriptionprotected ResourceKey<VillagerProfession> VillagerTradesEvent.typeMethods in net.neoforged.neoforge.event.village that return ResourceKeyConstructors in net.neoforged.neoforge.event.village with parameters of type ResourceKeyModifierConstructorDescriptionVillagerTradesEvent(it.unimi.dsi.fastutil.ints.Int2ObjectMap<List<VillagerTrades.ItemListing>> trades, ResourceKey<VillagerProfession> type, HolderLookup.Provider registries) -
Uses of ResourceKey in net.neoforged.neoforge.internal
Methods in net.neoforged.neoforge.internal with parameters of type ResourceKeyModifier and TypeMethodDescription<T> HolderLookup.RegistryLookup<T> NeoForgeProxy.resolveLookup(ResourceKey<? extends Registry<T>> key) -
Uses of ResourceKey in net.neoforged.neoforge.mixins
Methods in net.neoforged.neoforge.mixins that return types with arguments of type ResourceKey -
Uses of ResourceKey in net.neoforged.neoforge.network.codec
Methods in net.neoforged.neoforge.network.codec that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic <B extends FriendlyByteBuf>
StreamCodec<B, ResourceKey<? extends Registry<?>>> NeoForgeStreamCodecs.registryKey()Creates a stream codec to encode and decode aResourceKeythat identifies a registry. -
Uses of ResourceKey in net.neoforged.neoforge.network.payload
Fields in net.neoforged.neoforge.network.payload declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<? extends Registry<T>> RegistryDataMapSyncPayload.registryKeyThe field for theregistryKeyrecord component.Fields in net.neoforged.neoforge.network.payload with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>, List<KnownRegistryDataMapsPayload.KnownDataMap>> KnownRegistryDataMapsPayload.dataMapsThe field for thedataMapsrecord component.private final Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> KnownRegistryDataMapsReplyPayload.dataMapsThe field for thedataMapsrecord component.private final Map<ResourceLocation, Map<ResourceKey<T>, ?>> RegistryDataMapSyncPayload.dataMapsThe field for thedataMapsrecord component.Methods in net.neoforged.neoforge.network.payload that return ResourceKeyModifier and TypeMethodDescriptionResourceKey<? extends Registry<T>> RegistryDataMapSyncPayload.registryKey()Returns the value of theregistryKeyrecord component.Methods in net.neoforged.neoforge.network.payload that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionMap<ResourceKey<? extends Registry<?>>, List<KnownRegistryDataMapsPayload.KnownDataMap>> KnownRegistryDataMapsPayload.dataMaps()Returns the value of thedataMapsrecord component.Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> KnownRegistryDataMapsReplyPayload.dataMaps()Returns the value of thedataMapsrecord component.Map<ResourceLocation, Map<ResourceKey<T>, ?>> RegistryDataMapSyncPayload.dataMaps()Returns the value of thedataMapsrecord component.Constructors in net.neoforged.neoforge.network.payload with parameters of type ResourceKeyModifierConstructorDescriptionRegistryDataMapSyncPayload(ResourceKey<? extends Registry<T>> registryKey, Map<ResourceLocation, Map<ResourceKey<T>, ?>> dataMaps) Creates an instance of aRegistryDataMapSyncPayloadrecord class.Constructor parameters in net.neoforged.neoforge.network.payload with type arguments of type ResourceKeyModifierConstructorDescriptionKnownRegistryDataMapsPayload(Map<ResourceKey<? extends Registry<?>>, List<KnownRegistryDataMapsPayload.KnownDataMap>> dataMaps) Creates an instance of aKnownRegistryDataMapsPayloadrecord class.KnownRegistryDataMapsReplyPayload(Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>> dataMaps) Creates an instance of aKnownRegistryDataMapsReplyPayloadrecord class.RegistryDataMapSyncPayload(ResourceKey<? extends Registry<T>> registryKey, Map<ResourceLocation, Map<ResourceKey<T>, ?>> dataMaps) Creates an instance of aRegistryDataMapSyncPayloadrecord class. -
Uses of ResourceKey in net.neoforged.neoforge.registries
Fields in net.neoforged.neoforge.registries declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<AttachmentType<?>>> NeoForgeRegistries.Keys.ATTACHMENT_TYPESstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends BiomeModifier>>> NeoForgeRegistries.Keys.BIOME_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<BiomeModifier>> NeoForgeRegistries.Keys.BIOME_MODIFIERSstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends ICondition>>> NeoForgeRegistries.Keys.CONDITION_CODECSstatic final ResourceKey<Registry<EntityDataSerializer<?>>> NeoForgeRegistries.Keys.ENTITY_DATA_SERIALIZERSstatic final ResourceKey<Registry<FluidIngredientType<?>>> NeoForgeRegistries.Keys.FLUID_INGREDIENT_TYPESstatic final ResourceKey<Registry<FluidType>> NeoForgeRegistries.Keys.FLUID_TYPESstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>>> NeoForgeRegistries.Keys.GLOBAL_LOOT_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<HolderSetType>> NeoForgeRegistries.Keys.HOLDER_SET_TYPESstatic final ResourceKey<Registry<IngredientType<?>>> NeoForgeRegistries.Keys.INGREDIENT_TYPESprotected final ResourceKey<R> DeferredHolder.keyThe resource key of the target object.private final ResourceKey<? extends Registry<V>> DeferredRegister.RegistryHolder.registryKeyprivate final ResourceKey<? extends Registry<T>> DeferredRegister.registryKeyprivate final ResourceKey<? extends Registry<?>> RegisterEvent.registryKeyprivate final ResourceKey<? extends Registry<T>> RegistryBuilder.registryKeystatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends StructureModifier>>> NeoForgeRegistries.Keys.STRUCTURE_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<StructureModifier>> NeoForgeRegistries.Keys.STRUCTURE_MODIFIERSFields in net.neoforged.neoforge.registries with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic final io.netty.util.AttributeKey<Map<ResourceKey<? extends Registry<?>>, Collection<ResourceLocation>>> RegistryManager.ATTRIBUTE_KNOWN_DATA_MAPS(package private) final Map<DataMapType<T, ?>, Map<ResourceKey<T>, ?>> BaseMappedRegistry.dataMapsprivate static Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegistryManager.dataMapsprivate Map<ResourceKey<? extends Registry<?>>, DataMapLoader.LoadResult<?>> DataMapLoader.resultsprivate static final Set<ResourceKey<? extends Registry<?>>> DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIESprivate static final Set<ResourceKey<? extends Registry<?>>> DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIES_VIEWMethods in net.neoforged.neoforge.registries that return ResourceKeyModifier and TypeMethodDescriptionDeferredHolder.getKey()ResourceKey<? extends Registry<T>> DeferredRegister.getRegistryKey()ResourceKey<? extends Registry<?>> RegisterEvent.getRegistryKey()private static <T> ResourceKey<Registry<T>> BaseMappedRegistry.resolve(ResourceKey<T> key) IRegistryExtension.resolve(ResourceKey<T> key) Resolves a registry key of a potential object in this registry.Methods in net.neoforged.neoforge.registries that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic Set<ResourceKey<?>> RegistryManager.applySnapshot(Map<ResourceLocation, RegistrySnapshot> snapshots, boolean 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.Map<DataMapType<T, ?>, Map<ResourceKey<T>, ?>> BaseMappedRegistry.getDataMaps()static Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegistryManager.getDataMaps()Returns a view of all registered data maps.static Set<ResourceKey<? extends Registry<?>>> DataPackRegistriesHooks.getSyncedCustomRegistries()Returns An unmodifiable view of the set of synced non-vanilla datapack registry IDs.private CompletableFuture<Map<ResourceKey<? extends Registry<?>>, DataMapLoader.LoadResult<?>>> DataMapLoader.load(ResourceManager manager, Executor executor, ProfilerFiller profiler) private static Map<ResourceKey<? extends Registry<?>>, DataMapLoader.LoadResult<?>> DataMapLoader.load(ResourceManager manager, ProfilerFiller profiler, RegistryAccess access, ICondition.IContext context) com.mojang.datafixers.util.Either<ResourceKey<R>, R> DeferredHolder.unwrap()Returns anEither.left()containing the resource key of this holder.DeferredHolder.unwrapKey()Returns the resource key of this holder.Methods in net.neoforged.neoforge.registries with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic <R,T extends R>
DeferredHolder<R, T> DeferredHolder.create(ResourceKey<? extends Registry<R>> registryKey, ResourceLocation valueName) Creates a new DeferredHolder targeting the value with the specified name in the specified registry.static <R,T extends R>
DeferredHolder<R, T> DeferredHolder.create(ResourceKey<R> key) Creates a new DeferredHolder targeting the specified value.static <T> DeferredRegister<T> DeferredRegister.create(ResourceKey<? extends Registry<T>> key, String namespace) DeferredRegister factory for modded registries or vanilla registries to lookup based on the provided registry key.static <T extends Block>
DeferredBlock<T> DeferredBlock.createBlock(ResourceKey<Block> key) Creates a newDeferredHoldertargeting the specifiedBlock.DeferredRegister.createDataComponents(ResourceKey<Registry<DataComponentType<?>>> registryKey, String modid) Factory for a specialized DeferredRegister forDataComponentTypes.protected <I extends Block>
DeferredBlock<I> DeferredRegister.Blocks.createHolder(ResourceKey<? extends Registry<Block>> registryKey, ResourceLocation key) protected <I extends T>
DeferredHolder<T, I> DeferredRegister.createHolder(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation key) Create aDeferredHolderor an inheriting type to be stored.protected <I extends Item>
DeferredItem<I> DeferredRegister.Items.createHolder(ResourceKey<? extends Registry<Item>> registryKey, ResourceLocation key) static <T extends Item>
DeferredItem<T> DeferredItem.createItem(ResourceKey<Item> key) Creates a newDeferredHoldertargeting the specifiedItem.<T> voidDataPackRegistryEvent.NewRegistry.dataPackRegistry(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec) Registers the given registry key as an unsynced datapack registry, which will cause data to be loaded from a datapack folder based on the registry's name.<T> voidDataPackRegistryEvent.NewRegistry.dataPackRegistry(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec) Registers the registry key as a datapack registry, which will cause data to be loaded from a datapack folder based on the registry's name.<T> voidDataPackRegistryEvent.NewRegistry.dataPackRegistry(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, Consumer<RegistryBuilder<T>> consumer) Registers the registry key as a datapack registry with aRegistryBuilderconfigurator, which will cause data to be loaded from a datapack folder based on the registry's name.RegistryBuilder.defaultKey(ResourceKey<T> key) <A> ABaseMappedRegistry.getData(DataMapType<T, A> type, ResourceKey<T> key) static <R> @Nullable DataMapType<R, ?> RegistryManager.getDataMap(ResourceKey<? extends Registry<R>> registry, ResourceLocation key) intBaseMappedRegistry.getId(ResourceKey<T> key) intIRegistryExtension.getId(ResourceKey<T> key) Gets the integer id linked to the given key.<T> Registry<T> ModifyRegistriesEvent.getRegistry(ResourceKey<? extends Registry<T>> key) Retrieve a builtin registry by its key.<T> @Nullable Registry<T> RegisterEvent.getRegistry(ResourceKey<? extends Registry<T>> key) static <T> RegistryDataLoader.RegistryData<T> DataPackRegistriesHooks.getSyncedRegistry(ResourceKey<? extends Registry<T>> registry) booleanDeferredHolder.is(ResourceKey<R> key) Returns true if the passed ResourceKey is the same as this holder's resource key.voidNeoForgeRegistryCallbacks.BlockCallbacks.onAdd(Registry<Block> registry, int id, ResourceKey<Block> key, Block value) voidNeoForgeRegistryCallbacks.ItemCallbacks.onAdd(Registry<Item> registry, int id, ResourceKey<Item> key, Item item) voidNeoForgeRegistryCallbacks.PoiTypeCallbacks.onAdd(Registry<PoiType> registry, int id, ResourceKey<PoiType> key, PoiType value) private static <A,T> List <DataMapFile<A, T>> DataMapLoader.readData(RegistryOps<JsonElement> ops, DataMapType<T, A> attachmentType, ResourceKey<Registry<T>> registryKey, List<Resource> resources) <T> voidRegisterEvent.register(ResourceKey<? extends Registry<T>> registryKey, Consumer<RegisterEvent.RegisterHelper<T>> consumer) Calls the provided consumer with a register helper if the provided registry key matches this event's registry key.<T> voidRegisterEvent.register(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation name, Supplier<T> valueSupplier) Registers the value with the given name to the stored registry if the provided registry key matches this event's registry key.default voidRegisterEvent.RegisterHelper.register(ResourceKey<T> key, T value) Registers the given value with the given name to the registry.protected abstract voidBaseMappedRegistry.registerIdMapping(ResourceKey<T> key, int id) Register a key invalid input: '<'-> ID mapping.BaseMappedRegistry.resolve(ResourceKey<T> key) IRegistryExtension.resolve(ResourceKey<T> key) Resolves a registry key of a potential object in this registry.Method parameters in net.neoforged.neoforge.registries with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static <T> voidRegistryManager.applySnapshot(MappedRegistry<T> registry, RegistrySnapshot snapshot, Set<ResourceKey<?>> missing) booleanDeferredHolder.is(Predicate<ResourceKey<R>> filter) Evaluates the passed predicate against this holder's resource key.private <R> voidDataMapLoader.resolve(Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> value, boolean required, Consumer<Holder<R>> consumer) Constructors in net.neoforged.neoforge.registries with parameters of type ResourceKeyModifierConstructorDescriptionprotectedDataComponents(ResourceKey<Registry<DataComponentType<?>>> registryKey, String namespace) protectedDeferredBlock(ResourceKey<Block> key) protectedDeferredHolder(ResourceKey<R> key) Creates a new DeferredHolder with a ResourceKey.protectedDeferredItem(ResourceKey<Item> key) protectedDeferredRegister(ResourceKey<? extends Registry<T>> registryKey, String namespace) (package private)RegisterEvent(ResourceKey<? extends Registry<?>> registryKey, Registry<?> registry) RegistryBuilder(ResourceKey<? extends Registry<T>> registryKey) privateRegistryHolder(ResourceKey<? extends Registry<V>> registryKey) -
Uses of ResourceKey in net.neoforged.neoforge.registries.callback
Methods in net.neoforged.neoforge.registries.callback with parameters of type ResourceKey -
Uses of ResourceKey in net.neoforged.neoforge.registries.datamaps
Fields in net.neoforged.neoforge.registries.datamaps declared as ResourceKeyModifier and TypeFieldDescriptionprotected final ResourceKey<Registry<R>> DataMapType.Builder.registryKeyprivate final ResourceKey<Registry<R>> DataMapType.registryKeyFields in net.neoforged.neoforge.registries.datamaps with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> RegisterDataMapTypesEvent.attachmentsprivate final com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> DataMapEntry.Removal.keyThe field for thekeyrecord component.private final Map<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> DataMapFile.valuesThe field for thevaluesrecord component.Methods in net.neoforged.neoforge.registries.datamaps that return ResourceKeyModifier and TypeMethodDescriptionResourceKey<? extends Registry<?>> DataMapsUpdatedEvent.getRegistryKey()Returns the key of the registry that had its data maps updated.DataMapType.registryKey()Returns the key of the registry this data map is for.Methods in net.neoforged.neoforge.registries.datamaps that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> DataMapEntry.Removal.key()Returns the value of thekeyrecord component.Map<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> DataMapFile.values()Returns the value of thevaluesrecord component.Methods in net.neoforged.neoforge.registries.datamaps with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic <T,R> AdvancedDataMapType.Builder <T, R, DataMapValueRemover.Default<T, R>> AdvancedDataMapType.builder(ResourceLocation id, ResourceKey<Registry<R>> registry, com.mojang.serialization.Codec<T> codec) Returns an advanced data map type builder.static <T,R> DataMapType.Builder <T, R> DataMapType.builder(ResourceLocation id, ResourceKey<Registry<R>> registry, com.mojang.serialization.Codec<T> codec) Returns a data map type builder.static <T,R> com.mojang.serialization.Codec <DataMapFile<T, R>> DataMapFile.codec(ResourceKey<Registry<R>> registryKey, DataMapType<R, T> dataMap) <T> voidDataMapsUpdatedEvent.ifRegistry(ResourceKey<Registry<T>> type, Consumer<Registry<T>> consumer) Runs the givenconsumerif the registry is of the giventype.Method parameters in net.neoforged.neoforge.registries.datamaps with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic <T,R> com.mojang.serialization.Codec <DataMapEntry.Removal<T, R>> DataMapEntry.Removal.codec(com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>> tagOrValue, DataMapType<R, T> attachment) DataMapValueMerger.merge(Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> first, T firstValue, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> second, T secondValue) Merge two conflicting data map values.DataMapValueRemover.Default.remove(T value, Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> source, R object) DataMapValueRemover.remove(T value, Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> source, R object) Remove the entry specified in this remover from thevalue.Constructors in net.neoforged.neoforge.registries.datamaps with parameters of type ResourceKeyModifierConstructorDescriptionprivateAdvancedDataMapType(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, boolean mandatorySync, com.mojang.serialization.Codec<VR> remover, DataMapValueMerger<R, T> merger) (package private)Builder(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec) (package private)Builder(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec) (package private)DataMapType(ResourceKey<Registry<R>> registryKey, ResourceLocation id, com.mojang.serialization.Codec<T> codec, @Nullable com.mojang.serialization.Codec<T> networkCodec, boolean mandatorySync) Constructor parameters in net.neoforged.neoforge.registries.datamaps with type arguments of type ResourceKeyModifierConstructorDescriptionDataMapFile(boolean replace, Map<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> values, List<DataMapEntry.Removal<T, R>> removals) Creates an instance of aDataMapFilerecord class.RegisterDataMapTypesEvent(Map<ResourceKey<Registry<?>>, Map<ResourceLocation, DataMapType<?, ?>>> attachments) privateRemoval(com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> key) Removal(com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> key, Optional<DataMapValueRemover<R, T>> remover) Creates an instance of aRemovalrecord class. -
Uses of ResourceKey in net.neoforged.neoforge.registries.datamaps.builtin
Fields in net.neoforged.neoforge.registries.datamaps.builtin declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootTable> RaidHeroGift.lootTableThe field for thelootTablerecord component.private final ResourceKey<VillagerType> BiomeVillagerType.typeThe field for thetyperecord component.Methods in net.neoforged.neoforge.registries.datamaps.builtin that return ResourceKeyModifier and TypeMethodDescriptionRaidHeroGift.lootTable()Returns the value of thelootTablerecord component.BiomeVillagerType.type()Returns the value of thetyperecord component.Constructors in net.neoforged.neoforge.registries.datamaps.builtin with parameters of type ResourceKeyModifierConstructorDescriptionCreates an instance of aBiomeVillagerTyperecord class.RaidHeroGift(ResourceKey<LootTable> lootTable) Creates an instance of aRaidHeroGiftrecord class. -
Uses of ResourceKey in net.neoforged.neoforge.registries.holdersets
Methods in net.neoforged.neoforge.registries.holdersets with parameters of type ResourceKeyModifier and TypeMethodDescription<T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> AndHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> AnyHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> HolderSetType.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> NotHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> OrHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> AndHolderSet.Type.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> AnyHolderSet.Type.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> HolderSetType.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> NotHolderSet.Type.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> OrHolderSet.Type.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) -
Uses of ResourceKey in net.neoforged.neoforge.server.command
Fields in net.neoforged.neoforge.server.command declared as ResourceKeyModifier and TypeFieldDescriptionprivate static final ResourceKey<Registry<Registry<?>>> DumpCommand.ROOT_REGISTRY_KEYprivate static final ResourceKey<Registry<Registry<?>>> TagsCommand.ROOT_REGISTRY_KEYMethods in net.neoforged.neoforge.server.command that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic <T> Optional<ResourceKey<T>> CommandUtils.getResourceKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name, ResourceKey<Registry<T>> registryKey) Methods in net.neoforged.neoforge.server.command with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static intEntityCommand.EntityListCommand.execute(CommandSourceStack sender, String filter, ResourceKey<Level> dim) static <T> Optional<ResourceKey<T>> CommandUtils.getResourceKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name, ResourceKey<Registry<T>> registryKey) static <T extends Registry<?>>
com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> CommandUtils.suggestFromRegistry(Function<Registry<?>, Iterable<ResourceLocation>> namesFunction, String argumentString, ResourceKey<Registry<T>> registryKey)
PresetEditorManager.get(ResourceKey)instead.