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 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> id) AdvancementRewards.Builder.addRecipe(ResourceKey<Recipe<?>> id) static AdvancementRewards.BuilderAdvancementRewards.Builder.loot(ResourceKey<LootTable> id) static AdvancementRewards.BuilderAdvancementRewards.Builder.recipe(ResourceKey<Recipe<?>> id) 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.criterion
Fields in net.minecraft.advancements.criterion 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.criterion 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.criterion 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.criterion 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.criterion with parameters of type ResourceKeyModifier and TypeMethodDescriptionPlayerPredicate.Builder.addRecipe(ResourceKey<Recipe<?>> recipe, boolean present) ChangeDimensionTrigger.TriggerInstance.changedDimension(ResourceKey<Level> from, ResourceKey<Level> to) ChangeDimensionTrigger.TriggerInstance.changedDimensionFrom(ResourceKey<Level> from) ChangeDimensionTrigger.TriggerInstance.changedDimensionTo(ResourceKey<Level> to) static <T> com.mojang.serialization.Codec<TagPredicate<T>> TagPredicate.codec(ResourceKey<? extends Registry<T>> registryKey) RecipeCraftedTrigger.TriggerInstance.craftedItem(ResourceKey<Recipe<?>> recipeId) RecipeCraftedTrigger.TriggerInstance.craftedItem(ResourceKey<Recipe<?>> recipeId, List<ItemPredicate.Builder> predicates) RecipeCraftedTrigger.TriggerInstance.crafterCraftedItem(ResourceKey<Recipe<?>> recipeId) static LocationPredicate.BuilderLocationPredicate.Builder.inDimension(ResourceKey<Level> dimension) LootTableTrigger.TriggerInstance.lootTableUsed(ResourceKey<LootTable> lootTable) booleanChangeDimensionTrigger.TriggerInstance.matches(ResourceKey<Level> from, ResourceKey<Level> to) booleanLootTableTrigger.TriggerInstance.matches(ResourceKey<LootTable> lootTable) private booleanRecipeCraftedTrigger.TriggerInstance.matches(ResourceKey<Recipe<?>> id, List<ItemStack> usedIngredients) LocationPredicate.Builder.setDimension(ResourceKey<Level> dimension) voidChangeDimensionTrigger.trigger(ServerPlayer player, ResourceKey<Level> from, ResourceKey<Level> to) voidLootTableTrigger.trigger(ServerPlayer player, ResourceKey<LootTable> lootTable) voidRecipeCraftedTrigger.trigger(ServerPlayer player, ResourceKey<Recipe<?>> id, List<ItemStack> usedIngredients) RecipeUnlockedTrigger.unlocked(ResourceKey<Recipe<?>> recipe) Constructors in net.minecraft.advancements.criterion 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.criterion with type arguments of type ResourceKeyModifierConstructorDescriptionPlayerPredicate(MinMaxBounds.Ints level, FoodPredicate food, GameTypePredicate gameType, List<PlayerPredicate.StatMatcher<?>> stats, it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>> recipes, Map<Identifier, 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 armor, ResourceKey<EquipmentAsset> equipmentAssetId, Identifier slotTrimPrefix, boolean hasDyedLayer) Method parameters in net.minecraft.client.data.models with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidEquipmentAssetProvider.bootstrap(BiConsumer<ResourceKey<EquipmentAsset>, EquipmentClientInfo> consumer) private static voidWaypointStyleProvider.bootstrap(BiConsumer<ResourceKey<WaypointStyleAsset>, WaypointStyle> consumer) 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.options
Method parameters in net.minecraft.client.gui.screens.options with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidInWorldGameRulesScreen.onGameRuleValuesUpdated(Map<ResourceKey<GameRule<?>>, String> values) -
Uses of ResourceKey in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as ResourceKeyModifier and TypeFieldDescriptionprivate final @Nullable 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 TypeMethodDescription@Nullable ResourceKey<FlatLevelGeneratorPreset> InitialWorldCreationOptions.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 minecraft, Runnable onClose, Function<WorldLoader.DataLoadContext, WorldGenSettings> worldGenSettings, WorldCreationContextMapper worldCreationContext, ResourceKey<WorldPreset> worldPreset, CreateWorldCallback createWorld) Method parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static Optional<Holder<WorldPreset>> WorldCreationUiState.findPreset(WorldCreationContext settings, Optional<ResourceKey<WorldPreset>> preset) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type ResourceKeyModifierConstructorDescriptionInitialWorldCreationOptions(WorldCreationUiState.SelectedGameMode selectedGameMode, GameRuleMap gameRuleOverwrites, @Nullable 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 minecraft, Runnable onClose, WorldCreationContext settings, Optional<ResourceKey<WorldPreset>> preset, OptionalLong seed, CreateWorldCallback createWorldCallback) WorldCreationUiState(Path savesFolder, WorldCreationContext settings, Optional<ResourceKey<WorldPreset>> preset, OptionalLong seed) -
Uses of ResourceKey in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> RegistryDataCollector.ContentsCollector.elementsprivate 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<?>> registry, List<RegistrySynchronization.PackedRegistryEntry> elementData) voidRegistryDataCollector.TagCollector.append(ResourceKey<? extends Registry<?>> registry, TagNetworkSerialization.NetworkPayload tagData) voidRegistryDataCollector.appendContents(ResourceKey<? extends Registry<?>> registry, List<RegistrySynchronization.PackedRegistryEntry> elementData) private LevelLoadingScreen.ReasonClientPacketListener.determineLevelLoadingReason(boolean playerDied, ResourceKey<Level> dimensionKey, ResourceKey<Level> oldDimensionKey) ClientRecipeContainer.propertySet(ResourceKey<RecipePropertySet> id) private static <T> Registry.PendingTags<T> RegistryDataCollector.resolveRegistryTags(RegistryAccess.Frozen context, ResourceKey<? extends Registry<? extends T>> registryKey, TagNetworkSerialization.NetworkPayload tags) private voidClientPacketListener.startWaitingForNewLevel(LocalPlayer player, ClientLevel level, LevelLoadingScreen.Reason reason, @Nullable ResourceKey<Level> toDimension, @Nullable ResourceKey<Level> fromDimension) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> ClientSuggestionProvider.suggestRegistryElements(ResourceKey<? extends Registry<?>> key, SharedSuggestionProvider.ElementSuggestionType elements, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.context.CommandContext<?> context) voidLevelLoadTracker.updateFocus(ResourceKey<Level> dimension, ChunkPos chunkPos) private <T> Registry.PendingTags<T> ClientPacketListener.updateTags(ResourceKey<? extends Registry<? extends T>> registryKey, TagNetworkSerialization.NetworkPayload payload) Method parameters in net.minecraft.client.multiplayer with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidRegistryDataCollector.addCrashDetails(CrashReport report, Map<ResourceKey<? extends Registry<?>>, RegistryDataLoader.NetworkedRegistryData> dynamicRegistries, List<Registry.PendingTags<?>> staticRegistries) voidRegistryDataCollector.appendTags(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> data) voidRegistryDataCollector.TagCollector.forEach(BiConsumer<? super ResourceKey<? extends Registry<?>>, ? super TagNetworkSerialization.NetworkPayload> action) Constructors in net.minecraft.client.multiplayer with parameters of type ResourceKeyModifierConstructorDescriptionClientLevel(ClientPacketListener connection, ClientLevel.ClientLevelData levelData, ResourceKey<Level> dimension, Holder<DimensionType> dimensionType, int serverChunkRadius, int serverSimulationDistance, LevelRenderer levelRenderer, boolean isDebug, long biomeZoomSeed, int seaLevel) Constructor parameters in net.minecraft.client.multiplayer with type arguments of type ResourceKeyModifierConstructorDescriptionClientRecipeContainer(Map<ResourceKey<RecipePropertySet>, RecipePropertySet> itemSets, SelectableRecipe.SingleInputSet<StonecutterRecipe> stonecutterRecipes) -
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>, SpriteId> Sheets.DECORATED_POT_SPRITESMethods in net.minecraft.client.renderer with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic @Nullable SpriteIdSheets.getDecoratedPotSprite(@Nullable ResourceKey<DecoratedPotPattern> pattern) -
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 poseStack, SubmitNodeCollector submitNodeCollector, LlamaRenderState state, ItemStack itemStack, ResourceKey<EquipmentAsset> equipmentAssetId, int lightCoords) <S> voidEquipmentLayerRenderer.renderLayers(EquipmentClientInfo.LayerType layerType, ResourceKey<EquipmentAsset> equipmentAssetId, Model<? super S> model, S state, ItemStack itemStack, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, int lightCoords, int outlineColor) <S> voidEquipmentLayerRenderer.renderLayers(EquipmentClientInfo.LayerType layerType, ResourceKey<EquipmentAsset> equipmentAssetId, Model<? super S> model, S state, ItemStack itemStack, PoseStack poseStack, SubmitNodeCollector submitNodeCollector, int lightCoords, @Nullable Identifier playerTextureOverride, int outlineColor, int order) 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> cache, String name, Holder<K> holder) Constructors in net.minecraft.client.renderer.entity.layers with parameters of type ResourceKeyModifierConstructorDescriptionprivateTrimSpriteKey(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
Classes in net.minecraft.client.renderer.item.properties.select that implement interfaces with type arguments of type ResourceKeyModifier and TypeClassDescriptionfinal recordfinal recordfinal recordFields 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 TypeMethodDescription@Nullable ResourceKey<Level> ContextDimension.get(ItemStack itemStack, @Nullable ClientLevel level, @Nullable LivingEntity owner, int seed, ItemDisplayContext displayContext) @Nullable ResourceKey<EntityType<?>> ContextEntityType.get(ItemStack itemStack, @Nullable ClientLevel level, @Nullable LivingEntity owner, int seed, ItemDisplayContext displayContext) @Nullable ResourceKey<TrimMaterial> TrimMaterialProperty.get(ItemStack itemStack, @Nullable ClientLevel level, @Nullable LivingEntity owner, int seed, ItemDisplayContext displayContext) 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<?>> key) static <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, ResourceKey<? extends Registry<?>> registryKey, SharedSuggestionProvider.ElementSuggestionType type) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> CommandSourceStack.suggestRegistryElements(ResourceKey<? extends Registry<?>> key, SharedSuggestionProvider.ElementSuggestionType elements, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.context.CommandContext<?> context) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> SharedSuggestionProvider.suggestRegistryElements(ResourceKey<? extends Registry<?>> key, SharedSuggestionProvider.ElementSuggestionType elements, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.context.CommandContext<?> context) -
Uses of ResourceKey in net.minecraft.commands.arguments
Classes in net.minecraft.commands.arguments that implement interfaces with type arguments of type ResourceKeyFields 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.private final ResourceKey<? extends Registry<T>> ResourceArgument.Info.Template.registryKeyprivate final ResourceKey<? extends Registry<T>> ResourceArgument.registryKeyprivate final ResourceKey<? extends Registry<T>> ResourceKeyArgument.Info.Template.registryKeyprivate final ResourceKey<? extends Registry<T>> ResourceKeyArgument.registryKeyprivate final ResourceKey<? extends Registry<T>> ResourceOrIdArgument.registryKeyprivate final ResourceKey<? extends Registry<T>> ResourceOrTagArgument.Info.Template.registryKeyprivate final ResourceKey<? extends Registry<T>> ResourceOrTagArgument.registryKeyprivate final ResourceKey<? extends Registry<T>> ResourceOrTagKeyArgument.Info.Template.registryKeyprivate final ResourceKey<? extends Registry<T>> ResourceOrTagKeyArgument.registryKeyprivate final ResourceKey<? extends Registry<T>> ResourceSelectorArgument.Info.Template.registryKeyprivate 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> context, String name, ResourceKey<Registry<T>> registryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType exceptionType) ResourceOrIdArgument.ReferenceResult.key()Returns the value of thekeyrecord component.ResourceOrTagKeyArgument.ResourceResult.key()Returns the value of thekeyrecord component.ResourceKeyArgument.parse(com.mojang.brigadier.StringReader reader) Methods in net.minecraft.commands.arguments that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<ResourceKey<T>, TagKey<T>> ResourceOrTagKeyArgument.ResourceResult.unwrap()com.mojang.datafixers.util.Either<ResourceKey<T>, TagKey<T>> ResourceOrTagKeyArgument.Result.unwrap()com.mojang.datafixers.util.Either<ResourceKey<T>, TagKey<T>> ResourceOrTagKeyArgument.TagResult.unwrap()Methods in net.minecraft.commands.arguments with parameters of type ResourceKeyModifier and TypeMethodDescription<E> Optional<ResourceOrTagArgument.Result<E>> ResourceOrTagArgument.ResourceResult.cast(ResourceKey<? extends Registry<E>> registryKey) <E> Optional<ResourceOrTagArgument.Result<E>> ResourceOrTagArgument.Result.cast(ResourceKey<? extends Registry<E>> registryKey) <E> Optional<ResourceOrTagArgument.Result<E>> ResourceOrTagArgument.TagResult.cast(ResourceKey<? extends Registry<E>> registryKey) ResourceOrTagKeyArgument.ResourceResult.cast(ResourceKey<? extends Registry<E>> registryKey) ResourceOrTagKeyArgument.Result.cast(ResourceKey<? extends Registry<E>> registryKey) ResourceOrTagKeyArgument.TagResult.cast(ResourceKey<? extends Registry<E>> registryKey) static <T,O> Grammar <ResourceOrIdArgument.Result<T, O>> ResourceOrIdArgument.createGrammar(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.DynamicOps<O> ops) private static <T> Registry<T> ResourceKeyArgument.getRegistry(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, ResourceKey<? extends Registry<T>> registryKey) static <T> ResourceKey<T> ResourceKeyArgument.getRegistryKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, ResourceKey<Registry<T>> registryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType exceptionType) static <T> Holder.Reference<T> ResourceArgument.getResource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, ResourceKey<Registry<T>> registryKey) static <T> ResourceOrTagArgument.Result<T> ResourceOrTagArgument.getResourceOrTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, ResourceKey<Registry<T>> registryKey) static <T> ResourceOrTagKeyArgument.Result<T> ResourceOrTagKeyArgument.getResourceOrTagKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, ResourceKey<Registry<T>> registryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType exceptionType) static <T> ResourceKeyArgument<T> ResourceKeyArgument.key(ResourceKey<? extends Registry<T>> key) private static <T> Holder.Reference<T> ResourceKeyArgument.resolveKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name, ResourceKey<Registry<T>> registryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType exception) static <T> ResourceArgument<T> ResourceArgument.resource(CommandBuildContext context, ResourceKey<? extends Registry<T>> key) static <T> ResourceOrTagArgument<T> ResourceOrTagArgument.resourceOrTag(CommandBuildContext context, ResourceKey<? extends Registry<T>> key) static <T> ResourceOrTagKeyArgument<T> ResourceOrTagKeyArgument.resourceOrTagKey(ResourceKey<? extends Registry<T>> key) static <T> ResourceSelectorArgument<T> ResourceSelectorArgument.resourceSelector(CommandBuildContext context, ResourceKey<? extends Registry<T>> registry) Constructors in net.minecraft.commands.arguments with parameters of type ResourceKeyModifierConstructorDescriptionReferenceResult(ResourceKey<T> key) Creates an instance of aReferenceResultrecord class.ResourceArgument(CommandBuildContext context, ResourceKey<? extends Registry<T>> registryKey) ResourceKeyArgument(ResourceKey<? extends Registry<T>> registryKey) protectedResourceOrIdArgument(CommandBuildContext context, ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec) ResourceOrTagArgument(CommandBuildContext context, ResourceKey<? extends Registry<T>> registryKey) ResourceOrTagKeyArgument(ResourceKey<? extends Registry<T>> registryKey) privateResourceResult(ResourceKey<T> key) Creates an instance of aResourceResultrecord class.privateResourceSelectorArgument(CommandBuildContext context, ResourceKey<? extends Registry<T>> registryKey) privateTemplate(ResourceKey<? extends Registry<T>> registryKey) privateTemplate(ResourceKey<? extends Registry<T>> registryKey) privateTemplate(ResourceKey<? extends Registry<T>> registryKey) privateTemplate(ResourceKey<? extends Registry<T>> registryKey) privateTemplate(ResourceKey<? extends Registry<T>> registryKey) -
Uses of ResourceKey in net.minecraft.core
Fields in net.minecraft.core declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> GlobalPos.dimensionThe field for thedimensionrecord component.private @Nullable 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.codecsprivate 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> registries) 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 thing) Registry.getResourceKey(T thing) 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>> key, com.mojang.serialization.Lifecycle lifecycle, RegistrySetBuilder.RegistryBootstrap<T> bootstrap) RegistrySetBuilder.add(ResourceKey<? extends Registry<T>> key, RegistrySetBuilder.RegistryBootstrap<T> bootstrap) <T> Cloner.FactoryCloner.Factory.addCodec(ResourceKey<? extends Registry<? extends T>> key, com.mojang.serialization.Codec<T> codec) (package private) voidHolder.Reference.bindKey(ResourceKey<T> key) <T> @Nullable Cloner<T> Cloner.Factory.cloner(ResourceKey<? extends Registry<? extends T>> key) booleanMappedRegistry.containsKey(ResourceKey<T> key) booleanRegistry.containsKey(ResourceKey<T> key) private <T> HolderLookup.RegistryLookup<T> RegistrySetBuilder.createLazyFullPatchedRegistries(HolderOwner<T> owner, Cloner.Factory clonerFactory, ResourceKey<? extends Registry<? extends T>> registryKey, HolderLookup.Provider patchProvider, HolderLookup.Provider fallbackProvider, org.apache.commons.lang3.mutable.MutableObject<HolderLookup.Provider> targetProvider) static <T> Holder.Reference<T> Holder.Reference.createStandAlone(HolderOwner<T> owner, ResourceKey<T> key) private static <T> RegistryAccess.RegistryEntry<T> RegistryAccess.RegistryEntry.fromUntyped(ResourceKey<? extends Registry<?>> key, Registry<?> value) HolderGetter.get(ResourceKey<T> id) default <T> Optional<Holder.Reference<T>> HolderGetter.Provider.get(ResourceKey<T> id) default Optional<Holder.Reference<T>> HolderLookup.RegistryLookup.Delegate.get(ResourceKey<T> id) MappedRegistry.get(ResourceKey<T> id) RegistrySetBuilder.UniversalLookup.get(ResourceKey<Object> id) default <A> @Nullable AHolderLookup.RegistryLookup.Delegate.getData(DataMapType<T, A> attachment, ResourceKey<T> key) default <A> @Nullable 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(@Nullable ResourceKey<T> key) private <T> Holder.Reference<T> RegistrySetBuilder.UniversalLookup.getOrCreate(ResourceKey<T> id) private Holder.Reference<T> MappedRegistry.getOrCreateHolderOrThrow(ResourceKey<T> key) default Holder.Reference<T> HolderGetter.getOrThrow(ResourceKey<T> id) default <T> Holder.Reference<T> HolderGetter.Provider.getOrThrow(ResourceKey<T> id) @Nullable TMappedRegistry.getValue(@Nullable ResourceKey<T> key) @Nullable TRegistry.getValue(@Nullable ResourceKey<T> key) default TRegistry.getValueOrThrow(ResourceKey<T> key) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> registryKey) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> registryKey, boolean alwaysUseList) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> elementCodec) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> elementCodec, boolean alwaysUseList) booleanHolder.Direct.is(ResourceKey<T> key) booleanHolder.is(ResourceKey<T> key) booleanHolder.Reference.is(ResourceKey<T> key) default booleanTypedInstance.is(ResourceKey<T> type) booleanGlobalPos.isCloseEnough(ResourceKey<Level> dimension, BlockPos pos, int maxDistance) static booleanRegistrySynchronization.isNetworkable(ResourceKey<? extends Registry<?>> key) <T> Optional<? extends HolderGetter<T>> HolderGetter.Provider.lookup(ResourceKey<? extends Registry<? extends T>> key) <T> Optional<? extends HolderLookup.RegistryLookup<T>> HolderLookup.Provider.lookup(ResourceKey<? extends Registry<? extends T>> key) RegistryAccess.ImmutableRegistryAccess.lookup(ResourceKey<? extends Registry<? extends E>> registryKey) RegistryAccess.lookup(ResourceKey<? extends Registry<? extends E>> registryKey) private static <T> HolderLookup.RegistryLookup<T> RegistrySetBuilder.lookupFromMap(ResourceKey<? extends Registry<? extends T>> key, com.mojang.serialization.Lifecycle lifecycle, HolderOwner<T> owner, Map<ResourceKey<T>, Holder.Reference<T>> entries) default <T> HolderGetter<T> HolderGetter.Provider.lookupOrThrow(ResourceKey<? extends Registry<? extends T>> key) default <T> HolderLookup.RegistryLookup<T> HolderLookup.Provider.lookupOrThrow(ResourceKey<? extends Registry<? extends T>> key) default <E> Registry<E> RegistryAccess.lookupOrThrow(ResourceKey<? extends Registry<? extends E>> name) static GlobalPosGlobalPos.of(ResourceKey<Level> dimension, BlockPos pos) DefaultedMappedRegistry.register(ResourceKey<T> key, T value, RegistrationInfo registrationInfo) MappedRegistry.register(int id, ResourceKey<T> key, T value, RegistrationInfo registrationInfo) MappedRegistry.register(ResourceKey<T> key, T value, RegistrationInfo registrationInfo) static <V, T extends V>
TRegistry.register(Registry<V> registry, ResourceKey<V> key, T value) WritableRegistry.register(ResourceKey<T> key, T value, RegistrationInfo registrationInfo) static <R, T extends R>
Holder.Reference<T> Registry.registerForHolder(Registry<R> registry, ResourceKey<R> key, T value) protected voidMappedRegistry.registerIdMapping(ResourceKey<T> key, int id) MappedRegistry.registrationInfo(ResourceKey<T> element) Registry.registrationInfo(ResourceKey<T> element) private voidMappedRegistry.validateWrite(ResourceKey<T> key) Method parameters in net.minecraft.core with type arguments of type ResourceKeyModifier and TypeMethodDescriptionRegistrySetBuilder.BuildState.create(RegistryAccess context, Stream<ResourceKey<? extends Registry<?>>> newRegistries) private HolderLookup.ProviderRegistrySetBuilder.createLazyFullPatchedRegistries(RegistryAccess context, HolderLookup.Provider fallbackProvider, Cloner.Factory clonerFactory, Map<ResourceKey<? extends Registry<?>>, RegistrySetBuilder.RegistryContents<?>> newRegistries, HolderLookup.Provider patchOnlyRegistries) private static <T, R extends Registry<? extends T>>
RegistryAccess.RegistryEntry<T> RegistryAccess.RegistryEntry.fromMapEntry(Map.Entry<? extends ResourceKey<? extends Registry<?>>, R> e) booleanHolder.Direct.is(Predicate<ResourceKey<T>> predicate) booleanHolder.is(Predicate<ResourceKey<T>> predicate) booleanHolder.Reference.is(Predicate<ResourceKey<T>> predicate) private static <T> HolderLookup.RegistryLookup<T> RegistrySetBuilder.lookupFromMap(ResourceKey<? extends Registry<? extends T>> key, com.mojang.serialization.Lifecycle lifecycle, HolderOwner<T> owner, Map<ResourceKey<T>, Holder.Reference<T>> entries) static voidRegistrySynchronization.packRegistries(com.mojang.serialization.DynamicOps<Tag> ops, RegistryAccess registries, Set<KnownPack> clientKnownPacks, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> output) private static <T> voidRegistrySynchronization.packRegistry(com.mojang.serialization.DynamicOps<Tag> ops, RegistryDataLoader.RegistryData<T> registryData, RegistryAccess registries, Set<KnownPack> clientKnownPacks, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> output) Constructors in net.minecraft.core with parameters of type ResourceKeyModifierConstructorDescriptionDefaultedMappedRegistry(String defaultKey, ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, boolean intrusiveHolders) GlobalPos(ResourceKey<Level> dimension, BlockPos pos) Creates an instance of aGlobalPosrecord class.protectedLazyHolder(HolderOwner<T> owner, @Nullable ResourceKey<T> key) MappedRegistry(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) MappedRegistry(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle initialLifecycle, boolean intrusiveHolders) protectedReference(Holder.Reference.Type type, HolderOwner<T> owner, @Nullable ResourceKey<T> key, @Nullable T value) privateRegistryContents(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.privateRegistryStub(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, RegistrySetBuilder.RegistryBootstrap<T> bootstrap) Creates an instance of aRegistryStubrecord class.Constructor parameters in net.minecraft.core with type arguments of type ResourceKeyModifierConstructorDescriptionImmutableRegistryAccess(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> registries) privateRegistryContents(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 declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<T> DataComponentInitializers.InitializerEntry.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<T>> DataComponentInitializers.PendingComponentBuilders.registryKeyThe field for theregistryKeyrecord component.Fields in net.minecraft.core.component with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<T>, DataComponentMap.Builder> DataComponentInitializers.PendingComponentBuilders.buildersThe field for thebuildersrecord component.static final DataComponentType<List<ResourceKey<Recipe<?>>>> DataComponents.RECIPESMethods in net.minecraft.core.component that return ResourceKeyModifier and TypeMethodDescriptionDataComponentInitializers.InitializerEntry.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<? extends T>> DataComponentInitializers.PendingComponents.key()ResourceKey<? extends Registry<T>> DataComponentInitializers.PendingComponentBuilders.registryKey()Returns the value of theregistryKeyrecord component.Methods in net.minecraft.core.component that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionDataComponentInitializers.PendingComponentBuilders.builders()Returns the value of thebuildersrecord component.private Map<ResourceKey<?>, DataComponentMap.Builder> DataComponentInitializers.runInitializers(HolderLookup.Provider context) Methods in net.minecraft.core.component with parameters of type ResourceKeyModifier and TypeMethodDescription<T> voidDataComponentInitializers.add(ResourceKey<T> key, DataComponentInitializers.Initializer<T> initializer) private static <T> voidDataComponentInitializers.addBuilder(Map<ResourceKey<? extends Registry<?>>, DataComponentInitializers.PendingComponentBuilders<?>> buildersByRegistry, ResourceKey<T> key, DataComponentMap.Builder builder) private static <T> voidDataComponentInitializers.registryEmpty(Map<ResourceKey<? extends Registry<?>>, DataComponentInitializers.PendingComponentBuilders<?>> buildersByRegistry, ResourceKey<? extends Registry<? extends T>> registryKey) voidDataComponentInitializers.Initializer.run(DataComponentMap.Builder components, HolderLookup.Provider context, ResourceKey<T> key) Method parameters in net.minecraft.core.component with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static <T> voidDataComponentInitializers.addBuilder(Map<ResourceKey<? extends Registry<?>>, DataComponentInitializers.PendingComponentBuilders<?>> buildersByRegistry, ResourceKey<T> key, DataComponentMap.Builder builder) private static <T> voidDataComponentInitializers.registryEmpty(Map<ResourceKey<? extends Registry<?>>, DataComponentInitializers.PendingComponentBuilders<?>> buildersByRegistry, ResourceKey<? extends Registry<? extends T>> registryKey) Constructors in net.minecraft.core.component with parameters of type ResourceKeyModifierConstructorDescriptionprivateInitializerEntry(ResourceKey<T> key, DataComponentInitializers.Initializer<T> initializer) Creates an instance of aInitializerEntryrecord class.privatePendingComponentBuilders(ResourceKey<? extends Registry<T>> registryKey, Map<ResourceKey<T>, DataComponentMap.Builder> builders) Creates an instance of aPendingComponentBuildersrecord class.Constructor parameters in net.minecraft.core.component with type arguments of type ResourceKeyModifierConstructorDescriptionprivatePendingComponentBuilders(ResourceKey<? extends Registry<T>> registryKey, Map<ResourceKey<T>, DataComponentMap.Builder> builders) Creates an instance of aPendingComponentBuildersrecord class. -
Uses of ResourceKey in net.minecraft.core.registries
Fields in net.minecraft.core.registries declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<Activity>> Registries.ACTIVITYstatic final ResourceKey<Registry<Advancement>> Registries.ADVANCEMENTstatic final ResourceKey<Registry<Attribute>> Registries.ATTRIBUTEstatic final ResourceKey<Registry<AttributeType<?>>> Registries.ATTRIBUTE_TYPEstatic 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<CatSoundVariant>> Registries.CAT_SOUND_VARIANTstatic final ResourceKey<Registry<CatVariant>> Registries.CAT_VARIANTstatic final ResourceKey<Registry<ChatType>> Registries.CHAT_TYPEstatic final ResourceKey<Registry<ChickenSoundVariant>> Registries.CHICKEN_SOUND_VARIANTstatic 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<CowSoundVariant>> Registries.COW_SOUND_VARIANTstatic final ResourceKey<Registry<CowVariant>> Registries.COW_VARIANTstatic final ResourceKey<Registry<CreativeModeTab>> Registries.CREATIVE_MODE_TABstatic final ResourceKey<Registry<Identifier>> 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<DebugSubscription<?>>> Registries.DEBUG_SUBSCRIPTIONstatic 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<EnvironmentAttribute<?>>> Registries.ENVIRONMENT_ATTRIBUTEstatic 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<GameRule<?>>> Registries.GAME_RULEstatic final ResourceKey<Registry<HeightProviderType<?>>> Registries.HEIGHT_PROVIDER_TYPEstatic final ResourceKey<Registry<IncomingRpcMethod<?, ?>>> Registries.INCOMING_RPC_METHODstatic 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<com.mojang.serialization.MapCodec<? extends LootItemCondition>>> Registries.LOOT_CONDITION_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends LootItemFunction>>> Registries.LOOT_FUNCTION_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends NbtProvider>>> Registries.LOOT_NBT_PROVIDER_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends NumberProvider>>> Registries.LOOT_NUMBER_PROVIDER_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends LootPoolEntryContainer>>> Registries.LOOT_POOL_ENTRY_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends ScoreboardNameProvider>>> 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<OutgoingRpcMethod<?, ?>>> Registries.OUTGOING_RPC_METHODstatic final ResourceKey<Registry<PaintingVariant>> Registries.PAINTING_VARIANTstatic final ResourceKey<Registry<ParticleType<?>>> Registries.PARTICLE_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends PermissionCheck>>> Registries.PERMISSION_CHECK_TYPEstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends Permission>>> Registries.PERMISSION_TYPEstatic final ResourceKey<Registry<PigSoundVariant>> Registries.PIG_SOUND_VARIANTstatic 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<SensorType<?>>> Registries.SENSOR_TYPEstatic final ResourceKey<Registry<SlotDisplay.Type<?>>> Registries.SLOT_DISPLAYstatic final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends SlotSource>>> Registries.SLOT_SOURCE_TYPEstatic 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<Timeline>> Registries.TIMELINEstatic final ResourceKey<Registry<TradeSet>> Registries.TRADE_SETstatic 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<VillagerTrade>> Registries.VILLAGER_TRADEstatic 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<WorldClock>> Registries.WORLD_CLOCKstatic final ResourceKey<Registry<WorldPreset>> Registries.WORLD_PRESETstatic final ResourceKey<Registry<ZombieNautilusVariant>> Registries.ZOMBIE_NAUTILUS_VARIANTFields in net.minecraft.core.registries with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<T>, Optional<Holder.Reference<T>>> ConcurrentHolderGetter.elementCacheMethods in net.minecraft.core.registries that return ResourceKeyModifier and TypeMethodDescriptionprivate static <T> ResourceKey<Registry<T>> Registries.createRegistryKey(String name) static ResourceKey<Level> Registries.levelStemToLevel(ResourceKey<LevelStem> levelStem) static ResourceKey<LevelStem> Registries.levelToLevelStem(ResourceKey<Level> level) Methods in net.minecraft.core.registries with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic StringRegistries.componentsDirPath(ResourceKey<? extends Registry<?>> registryKey) static StringRegistries.elementsDirPath(ResourceKey<? extends Registry<?>> registryKey) ConcurrentHolderGetter.get(ResourceKey<T> elementId) private static <T, R extends WritableRegistry<T>>
RBuiltInRegistries.internalRegister(ResourceKey<? extends Registry<T>> name, R registry, BuiltInRegistries.RegistryBootstrap<T> loader) static ResourceKey<Level> Registries.levelStemToLevel(ResourceKey<LevelStem> levelStem) static ResourceKey<LevelStem> Registries.levelToLevelStem(ResourceKey<Level> level) private static <T> DefaultedRegistry<T> BuiltInRegistries.registerDefaulted(ResourceKey<? extends Registry<T>> name, String defaultKey, BuiltInRegistries.RegistryBootstrap<T> loader) private static <T> DefaultedRegistry<T> BuiltInRegistries.registerDefaultedWithIntrusiveHolders(ResourceKey<? extends Registry<T>> name, String defaultKey, BuiltInRegistries.RegistryBootstrap<T> loader) private static <T> Registry<T> BuiltInRegistries.registerSimple(ResourceKey<? extends Registry<T>> name, BuiltInRegistries.RegistryBootstrap<T> loader) private static <T> Registry<T> BuiltInRegistries.registerSimpleWithIntrusiveHolders(ResourceKey<? extends Registry<T>> name, BuiltInRegistries.RegistryBootstrap<T> loader) private static StringRegistries.registryDirPath(ResourceKey<? extends Registry<?>> registryKey) static StringRegistries.tagsDirPath(ResourceKey<? extends Registry<?>> registryKey) -
Uses of ResourceKey in net.minecraft.data
Methods in net.minecraft.data with parameters of type ResourceKeyModifier and TypeMethodDescriptionPackOutput.createRegistryComponentPathProvider(ResourceKey<? extends Registry<?>> registryKey) PackOutput.createRegistryElementsPathProvider(ResourceKey<? extends Registry<?>> registryKey) PackOutput.createRegistryTagsPathProvider(ResourceKey<? extends Registry<?>> registryKey) PackOutput.PathProvider.json(ResourceKey<?> element) -
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 advancement, HolderLookup.Provider registries, List<ResourceKey<Biome>> explorableBiomes) -
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.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> output, ResourceKey<? extends Registry<?>> key, DatapackStructureReport.Entry entry) Method parameters in net.minecraft.data.info with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate voidDatapackStructureReport.putIfNotPresent(Map<ResourceKey<? extends Registry<?>>, DatapackStructureReport.Entry> output, ResourceKey<? extends Registry<?>> key, DatapackStructureReport.Entry entry) Constructor parameters in net.minecraft.data.info with type arguments of type ResourceKeyModifierConstructorDescriptionprivateReport(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 TypeFieldDescriptionprivate 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<?> type, ResourceKey<LootTable> lootTable, LootTable.Builder builder) protected LootItemCondition.BuilderEntityLootSubProvider.killedByFrogVariant(HolderGetter<EntityType<?>> entityTypes, HolderGetter<FrogVariant> frogVariants, ResourceKey<FrogVariant> variant) private static IdentifierLootTableProvider.sequenceIdForLootTable(ResourceKey<LootTable> id) Method parameters in net.minecraft.data.loot with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic LootPool.BuilderEntityLootSubProvider.createSheepDispatchPool(Map<DyeColor, ResourceKey<LootTable>> tableNames) voidBlockLootSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidEntityLootSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidLootTableSubProvider.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) 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 ResourceKeyModifierConstructorDescriptionLootTableProvider(PackOutput output, Set<ResourceKey<LootTable>> requiredTables, List<LootTableProvider.SubProviderEntry> subProviders, CompletableFuture<HolderLookup.Provider> registries) -
Uses of ResourceKey in net.minecraft.data.loot.packs
Fields in net.minecraft.data.loot.packs declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootTable> VanillaChargedCreeperExplosionLoot.Entry.lootTableThe field for thelootTablerecord component.Methods in net.minecraft.data.loot.packs that return ResourceKeyModifier and TypeMethodDescriptionVanillaChargedCreeperExplosionLoot.Entry.lootTable()Returns the value of thelootTablerecord component.Method parameters in net.minecraft.data.loot.packs with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidTradeRebalanceChestLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaArchaeologyLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaBlockInteractLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaChargedCreeperExplosionLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaChestLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaEntityInteractLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaEquipmentLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaFishingLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaGiftLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaPiglinBarterLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaShearingLoot.generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) voidVanillaChestLoot.spawnerLootTables(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) Constructors in net.minecraft.data.loot.packs with parameters of type ResourceKeyModifierConstructorDescriptionprivateEntry(ResourceKey<LootTable> lootTable, EntityType<?> entityType, Item item) Creates an instance of aEntryrecord class. -
Uses of ResourceKey in net.minecraft.data.recipes
Methods in net.minecraft.data.recipes that return ResourceKeyModifier and TypeMethodDescriptionResourceKey<Recipe<?>> RecipeBuilder.defaultId()ResourceKey<Recipe<?>> ShapedRecipeBuilder.defaultId()ResourceKey<Recipe<?>> ShapelessRecipeBuilder.defaultId()ResourceKey<Recipe<?>> SimpleCookingRecipeBuilder.defaultId()ResourceKey<Recipe<?>> SingleItemRecipeBuilder.defaultId()ResourceKey<Recipe<?>> TransmuteRecipeBuilder.defaultId()static ResourceKey<Recipe<?>> RecipeBuilder.getDefaultRecipeId(ItemInstance result) Methods in net.minecraft.data.recipes with parameters of type ResourceKeyModifier and TypeMethodDescriptiondefault voidRecipeOutput.accept(ResourceKey<Recipe<?>> id, Recipe<?> recipe, @Nullable AdvancementHolder advancement) RecipeUnlockAdvancementBuilder.build(RecipeOutput output, ResourceKey<Recipe<?>> id, RecipeCategory category) voidCustomCraftingRecipeBuilder.save(RecipeOutput output, ResourceKey<Recipe<?>> id) voidRecipeBuilder.save(RecipeOutput output, ResourceKey<Recipe<?>> location) voidShapedRecipeBuilder.save(RecipeOutput output, ResourceKey<Recipe<?>> id) voidShapelessRecipeBuilder.save(RecipeOutput output, ResourceKey<Recipe<?>> id) voidSimpleCookingRecipeBuilder.save(RecipeOutput output, ResourceKey<Recipe<?>> id) voidSingleItemRecipeBuilder.save(RecipeOutput output, ResourceKey<Recipe<?>> id) voidSmithingTransformRecipeBuilder.save(RecipeOutput output, ResourceKey<Recipe<?>> id) voidSmithingTrimRecipeBuilder.save(RecipeOutput output, ResourceKey<Recipe<?>> id) voidSpecialRecipeBuilder.save(RecipeOutput output, ResourceKey<Recipe<?>> id) voidTransmuteRecipeBuilder.save(RecipeOutput output, ResourceKey<Recipe<?>> id) protected voidRecipeProvider.trimSmithing(Item trimTemplate, ResourceKey<TrimPattern> patternId, ResourceKey<Recipe<?>> id) -
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 output, CompletableFuture<HolderLookup.Provider> registries, @Nullable 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 builder) protected TagAppender<ResourceKey<T>, T> protected TagAppender<ResourceKey<T>, T> Methods in net.minecraft.data.tags with parameters of type ResourceKeyModifier and TypeMethodDescriptionprotected voidEnchantmentTagsProvider.tooltipOrder(HolderLookup.Provider registries, ResourceKey<Enchantment>... order) Constructors in net.minecraft.data.tags with parameters of type ResourceKeyModifierConstructorDescriptionprotectedHolderTagProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider) IntrinsicHolderTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> parentProvider, Function<T, ResourceKey<T>> keyExtractor) Deprecated.IntrinsicHolderTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> parentProvider, Function<T, ResourceKey<T>> keyExtractor, String modId) IntrinsicHolderTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, Function<T, ResourceKey<T>> keyExtractor) Deprecated.IntrinsicHolderTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, Function<T, ResourceKey<T>> keyExtractor, String modId) protectedKeyTagProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider) Deprecated.protectedKeyTagProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, String modId) protectedTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider) Deprecated.Forge: Use the mod id variantprotectedTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, String modId) protectedTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> parentProvider) Deprecated.Forge: Use the mod id variantprotectedTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> parentProvider, String modId) Constructor parameters in net.minecraft.data.tags with type arguments of type ResourceKeyModifierConstructorDescriptionIntrinsicHolderTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> parentProvider, Function<T, ResourceKey<T>> keyExtractor) Deprecated.IntrinsicHolderTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, CompletableFuture<TagsProvider.TagLookup<T>> parentProvider, Function<T, ResourceKey<T>> keyExtractor, String modId) IntrinsicHolderTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, Function<T, ResourceKey<T>> keyExtractor) Deprecated.IntrinsicHolderTagsProvider(PackOutput output, ResourceKey<? extends Registry<T>> registryKey, CompletableFuture<HolderLookup.Provider> lookupProvider, Function<T, ResourceKey<T>> keyExtractor, String modId) -
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(Identifier location) 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>> key) default Holder.Reference<T> BootstrapContext.register(ResourceKey<T> key, T value) BootstrapContext.register(ResourceKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle) private static voidNoiseData.register(BootstrapContext<NormalNoise.NoiseParameters> context, ResourceKey<NormalNoise.NoiseParameters> key, int firstOctave, double firstAmplitude, double... amplitudes) private static voidProcessorLists.register(BootstrapContext<StructureProcessorList> context, ResourceKey<StructureProcessorList> id, List<StructureProcessor> processors) private static voidNoiseData.registerBiomeNoises(BootstrapContext<NormalNoise.NoiseParameters> context, int octaveOffset, ResourceKey<NormalNoise.NoiseParameters> temperature, ResourceKey<NormalNoise.NoiseParameters> vegetation, ResourceKey<NormalNoise.NoiseParameters> continentalness, ResourceKey<NormalNoise.NoiseParameters> erosion) default <S> Optional<HolderLookup.RegistryLookup<S>> BootstrapContext.registryLookup(ResourceKey<? extends Registry<? extends S>> registry) private static CappedProcessorProcessorLists.trailsArchyLootProcessor(ResourceKey<LootTable> lootTable, int count) -
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<?, ?>> context, ResourceKey<ConfiguredFeature<?, ?>> id, F feature, FC config) static voidFeatureUtils.register(BootstrapContext<ConfiguredFeature<?, ?>> context, ResourceKey<ConfiguredFeature<?, ?>> id, Feature<NoneFeatureConfiguration> feature) -
Uses of ResourceKey in net.minecraft.data.worldgen.placement
Fields in net.minecraft.data.worldgen.placement declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<PlacedFeature> TreePlacements.ACACIA_CHECKEDstatic final ResourceKey<PlacedFeature> VillagePlacements.ACACIA_VILLAGEstatic final ResourceKey<PlacedFeature> CavePlacements.AMETHYST_GEODEstatic final ResourceKey<PlacedFeature> VegetationPlacements.BAMBOOstatic final ResourceKey<PlacedFeature> VegetationPlacements.BAMBOO_LIGHTstatic final ResourceKey<PlacedFeature> VegetationPlacements.BAMBOO_VEGETATIONstatic final ResourceKey<PlacedFeature> NetherPlacements.BASALT_BLOBSstatic final ResourceKey<PlacedFeature> NetherPlacements.BASALT_PILLARstatic final ResourceKey<PlacedFeature> TreePlacements.BIRCH_BEES_0002_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> context, ResourceKey<PlacedFeature> id, Holder<ConfiguredFeature<?, ?>> feature, List<PlacementModifier> placementModifiers) static voidPlacementUtils.register(BootstrapContext<PlacedFeature> context, ResourceKey<PlacedFeature> id, Holder<ConfiguredFeature<?, ?>> feature, PlacementModifier... placementModifiers) -
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<Identifier, 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>> register) abstract voidTestFunctionLoader.load(BiConsumer<ResourceKey<Consumer<GameTestHelper>>, Consumer<GameTestHelper>> register) Constructors in net.minecraft.gametest.framework with parameters of type ResourceKeyModifierConstructorDescriptionFunctionGameTestInstance(ResourceKey<Consumer<GameTestHelper>> function, TestData<Holder<TestEnvironmentDefinition<?>>> info) GeneratedTest(Map<Identifier, 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<Identifier, TestData<ResourceKey<TestEnvironmentDefinition<?>>>> tests, Identifier functionId, Consumer<GameTestHelper> function) GeneratedTest(Map<Identifier, TestData<ResourceKey<TestEnvironmentDefinition<?>>>> tests, ResourceKey<Consumer<GameTestHelper>> functionKey, Consumer<GameTestHelper> function) Creates an instance of aGeneratedTestrecord class.GeneratedTest(Identifier id, TestData<ResourceKey<TestEnvironmentDefinition<?>>> testData, Consumer<GameTestHelper> function) -
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>> registry) Methods in net.minecraft.network with parameters of type ResourceKeyModifier and TypeMethodDescription<T> ResourceKey<T> FriendlyByteBuf.readResourceKey(ResourceKey<? extends Registry<T>> registry) voidFriendlyByteBuf.writeResourceKey(ResourceKey<?> key) -
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> chatType, CommandSourceStack source) static ChatType.BoundChatType.bind(ResourceKey<ChatType> chatType, RegistryAccess registryAccess, Component name) static ChatType.BoundChatType.bind(ResourceKey<ChatType> chatType, Entity entity) -
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>> registryKey, StreamCodec<? super RegistryFriendlyByteBuf, T> directCodec) static <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holderRegistry(ResourceKey<? extends Registry<T>> registryKey) static <T> StreamCodec<RegistryFriendlyByteBuf, HolderSet<T>> ByteBufCodecs.holderSet(ResourceKey<? extends Registry<T>> registryKey) static <T> StreamCodec<RegistryFriendlyByteBuf, T> ByteBufCodecs.registry(ResourceKey<? extends Registry<T>> registryKey) private static <T,R> StreamCodec <RegistryFriendlyByteBuf, R> ByteBufCodecs.registry(ResourceKey<? extends Registry<T>> registryKey, Function<Registry<T>, IdMap<R>> mapExtractor) -
Uses of ResourceKey in net.minecraft.network.protocol.common
Fields in net.minecraft.network.protocol.common with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.tagsMethods in net.minecraft.network.protocol.common that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionMap<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.getTags()Constructor parameters in net.minecraft.network.protocol.common with type arguments of type ResourceKeyModifierConstructorDescriptionClientboundUpdateTagsPacket(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> tags) -
Uses of ResourceKey in net.minecraft.network.protocol.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.private final ResourceKey<GameRule<?>> ServerboundSetGameRulePacket.Entry.gameRuleKeyThe field for thegameRuleKeyrecord 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.private final Map<ResourceKey<GameRule<?>>, String> ClientboundGameRuleValuesPacket.valuesThe field for thevaluesrecord component.Methods in net.minecraft.network.protocol.game that return ResourceKeyModifier and TypeMethodDescriptionCommonPlayerSpawnInfo.dimension()Returns the value of thedimensionrecord component.ResourceKey<GameRule<?>> ServerboundSetGameRulePacket.Entry.gameRuleKey()Returns the value of thegameRuleKeyrecord 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.Map<ResourceKey<GameRule<?>>, String> ClientboundGameRuleValuesPacket.values()Returns the value of thevaluesrecord component.Constructors in net.minecraft.network.protocol.game with parameters of type ResourceKeyModifierConstructorDescriptionCommonPlayerSpawnInfo(Holder<DimensionType> dimensionType, ResourceKey<Level> dimension, long seed, GameType gameType, @Nullable GameType previousGameType, boolean isDebug, boolean isFlat, Optional<GlobalPos> lastDeathLocation, int portalCooldown, int seaLevel) Creates an instance of aCommonPlayerSpawnInforecord class.Entry(ResourceKey<GameRule<?>> gameRuleKey, String value) Creates an instance of aEntryrecord class.Constructor parameters in net.minecraft.network.protocol.game with type arguments of type ResourceKeyModifierConstructorDescriptionClientboundGameRuleValuesPacket(Map<ResourceKey<GameRule<?>>, String> values) Creates an instance of aClientboundGameRuleValuesPacketrecord class.ClientboundLoginPacket(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 pos, ServerboundTestInstanceBlockActionPacket.Action action, Optional<ResourceKey<GameTestInstance>> test, Vec3i size, Rotation rotation, boolean ignoreEntities) -
Uses of ResourceKey in net.minecraft.references
Fields in net.minecraft.references declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Block> BlockIds.ATTACHED_MELON_STEMstatic final ResourceKey<Block> BlockIds.ATTACHED_PUMPKIN_STEMstatic final ResourceKey<Block> BlockIds.DIRTstatic final ResourceKey<Block> BlockIds.MELONstatic final ResourceKey<Item> Items.MELON_SEEDSstatic final ResourceKey<Block> BlockIds.MELON_STEMstatic final ResourceKey<Block> BlockIds.PUMPKINstatic final ResourceKey<Item> Items.PUMPKIN_SEEDSstatic final ResourceKey<Block> BlockIds.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
Classes in net.minecraft.resources that implement interfaces with type arguments of type ResourceKeyModifier and TypeClassDescriptionclassResourceKey<T>An immutable key for a resource, in terms of the name of its parent registry and its location in that registry.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<T> RegistryLoadTask.PendingRegistration.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<E>> HolderSetCodec.registryKeyprivate final ResourceKey<? extends Registry<E>> RegistryFileCodec.registryKeyprivate final ResourceKey<? extends Registry<E>> RegistryFixedCodec.registryKeyFields in net.minecraft.resources with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<? extends Registry<?>>, RegistryDataLoader.NetworkedRegistryData> NetworkRegistryLoadTask.entriesprivate static final Comparator<ResourceKey<?>> RegistryDataLoader.ERROR_KEY_COMPARATORprotected final Map<ResourceKey<?>, Exception> RegistryLoadTask.loadingErrorsprivate 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 TypeMethodDescriptionprivate static <T> ResourceKey<T> ResourceKey.create(Identifier registryName, Identifier identifier) static <T> ResourceKey<T> ResourceKey.create(ResourceKey<? extends Registry<T>> registryName, Identifier location) Constructs a newResourceKeyfor a resource with the specifiedlocationwithin the registry specified by the givenregistryKey.static <T> ResourceKey<Registry<T>> ResourceKey.createRegistryKey(Identifier identifier) ResourceKey<? extends Registry<T>> RegistryDataLoader.RegistryData.key()Returns the value of thekeyrecord component.RegistryLoadTask.PendingRegistration.key()Returns the value of thekeyrecord component.protected ResourceKey<? extends Registry<T>> RegistryLoadTask.registryKey()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>> registry) static <T> com.mojang.serialization.Codec<ResourceKey<T>> ResourceKey.codec(ResourceKey<? extends Registry<T>> registryName) static <T> StreamCodec<io.netty.buffer.ByteBuf, ResourceKey<T>> ResourceKey.streamCodec(ResourceKey<? extends Registry<T>> registryName) Methods in net.minecraft.resources with parameters of type ResourceKeyModifier and TypeMethodDescription<E> Optional<ResourceKey<E>> ResourceKey.cast(ResourceKey<? extends Registry<E>> registry) static <T> com.mojang.serialization.Codec<ResourceKey<T>> ResourceKey.codec(ResourceKey<? extends Registry<T>> registryName) intResourceKey.compareTo(ResourceKey<?> o) static <E> com.mojang.serialization.Codec<HolderSet<E>> HolderSetCodec.create(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<Holder<E>> elementCodec, boolean alwaysUseList) static <E> RegistryFileCodec<E> RegistryFileCodec.create(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> elementCodec) Creates a codec for a single registry element, which is held as an un-resolvedSupplier<E>.static <E> RegistryFileCodec<E> RegistryFileCodec.create(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> elementCodec, boolean allowInline) static <E> RegistryFixedCodec<E> RegistryFixedCodec.create(ResourceKey<? extends Registry<E>> registryKey) static <T> ResourceKey<T> ResourceKey.create(ResourceKey<? extends Registry<T>> registryName, Identifier location) Constructs a newResourceKeyfor a resource with the specifiedlocationwithin the registry specified by the givenregistryKey.private Optional<RegistryOps.RegistryInfo<Object>> RegistryOps.HolderLookupAdapter.createLookup(ResourceKey<? extends Registry<?>> key) static <T> com.mojang.datafixers.util.Either<T, Exception> RegistryLoadTask.PendingRegistration.findAndLoadFromResource(com.mojang.serialization.Decoder<T> elementDecoder, RegistryOps<JsonElement> ops, ResourceKey<T> elementKey, FileToIdConverter converter, ResourceProvider resourceProvider) DependantName.get(ResourceKey<T> id) <E> Optional<HolderGetter<E>> RegistryOps.getter(ResourceKey<? extends Registry<? extends E>> registryKey) booleanResourceKey.isFor(ResourceKey<? extends Registry<?>> registry) static <T> com.mojang.datafixers.util.Either<T, Exception> RegistryLoadTask.PendingRegistration.loadFromNetwork(com.mojang.serialization.Decoder<T> elementDecoder, RegistryOps<Tag> ops, ResourceKey<T> elementKey, Tag contents) static <T> com.mojang.datafixers.util.Either<T, Exception> RegistryLoadTask.PendingRegistration.loadFromResource(com.mojang.serialization.Decoder<T> elementDecoder, RegistryOps<JsonElement> ops, ResourceKey<T> elementKey, Resource thunk) <E> Optional<RegistryOps.RegistryInfo<E>> RegistryOps.HolderLookupAdapter.lookup(ResourceKey<? extends Registry<? extends E>> registryKey) <T> Optional<RegistryOps.RegistryInfo<T>> RegistryOps.RegistryInfoLookup.lookup(ResourceKey<? extends Registry<? extends T>> registryKey) <E> Optional<HolderOwner<E>> RegistryOps.owner(ResourceKey<? extends Registry<? extends E>> registryKey) static FileToIdConverterFileToIdConverter.registry(ResourceKey<? extends Registry<?>> registry) static <E,O> com.mojang.serialization.codecs.RecordCodecBuilder <O, Holder.Reference<E>> RegistryOps.retrieveElement(ResourceKey<E> key) static <E,O> com.mojang.serialization.codecs.RecordCodecBuilder <O, HolderGetter<E>> RegistryOps.retrieveGetter(ResourceKey<? extends Registry<? extends E>> registryKey) 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>> registryName) Method parameters in net.minecraft.resources with type arguments of type ResourceKeyModifier and TypeMethodDescription<T> RegistryLoadTask<T> RegistryDataLoader.LoaderFactory.create(RegistryDataLoader.RegistryData<T> data, Map<ResourceKey<?>, Exception> loadingErrors) private static ReportedExceptionRegistryDataLoader.createReportWithBriefInfo(Map<ResourceKey<?>, Exception> loadingErrors) booleanRegistryLoadTask.freezeRegistry(Map<ResourceKey<?>, Exception> loadingErrors) RegistryDataLoader.load(Map<ResourceKey<? extends Registry<?>>, RegistryDataLoader.NetworkedRegistryData> entries, ResourceProvider knownDataSource, List<HolderLookup.RegistryLookup<?>> contextRegistries, List<RegistryDataLoader.RegistryData<?>> registriesToLoad, Executor executor) private static ReportedExceptionRegistryDataLoader.logErrors(Map<ResourceKey<?>, Exception> loadingErrors) private static voidRegistryDataLoader.printFullDetailsToLog(Map<ResourceKey<?>, Exception> loadingErrors) voidRegistryDataLoader.RegistryData.runWithArguments(BiConsumer<ResourceKey<? extends Registry<T>>, com.mojang.serialization.Codec<T>> output) voidRegistryLoadTask.validateRegistry(Map<ResourceKey<?>, Exception> loadingErrors) Constructors in net.minecraft.resources with parameters of type ResourceKeyModifierConstructorDescriptionprivateHolderSetCodec(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<Holder<E>> elementCodec, boolean alwaysUseList) protectedPendingRegistration(ResourceKey<T> key, com.mojang.datafixers.util.Either<T, Exception> value, RegistrationInfo registrationInfo) Creates an instance of aPendingRegistrationrecord class.privateRegistryData(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec) RegistryData(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec, RegistryValidator<T> validator) RegistryData(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Codec<T> elementCodec, RegistryValidator<T> validator, Consumer<RegistryBuilder<T>> registryBuilderConsumer) Creates an instance of aRegistryDatarecord class.privateRegistryFileCodec(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> elementCodec, boolean allowInline) privateRegistryFixedCodec(ResourceKey<? extends Registry<E>> registryKey) Constructor parameters in net.minecraft.resources with type arguments of type ResourceKeyModifierConstructorDescriptionNetworkRegistryLoadTask(RegistryDataLoader.RegistryData<T> data, com.mojang.serialization.Lifecycle lifecycle, Map<ResourceKey<?>, Exception> loadingErrors, Map<ResourceKey<? extends Registry<?>>, RegistryDataLoader.NetworkedRegistryData> entries, ResourceProvider knownDataSource) protectedRegistryLoadTask(RegistryDataLoader.RegistryData<T> data, com.mojang.serialization.Lifecycle lifecycle, Map<ResourceKey<?>, Exception> loadingErrors) ResourceManagerRegistryLoadTask(RegistryDataLoader.RegistryData<T> data, com.mojang.serialization.Lifecycle lifecycle, Map<ResourceKey<?>, Exception> loadingErrors, ResourceManager resourceManager) -
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 TypeMethodDescription@Nullable ServerLevelMinecraftServer.getLevel(ResourceKey<Level> dimension) Gets the worldServer by the given dimension.ReloadableServerRegistries.Holder.getLootTable(ResourceKey<LootTable> id) @Nullable 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 final BiMap<String, ResourceKey<Level>> ChaseCommand.DIMENSION_NAMESprivate static final ToIntFunction<ResourceKey<TrimMaterial>> SpawnArmorTrimsCommand.TRIM_MATERIAL_ORDERprivate static final ToIntFunction<ResourceKey<TrimPattern>> SpawnArmorTrimsCommand.TRIM_PATTERN_ORDERprivate static final List<ResourceKey<TrimMaterial>> SpawnArmorTrimsCommand.VANILLA_TRIM_MATERIALSprivate static final List<ResourceKey<TrimPattern>> SpawnArmorTrimsCommand.VANILLA_TRIM_PATTERNSMethods in net.minecraft.server.commands with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidLootCommand.callback(CommandSourceStack source, List<ItemStack> drops, ResourceKey<LootTable> location) private static intTimeCommand.setTimeToTimeMarker(CommandSourceStack source, Holder<WorldClock> clock, ResourceKey<ClockTimeMarker> timeMarkerId) private static intWaypointCommand.setWaypointStyle(CommandSourceStack source, WaypointTransmitter waypoint, ResourceKey<WaypointStyleAsset> style) private static intSpawnArmorTrimsCommand.spawnArmorTrim(CommandSourceStack source, Player player, ResourceKey<TrimPattern> pattern) -
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 with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Optional<ResourceKey<Level>> ServerPlayer.SavedPosition.dimensionThe field for thedimensionrecord component.Methods in net.minecraft.server.level that return ResourceKeyModifier and TypeMethodDescriptionstatic ResourceKey<Level> ServerPlayer.RespawnConfig.getDimensionOrDefault(@Nullable ServerPlayer.RespawnConfig respawnConfig) Methods in net.minecraft.server.level that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionServerPlayer.SavedPosition.dimension()Returns the value of thedimensionrecord component.Methods in net.minecraft.server.level with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic CompoundTagChunkMap.getChunkDataFixContextTag(ResourceKey<Level> dimension, Optional<Identifier> generatorIdentifier) Method parameters in net.minecraft.server.level with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidServerPlayer.awardRecipesByKey(List<ResourceKey<Recipe<?>>> recipeIds) Constructors in net.minecraft.server.level with parameters of type ResourceKeyModifierConstructorDescriptionServerLevel(MinecraftServer server, Executor executor, LevelStorageSource.LevelStorageAccess levelStorage, ServerLevelData levelData, ResourceKey<Level> dimension, LevelStem levelStem, boolean isDebug, long biomeZoomSeed, List<CustomSpawner> customSpawners, boolean tickTime) Constructor parameters in net.minecraft.server.level with type arguments of type ResourceKeyModifierConstructorDescriptionSavedPosition(Optional<ResourceKey<Level>> dimension, Optional<Vec3> position, Optional<Vec2> rotation) Creates an instance of aSavedPositionrecord class. -
Uses of ResourceKey in net.minecraft.server.level.progress
Methods in net.minecraft.server.level.progress with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidChunkLoadStatusView.moveTo(ResourceKey<Level> dimension, ChunkPos centerChunk) voidLevelLoadListener.updateFocus(ResourceKey<Level> dimension, ChunkPos chunkPos) voidLevelLoadProgressTracker.updateFocus(ResourceKey<Level> dimension, ChunkPos chunkPos) voidLoggingLevelLoadListener.updateFocus(ResourceKey<Level> dimension, ChunkPos chunkPos) -
Uses of ResourceKey in net.minecraft.server.network
Method parameters in net.minecraft.server.network with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static <T> voidServerGamePacketListenerImpl.addGameRuleValue(GameRules gameRules, Map<ResourceKey<GameRule<?>>, String> values, GameRule<T> rule) -
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 manager, ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.DynamicOps<JsonElement> ops, com.mojang.serialization.Codec<T> codec, Map<Identifier, T> result) static <T> voidSimpleJsonResourceReloadListener.scanDirectoryWithOptionalValues(ResourceManager manager, ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.DynamicOps<JsonElement> ops, com.mojang.serialization.Codec<Optional<T>> codec, Map<Identifier, Optional<T>> result) Constructors in net.minecraft.server.packs.resources with parameters of type ResourceKeyModifierConstructorDescriptionprotectedSimpleJsonResourceReloadListener(HolderLookup.Provider registries, com.mojang.serialization.Codec<T> codec, ResourceKey<? extends Registry<T>> registryKey) -
Uses of ResourceKey in net.minecraft.server.players
Methods in net.minecraft.server.players with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidPlayerList.broadcast(@Nullable Player except, double x, double y, double z, double range, ResourceKey<Level> dimension, Packet<?> packet) voidPlayerList.broadcastAll(Packet<?> packet, ResourceKey<Level> dimension) -
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<?>> id) private voidServerRecipeBook.addHighlight(ResourceKey<Recipe<?>> id) booleanServerRecipeBook.contains(ResourceKey<Recipe<?>> id) voidServerRecipeBook.DisplayResolver.displaysForRecipe(ResourceKey<Recipe<?>> id, Consumer<RecipeDisplayEntry> output) voidServerRecipeBook.remove(ResourceKey<Recipe<?>> id) voidServerRecipeBook.removeHighlight(ResourceKey<Recipe<?>> id) Method parameters in net.minecraft.stats with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate voidServerRecipeBook.loadRecipes(List<ResourceKey<Recipe<?>>> recipes, Consumer<ResourceKey<Recipe<?>>> recipeAddingMethod, Predicate<ResourceKey<Recipe<?>>> validator) private voidServerRecipeBook.loadRecipes(List<ResourceKey<Recipe<?>>> recipes, Consumer<ResourceKey<Recipe<?>>> recipeAddingMethod, Predicate<ResourceKey<Recipe<?>>> validator) private voidServerRecipeBook.loadRecipes(List<ResourceKey<Recipe<?>>> recipes, Consumer<ResourceKey<Recipe<?>>> recipeAddingMethod, Predicate<ResourceKey<Recipe<?>>> validator) voidServerRecipeBook.loadUntrusted(ServerRecipeBook.Packed packed, Predicate<ResourceKey<Recipe<?>>> validator) 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> registries) Methods in net.minecraft.tags with parameters of type ResourceKeyModifier and TypeMethodDescriptionTagKey.cast(ResourceKey<? extends Registry<E>> registry) static <T> com.mojang.serialization.Codec<TagKey<T>> TagKey.codec(ResourceKey<? extends Registry<T>> registryName) static <T> TagKey<T> TagKey.create(ResourceKey<? extends Registry<T>> registry, Identifier location) private static @Nullable Registry.PendingTags<?> TagLoader.findTagsForRegistry(List<Registry.PendingTags<?>> tags, ResourceKey<? extends Registry<?>> registryKey) static <T> TagLoader.ElementLookup<Holder<T>> TagLoader.ElementLookup.fromGetters(ResourceKey<? extends Registry<T>> registryKey, HolderGetter<T> writable, HolderGetter<T> immutable) static <T> com.mojang.serialization.Codec<TagKey<T>> TagKey.hashedCodec(ResourceKey<? extends Registry<T>> registryName) booleanTagKey.isFor(ResourceKey<? extends Registry<?>> registry) TagLoader.loadTagsForRegistry(ResourceManager manager, ResourceKey<? extends Registry<T>> registryKey, TagLoader.ElementLookup<Holder<T>> lookup) static <T> StreamCodec<io.netty.buffer.ByteBuf, TagKey<T>> TagKey.streamCodec(ResourceKey<? extends Registry<T>> registryName) TagLoader.wrapTags(ResourceKey<? extends Registry<T>> registryKey, Map<Identifier, List<Holder<T>>> tags) 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, Identifier 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 TypeFieldDescriptionprivate 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> id) private Holder.Reference<Object> PlaceholderLookupProvider.UniversalLookup.getOrCreate(ResourceKey<Object> id) PlaceholderLookupProvider.UniversalLookup.getOrThrow(ResourceKey<Object> id) <T> Optional<? extends HolderGetter<T>> PlaceholderLookupProvider.lookup(ResourceKey<? extends Registry<? extends T>> key) 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.filefix.fixes
Fields in net.minecraft.util.filefix.fixes declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> LegacyStructureFileFix.DimensionFixEntry.dimensionKeyThe field for thedimensionKeyrecord component.private static final ResourceKey<Level> LegacyStructureFileFix.END_KEYprivate static final ResourceKey<Level> LegacyStructureFileFix.NETHER_KEYprivate static final ResourceKey<Level> LegacyStructureFileFix.OVERWORLD_KEYMethods in net.minecraft.util.filefix.fixes that return ResourceKeyModifier and TypeMethodDescriptionLegacyStructureFileFix.DimensionFixEntry.dimensionKey()Returns the value of thedimensionKeyrecord component.Constructors in net.minecraft.util.filefix.fixes with parameters of type ResourceKeyModifierConstructorDescriptionprivateDimensionFixEntry(ResourceKey<Level> dimensionKey, List<FileAccess<SavedDataNbt>> structureFileAccess, FileAccess<ChunkNbt> chunkFileAccess, it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<LegacyStructureFileFix.LegacyStructureData> structures) Creates an instance of aDimensionFixEntryrecord class. -
Uses of ResourceKey in net.minecraft.util.profiling.jfr
Methods in net.minecraft.util.profiling.jfr with parameters of type ResourceKeyModifier and TypeMethodDescription@Nullable ProfiledDurationJfrProfiler.onChunkGenerate(ChunkPos pos, ResourceKey<Level> dimension, String name) @Nullable ProfiledDurationJvmProfiler.NoOpProfiler.onChunkGenerate(ChunkPos pos, ResourceKey<Level> dimension, String name) @Nullable ProfiledDurationJvmProfiler.onChunkGenerate(ChunkPos pos, ResourceKey<Level> dimension, String name) @Nullable ProfiledDurationJfrProfiler.onStructureGenerate(ChunkPos sourceChunkPos, ResourceKey<Level> dimension, Holder<Structure> structure) JvmProfiler.NoOpProfiler.onStructureGenerate(ChunkPos sourceChunkPos, ResourceKey<Level> dimension, Holder<Structure> structure) @Nullable ProfiledDurationJvmProfiler.onStructureGenerate(ChunkPos sourceChunkPos, ResourceKey<Level> dimension, Holder<Structure> structure) -
Uses of ResourceKey in net.minecraft.util.profiling.jfr.event
Constructors in net.minecraft.util.profiling.jfr.event with parameters of type ResourceKeyModifierConstructorDescriptionChunkGenerationEvent(ChunkPos pos, ResourceKey<Level> dimension, String name) StructureGenerationEvent(ChunkPos sourceChunkPos, Holder<Structure> structure, ResourceKey<Level> level) -
Uses of ResourceKey in net.minecraft.util.worldupdate
Fields in net.minecraft.util.worldupdate declared as ResourceKeyModifier and TypeFieldDescriptionprivate @Nullable ResourceKey<Level> RegionStorageUpgrader.dimensionKeyFields in net.minecraft.util.worldupdate with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Set<ResourceKey<Level>> WorldUpgrader.levelsprivate final it.unimi.dsi.fastutil.objects.Reference2FloatMap<ResourceKey<Level>> UpgradeProgress.progressMapMethods in net.minecraft.util.worldupdate that return types with arguments of type ResourceKeyMethods in net.minecraft.util.worldupdate with parameters of type ResourceKeyModifier and TypeMethodDescriptionfloatWorldUpgrader.dimensionProgress(ResourceKey<Level> dimension) static CompoundTagWorldUpgrader.getDataFixContextTag(Registry<LevelStem> dimensions, ResourceKey<Level> dimension) floatUpgradeProgress.getDimensionProgress(ResourceKey<Level> dimensionKey) voidRegionStorageUpgrader.init(ResourceKey<Level> dimensionKey, LevelStorageSource.LevelStorageAccess levelStorage) voidUpgradeProgress.Noop.setDimensionProgress(ResourceKey<Level> dimensionKey, float currentProgress) voidUpgradeProgress.setDimensionProgress(ResourceKey<Level> dimensionKey, float currentProgress) Method parameters in net.minecraft.util.worldupdate with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate voidWorldUpgrader.upgradeLevels(DataFixTypes dataFixType, RegionStorageUpgrader.Builder builder, BiFunction<RegionStorageUpgrader.Builder, ResourceKey<Level>, RegionStorageUpgrader.Builder> levelSpecificBuilder) -
Uses of ResourceKey in net.minecraft.world
Methods in net.minecraft.world that return ResourceKeyModifier and TypeMethodDescription@Nullable ResourceKey<LootTable> RandomizableContainer.getLootTable()Methods in net.minecraft.world with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic voidRandomizableContainer.setBlockEntityLootTable(BlockGetter level, RandomSource random, BlockPos blockEntityPos, ResourceKey<LootTable> lootTable) voidRandomizableContainer.setLootTable(@Nullable ResourceKey<LootTable> lootTable) default voidRandomizableContainer.setLootTable(ResourceKey<LootTable> lootTable, long seed) -
Uses of ResourceKey in net.minecraft.world.clock
Fields in net.minecraft.world.clock declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<ClockTimeMarker> ClockTimeMarkers.DAYstatic final ResourceKey<ClockTimeMarker> ClockTimeMarkers.MIDNIGHTstatic final ResourceKey<ClockTimeMarker> ClockTimeMarkers.NIGHTstatic final ResourceKey<ClockTimeMarker> ClockTimeMarkers.NOONstatic final ResourceKey<WorldClock> WorldClocks.OVERWORLDstatic final ResourceKey<ClockTimeMarker> ClockTimeMarkers.ROLL_VILLAGE_SIEGEstatic final ResourceKey<? extends Registry<ClockTimeMarker>> ClockTimeMarkers.ROOT_IDstatic final ResourceKey<WorldClock> WorldClocks.THE_ENDstatic final ResourceKey<ClockTimeMarker> ClockTimeMarkers.WAKE_UP_FROM_SLEEPFields in net.minecraft.world.clock with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ResourceKey<ClockTimeMarker>> ClockTimeMarker.KEY_CODECprivate final Map<ResourceKey<ClockTimeMarker>, ClockTimeMarker> ServerClockManager.ClockInstance.timeMarkersMethods in net.minecraft.world.clock that return ResourceKeyModifier and TypeMethodDescriptionstatic ResourceKey<ClockTimeMarker> private static ResourceKey<WorldClock> Methods in net.minecraft.world.clock that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionServerClockManager.commandTimeMarkersForClock(Holder<WorldClock> clock) Methods in net.minecraft.world.clock with parameters of type ResourceKeyModifier and TypeMethodDescriptionbooleanServerClockManager.isAtTimeMarker(Holder<WorldClock> clock, ResourceKey<ClockTimeMarker> timeMarkerId) private voidServerClockManager.registerTimeMarker(ResourceKey<ClockTimeMarker> timeMarkerId, ClockTimeMarker timeMarker) booleanServerClockManager.skipToTimeMarker(Holder<WorldClock> clock, ResourceKey<ClockTimeMarker> timeMarkerId) -
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.SPEARstatic 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> typeKey) DamageSources.source(ResourceKey<DamageType> key) DamageSources.source(ResourceKey<DamageType> key, @Nullable Entity cause) DamageSources.source(ResourceKey<DamageType> key, @Nullable Entity directEntity, @Nullable Entity causingEntity) -
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 vanillaId) 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<?>> name) booleanLivingEntity.dropFromEntityInteractLootTable(ServerLevel level, ResourceKey<LootTable> key, @Nullable Entity interactingEntity, ItemInstance tool, BiConsumer<ServerLevel, ItemStack> consumer) booleanLivingEntity.dropFromGiftLootTable(ServerLevel level, ResourceKey<LootTable> key, BiConsumer<ServerLevel, ItemStack> consumer) protected booleanLivingEntity.dropFromLootTable(ServerLevel level, ResourceKey<LootTable> key, Function<LootParams.Builder, LootParams> paramsBuilder, BiConsumer<ServerLevel, ItemStack> consumer) voidLivingEntity.dropFromLootTable(ServerLevel level, DamageSource source, boolean playerKilled, ResourceKey<LootTable> lootTable) voidLivingEntity.dropFromLootTable(ServerLevel level, DamageSource source, boolean playerKilled, ResourceKey<LootTable> lootTable, Consumer<ItemStack> itemStackConsumer) protected voidLivingEntity.dropFromShearingLootTable(ServerLevel level, ResourceKey<LootTable> key, ItemInstance tool, BiConsumer<ServerLevel, ItemStack> consumer) default voidEquipmentUser.equip(ResourceKey<LootTable> lootTable, LootParams lootParams, long optionalLootTableSeed, Map<EquipmentSlot, Float> dropChances) default voidEquipmentUser.equip(ResourceKey<LootTable> lootTable, LootParams lootParams, Map<EquipmentSlot, Float> dropChances) voidMob.equip(ResourceKey<LootTable> lootTable, Map<EquipmentSlot, Float> dropChances) private static <T extends Entity>
EntityType<T> EntityType.register(ResourceKey<EntityType<?>> id, EntityType.Builder<T> builder) Constructors in net.minecraft.world.entity with parameters of type ResourceKeyModifierConstructorDescriptionEquipmentTable(ResourceKey<LootTable> lootTable, float dropChance) 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> factory, MobCategory category, boolean serialize, boolean summon, boolean fireImmune, boolean canSpawnFarFromPlayer, ImmutableSet<Block> immuneTo, EntityDimensions dimensions, float spawnDimensionsScale, int clientTrackingRange, int updateInterval, String descriptionId, Optional<ResourceKey<LootTable>> lootTable, FeatureFlagSet requiredFeatures, boolean allowedInPeaceful) EntityType(EntityType.EntityFactory<T> factory, MobCategory category, boolean serialize, boolean summon, boolean fireImmune, boolean canSpawnFarFromPlayer, ImmutableSet<Block> immuneTo, EntityDimensions dimensions, float spawnDimensionsScale, int clientTrackingRange, int updateInterval, String descriptionId, Optional<ResourceKey<LootTable>> lootTable, FeatureFlagSet requiredFeatures, boolean allowedInPeaceful, 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 villager) -
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> poiType, BlockPos blockPos) private static PoiTypePoiTypes.register(Registry<PoiType> registry, ResourceKey<PoiType> id, Set<BlockState> matchingStates, int maxTickets, int validRange) -
Uses of ResourceKey in net.minecraft.world.entity.animal.chicken
Fields in net.minecraft.world.entity.animal.chicken declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<ChickenSoundVariant> ChickenSoundVariants.CLASSICstatic final ResourceKey<ChickenVariant> ChickenVariants.COLDstatic final ResourceKey<ChickenVariant> ChickenVariants.DEFAULTstatic final ResourceKey<ChickenSoundVariant> ChickenSoundVariants.PICKYstatic final ResourceKey<ChickenVariant> ChickenVariants.TEMPERATEstatic final ResourceKey<ChickenVariant> ChickenVariants.WARMMethods in net.minecraft.world.entity.animal.chicken that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<ChickenSoundVariant> ChickenSoundVariants.createKey(ChickenSoundVariants.SoundSet chickenSoundVariant) private static ResourceKey<ChickenVariant> ChickenVariants.createKey(Identifier id) Methods in net.minecraft.world.entity.animal.chicken with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidChickenSoundVariants.register(BootstrapContext<ChickenSoundVariant> context, ResourceKey<ChickenSoundVariant> key, ChickenSoundVariants.SoundSet ChickenSoundVariant) private static voidChickenVariants.register(BootstrapContext<ChickenVariant> context, ResourceKey<ChickenVariant> name, ChickenVariant.ModelType modelType, String textureName, String babyTextureName, TagKey<Biome> spawnBiome) private static voidChickenVariants.register(BootstrapContext<ChickenVariant> context, ResourceKey<ChickenVariant> name, ChickenVariant.ModelType modelType, String textureName, String babyTextureName, SpawnPrioritySelectors selectors) -
Uses of ResourceKey in net.minecraft.world.entity.animal.cow
Fields in net.minecraft.world.entity.animal.cow declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<CowSoundVariant> CowSoundVariants.CLASSICstatic final ResourceKey<CowVariant> CowVariants.COLDstatic final ResourceKey<CowVariant> CowVariants.DEFAULTstatic final ResourceKey<CowSoundVariant> CowSoundVariants.MOODYstatic final ResourceKey<CowVariant> CowVariants.TEMPERATEstatic final ResourceKey<CowVariant> CowVariants.WARMMethods in net.minecraft.world.entity.animal.cow that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<CowSoundVariant> CowSoundVariants.createKey(CowSoundVariants.SoundSet cowSoundVariant) private static ResourceKey<CowVariant> CowVariants.createKey(Identifier id) Methods in net.minecraft.world.entity.animal.cow with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidCowSoundVariants.register(BootstrapContext<CowSoundVariant> context, ResourceKey<CowSoundVariant> key, CowSoundVariants.SoundSet CowSoundVariant) private static voidCowVariants.register(BootstrapContext<CowVariant> context, ResourceKey<CowVariant> name, CowVariant.ModelType modelType, String textureName, String babyTextureName, TagKey<Biome> spawnBiome) private static voidCowVariants.register(BootstrapContext<CowVariant> context, ResourceKey<CowVariant> name, CowVariant.ModelType modelType, String textureName, String babyTextureName, SpawnPrioritySelectors selectors) -
Uses of ResourceKey in net.minecraft.world.entity.animal.feline
Fields in net.minecraft.world.entity.animal.feline 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<CatSoundVariant> CatSoundVariants.CLASSICprivate 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<CatSoundVariant> CatSoundVariants.ROYALstatic final ResourceKey<CatVariant> CatVariants.SIAMESEstatic final ResourceKey<CatVariant> CatVariants.TABBYstatic final ResourceKey<CatVariant> CatVariants.WHITEMethods in net.minecraft.world.entity.animal.feline that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<CatSoundVariant> CatSoundVariants.createKey(CatSoundVariants.SoundSet catSoundVariant) private static ResourceKey<CatVariant> Methods in net.minecraft.world.entity.animal.feline with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidCatSoundVariants.register(BootstrapContext<CatSoundVariant> context, ResourceKey<CatSoundVariant> key, CatSoundVariants.SoundSet CatSoundVariant) private static voidCatVariants.register(BootstrapContext<CatVariant> context, ResourceKey<CatVariant> name, String adultTexture, String babyTexture, SpawnPrioritySelectors spawnConditions) private static voidCatVariants.registerForAnyConditions(BootstrapContext<CatVariant> context, ResourceKey<CatVariant> name, String adultTexture, String babyTexture) -
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(Identifier id) Methods in net.minecraft.world.entity.animal.frog with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidFrogVariants.register(BootstrapContext<FrogVariant> context, ResourceKey<FrogVariant> name, String assetId, TagKey<Biome> limitToBiome) private static voidFrogVariants.register(BootstrapContext<FrogVariant> context, ResourceKey<FrogVariant> name, String assetId, SpawnPrioritySelectors selectors) -
Uses of ResourceKey in net.minecraft.world.entity.animal.nautilus
Fields in net.minecraft.world.entity.animal.nautilus declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<ZombieNautilusVariant> ZombieNautilusVariants.DEFAULTstatic final ResourceKey<ZombieNautilusVariant> ZombieNautilusVariants.TEMPERATEstatic final ResourceKey<ZombieNautilusVariant> ZombieNautilusVariants.WARMMethods in net.minecraft.world.entity.animal.nautilus that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<ZombieNautilusVariant> ZombieNautilusVariants.createKey(Identifier id) Methods in net.minecraft.world.entity.animal.nautilus with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidZombieNautilusVariants.register(BootstrapContext<ZombieNautilusVariant> context, ResourceKey<ZombieNautilusVariant> name, ZombieNautilusVariant.ModelType modelType, String textureName, TagKey<Biome> spawnBiome) private static voidZombieNautilusVariants.register(BootstrapContext<ZombieNautilusVariant> context, ResourceKey<ZombieNautilusVariant> name, ZombieNautilusVariant.ModelType modelType, String textureName, SpawnPrioritySelectors selectors) -
Uses of ResourceKey in net.minecraft.world.entity.animal.pig
Fields in net.minecraft.world.entity.animal.pig declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<PigSoundVariant> PigSoundVariants.BIGstatic final ResourceKey<PigSoundVariant> PigSoundVariants.CLASSICstatic final ResourceKey<PigVariant> PigVariants.COLDstatic final ResourceKey<PigVariant> PigVariants.DEFAULTstatic final ResourceKey<PigSoundVariant> PigSoundVariants.MINIstatic final ResourceKey<PigVariant> PigVariants.TEMPERATEstatic final ResourceKey<PigVariant> PigVariants.WARMMethods in net.minecraft.world.entity.animal.pig that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<PigSoundVariant> PigSoundVariants.createKey(PigSoundVariants.SoundSet pigSoundVariant) private static ResourceKey<PigVariant> PigVariants.createKey(Identifier id) Methods in net.minecraft.world.entity.animal.pig with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidPigSoundVariants.register(BootstrapContext<PigSoundVariant> context, ResourceKey<PigSoundVariant> key, PigSoundVariants.SoundSet PigSoundVariant) private static voidPigVariants.register(BootstrapContext<PigVariant> context, ResourceKey<PigVariant> name, PigVariant.ModelType modelType, String textureName, String babyTextureName, TagKey<Biome> spawnBiome) private static voidPigVariants.register(BootstrapContext<PigVariant> context, ResourceKey<PigVariant> name, PigVariant.ModelType modelType, String textureName, String babyTextureName, SpawnPrioritySelectors selectors) -
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 wolfSoundVariant) private static ResourceKey<WolfVariant> Methods in net.minecraft.world.entity.animal.wolf with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidWolfSoundVariants.register(BootstrapContext<WolfSoundVariant> context, ResourceKey<WolfSoundVariant> key, WolfSoundVariants.SoundSet wolfSoundVariant) private static voidWolfVariants.register(BootstrapContext<WolfVariant> context, ResourceKey<WolfVariant> name, String fileName, ResourceKey<Biome> spawnBiome) private static voidWolfVariants.register(BootstrapContext<WolfVariant> context, ResourceKey<WolfVariant> name, String fileName, TagKey<Biome> spawnBiome) private static voidWolfVariants.register(BootstrapContext<WolfVariant> context, ResourceKey<WolfVariant> name, String fileName, SpawnPrioritySelectors selectors) -
Uses of ResourceKey in net.minecraft.world.entity.decoration.painting
Fields in net.minecraft.world.entity.decoration.painting 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.painting that return ResourceKeyMethods in net.minecraft.world.entity.decoration.painting with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidPaintingVariants.register(BootstrapContext<PaintingVariant> context, ResourceKey<PaintingVariant> id, int width, int height) private static voidPaintingVariants.register(BootstrapContext<PaintingVariant> context, ResourceKey<PaintingVariant> id, int width, int height, boolean hasAuthor) -
Uses of ResourceKey in net.minecraft.world.entity.npc.villager
Fields in net.minecraft.world.entity.npc.villager 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.villager 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 it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> VillagerProfession.tradeSetsByLevelThe field for thetradeSetsByLevelrecord component.Methods in net.minecraft.world.entity.npc.villager that return ResourceKeyModifier and TypeMethodDescriptionstatic ResourceKey<VillagerType> private static ResourceKey<VillagerProfession> private static ResourceKey<VillagerType> @Nullable ResourceKey<TradeSet> VillagerProfession.getTrades(int level) Methods in net.minecraft.world.entity.npc.villager that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionit.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> VillagerProfession.tradeSetsByLevel()Returns the value of thetradeSetsByLevelrecord component.Methods in net.minecraft.world.entity.npc.villager with parameters of type ResourceKeyModifier and TypeMethodDescriptionprotected voidAbstractVillager.addOffersFromTradeSet(ServerLevel level, MerchantOffers offers, ResourceKey<TradeSet> resourceKey) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, ResourceKey<PoiType> jobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, ResourceKey<PoiType> jobSite, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerTypeVillagerType.register(Registry<VillagerType> registry, ResourceKey<VillagerType> name) VillagerData.withProfession(HolderGetter.Provider registries, ResourceKey<VillagerProfession> profession) VillagerData.withType(HolderGetter.Provider registries, ResourceKey<VillagerType> type) Method parameters in net.minecraft.world.entity.npc.villager with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, ResourceKey<PoiType> jobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, ResourceKey<PoiType> jobSite, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) Constructors in net.minecraft.world.entity.npc.villager with parameters of type ResourceKeyModifierConstructorDescriptionVillager(EntityType<? extends Villager> entityType, Level level, ResourceKey<VillagerType> type) Constructor parameters in net.minecraft.world.entity.npc.villager with type arguments of type ResourceKeyModifierConstructorDescriptionVillagerProfession(Component name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> tradeSetsByLevel) Creates an instance of aVillagerProfessionrecord 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<?>>> recipeIds) -
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 registryAccess, ResourceKey<? extends Registry<T>> registryId) static <T> Holder<T> VariantUtils.getDefaultOrAny(RegistryAccess registryAccess, ResourceKey<T> id) VariantUtils.readVariant(ValueInput input, ResourceKey<? extends Registry<T>> registryId) static <T extends PriorityProvider<SpawnContext, ?>>
Optional<Holder.Reference<T>> VariantUtils.selectVariantToSpawn(SpawnContext context, ResourceKey<Registry<T>> variantRegistry) -
Uses of ResourceKey in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle that return ResourceKeyModifier and TypeMethodDescription@Nullable ResourceKey<LootTable> ContainerEntity.getContainerLootTable()Methods in net.minecraft.world.entity.vehicle with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidContainerEntity.setContainerLootTable(@Nullable ResourceKey<LootTable> lootTable) -
Uses of ResourceKey in net.minecraft.world.entity.vehicle.boat
Fields in net.minecraft.world.entity.vehicle.boat declared as ResourceKeyModifier and TypeFieldDescriptionprivate @Nullable ResourceKey<LootTable> AbstractChestBoat.lootTableMethods in net.minecraft.world.entity.vehicle.boat that return ResourceKeyModifier and TypeMethodDescription@Nullable ResourceKey<LootTable> AbstractChestBoat.getContainerLootTable()Methods in net.minecraft.world.entity.vehicle.boat with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidAbstractChestBoat.setContainerLootTable(@Nullable ResourceKey<LootTable> lootTable) -
Uses of ResourceKey in net.minecraft.world.entity.vehicle.minecart
Fields in net.minecraft.world.entity.vehicle.minecart declared as ResourceKeyModifier and TypeFieldDescriptionprivate @Nullable ResourceKey<LootTable> AbstractMinecartContainer.lootTableMethods in net.minecraft.world.entity.vehicle.minecart that return ResourceKeyModifier and TypeMethodDescription@Nullable ResourceKey<LootTable> AbstractMinecartContainer.getContainerLootTable()Methods in net.minecraft.world.entity.vehicle.minecart with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidAbstractMinecartContainer.setContainerLootTable(@Nullable ResourceKey<LootTable> lootTable) voidAbstractMinecartContainer.setLootTable(ResourceKey<LootTable> lootTable, long seed) -
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<?> menuType, RecipeType<? extends AbstractCookingRecipe> recipeType, ResourceKey<RecipePropertySet> allowedInputs, RecipeBookType recipeBookType, int containerId, Inventory inventory) protectedAbstractFurnaceMenu(MenuType<?> menuType, RecipeType<? extends AbstractCookingRecipe> recipeType, ResourceKey<RecipePropertySet> allowedInputs, RecipeBookType recipeBookType, int containerId, Inventory inventory, Container container, ContainerData data) -
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 @Nullable 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_HORNMethods in net.minecraft.world.item that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<Item> Items.blockIdToItemId(ResourceKey<Block> blockName) private static ResourceKey<Instrument> private static ResourceKey<JukeboxSong> private static ResourceKey<CreativeModeTab> private ResourceKey<Item> Item.Properties.itemIdOrThrow()private static ResourceKey<Item> Items.vanillaItemId(String name) Methods in net.minecraft.world.item with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<Item> Items.blockIdToItemId(ResourceKey<Block> blockName) private static MapIdMapItem.createNewSavedData(ServerLevel level, int xSpawn, int zSpawn, int scale, boolean trackingPosition, boolean unlimitedTracking, ResourceKey<Level> dimension) <T> Item.PropertiesItem.Properties.delayedHolderComponent(DataComponentType<Holder<T>> type, ResourceKey<T> valueKey) Item.Properties.jukeboxPlayable(ResourceKey<JukeboxSong> song) static voidInstruments.register(BootstrapContext<Instrument> context, ResourceKey<Instrument> key, Holder<SoundEvent> soundEvent, float duration, float range) private static voidJukeboxSongs.register(BootstrapContext<JukeboxSong> context, ResourceKey<JukeboxSong> registryKey, Holder.Reference<SoundEvent> soundEvent, int lengthInSeconds, int comparatorOutput) private static ItemItems.registerItem(ResourceKey<Item> key, Function<Item.Properties, Item> itemFactory) private static ItemItems.registerItem(ResourceKey<Item> key, Function<Item.Properties, Item> itemFactory, Item.Properties properties) Item.Properties.setId(ResourceKey<Item> id) Item.Properties.trimMaterial(ResourceKey<TrimMaterial> material) 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. -
Uses of ResourceKey in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootTable> SeededContainerLoot.lootTableThe field for thelootTablerecord component.Methods in net.minecraft.world.item.component that return ResourceKeyModifier and TypeMethodDescriptionSeededContainerLoot.lootTable()Returns the value of thelootTablerecord component.Constructors in net.minecraft.world.item.component with parameters of type ResourceKeyModifierConstructorDescriptionSeededContainerLoot(ResourceKey<LootTable> lootTable, long seed) Creates an instance of aSeededContainerLootrecord class. -
Uses of ResourceKey in net.minecraft.world.item.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.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 name) 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<?>> recipeId) @Nullable RecipeHolder<?> RecipeMap.byKey(ResourceKey<Recipe<?>> recipeId) private <T extends Recipe<?>>
@Nullable RecipeHolder<T> RecipeManager.byKeyTyped(RecipeType<T> type, ResourceKey<Recipe<?>> recipeId) protected static RecipeHolder<?> RecipeManager.fromJson(ResourceKey<Recipe<?>> id, JsonObject object, HolderLookup.Provider registries) <I extends RecipeInput, T extends Recipe<I>>
Optional<RecipeHolder<T>> RecipeManager.getRecipeFor(RecipeType<T> type, I input, Level level, @Nullable ResourceKey<Recipe<?>> recipeHint) voidRecipeManager.listDisplaysForRecipe(ResourceKey<Recipe<?>> id, Consumer<RecipeDisplayEntry> output) RecipeAccess.propertySet(ResourceKey<RecipePropertySet> id) RecipeManager.propertySet(ResourceKey<RecipePropertySet> id) 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> key, RecipeManager.IngredientExtractor extractor) 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<?>> byType, Map<ResourceKey<Recipe<?>>, RecipeHolder<?>> byKey) -
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.LUNGEstatic 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 itemStack, RegistryAccess registryAccess, ResourceKey<EnchantmentProvider> providerKey, DifficultyInstance difficulty, RandomSource random) private static <T> HolderSet<T> ItemEnchantments.getTagOrEmpty(@Nullable HolderLookup.Provider registries, ResourceKey<Registry<T>> registry, TagKey<T> tag) private static voidEnchantments.register(BootstrapContext<Enchantment> context, ResourceKey<Enchantment> key, Enchantment.Builder builder) -
Uses of ResourceKey in net.minecraft.world.item.enchantment.providers
Fields in net.minecraft.world.item.enchantment.providers declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.ENDERMAN_LOOT_DROPstatic final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.MOB_SPAWN_EQUIPMENTstatic final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.PILLAGER_SPAWN_CROSSBOWstatic final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.RAID_PILLAGER_POST_WAVE_3static final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.RAID_PILLAGER_POST_WAVE_5static final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.RAID_VINDICATORstatic final ResourceKey<EnchantmentProvider> VanillaEnchantmentProviders.RAID_VINDICATOR_POST_WAVE_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.COPPERstatic 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.TRADER_LLAMA_BABYstatic 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> assetId) 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<Identifier> 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 id) private static ResourceKey<TrimPattern> TrimPatterns.registryKey(String id) 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> equipmentAssetId) static IdentifierTrimPatterns.defaultAssetId(ResourceKey<TrimPattern> registryKey) ArmorTrim.layerAssetId(String layerAssetPrefix, ResourceKey<EquipmentAsset> equipmentAsset) private static voidTrimMaterials.register(BootstrapContext<TrimMaterial> context, ResourceKey<TrimMaterial> registryKey, Style hoverTextStyle, MaterialAssetGroup assets) static voidTrimPatterns.register(BootstrapContext<TrimPattern> context, ResourceKey<TrimPattern> registryKey) Method parameters in net.minecraft.world.item.equipment.trim with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic MaterialAssetGroupMaterialAssetGroup.create(String base, Map<ResourceKey<EquipmentAsset>, String> overrides) 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.item.trading
Fields in net.minecraft.world.item.trading declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<VillagerTrade> VillagerTrades.ARMORER_1_EMERALD_IRON_BOOTSstatic final ResourceKey<VillagerTrade> VillagerTrades.ARMORER_1_EMERALD_IRON_CHESTPLATEstatic final ResourceKey<VillagerTrade> VillagerTrades.ARMORER_1_EMERALD_IRON_HELMETstatic final ResourceKey<VillagerTrade> VillagerTrades.ARMORER_1_EMERALD_IRON_LEGGINGSstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_1_IRON_INGOT_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.ARMORER_2_EMERALD_CHAINMAIL_BOOTSstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_2_EMERALD_CHAINMAIL_BOOTS_GROUP_2static final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_2_EMERALD_CHAINMAIL_CHESTPLATE_GROUP_2static final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_2_EMERALD_CHAINMAIL_HELMET_GROUP_2static final ResourceKey<VillagerTrade> VillagerTrades.ARMORER_2_EMERALD_CHAINMAIL_LEGGINGSstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_2_EMERALD_CHAINMAIL_LEGGINGS_GROUP_2static final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_2_EMERALD_IRON_BOOTS_GROUP_1static final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_2_EMERALD_IRON_CHESTPLATE_GROUP_1static final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_2_EMERALD_IRON_HELMET_GROUP_1static final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_2_EMERALD_IRON_LEGGINGS_GROUP_1static final ResourceKey<VillagerTrade> VillagerTrades.ARMORER_3_DIAMOND_EMERALDstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_3_EMERALD_BELLstatic final ResourceKey<VillagerTrade> VillagerTrades.ARMORER_3_EMERALD_CHAINMAIL_CHESTPLATEstatic final ResourceKey<VillagerTrade> VillagerTrades.ARMORER_3_EMERALD_CHAINMAIL_HELMETstatic final ResourceKey<VillagerTrade> VillagerTrades.ARMORER_3_EMERALD_SHIELDstatic final ResourceKey<VillagerTrade> VillagerTrades.ARMORER_3_LAVA_BUCKET_EMERALDstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_AND_DIAMOND_BOOTS_DIAMOND_LEGGINGS_TAIGAstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_AND_DIAMOND_CHESTPLATE_DIAMOND_HELMET_TAIGAstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_AND_DIAMOND_HELMET_DIAMOND_BOOTS_TAIGAstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_AND_DIAMOND_LEGGINGS_DIAMOND_CHESTPLATE_TAIGAstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_CHAINMAIL_BOOTS_JUNGLEstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_CHAINMAIL_BOOTS_SWAMPstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_CHAINMAIL_CHESTPLATE_JUNGLEstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_CHAINMAIL_CHESTPLATE_SWAMPstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_CHAINMAIL_HELMET_JUNGLEstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_CHAINMAIL_HELMET_SWAMPstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_CHAINMAIL_LEGGINGS_JUNGLEstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_CHAINMAIL_LEGGINGS_SWAMPstatic final ResourceKey<VillagerTrade> VillagerTrades.ARMORER_4_EMERALD_ENCHANTED_DIAMOND_BOOTSstatic final ResourceKey<VillagerTrade> VillagerTrades.ARMORER_4_EMERALD_ENCHANTED_DIAMOND_LEGGINGSstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_IRON_BOOTS_DESERTstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_IRON_BOOTS_PLAINSstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_IRON_BOOTS_SAVANNAstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_IRON_BOOTS_SNOWstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_IRON_CHESTPLATE_DESERTstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_IRON_CHESTPLATE_PLAINSstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_IRON_CHESTPLATE_SAVANNAstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_IRON_HELMET_DESERTstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_IRON_HELMET_PLAINSstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_IRON_HELMET_SAVANNAstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_IRON_HELMET_SNOWstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_IRON_LEGGINGS_DESERTstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_IRON_LEGGINGS_PLAINSstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_4_EMERALD_ENCHANTED_IRON_LEGGINGS_SAVANNAstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_5_DIAMOND_BLOCK_EMERALD_TAIGAstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_5_EMERALD_AND_DIAMOND_DIAMOND_BOOTS_PLAINSstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_5_EMERALD_AND_DIAMOND_DIAMOND_BOOTS_SNOWstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_5_EMERALD_AND_DIAMOND_DIAMOND_CHESTPLATE_DESERTstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_5_EMERALD_AND_DIAMOND_DIAMOND_CHESTPLATE_SAVANNAstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_5_EMERALD_AND_DIAMOND_DIAMOND_CHESTPLATE_TAIGAstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_5_EMERALD_AND_DIAMOND_DIAMOND_HELMET_SAVANNAstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_5_EMERALD_AND_DIAMOND_DIAMOND_HELMET_SNOWstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_5_EMERALD_AND_DIAMOND_DIAMOND_LEGGINGS_DESERTstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_5_EMERALD_AND_DIAMOND_DIAMOND_LEGGINGS_PLAINSstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_5_EMERALD_AND_DIAMOND_DIAMOND_LEGGINGS_TAIGAstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_5_EMERALD_CHAINMAIL_BOOTS_JUNGLEstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_5_EMERALD_CHAINMAIL_BOOTS_SWAMPstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_5_EMERALD_CHAINMAIL_HELMET_JUNGLEstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_5_EMERALD_CHAINMAIL_HELMET_SWAMPstatic final ResourceKey<VillagerTrade> VillagerTrades.ARMORER_5_EMERALD_ENCHANTED_DIAMOND_CHESTPLATEstatic final ResourceKey<VillagerTrade> VillagerTrades.ARMORER_5_EMERALD_ENCHANTED_DIAMOND_HELMETstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.ARMORER_5_IRON_BLOCK_EMERALD_NON_TAIGAstatic final ResourceKey<TradeSet> TradeSets.ARMORER_LEVEL_1static final ResourceKey<TradeSet> TradeSets.ARMORER_LEVEL_2static final ResourceKey<TradeSet> TradeSets.ARMORER_LEVEL_3static final ResourceKey<TradeSet> TradeSets.ARMORER_LEVEL_4static final ResourceKey<TradeSet> TradeSets.ARMORER_LEVEL_5static final ResourceKey<VillagerTrade> VillagerTrades.BUTCHER_1_CHICKEN_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.BUTCHER_1_EMERALD_RABBIT_STEWstatic final ResourceKey<VillagerTrade> VillagerTrades.BUTCHER_1_PORKCHOP_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.BUTCHER_1_RABBIT_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.BUTCHER_2_COAL_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.BUTCHER_2_EMERALD_COOKED_CHICKENstatic final ResourceKey<VillagerTrade> VillagerTrades.BUTCHER_2_EMERALD_COOKED_PORKCHOPstatic final ResourceKey<VillagerTrade> VillagerTrades.BUTCHER_3_BEEF_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.BUTCHER_3_MUTTON_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.BUTCHER_4_DRIED_KELP_BLOCK_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.BUTCHER_5_SWEET_BERRIES_EMERALDstatic final ResourceKey<TradeSet> TradeSets.BUTCHER_LEVEL_1static final ResourceKey<TradeSet> TradeSets.BUTCHER_LEVEL_2static final ResourceKey<TradeSet> TradeSets.BUTCHER_LEVEL_3static final ResourceKey<TradeSet> TradeSets.BUTCHER_LEVEL_4static final ResourceKey<TradeSet> TradeSets.BUTCHER_LEVEL_5static final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_1_EMERALD_MAPstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_1_PAPER_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_2_EMERALD_AND_COMPASS_EXPLORER_JUNGLE_MAPstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_2_EMERALD_AND_COMPASS_EXPLORER_SWAMP_MAPstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_2_EMERALD_AND_COMPASS_VILLAGE_DESERT_MAPstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_2_EMERALD_AND_COMPASS_VILLAGE_PLAINS_MAPstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_2_EMERALD_AND_COMPASS_VILLAGE_SAVANNA_MAPstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_2_EMERALD_AND_COMPASS_VILLAGE_SNOWY_MAPstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_2_EMERALD_AND_COMPASS_VILLAGE_TAIGA_MAPstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_2_GLASS_PANE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_3_COMPASS_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_3_EMERALD_AND_COMPASS_OCEAN_EXPLORER_MAPstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_3_EMERALD_AND_COMPASS_TRIAL_CHAMBER_MAPstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_4_EMERALD_BLACK_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_4_EMERALD_BLUE_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_4_EMERALD_BROWN_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_4_EMERALD_CYAN_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_4_EMERALD_GRAY_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_4_EMERALD_GREEN_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_4_EMERALD_ITEM_FRAMEstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_4_EMERALD_LIGHT_BLUE_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_4_EMERALD_LIME_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_4_EMERALD_MAGENTA_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_4_EMERALD_ORANGE_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_4_EMERALD_PINK_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_4_EMERALD_PURPLE_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_4_EMERALD_RED_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_4_EMERALD_WHITE_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_4_EMERALD_YELLOW_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_5_EMERALD_AND_COMPASS_WOODLAND_MANSION_MAPstatic final ResourceKey<VillagerTrade> VillagerTrades.CARTOGRAPHER_5_EMERALD_GLOBE_BANNER_PATTERNstatic final ResourceKey<TradeSet> TradeSets.CARTOGRAPHER_LEVEL_1static final ResourceKey<TradeSet> TradeSets.CARTOGRAPHER_LEVEL_2static final ResourceKey<TradeSet> TradeSets.CARTOGRAPHER_LEVEL_3static final ResourceKey<TradeSet> TradeSets.CARTOGRAPHER_LEVEL_4static final ResourceKey<TradeSet> TradeSets.CARTOGRAPHER_LEVEL_5static final ResourceKey<VillagerTrade> VillagerTrades.CLERIC_1_EMERALD_REDSTONEstatic final ResourceKey<VillagerTrade> VillagerTrades.CLERIC_1_ROTTEN_FLESH_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.CLERIC_2_EMERALD_LAPIS_LAZULIstatic final ResourceKey<VillagerTrade> VillagerTrades.CLERIC_2_GOLD_INGOT_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.CLERIC_3_EMERALD_GLOWSTONEstatic final ResourceKey<VillagerTrade> VillagerTrades.CLERIC_3_RABBIT_FOOT_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.CLERIC_4_EMERALD_ENDER_PEARLstatic final ResourceKey<VillagerTrade> VillagerTrades.CLERIC_4_GLASS_BOTTLE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.CLERIC_4_TURTLE_SCUTE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.CLERIC_5_EMERALD_EXPERIENCE_BOTTLEstatic final ResourceKey<VillagerTrade> VillagerTrades.CLERIC_5_NETHER_WART_EMERALDstatic final ResourceKey<TradeSet> TradeSets.CLERIC_LEVEL_1static final ResourceKey<TradeSet> TradeSets.CLERIC_LEVEL_2static final ResourceKey<TradeSet> TradeSets.CLERIC_LEVEL_3static final ResourceKey<TradeSet> TradeSets.CLERIC_LEVEL_4static final ResourceKey<TradeSet> TradeSets.CLERIC_LEVEL_5static final ResourceKey<VillagerTrade> VillagerTrades.COMMON_SMITH_1_COAL_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.COMMON_SMITH_2_EMERALD_BELLstatic final ResourceKey<VillagerTrade> VillagerTrades.COMMON_SMITH_2_IRON_INGOT_EMERALDprivate final ResourceKey<Enchantment> TradeRebalanceVillagerTrades.BookTradeDefinition.enchantmentThe field for theenchantmentrecord component.static final ResourceKey<VillagerTrade> VillagerTrades.FARMER_1_BEETROOT_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FARMER_1_CARROT_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FARMER_1_EMERALD_BREADstatic final ResourceKey<VillagerTrade> VillagerTrades.FARMER_1_POTATO_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FARMER_1_WHEAT_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FARMER_2_EMERALD_APPLEstatic final ResourceKey<VillagerTrade> VillagerTrades.FARMER_2_EMERALD_PUMPKIN_PIEstatic final ResourceKey<VillagerTrade> VillagerTrades.FARMER_2_PUMPKIN_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FARMER_3_EMERALD_COOKIEstatic final ResourceKey<VillagerTrade> VillagerTrades.FARMER_3_MELON_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FARMER_4_EMERALD_CAKEstatic final ResourceKey<VillagerTrade> VillagerTrades.FARMER_4_EMERALD_SUSPICIOUS_STEWstatic final ResourceKey<VillagerTrade> VillagerTrades.FARMER_5_EMERALD_GLISTENING_MELON_SLICEstatic final ResourceKey<VillagerTrade> VillagerTrades.FARMER_5_EMERALD_GOLDEN_CARROTstatic final ResourceKey<TradeSet> TradeSets.FARMER_LEVEL_1static final ResourceKey<TradeSet> TradeSets.FARMER_LEVEL_2static final ResourceKey<TradeSet> TradeSets.FARMER_LEVEL_3static final ResourceKey<TradeSet> TradeSets.FARMER_LEVEL_4static final ResourceKey<TradeSet> TradeSets.FARMER_LEVEL_5static final ResourceKey<VillagerTrade> VillagerTrades.FISHERMAN_1_COAL_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FISHERMAN_1_EMERALD_COD_BUCKETstatic final ResourceKey<VillagerTrade> VillagerTrades.FISHERMAN_1_RAW_COD_AND_EMERALD_COOKED_CODstatic final ResourceKey<VillagerTrade> VillagerTrades.FISHERMAN_1_STRING_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FISHERMAN_2_COD_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FISHERMAN_2_EMERALD_CAMPFIREstatic final ResourceKey<VillagerTrade> VillagerTrades.FISHERMAN_2_SALMON_AND_EMERALD_COOKED_SALMONstatic final ResourceKey<VillagerTrade> VillagerTrades.FISHERMAN_3_EMERALD_ENCHANTED_FISHING_RODstatic final ResourceKey<VillagerTrade> VillagerTrades.FISHERMAN_3_SALMON_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FISHERMAN_4_TROPICAL_FISH_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FISHERMAN_5_ACACIA_BOAT_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FISHERMAN_5_DARK_OAK_BOAT_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FISHERMAN_5_JUNGLE_BOAT_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FISHERMAN_5_OAK_BOAT_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FISHERMAN_5_PUFFERFISH_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FISHERMAN_5_SPRUCE_BOAT_EMERALDstatic final ResourceKey<TradeSet> TradeSets.FISHERMAN_LEVEL_1static final ResourceKey<TradeSet> TradeSets.FISHERMAN_LEVEL_2static final ResourceKey<TradeSet> TradeSets.FISHERMAN_LEVEL_3static final ResourceKey<TradeSet> TradeSets.FISHERMAN_LEVEL_4static final ResourceKey<TradeSet> TradeSets.FISHERMAN_LEVEL_5static final ResourceKey<VillagerTrade> VillagerTrades.FLETCHER_1_EMERALD_ARROWstatic final ResourceKey<VillagerTrade> VillagerTrades.FLETCHER_1_GRAVEL_AND_EMERALD_ARROWstatic final ResourceKey<VillagerTrade> VillagerTrades.FLETCHER_1_STICK_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FLETCHER_2_EMERALD_BOWstatic final ResourceKey<VillagerTrade> VillagerTrades.FLETCHER_2_FLINT_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FLETCHER_3_EMERALD_CROSSBOWstatic final ResourceKey<VillagerTrade> VillagerTrades.FLETCHER_3_STRING_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FLETCHER_4_EMERALD_ENCHANTED_BOWstatic final ResourceKey<VillagerTrade> VillagerTrades.FLETCHER_4_FEATHER_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.FLETCHER_5_ARROW_AND_EMERALD_TIPPED_ARROWstatic final ResourceKey<VillagerTrade> VillagerTrades.FLETCHER_5_EMERALD_ENCHANTED_CROSSBOWstatic final ResourceKey<VillagerTrade> VillagerTrades.FLETCHER_5_TRIPWIRE_HOOK_EMERALDstatic final ResourceKey<TradeSet> TradeSets.FLETCHER_LEVEL_1static final ResourceKey<TradeSet> TradeSets.FLETCHER_LEVEL_2static final ResourceKey<TradeSet> TradeSets.FLETCHER_LEVEL_3static final ResourceKey<TradeSet> TradeSets.FLETCHER_LEVEL_4static final ResourceKey<TradeSet> TradeSets.FLETCHER_LEVEL_5static final ResourceKey<VillagerTrade> VillagerTrades.LEATHERWORKER_1_EMERALD_DYED_LEATHER_CHESTPLATEstatic final ResourceKey<VillagerTrade> VillagerTrades.LEATHERWORKER_1_EMERALD_DYED_LEATHER_LEGGINGSstatic final ResourceKey<VillagerTrade> VillagerTrades.LEATHERWORKER_1_LEATHER_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.LEATHERWORKER_2_EMERALD_DYED_LEATHER_BOOTSstatic final ResourceKey<VillagerTrade> VillagerTrades.LEATHERWORKER_2_EMERALD_DYED_LEATHER_HELMETstatic final ResourceKey<VillagerTrade> VillagerTrades.LEATHERWORKER_2_FLINT_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.LEATHERWORKER_3_EMERALD_DYED_LEATHER_CHESTPLATEstatic final ResourceKey<VillagerTrade> VillagerTrades.LEATHERWORKER_3_RABBIT_HIDE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.LEATHERWORKER_4_EMERALD_DYED_LEATHER_HORSE_ARMORstatic final ResourceKey<VillagerTrade> VillagerTrades.LEATHERWORKER_4_TURTLE_SCUTE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.LEATHERWORKER_5_EMERALD_DYED_LEATHER_HELMETstatic final ResourceKey<VillagerTrade> VillagerTrades.LEATHERWORKER_5_EMERALD_SADDLEstatic final ResourceKey<TradeSet> TradeSets.LEATHERWORKER_LEVEL_1static final ResourceKey<TradeSet> TradeSets.LEATHERWORKER_LEVEL_2static final ResourceKey<TradeSet> TradeSets.LEATHERWORKER_LEVEL_3static final ResourceKey<TradeSet> TradeSets.LEATHERWORKER_LEVEL_4static final ResourceKey<TradeSet> TradeSets.LEATHERWORKER_LEVEL_5static final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_1_EMERALD_AND_BOOK_DESERT_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> VillagerTrades.LIBRARIAN_1_EMERALD_AND_BOOK_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_1_EMERALD_AND_BOOK_JUNGLE_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_1_EMERALD_AND_BOOK_PLAINS_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_1_EMERALD_AND_BOOK_SAVANNA_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_1_EMERALD_AND_BOOK_SNOW_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_1_EMERALD_AND_BOOK_SWAMP_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_1_EMERALD_AND_BOOK_TAIGA_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> VillagerTrades.LIBRARIAN_1_EMERALD_BOOKSHELFstatic final ResourceKey<VillagerTrade> VillagerTrades.LIBRARIAN_1_PAPER_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.LIBRARIAN_2_BOOK_EMERALDstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_2_EMERALD_AND_BOOK_DESERT_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> VillagerTrades.LIBRARIAN_2_EMERALD_AND_BOOK_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_2_EMERALD_AND_BOOK_JUNGLE_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_2_EMERALD_AND_BOOK_PLAINS_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_2_EMERALD_AND_BOOK_SAVANNA_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_2_EMERALD_AND_BOOK_SNOW_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_2_EMERALD_AND_BOOK_SWAMP_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_2_EMERALD_AND_BOOK_TAIGA_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> VillagerTrades.LIBRARIAN_2_EMERALD_LANTERNstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_3_EMERALD_AND_BOOK_DESERT_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> VillagerTrades.LIBRARIAN_3_EMERALD_AND_BOOK_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_3_EMERALD_AND_BOOK_JUNGLE_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_3_EMERALD_AND_BOOK_PLAINS_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_3_EMERALD_AND_BOOK_SAVANNA_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_3_EMERALD_AND_BOOK_SNOW_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_3_EMERALD_AND_BOOK_SWAMP_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_3_EMERALD_AND_BOOK_TAIGA_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> VillagerTrades.LIBRARIAN_3_EMERALD_GLASSstatic final ResourceKey<VillagerTrade> VillagerTrades.LIBRARIAN_3_INK_SAC_EMERALDstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_4_EMERALD_AND_BOOK_DESERT_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> VillagerTrades.LIBRARIAN_4_EMERALD_AND_BOOK_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_4_EMERALD_AND_BOOK_JUNGLE_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_4_EMERALD_AND_BOOK_PLAINS_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_4_EMERALD_AND_BOOK_SAVANNA_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_4_EMERALD_AND_BOOK_SNOW_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_4_EMERALD_AND_BOOK_SWAMP_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_4_EMERALD_AND_BOOK_TAIGA_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> VillagerTrades.LIBRARIAN_4_EMERALD_CLOCKstatic final ResourceKey<VillagerTrade> VillagerTrades.LIBRARIAN_4_EMERALD_COMPASSstatic final ResourceKey<VillagerTrade> VillagerTrades.LIBRARIAN_4_WRITABLE_BOOK_EMERALDstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_5_EMERALD_AND_BOOK_DESERT_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_5_EMERALD_AND_BOOK_JUNGLE_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_5_EMERALD_AND_BOOK_PLAINS_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_5_EMERALD_AND_BOOK_SAVANNA_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_5_EMERALD_AND_BOOK_SNOW_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_5_EMERALD_AND_BOOK_SWAMP_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.LIBRARIAN_5_EMERALD_AND_BOOK_TAIGA_ENCHANTED_BOOKstatic final ResourceKey<VillagerTrade> VillagerTrades.LIBRARIAN_5_EMERALD_NAME_TAGstatic final ResourceKey<TradeSet> TradeSets.LIBRARIAN_LEVEL_1static final ResourceKey<TradeSet> TradeSets.LIBRARIAN_LEVEL_2static final ResourceKey<TradeSet> TradeSets.LIBRARIAN_LEVEL_3static final ResourceKey<TradeSet> TradeSets.LIBRARIAN_LEVEL_4static final ResourceKey<TradeSet> TradeSets.LIBRARIAN_LEVEL_5static final ResourceKey<VillagerTrade> VillagerTrades.MASON_1_CLAY_BALL_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_1_EMERALD_BRICKstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_2_EMERALD_CHISELED_STONE_BRICKSstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_2_STONE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_3_ANDESITE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_3_DIORITE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_3_EMERALD_DRIPSTONE_BLOCKstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_3_EMERALD_POLISHED_ANDESITEstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_3_EMERALD_POLISHED_DIORITEstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_3_EMERALD_POLISHED_GRANTITEstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_3_GRANITE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_BLACK_GLAZED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_BLACK_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_BLUE_GLAZED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_BLUE_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_BROWN_GLAZED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_BROWN_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_CYAN_GLAZED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_CYAN_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_GRAY_GLAZED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_GRAY_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_GREEN_GLAZED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_GREEN_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_LIGHT_BLUE_GLAZED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_LIGHT_BLUE_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_LIGHT_GRAY_GLAZED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_LIGHT_GRAY_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_LIME_GLAZED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_LIME_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_MAGENTA_GLAZED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_MAGENTA_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_ORANGE_GLAZED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_ORANGE_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_PINK_GLAZED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_PINK_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_PURPLE_GLAZED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_PURPLE_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_RED_GLAZED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_RED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_WHITE_GLAZED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_WHITE_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_YELLOW_GLAZED_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_EMERALD_YELLOW_TERRACOTTAstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_4_QUARTZ_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_5_EMERALD_QUARTZ_BLOCKstatic final ResourceKey<VillagerTrade> VillagerTrades.MASON_5_EMERALD_QUARTZ_PILLARstatic final ResourceKey<TradeSet> TradeSets.MASON_LEVEL_1static final ResourceKey<TradeSet> TradeSets.MASON_LEVEL_2static final ResourceKey<TradeSet> TradeSets.MASON_LEVEL_3static final ResourceKey<TradeSet> TradeSets.MASON_LEVEL_4static final ResourceKey<TradeSet> TradeSets.MASON_LEVEL_5private final ResourceKey<VillagerTrade> TradeRebalanceVillagerTrades.BookTradeDefinition.resourceKeyThe field for theresourceKeyrecord component.private final ResourceKey<VillagerTrade> VillagerTrades.VillagerExplorerMapEntry.resourceKeyThe field for theresourceKeyrecord component.static final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_1_BLACK_WOOL_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_1_BROWN_WOOL_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_1_EMERALD_SHEARSstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_1_GRAY_WOOL_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_1_WHITE_WOOL_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_BLACK_DYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_BLACK_CARPETstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_BLACK_WOOLstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_BLUE_CARPETstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_BLUE_WOOLstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_BROWN_CARPETstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_BROWN_WOOLstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_CYAN_CARPETstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_CYAN_WOOLstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_GRAY_CARPETstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_GRAY_WOOLstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_GREEN_CARPETstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_GREEN_WOOLstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_LIGHT_BLUE_CARPETstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_LIGHT_BLUE_WOOLstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_LIGHT_GRAY_CARPETstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_LIGHT_GRAY_WOOLstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_LIME_CARPETstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_LIME_WOOLstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_MAGENTA_CARPETstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_MAGENTA_WOOLstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_ORANGE_CARPETstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_ORANGE_WOOLstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_PINK_CARPETstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_PINK_WOOLstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_PURPLE_CARPETstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_PURPLE_WOOLstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_RED_CARPETstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_RED_WOOLstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_WHITE_CARPETstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_WHITE_WOOLstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_YELLOW_CARPETstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_EMERALD_YELLOW_WOOLstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_GRAY_DYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_LIGHT_BLUE_DYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_LIME_DYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_2_WHITE_DYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_EMERALD_BLACK_BEDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_EMERALD_BLUE_BEDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_EMERALD_BROWN_BEDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_EMERALD_CYAN_BEDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_EMERALD_GRAY_BEDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_EMERALD_GREEN_BEDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_EMERALD_LIGHT_BLUE_BEDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_EMERALD_LIGHT_GRAY_BEDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_EMERALD_LIME_BEDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_EMERALD_MAGENTA_BEDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_EMERALD_ORANGE_BEDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_EMERALD_PINK_BEDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_EMERALD_PURPLE_BEDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_EMERALD_RED_BEDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_EMERALD_WHITE_BEDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_EMERALD_YELLOW_BEDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_LIGHT_GRAY_DYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_ORANGE_DYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_PINK_DYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_RED_DYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_3_YELLOW_DYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_BLUE_DYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_BROWN_DYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_CYAN_DYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_EMERALD_BLACK_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_EMERALD_BLUE_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_EMERALD_BROWN_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_EMERALD_CYAN_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_EMERALD_GRAY_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_EMERALD_GREEN_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_EMERALD_LIGHT_BLUE_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_EMERALD_LIGHT_GRAY_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_EMERALD_LIME_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_EMERALD_MAGENTA_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_EMERALD_ORANGE_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_EMERALD_PINK_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_EMERALD_PURPLE_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_EMERALD_RED_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_EMERALD_WHITE_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_EMERALD_YELLOW_BANNERstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_GREEN_DYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_MAGENTA_DYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_4_PURPLE_DYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.SHEPHERD_5_EMERALD_PAINTINGstatic final ResourceKey<TradeSet> TradeSets.SHEPHERD_LEVEL_1static final ResourceKey<TradeSet> TradeSets.SHEPHERD_LEVEL_2static final ResourceKey<TradeSet> TradeSets.SHEPHERD_LEVEL_3static final ResourceKey<TradeSet> TradeSets.SHEPHERD_LEVEL_4static final ResourceKey<TradeSet> TradeSets.SHEPHERD_LEVEL_5static final ResourceKey<VillagerTrade> VillagerTrades.TOOLSMITH_1_EMERALD_STONE_AXEstatic final ResourceKey<VillagerTrade> VillagerTrades.TOOLSMITH_1_EMERALD_STONE_HOEstatic final ResourceKey<VillagerTrade> VillagerTrades.TOOLSMITH_1_EMERALD_STONE_PICKAXEstatic final ResourceKey<VillagerTrade> VillagerTrades.TOOLSMITH_1_EMERALD_STONE_SHOVELstatic final ResourceKey<VillagerTrade> VillagerTrades.TOOLSMITH_3_EMERALD_DIAMOND_HOEstatic final ResourceKey<VillagerTrade> VillagerTrades.TOOLSMITH_3_EMERALD_IRON_AXEstatic final ResourceKey<VillagerTrade> VillagerTrades.TOOLSMITH_3_EMERALD_IRON_PICKAXEstatic final ResourceKey<VillagerTrade> VillagerTrades.TOOLSMITH_3_EMERALD_IRON_SHOVELstatic final ResourceKey<VillagerTrade> VillagerTrades.TOOLSMITH_3_FLINT_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.TOOLSMITH_4_DIAMOND_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.TOOLSMITH_4_EMERALD_DIAMOND_AXEstatic final ResourceKey<VillagerTrade> VillagerTrades.TOOLSMITH_4_EMERALD_DIAMOND_SHOVELstatic final ResourceKey<VillagerTrade> VillagerTrades.TOOLSMITH_5_EMERALD_DIAMOND_PICKAXEstatic final ResourceKey<TradeSet> TradeSets.TOOLSMITH_LEVEL_1static final ResourceKey<TradeSet> TradeSets.TOOLSMITH_LEVEL_2static final ResourceKey<TradeSet> TradeSets.TOOLSMITH_LEVEL_3static final ResourceKey<TradeSet> TradeSets.TOOLSMITH_LEVEL_4static final ResourceKey<TradeSet> TradeSets.TOOLSMITH_LEVEL_5private final ResourceKey<VillagerType> TradeRebalanceVillagerTrades.BookTradeDefinition.villagerTypeThe field for thevillagerTyperecord component.static final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_BAKED_POTATO_EMERALDstatic final ResourceKey<TradeSet> TradeSets.WANDERING_TRADER_BUYINGstatic final ResourceKey<TradeSet> TradeSets.WANDERING_TRADER_COMMONstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_ACACIA_LOGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_ACACIA_SAPLINGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_ALLIUMstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_AZURE_BLUETstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_BEETROOT_SEEDSstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_BIRCH_LOGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_BIRCH_SAPLINGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_BLACK_DYEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_BLUE_DYEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_BLUE_ICEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_BLUE_ORCHIDstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_BRAIN_CORAL_BLOCKstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_BROWN_DYEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_BROWN_MUSHROOMstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_BUBBLE_CORAL_BLOCKstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_CACTUSstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_CHERRY_LOGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_CHERRY_SAPLINGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_CORNFLOWERstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_CYAN_DYEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_DANDELIONstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_DARK_OAK_LOGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_DARK_OAK_SAPLINGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_DRY_TALL_GRASSstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_ENCHANTED_IRON_PICKAXEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_FERNstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_FIRE_CORAL_BLOCKstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_FIREFLY_BUSHstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_GLOWSTONEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_GOLDEN_DANDELIONstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_GRAY_DYEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_GREEN_DYEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_GUNPOWDERstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_HORN_CORAL_BLOCKstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_JUNGLE_LOGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_JUNGLE_SAPLINGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_KELPstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_LIGHT_BLUE_DYEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_LIGHT_GRAY_DYEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_LILY_OF_THE_VALLEYstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_LILY_PADstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_LIME_DYEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_LONG_INVISIBILITY_POTIONstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_MAGENTA_DYEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_MANGROVE_LOGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_MANGROVE_PROPAGULEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_MELON_SEEDSstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_MOSS_BLOCKstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_NAUTILUS_SHELLstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_OAK_LOGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_OAK_SAPLINGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_OPEN_EYEBLOSSOMstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_ORANGE_DYEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_ORANGE_TULIPstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_OXEYE_DAISYstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_PACKED_ICEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_PALE_HANGING_MOSSstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_PALE_MOSS_BLOCKstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_PALE_OAK_LOGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_PALE_OAK_SAPLINGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_PINK_DYEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_PINK_TULIPstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_PODZOLstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_POINTED_DRIPSTONEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_POPPYstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_PUFFERFISH_BUCKETstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_PUMPKINstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_PUMPKIN_SEEDSstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_PURPLE_DYEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_RED_DYEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_RED_MUSHROOMstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_RED_SANDstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_RED_TULIPstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_ROOTED_DIRTstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_SANDstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_SEA_PICKLEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_SLIME_BALLstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_SMALL_DRIPLEAFstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_SPRUCE_LOGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_SPRUCE_SAPLINGstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_SUGAR_CANEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_TROPICAL_FISH_BUCKETstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_TUBE_CORAL_BLOCKstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_VINEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_WHEAT_SEEDSstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_WHITE_DYEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_WHITE_TULIPstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_WILDFLOWERSstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_EMERALD_YELLOW_DYEstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_FERMENTED_SPIDER_EYE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_HAY_BLOCK_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_MILK_BUCKET_EMERALDstatic final ResourceKey<TradeSet> TradeSets.WANDERING_TRADER_UNCOMMONstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_WATER_BOTTLE_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.WANDERING_TRADER_WATER_BUCKET_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.WEAPONSMITH_1_EMERALD_ENCHANTED_IRON_SWORDstatic final ResourceKey<VillagerTrade> VillagerTrades.WEAPONSMITH_1_EMERALD_IRON_AXEstatic final ResourceKey<VillagerTrade> VillagerTrades.WEAPONSMITH_3_FLINT_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.WEAPONSMITH_4_DIAMOND_EMERALDstatic final ResourceKey<VillagerTrade> VillagerTrades.WEAPONSMITH_4_EMERALD_ENCHANTED_DIAMOND_AXEstatic final ResourceKey<VillagerTrade> VillagerTrades.WEAPONSMITH_5_EMERALD_ENCHANTED_DIAMOND_SWORDstatic final ResourceKey<TradeSet> TradeSets.WEAPONSMITH_LEVEL_1static final ResourceKey<TradeSet> TradeSets.WEAPONSMITH_LEVEL_2static final ResourceKey<TradeSet> TradeSets.WEAPONSMITH_LEVEL_3static final ResourceKey<TradeSet> TradeSets.WEAPONSMITH_LEVEL_4static final ResourceKey<TradeSet> TradeSets.WEAPONSMITH_LEVEL_5Fields in net.minecraft.world.item.trading with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final List<ResourceKey<VillagerType>> VillagerTrades.VillagerExplorerMapEntry.villagerTypesThe field for thevillagerTypesrecord component.Methods in net.minecraft.world.item.trading that return ResourceKeyModifier and TypeMethodDescriptionTradeRebalanceVillagerTrades.BookTradeDefinition.enchantment()Returns the value of theenchantmentrecord component.TradeRebalanceVillagerTrades.BookTradeDefinition.resourceKey()Returns the value of theresourceKeyrecord component.static ResourceKey<TradeSet> TradeSets.resourceKey(String path) static ResourceKey<VillagerTrade> VillagerTrades.resourceKey(String path) VillagerTrades.VillagerExplorerMapEntry.resourceKey()Returns the value of theresourceKeyrecord component.TradeRebalanceVillagerTrades.BookTradeDefinition.villagerType()Returns the value of thevillagerTyperecord component.Methods in net.minecraft.world.item.trading that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionVillagerTrades.VillagerExplorerMapEntry.villagerTypes()Returns the value of thevillagerTypesrecord component.Methods in net.minecraft.world.item.trading with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic Holder.Reference<TradeSet> TradeSets.register(BootstrapContext<TradeSet> context, ResourceKey<TradeSet> resourceKey, TagKey<VillagerTrade> tradeTag) static Holder.Reference<TradeSet> TradeSets.register(BootstrapContext<TradeSet> context, ResourceKey<TradeSet> resourceKey, TagKey<VillagerTrade> tradeTag, NumberProvider numberProvider) static Holder.Reference<VillagerTrade> VillagerTrades.register(BootstrapContext<VillagerTrade> context, ResourceKey<VillagerTrade> resourceKey, VillagerTrade villagerTrade) static HolderSet<VillagerType> VillagerTrades.villagerTypeHolderSet(HolderGetter<VillagerType> villagerVariants, ResourceKey<VillagerType> resourceKey) Method parameters in net.minecraft.world.item.trading with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic HolderSet<VillagerType> VillagerTrades.villagerTypeHolderSet(HolderGetter<VillagerType> villagerVariants, List<ResourceKey<VillagerType>> resourceKeys) Constructors in net.minecraft.world.item.trading with parameters of type ResourceKeyModifierConstructorDescriptionprivateBookTradeDefinition(ResourceKey<VillagerTrade> resourceKey, ResourceKey<VillagerType> villagerType, ResourceKey<Enchantment> enchantment, int level) Creates an instance of aBookTradeDefinitionrecord class.privateVillagerExplorerMapEntry(ResourceKey<VillagerTrade> resourceKey, TagKey<Structure> structureTagKey, Holder<MapDecorationType> mapDecorationType, String translationKey, List<ResourceKey<VillagerType>> villagerTypes) Creates an instance of aVillagerExplorerMapEntryrecord class.Constructor parameters in net.minecraft.world.item.trading with type arguments of type ResourceKeyModifierConstructorDescriptionprivateVillagerExplorerMapEntry(ResourceKey<VillagerTrade> resourceKey, TagKey<Structure> structureTagKey, Holder<MapDecorationType> mapDecorationType, String translationKey, List<ResourceKey<VillagerType>> villagerTypes) Creates an instance of aVillagerExplorerMapEntryrecord 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> gameEvent, BlockPos pos, GameEvent.Context context) default <T> HolderLookup<T> LevelReader.holderLookup(ResourceKey<? extends Registry<? extends T>> key) Constructors in net.minecraft.world.level with parameters of type ResourceKeyModifierConstructorDescriptionprotectedLevel(WritableLevelData levelData, ResourceKey<Level> dimension, RegistryAccess registryAccess, Holder<DimensionType> dimensionTypeRegistration, boolean isClientSide, boolean isDebug, long biomeZoomSeed, int maxChainedNeighborUpdates) -
Uses of ResourceKey in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Biome> Biomes.BADLANDSstatic final ResourceKey<Biome> Biomes.BAMBOO_JUNGLEstatic final ResourceKey<Biome> Biomes.BASALT_DELTASstatic final ResourceKey<Biome> Biomes.BEACHstatic final ResourceKey<Biome> Biomes.BIRCH_FORESTstatic final ResourceKey<Biome> Biomes.CHERRY_GROVEstatic final ResourceKey<Biome> Biomes.COLD_OCEANstatic final ResourceKey<Biome> Biomes.CRIMSON_FORESTstatic final ResourceKey<Biome> Biomes.DARK_FORESTstatic final ResourceKey<Biome> Biomes.DEEP_COLD_OCEANstatic final ResourceKey<Biome> Biomes.DEEP_DARKstatic final ResourceKey<Biome> Biomes.DEEP_FROZEN_OCEANstatic final ResourceKey<Biome> Biomes.DEEP_LUKEWARM_OCEANstatic final ResourceKey<Biome> Biomes.DEEP_OCEANstatic final ResourceKey<Biome> Biomes.DESERTstatic final ResourceKey<Biome> Biomes.DRIPSTONE_CAVESstatic final ResourceKey<Biome> Biomes.END_BARRENSstatic final ResourceKey<Biome> Biomes.END_HIGHLANDSstatic final ResourceKey<Biome> Biomes.END_MIDLANDSstatic final ResourceKey<Biome> Biomes.ERODED_BADLANDSstatic final ResourceKey<Biome> Biomes.FLOWER_FORESTstatic final ResourceKey<Biome> Biomes.FORESTstatic final ResourceKey<Biome> Biomes.FROZEN_OCEANstatic final ResourceKey<Biome> Biomes.FROZEN_PEAKSstatic final ResourceKey<Biome> Biomes.FROZEN_RIVERstatic final ResourceKey<Biome> Biomes.GROVEstatic final ResourceKey<Biome> Biomes.ICE_SPIKESstatic final ResourceKey<Biome> Biomes.JAGGED_PEAKSstatic final ResourceKey<Biome> Biomes.JUNGLEstatic final ResourceKey<Biome> Biomes.LUKEWARM_OCEANstatic final ResourceKey<Biome> Biomes.LUSH_CAVESstatic final ResourceKey<Biome> Biomes.MANGROVE_SWAMPstatic final ResourceKey<Biome> Biomes.MEADOWprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.MIDDLE_BIOMESprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.MIDDLE_BIOMES_VARIANTstatic final ResourceKey<Biome> Biomes.MUSHROOM_FIELDSstatic final ResourceKey<MultiNoiseBiomeSourceParameterList> MultiNoiseBiomeSourceParameterLists.NETHERstatic final ResourceKey<Biome> Biomes.NETHER_WASTESstatic final ResourceKey<Biome> Biomes.OCEANprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.OCEANSstatic final ResourceKey<Biome> Biomes.OLD_GROWTH_BIRCH_FORESTstatic final ResourceKey<Biome> Biomes.OLD_GROWTH_PINE_TAIGAstatic final ResourceKey<Biome> Biomes.OLD_GROWTH_SPRUCE_TAIGAstatic final ResourceKey<MultiNoiseBiomeSourceParameterList> MultiNoiseBiomeSourceParameterLists.OVERWORLDstatic final ResourceKey<Biome> Biomes.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 temperatureIndex, int humidityIndex, Climate.Parameter weirdness, ResourceKey<Biome> underlyingBiome) private ResourceKey<Biome> OverworldBiomeBuilder.pickBadlandsBiome(int humidityIndex, Climate.Parameter weirdness) private ResourceKey<Biome> OverworldBiomeBuilder.pickBeachBiome(int temperatureIndex, int humidityIndex) private ResourceKey<Biome> OverworldBiomeBuilder.pickMiddleBiome(int temperatureIndex, int humidityIndex, Climate.Parameter weirdness) private ResourceKey<Biome> OverworldBiomeBuilder.pickMiddleBiomeOrBadlandsIfHot(int temperatureIndex, int humidityIndex, Climate.Parameter weirdness) private ResourceKey<Biome> OverworldBiomeBuilder.pickMiddleBiomeOrBadlandsIfHotOrSlopeIfCold(int temperatureIndex, int humidityIndex, Climate.Parameter weirdness) private ResourceKey<Biome> OverworldBiomeBuilder.pickPeakBiome(int temperatureIndex, int humidityIndex, Climate.Parameter weirdness) private ResourceKey<Biome> OverworldBiomeBuilder.pickPlateauBiome(int temperatureIndex, int humidityIndex, Climate.Parameter weirdness) private ResourceKey<Biome> OverworldBiomeBuilder.pickShatteredBiome(int temperatureIndex, int humidityIndex, Climate.Parameter weirdness) private ResourceKey<Biome> OverworldBiomeBuilder.pickShatteredCoastBiome(int temperatureIndex, int humidityIndex, Climate.Parameter weirdness) private ResourceKey<Biome> OverworldBiomeBuilder.pickSlopeBiome(int temperatureIndex, int humidityIndex, Climate.Parameter weirdness) 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>>> biomes, Climate.Parameter temperature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter weirdness, float offset, ResourceKey<Biome> biome) BiomeGenerationSettings.Builder.addCarver(ResourceKey<ConfiguredWorldCarver<?>> carver) BiomeGenerationSettings.Builder.addFeature(GenerationStep.Decoration step, ResourceKey<PlacedFeature> feature) private voidOverworldBiomeBuilder.addSurfaceBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter temperature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter weirdness, float offset, ResourceKey<Biome> second) private voidOverworldBiomeBuilder.addUndergroundBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter temperature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter weirdness, float offset, ResourceKey<Biome> biome) private ResourceKey<Biome> OverworldBiomeBuilder.maybePickWindsweptSavannaBiome(int temperatureIndex, int humidityIndex, Climate.Parameter weirdness, ResourceKey<Biome> underlyingBiome) booleanMultiNoiseBiomeSource.stable(ResourceKey<MultiNoiseBiomeSourceParameterList> expected) 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>>> biomes) private voidOverworldBiomeBuilder.addBottomBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter temperature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter weirdness, float offset, ResourceKey<Biome> biome) private voidOverworldBiomeBuilder.addDebugBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes) private voidOverworldBiomeBuilder.addHighSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter weirdness) private voidOverworldBiomeBuilder.addInlandBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes) private voidOverworldBiomeBuilder.addLowSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter weirdness) private voidOverworldBiomeBuilder.addMidSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter weirdness) private voidOverworldBiomeBuilder.addOffCoastBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes) private voidOverworldBiomeBuilder.addPeaks(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter weirdness) private voidOverworldBiomeBuilder.addSurfaceBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter temperature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter weirdness, float offset, ResourceKey<Biome> second) private voidOverworldBiomeBuilder.addUndergroundBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter temperature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter weirdness, float offset, ResourceKey<Biome> biome) private voidOverworldBiomeBuilder.addUndergroundBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes) private voidOverworldBiomeBuilder.addValleys(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter weirdness) <T> Climate.ParameterList<T> MultiNoiseBiomeSourceParameterList.Preset.SourceProvider.apply(Function<ResourceKey<Biome>, T> lookup) private static <T> Climate.ParameterList<T> MultiNoiseBiomeSourceParameterList.Preset.generateOverworldBiomes(Function<ResourceKey<Biome>, T> lookup) -
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<Block> SpreadingSnowyBlock.baseBlockprivate final ResourceKey<ConfiguredFeature<?, ?>> BonemealableFeaturePlacerBlock.featureprivate final ResourceKey<ConfiguredFeature<?, ?>> MushroomBlock.featureprivate final ResourceKey<ConfiguredFeature<?, ?>> NetherFungusBlock.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 name) Methods in net.minecraft.world.level.block with parameters of type ResourceKeyModifier and TypeMethodDescriptionprotected static booleanBlock.dropFromBlockInteractLootTable(ServerLevel level, ResourceKey<LootTable> key, BlockState interactedBlockState, @Nullable BlockEntity interactedBlockEntity, @Nullable ItemInstance tool, @Nullable Entity interactingEntity, BiConsumer<ServerLevel, ItemStack> consumer) protected static booleanBlock.dropFromLootTable(ServerLevel level, ResourceKey<LootTable> key, Function<LootParams.Builder, LootParams> paramsBuilder, BiConsumer<ServerLevel, ItemStack> consumer) private voidNyliumBlock.place(Registry<ConfiguredFeature<?, ?>> configuredFeatures, ResourceKey<ConfiguredFeature<?, ?>> id, ServerLevel level, ChunkGenerator generator, RandomSource random, BlockPos pos) private static BlockBlocks.register(ResourceKey<Block> id, Function<BlockBehaviour.Properties, Block> factory, BlockBehaviour.Properties properties) private static BlockBlocks.register(ResourceKey<Block> id, BlockBehaviour.Properties properties) Constructors in net.minecraft.world.level.block with parameters of type ResourceKeyModifierConstructorDescriptionAttachedStemBlock(ResourceKey<Block> stem, ResourceKey<Block> fruit, ResourceKey<Item> seed, TagKey<Block> supportBlocks, BlockBehaviour.Properties properties) BonemealableFeaturePlacerBlock(ResourceKey<ConfiguredFeature<?, ?>> feature, BlockBehaviour.Properties properties) MushroomBlock(ResourceKey<ConfiguredFeature<?, ?>> feature, BlockBehaviour.Properties properties) NetherFungusBlock(ResourceKey<ConfiguredFeature<?, ?>> feature, Block requiredBlock, TagKey<Block> supportBlocks, BlockBehaviour.Properties properties) SpreadingSnowyBlock(BlockBehaviour.Properties properties, ResourceKey<Block> baseBlock) StemBlock(ResourceKey<Block> fruit, ResourceKey<Block> attachedStem, ResourceKey<Item> seed, TagKey<Block> stemSupportBlocks, TagKey<Block> fruitSupportBlocks, BlockBehaviour.Properties properties) -
Uses of ResourceKey in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.ANGLERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.ARCHERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.ARMS_UPstatic final ResourceKey<BannerPattern> BannerPatterns.BASEstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.BLADEstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.BLANKstatic final ResourceKey<BannerPattern> BannerPatterns.BORDERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.BREWERstatic final ResourceKey<BannerPattern> BannerPatterns.BRICKSstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.BURNstatic final ResourceKey<BannerPattern> BannerPatterns.CIRCLE_MIDDLEstatic final ResourceKey<BannerPattern> BannerPatterns.CREEPERstatic final ResourceKey<BannerPattern> BannerPatterns.CROSSstatic final ResourceKey<BannerPattern> BannerPatterns.CURLY_BORDERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.DANGERstatic final ResourceKey<BannerPattern> BannerPatterns.DIAGONAL_LEFTstatic final ResourceKey<BannerPattern> BannerPatterns.DIAGONAL_LEFT_MIRRORstatic final ResourceKey<BannerPattern> BannerPatterns.DIAGONAL_RIGHTstatic final ResourceKey<BannerPattern> BannerPatterns.DIAGONAL_RIGHT_MIRRORstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.EXPLORERstatic final ResourceKey<BannerPattern> BannerPatterns.FLOWstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.FLOWstatic final ResourceKey<BannerPattern> BannerPatterns.FLOWERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.FRIENDstatic final ResourceKey<BannerPattern> BannerPatterns.GLOBEstatic final ResourceKey<BannerPattern> BannerPatterns.GRADIENTstatic final ResourceKey<BannerPattern> BannerPatterns.GRADIENT_UPstatic final ResourceKey<BannerPattern> BannerPatterns.GUSTERstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.GUSTERstatic final ResourceKey<BannerPattern> BannerPatterns.HALF_HORIZONTALstatic final ResourceKey<BannerPattern> BannerPatterns.HALF_HORIZONTAL_MIRRORstatic final ResourceKey<BannerPattern> BannerPatterns.HALF_VERTICALstatic final ResourceKey<BannerPattern> BannerPatterns.HALF_VERTICAL_MIRRORstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.HEARTstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.HEARTBREAKstatic final ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.HOWLprivate @Nullable ResourceKey<LootTable> BrushableBlockEntity.lootTableprotected @Nullable ResourceKey<LootTable> DecoratedPotBlockEntity.lootTableprotected @Nullable 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> @Nullable ResourceKey<LootTable> DecoratedPotBlockEntity.getLootTable()@Nullable ResourceKey<LootTable> RandomizableContainerBlockEntity.getLootTable()static @Nullable ResourceKey<DecoratedPotPattern> DecoratedPotPatterns.getPatternFromItem(Item item) 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> patternGetter, ResourceKey<BannerPattern> patternKey, DyeColor color) Deprecated.TestInstanceBlockEntity.getStructureSize(ServerLevel level, ResourceKey<GameTestInstance> testKey) private static Optional<StructureTemplate> TestInstanceBlockEntity.getStructureTemplate(ServerLevel level, ResourceKey<GameTestInstance> testKey) static voidBannerPatterns.register(BootstrapContext<BannerPattern> context, ResourceKey<BannerPattern> key) private static DecoratedPotPatternDecoratedPotPatterns.register(Registry<DecoratedPotPattern> registry, ResourceKey<DecoratedPotPattern> id, String assetId) voidBrushableBlockEntity.setLootTable(ResourceKey<LootTable> lootTable, long seed) voidDecoratedPotBlockEntity.setLootTable(@Nullable ResourceKey<LootTable> lootTable) voidRandomizableContainerBlockEntity.setLootTable(@Nullable ResourceKey<LootTable> lootTable) voidJigsawBlockEntity.setPool(ResourceKey<StructureTemplatePool> pool) 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.private static ResourceKey<TrialSpawnerConfig> TrialSpawnerConfigs.registryKey(String id) 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> type, Consumer<CompoundTag> tagModifier, @Nullable ResourceKey<LootTable> equipmentLootTable) voidTrialSpawner.ejectReward(ServerLevel level, BlockPos pos, ResourceKey<LootTable> ejectingLootTable) TrialSpawnerConfig.Builder.itemsToDropWhenOminous(ResourceKey<LootTable> itemsToDropWhenOminous) TrialSpawnerConfigs.spawnDataWithEquipment(EntityType<T> type, ResourceKey<LootTable> equipmentLootTable) Method parameters in net.minecraft.world.level.block.entity.trialspawner with type arguments of type ResourceKeyModifier and TypeMethodDescriptionTrialSpawnerConfig.Builder.lootTablesToEject(WeightedList<ResourceKey<LootTable>> lootTablesToEject) Constructors in net.minecraft.world.level.block.entity.trialspawner with parameters of type ResourceKeyModifierConstructorDescriptionprivateKeys(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 serverLevel, BlockPos pos, ResourceKey<LootTable> lootTableId) Constructors in net.minecraft.world.level.block.entity.vault with parameters of type ResourceKeyModifierConstructorDescriptionVaultConfig(ResourceKey<LootTable> lootTable, double activationRange, double deactivationRange, ItemStack keyItem, Optional<ResourceKey<LootTable>> overrideDisplayItems) 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> lootTable, double activationRange, double deactivationRange, ItemStack keyItem, Optional<ResourceKey<LootTable>> overrideDisplayItems) 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 @Nullable ResourceKey<ConfiguredFeature<?, ?>> TreeGrower.getConfiguredFeature(RandomSource random, boolean hasFlowers) private @Nullable ResourceKey<ConfiguredFeature<?, ?>> TreeGrower.getConfiguredMegaFeature(RandomSource random) Constructor parameters in net.minecraft.world.level.block.grower with type arguments of type ResourceKeyModifierConstructorDescriptionTreeGrower(String name, float secondaryChance, Optional<ResourceKey<ConfiguredFeature<?, ?>>> megaTree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> secondaryMegaTree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> tree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> secondaryTree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> flowers, Optional<ResourceKey<ConfiguredFeature<?, ?>>> secondaryFlowers) TreeGrower(String name, Optional<ResourceKey<ConfiguredFeature<?, ?>>> megaTree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> tree, Optional<ResourceKey<ConfiguredFeature<?, ?>>> flowers) -
Uses of ResourceKey in net.minecraft.world.level.block.state
Fields in net.minecraft.world.level.block.state declared as ResourceKeyModifier and TypeFieldDescriptionprivate @Nullable ResourceKey<Block> BlockBehaviour.Properties.idFields 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 ResourceKeyMethod parameters in net.minecraft.world.level.block.state with type arguments of type ResourceKeyModifier and TypeMethodDescriptionBlockBehaviour.Properties.overrideLootTable(Optional<ResourceKey<LootTable>> table) -
Uses of ResourceKey in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidChunkGenerator.createStructures(RegistryAccess registryAccess, ChunkGeneratorStructureState state, StructureManager structureManager, ChunkAccess centerChunk, StructureTemplateManager structureTemplateManager, ResourceKey<Level> level) private booleanChunkGenerator.tryGenerateStructure(StructureSet.StructureSelectionEntry selected, StructureManager structureManager, RegistryAccess registryAccess, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkAccess centerChunk, ChunkPos sourceChunkPos, SectionPos sectionPos, ResourceKey<Level> level) -
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.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> name, Path baseFolder) -
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 vibrationFrequency) Methods in net.minecraft.world.level.gameevent.vibrations with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic intVibrationSystem.getGameEventFrequency(ResourceKey<GameEvent> event) -
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 TypeFieldDescriptionprivate 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>> knownKeys) WorldDimensions.levels()static Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld(Map<ResourceKey<LevelStem>, LevelStem> dimensions, Holder<DimensionType> type, ChunkGenerator generator) static Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld(HolderLookup<DimensionType> dimensionTypes, Map<ResourceKey<LevelStem>, LevelStem> dimensions, ChunkGenerator generator) Methods in net.minecraft.world.level.levelgen with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static com.mojang.serialization.LifecycleWorldDimensions.checkStability(ResourceKey<LevelStem> key, LevelStem dimension) static RandomStateRandomState.create(HolderGetter.Provider holders, ResourceKey<NoiseGeneratorSettings> noiseSettings, long seed) WorldDimensions.get(ResourceKey<LevelStem> key) private static DensityFunctionNoiseRouterData.getFunction(HolderGetter<DensityFunction> functions, ResourceKey<DensityFunction> name) RandomState.getOrCreateNoise(ResourceKey<NormalNoise.NoiseParameters> noise) static NormalNoiseNoises.instantiate(HolderGetter<NormalNoise.NoiseParameters> noises, PositionalRandomFactory context, ResourceKey<NormalNoise.NoiseParameters> name) static SurfaceRules.ConditionSourceSurfaceRules.isBiome(ResourceKey<Biome>... target) private static booleanWorldDimensions.isVanillaLike(ResourceKey<LevelStem> key, LevelStem dimension) static SurfaceRules.ConditionSourceSurfaceRules.noiseCondition(ResourceKey<NormalNoise.NoiseParameters> noise, double minRange) static SurfaceRules.ConditionSourceSurfaceRules.noiseCondition(ResourceKey<NormalNoise.NoiseParameters> noise, double minRange, double maxRange) private static DensityFunctionNoiseRouterData.registerAndWrap(BootstrapContext<DensityFunction> context, ResourceKey<DensityFunction> name, DensityFunction value) private static voidNoiseRouterData.registerTerrainNoises(BootstrapContext<DensityFunction> context, HolderGetter<DensityFunction> functions, DensityFunction jaggedNoise, Holder<DensityFunction> continentsFunction, Holder<DensityFunction> erosionFunction, ResourceKey<DensityFunction> offsetName, ResourceKey<DensityFunction> factorName, ResourceKey<DensityFunction> jaggednessName, ResourceKey<DensityFunction> depthName, ResourceKey<DensityFunction> slopedCheeseName, boolean amplified) booleanNoiseBasedChunkGenerator.stable(ResourceKey<NoiseGeneratorSettings> expectedPreset) Method parameters in net.minecraft.world.level.levelgen with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static SurfaceRules.BiomeConditionSourceSurfaceRules.isBiome(List<ResourceKey<Biome>> target) static Stream<ResourceKey<LevelStem>> WorldDimensions.keysInOrder(Stream<ResourceKey<LevelStem>> knownKeys) static Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld(Map<ResourceKey<LevelStem>, LevelStem> dimensions, Holder<DimensionType> type, ChunkGenerator generator) static Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld(HolderLookup<DimensionType> dimensionTypes, Map<ResourceKey<LevelStem>, LevelStem> dimensions, ChunkGenerator generator) Constructors in net.minecraft.world.level.levelgen with parameters of type ResourceKeyModifierConstructorDescriptionprivateNoiseThresholdConditionSource(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 ResourceKeyModifierConstructorDescriptionprivateBiomeConditionSource(List<ResourceKey<Biome>> biomes) WorldDimensions(Map<ResourceKey<LevelStem>, LevelStem> dimensions) Creates an instance of aWorldDimensionsrecord class. -
Uses of ResourceKey in net.minecraft.world.level.levelgen.flat
Fields in net.minecraft.world.level.levelgen.flat declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.BOTTOMLESS_PITstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.CLASSIC_FLATstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.DESERTstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.OVERWORLDstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.REDSTONE_READYstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.SNOWY_KINGDOMstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.THE_VOIDstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.TUNNELERS_DREAMstatic final ResourceKey<FlatLevelGeneratorPreset> FlatLevelGeneratorPresets.WATER_WORLDMethods in net.minecraft.world.level.levelgen.flat that return ResourceKeyMethods in net.minecraft.world.level.levelgen.flat with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidFlatLevelGeneratorPresets.Bootstrap.register(ResourceKey<FlatLevelGeneratorPreset> key, ItemLike icon, ResourceKey<Biome> biome, Set<ResourceKey<StructureSet>> structures, boolean decoration, boolean addLakes, FlatLayerInfo... layers) Method parameters in net.minecraft.world.level.levelgen.flat with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate voidFlatLevelGeneratorPresets.Bootstrap.register(ResourceKey<FlatLevelGeneratorPreset> key, ItemLike icon, ResourceKey<Biome> biome, Set<ResourceKey<StructureSet>> structures, boolean decoration, boolean addLakes, FlatLayerInfo... layers) -
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 dimensions) Methods in net.minecraft.world.level.levelgen.presets with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidWorldPresets.Bootstrap.registerCustomOverworldPreset(ResourceKey<WorldPreset> debug, LevelStem overworld) Constructor parameters in net.minecraft.world.level.levelgen.presets with type arguments of type ResourceKey -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<StructureSet> BuiltinStructureSets.ANCIENT_CITIESstatic final ResourceKey<Structure> BuiltinStructures.ANCIENT_CITYstatic final ResourceKey<Structure> BuiltinStructures.BASTION_REMNANTstatic final ResourceKey<Structure> BuiltinStructures.BURIED_TREASUREstatic final ResourceKey<StructureSet> BuiltinStructureSets.BURIED_TREASURESstatic final ResourceKey<Structure> BuiltinStructures.DESERT_PYRAMIDstatic final ResourceKey<StructureSet> BuiltinStructureSets.DESERT_PYRAMIDSprivate final ResourceKey<Level> StructureCheck.dimensionstatic final ResourceKey<StructureSet> BuiltinStructureSets.END_CITIESstatic final ResourceKey<Structure> BuiltinStructures.END_CITYstatic final ResourceKey<Structure> BuiltinStructures.FORTRESSstatic final ResourceKey<Structure> BuiltinStructures.IGLOOstatic final ResourceKey<StructureSet> BuiltinStructureSets.IGLOOSstatic final ResourceKey<Structure> BuiltinStructures.JUNGLE_TEMPLEstatic final ResourceKey<StructureSet> BuiltinStructureSets.JUNGLE_TEMPLESstatic final ResourceKey<Structure> BuiltinStructures.MINESHAFTstatic final ResourceKey<Structure> BuiltinStructures.MINESHAFT_MESAstatic final ResourceKey<StructureSet> BuiltinStructureSets.MINESHAFTSstatic final ResourceKey<StructureSet> BuiltinStructureSets.NETHER_COMPLEXESstatic final ResourceKey<Structure> BuiltinStructures.NETHER_FOSSILstatic final ResourceKey<StructureSet> BuiltinStructureSets.NETHER_FOSSILSstatic final ResourceKey<Structure> BuiltinStructures.OCEAN_MONUMENTstatic final ResourceKey<StructureSet> BuiltinStructureSets.OCEAN_MONUMENTSstatic final ResourceKey<Structure> BuiltinStructures.OCEAN_RUIN_COLDstatic final ResourceKey<Structure> BuiltinStructures.OCEAN_RUIN_WARMstatic final ResourceKey<StructureSet> BuiltinStructureSets.OCEAN_RUINSstatic final ResourceKey<Structure> BuiltinStructures.PILLAGER_OUTPOSTstatic final ResourceKey<StructureSet> BuiltinStructureSets.PILLAGER_OUTPOSTSstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_DESERTstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_JUNGLEstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_MOUNTAINstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_NETHERstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_OCEANstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_STANDARDstatic final ResourceKey<Structure> BuiltinStructures.RUINED_PORTAL_SWAMPstatic final ResourceKey<StructureSet> BuiltinStructureSets.RUINED_PORTALSstatic final ResourceKey<Structure> BuiltinStructures.SHIPWRECKstatic final ResourceKey<Structure> BuiltinStructures.SHIPWRECK_BEACHEDstatic final ResourceKey<StructureSet> BuiltinStructureSets.SHIPWRECKSstatic final ResourceKey<Structure> BuiltinStructures.STRONGHOLDstatic final ResourceKey<StructureSet> BuiltinStructureSets.STRONGHOLDSstatic final ResourceKey<Structure> BuiltinStructures.SWAMP_HUTstatic final ResourceKey<StructureSet> BuiltinStructureSets.SWAMP_HUTSstatic final ResourceKey<Structure> BuiltinStructures.TRAIL_RUINSstatic final ResourceKey<StructureSet> BuiltinStructureSets.TRAIL_RUINSstatic final ResourceKey<Structure> BuiltinStructures.TRIAL_CHAMBERSstatic final ResourceKey<StructureSet> BuiltinStructureSets.TRIAL_CHAMBERSstatic final ResourceKey<Structure> BuiltinStructures.VILLAGE_DESERTstatic final ResourceKey<Structure> BuiltinStructures.VILLAGE_PLAINSstatic final ResourceKey<Structure> BuiltinStructures.VILLAGE_SAVANNAstatic final ResourceKey<Structure> BuiltinStructures.VILLAGE_SNOWYstatic final ResourceKey<Structure> BuiltinStructures.VILLAGE_TAIGAstatic final ResourceKey<StructureSet> BuiltinStructureSets.VILLAGESstatic final ResourceKey<Structure> BuiltinStructures.WOODLAND_MANSIONstatic final ResourceKey<StructureSet> BuiltinStructureSets.WOODLAND_MANSIONSMethods in net.minecraft.world.level.levelgen.structure that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<Structure> private static ResourceKey<StructureSet> Methods in net.minecraft.world.level.levelgen.structure with parameters of type ResourceKeyModifier and TypeMethodDescriptionprotected booleanStructurePiece.createChest(ServerLevelAccessor level, BoundingBox chunkBB, RandomSource random, BlockPos pos, ResourceKey<LootTable> lootTable, @Nullable BlockState blockState) protected booleanStructurePiece.createChest(WorldGenLevel level, BoundingBox chunkBB, RandomSource random, int x, int y, int z, ResourceKey<LootTable> lootTable) protected booleanStructurePiece.createDispenser(WorldGenLevel level, BoundingBox chunkBB, RandomSource random, int x, int y, int z, Direction facing, ResourceKey<LootTable> lootTable) Structure.generate(Holder<Structure> selected, ResourceKey<Level> dimension, RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkPos sourceChunkPos, int references, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type ResourceKeyModifierConstructorDescriptionStructureCheck(ChunkScanAccess storageAccess, RegistryAccess registryAccess, StructureTemplateManager structureTemplateManager, ResourceKey<Level> dimension, ChunkGenerator chunkGenerator, RandomState randomState, LevelHeightAccessor heightAccessor, BiomeSource biomeSource, long seed, com.mojang.datafixers.DataFixer fixerUpper) -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure.pools.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> alias) 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> alias, ResourceKey<StructureTemplatePool> target) PoolAliasLookup.lookup(ResourceKey<StructureTemplatePool> alias) static RandomPoolAliasPoolAliasBinding.random(ResourceKey<StructureTemplatePool> id, WeightedList<ResourceKey<StructureTemplatePool>> targets) Method parameters in net.minecraft.world.level.levelgen.structure.pools.alias with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidDirectPoolAlias.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> aliasAndTargetConsumer) voidDirectPoolAlias.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> aliasAndTargetConsumer) voidPoolAliasBinding.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> aliasAndTargetConsumer) voidPoolAliasBinding.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> aliasAndTargetConsumer) voidRandomGroupPoolAlias.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> aliasAndTargetConsumer) voidRandomGroupPoolAlias.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> aliasAndTargetConsumer) voidRandomPoolAlias.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> aliasAndTargetConsumer) voidRandomPoolAlias.forEachResolved(RandomSource random, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> aliasAndTargetConsumer) static RandomPoolAliasPoolAliasBinding.random(ResourceKey<StructureTemplatePool> id, WeightedList<ResourceKey<StructureTemplatePool>> targets) 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 TypeFieldDescriptionprivate 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 candidateBlock, Block replacementBlock, ResourceKey<LootTable> lootTable) protected booleanMineshaftPieces.MineShaftCorridor.createChest(WorldGenLevel level, BoundingBox chunkBB, RandomSource random, int x, int y, int z, ResourceKey<LootTable> lootTable) -
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, Identifier name, ResourceKey<StructureTemplatePool> pool, Identifier 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 scale, boolean isLocked, ResourceKey<Level> dimension) static MapItemSavedDataMapItemSavedData.createFresh(double originX, double originY, byte scale, boolean trackingPosition, boolean unlimitedTracking, ResourceKey<Level> dimension) Constructors in net.minecraft.world.level.saveddata.maps with parameters of type ResourceKeyModifierConstructorDescriptionprivateMapItemSavedData(int centerX, int centerZ, byte scale, boolean trackingPosition, boolean unlimitedTracking, boolean locked, ResourceKey<Level> dimension) privateMapItemSavedData(ResourceKey<Level> dimension, int centerX, int centerZ, byte scale, ByteBuffer colors, boolean trackingPosition, boolean unlimitedTracking, boolean locked, List<MapBanner> banners, List<MapFrame> frames) -
Uses of ResourceKey in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage that return ResourceKeyMethods in net.minecraft.world.level.storage with parameters of type ResourceKeyModifier and TypeMethodDescriptionLevelStorageSource.LevelStorageAccess.getDimensionPath(ResourceKey<Level> name) static LevelData.RespawnDataLevelData.RespawnData.of(ResourceKey<Level> dimension, BlockPos pos, float yaw, float pitch) -
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_BRUSHstatic 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.CARVE_PUMPKINstatic final ResourceKey<LootTable> BuiltInLootTables.CAT_MORNING_GIFTstatic final ResourceKey<LootTable> BuiltInLootTables.CHARGED_CREEPERstatic final ResourceKey<LootTable> BuiltInLootTables.CHARGED_CREEPER_CREEPERstatic final ResourceKey<LootTable> BuiltInLootTables.CHARGED_CREEPER_PIGLINstatic final ResourceKey<LootTable> BuiltInLootTables.CHARGED_CREEPER_SKELETONstatic final ResourceKey<LootTable> BuiltInLootTables.CHARGED_CREEPER_WITHER_SKELETONstatic final ResourceKey<LootTable> BuiltInLootTables.CHARGED_CREEPER_ZOMBIEstatic 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.HARVEST_BEEHIVEstatic final ResourceKey<LootTable> BuiltInLootTables.HARVEST_CAVE_VINEstatic final ResourceKey<LootTable> BuiltInLootTables.HARVEST_SWEET_BERRY_BUSHstatic 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.TURTLE_GROWstatic 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> location) 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 prefix) Methods in net.minecraft.world.level.storage.loot with parameters of type ResourceKeyModifier and TypeMethodDescriptionValidationContext.enterElement(ProblemReporter.PathElement subContext, ResourceKey<?> element) booleanValidationContext.hasVisitedElement(ResourceKey<?> element) private static ResourceKey<LootTable> BuiltInLootTables.register(ResourceKey<LootTable> location) voidLootDataType.runValidation(ValidationContextSource contextSource, ResourceKey<T> key, T value) static <T extends Validatable>
voidValidatable.validateReference(ValidationContext context, ResourceKey<T> id) Constructors in net.minecraft.world.level.storage.loot with parameters of type ResourceKeyModifierConstructorDescriptionprivateLootDataType(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.ContextGetter<T> contextGetter) 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.ContextGetter<T> contextGetter, @Nullable T defaultValue, com.mojang.serialization.Codec<Optional<T>> conditionalCodec, BiConsumer<T, Identifier> idSetter) Creates an instance of aLootDataTyperecord class.privateLootDataType(ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec, LootDataType.ContextGetter<T> contextGetter, @Nullable T defaultValue, BiConsumer<T, Identifier> 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 reporter, ContextKeySet contextKeySet, Optional<HolderGetter.Provider> resolver, Set<ResourceKey<?>> visitedElements) -
Uses of ResourceKey in net.minecraft.world.level.storage.loot.entries
Fields in net.minecraft.world.level.storage.loot.entries with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final com.mojang.datafixers.util.Either<ResourceKey<LootTable>, LootTable> NestedLootTable.contentsMethods in net.minecraft.world.level.storage.loot.entries with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder<?> NestedLootTable.lootTableReference(ResourceKey<LootTable> name) Constructor parameters in net.minecraft.world.level.storage.loot.entries with type arguments of type ResourceKeyModifierConstructorDescriptionprivateNestedLootTable(com.mojang.datafixers.util.Either<ResourceKey<LootTable>, LootTable> contents, int weight, int quality, List<LootItemCondition> conditions, List<LootItemFunction> functions) -
Uses of ResourceKey in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootItemFunction> FunctionReference.nameprivate final ResourceKey<LootTable> SetContainerLootTable.nameMethods in net.minecraft.world.level.storage.loot.functions with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?> FunctionReference.functionReference(ResourceKey<LootItemFunction> name) static LootItemConditionalFunction.Builder<?> SetContainerLootTable.withLootTable(BlockEntityType<?> type, ResourceKey<LootTable> value) static LootItemConditionalFunction.Builder<?> SetContainerLootTable.withLootTable(BlockEntityType<?> type, ResourceKey<LootTable> value, long seed) Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type ResourceKeyModifierConstructorDescriptionprivateFunctionReference(List<LootItemCondition> predicates, ResourceKey<LootItemFunction> name) privateSetContainerLootTable(List<LootItemCondition> predicates, ResourceKey<LootTable> name, long seed, Holder<BlockEntityType<?>> type) -
Uses of ResourceKey in net.minecraft.world.level.storage.loot.predicates
Fields in net.minecraft.world.level.storage.loot.predicates declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<LootItemCondition> ConditionReference.nameThe field for thenamerecord component.Methods in net.minecraft.world.level.storage.loot.predicates that return ResourceKeyModifier and TypeMethodDescriptionConditionReference.name()Returns the value of thenamerecord component.Methods in net.minecraft.world.level.storage.loot.predicates with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic LootItemCondition.BuilderConditionReference.conditionReference(ResourceKey<LootItemCondition> name) Constructors in net.minecraft.world.level.storage.loot.predicates with parameters of type ResourceKeyModifierConstructorDescriptionCreates an instance of aConditionReferencerecord class. -
Uses of ResourceKey in net.minecraft.world.timeline
Fields in net.minecraft.world.timeline declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Timeline> Timelines.EARLY_GAMEstatic final ResourceKey<Timeline> Timelines.MOONstatic final ResourceKey<Timeline> Timelines.OVERWORLD_DAYstatic final ResourceKey<Timeline> Timelines.VILLAGER_SCHEDULEFields in net.minecraft.world.timeline with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final ImmutableMap.Builder<ResourceKey<ClockTimeMarker>, Timeline.TimeMarkerInfo> Timeline.Builder.timeMarkersprivate final Map<ResourceKey<ClockTimeMarker>, Timeline.TimeMarkerInfo> Timeline.timeMarkersMethods in net.minecraft.world.timeline that return ResourceKeyMethods in net.minecraft.world.timeline with parameters of type ResourceKeyModifier and TypeMethodDescriptionTimeline.Builder.addTimeMarker(ResourceKey<ClockTimeMarker> id, int ticks) Timeline.Builder.addTimeMarker(ResourceKey<ClockTimeMarker> id, int ticks, boolean showInCommands) Method parameters in net.minecraft.world.timeline with type arguments of type ResourceKeyModifier and TypeMethodDescriptionvoidTimeline.registerTimeMarkers(BiConsumer<ResourceKey<ClockTimeMarker>, ClockTimeMarker> output) static voidTimeline.validateRegistry(Registry<Timeline> timelines, Map<ResourceKey<?>, Exception> loadingErrors) -
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> style, Optional<Integer> color) -
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.editorsprivate final Map<ResourceKey<Level>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> RegisterDimensionTransitionScreenEvent.fromEffectsprivate final Map<ResourceKey<Level>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> RegisterDimensionTransitionScreenEvent.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) RegisterPresetEditorsEvent(Map<ResourceKey<WorldPreset>, PresetEditor> editors) -
Uses of ResourceKey in net.neoforged.neoforge.client.internal
Methods in net.neoforged.neoforge.client.internal with parameters of type ResourceKeyModifier and TypeMethodDescription<T> @Nullable 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.Methods in net.neoforged.neoforge.common with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic 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, Identifier registryName) static <TRegistry>
IConditionNeoForgeConditions.registered(ResourceKey<TRegistry> registryKey) static <TRegistry>
IConditionNeoForgeConditions.tagEmpty(ResourceKey<? extends Registry<TRegistry>> tagType, Identifier 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
Subclasses with type arguments of type ResourceKey in net.neoforged.neoforge.common.craftingFields 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<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. seeIHolderLookupProviderExtensiondefault <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. seeIHolderLookupProviderExtension -
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 ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level> BlockSnapshot.dimprivate final ResourceKey<ClockTimeMarker> ClockAdjustment.Marker.markerThe field for themarkerrecord component.Methods in net.neoforged.neoforge.common.util that return ResourceKeyModifier and TypeMethodDescriptionBlockSnapshot.getDimension()Returns the recorded dimension key.ClockAdjustment.Marker.marker()Returns the value of themarkerrecord component.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) Marker(ResourceKey<ClockTimeMarker> marker) Creates an instance of aMarkerrecord class. -
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.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.internal
Methods in net.neoforged.neoforge.internal with parameters of type ResourceKeyModifier and TypeMethodDescription<T> @Nullable 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<Identifier>> KnownRegistryDataMapsReplyPayload.dataMapsThe field for thedataMapsrecord component.private final Map<Identifier, 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<Identifier>> KnownRegistryDataMapsReplyPayload.dataMaps()Returns the value of thedataMapsrecord component.Map<Identifier, 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<Identifier, 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<Identifier>> dataMaps) Creates an instance of aKnownRegistryDataMapsReplyPayloadrecord class.RegistryDataMapSyncPayload(ResourceKey<? extends Registry<T>> registryKey, Map<Identifier, 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<Identifier>>> RegistryManager.ATTRIBUTE_KNOWN_DATA_MAPS(package private) final Map<DataMapType<T, ?>, Map<ResourceKey<T>, ?>> BaseMappedRegistry.dataMapsprivate static Map<ResourceKey<Registry<?>>, Map<Identifier, 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<Identifier, 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<Identifier, 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, Identifier 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, Identifier key) protected <I extends T>
DeferredHolder<T, I> DeferredRegister.createHolder(ResourceKey<? extends Registry<T>> registryKey, Identifier key) Create aDeferredHolderor an inheriting type to be stored.protected <I extends Item>
DeferredItem<I> DeferredRegister.Items.createHolder(ResourceKey<? extends Registry<Item>> registryKey, Identifier 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> @Nullable ABaseMappedRegistry.getData(DataMapType<T, A> type, ResourceKey<T> key) static <R> @Nullable DataMapType<R, ?> RegistryManager.getDataMap(ResourceKey<? extends Registry<R>> registry, Identifier 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> @Nullable 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, Identifier 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<Identifier, 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(Identifier 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(Identifier 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, Identifier 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, Identifier id, com.mojang.serialization.Codec<T> codec) (package private)Builder(ResourceKey<Registry<R>> registryKey, Identifier id, com.mojang.serialization.Codec<T> codec) (package private)DataMapType(ResourceKey<Registry<R>> registryKey, Identifier 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<Identifier, 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<Identifier>> namesFunction, String argumentString, ResourceKey<Registry<T>> registryKey)
PresetEditorManager.get(ResourceKey)instead.