Uses of Class
net.minecraft.resources.ResourceKey
Packages that use ResourceKey
Package
Description
-
Uses of ResourceKey in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Biome>LocationPredicate.biomeprivate ResourceKey<Biome>LocationPredicate.Builder.biomeprivate ResourceKey<Level>LocationPredicate.Builder.dimensionprivate final ResourceKey<Level>LocationPredicate.dimensionprivate ResourceKey<ConfiguredStructureFeature<?,?>> LocationPredicate.Builder.featureprivate final ResourceKey<ConfiguredStructureFeature<?,?>> LocationPredicate.featureprivate final ResourceKey<Level>ChangeDimensionTrigger.TriggerInstance.fromprivate final ResourceKey<Level>ChangeDimensionTrigger.TriggerInstance.toMethods in net.minecraft.advancements.critereon with parameters of type ResourceKeyModifier and TypeMethodDescriptionChangeDimensionTrigger.TriggerInstance.changedDimension(ResourceKey<Level> p_147561_, ResourceKey<Level> p_147562_) ChangeDimensionTrigger.TriggerInstance.changedDimensionFrom(ResourceKey<Level> p_147564_) ChangeDimensionTrigger.TriggerInstance.changedDimensionTo(ResourceKey<Level> p_19783_) static LocationPredicateLocationPredicate.inBiome(ResourceKey<Biome> p_52635_) static LocationPredicateLocationPredicate.inDimension(ResourceKey<Level> p_52639_) static LocationPredicateLocationPredicate.inFeature(ResourceKey<ConfiguredStructureFeature<?, ?>> p_207929_) booleanChangeDimensionTrigger.TriggerInstance.matches(ResourceKey<Level> p_19785_, ResourceKey<Level> p_19786_) LocationPredicate.Builder.setBiome(ResourceKey<Biome> p_52657_) LocationPredicate.Builder.setDimension(ResourceKey<Level> p_153977_) LocationPredicate.Builder.setFeature(ResourceKey<ConfiguredStructureFeature<?, ?>> p_207931_) voidChangeDimensionTrigger.trigger(ServerPlayer p_19758_, ResourceKey<Level> p_19759_, ResourceKey<Level> p_19760_) Constructors in net.minecraft.advancements.critereon with parameters of type ResourceKeyModifierConstructorDescriptionLocationPredicate(MinMaxBounds.Doubles p_207916_, MinMaxBounds.Doubles p_207917_, MinMaxBounds.Doubles p_207918_, ResourceKey<Biome> p_207919_, ResourceKey<ConfiguredStructureFeature<?, ?>> p_207920_, ResourceKey<Level> p_207921_, Boolean p_207922_, LightPredicate p_207923_, BlockPredicate p_207924_, FluidPredicate p_207925_) TriggerInstance(EntityPredicate.Composite p_19777_, ResourceKey<Level> p_19778_, ResourceKey<Level> p_19779_) -
Uses of ResourceKey in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens declared as ResourceKeyModifier and TypeFieldDescriptionprivate static final ResourceKey<Biome>PresetFlatWorldScreen.DEFAULT_BIOMEMethods in net.minecraft.client.gui.screens with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidPresetFlatWorldScreen.preset(Component p_210850_, ItemLike p_210851_, ResourceKey<Biome> p_210852_, Set<ResourceKey<StructureSet>> p_210853_, boolean p_210854_, boolean p_210855_, FlatLayerInfo... p_210856_) Method parameters in net.minecraft.client.gui.screens with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidPresetFlatWorldScreen.preset(Component p_210850_, ItemLike p_210851_, ResourceKey<Biome> p_210852_, Set<ResourceKey<StructureSet>> p_210853_, boolean p_210854_, boolean p_210855_, FlatLayerInfo... p_210856_) -
Uses of ResourceKey in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Level>>OptimizeWorldScreen.DIMENSION_COLORSMethods in net.minecraft.client.gui.screens.worldselection with parameters of type ResourceKeyModifier and TypeMethodDescription(package private) static NoiseBasedChunkGeneratorWorldPreset.fixedBiomeGenerator(RegistryAccess p_194086_, long p_194087_, ResourceKey<NoiseGeneratorSettings> p_194088_) -
Uses of ResourceKey in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer with type parameters of type ResourceKeyMethods in net.minecraft.client.multiplayer that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionClientPacketListener.levels()ClientSuggestionProvider.levels()Methods in net.minecraft.client.multiplayer with parameters of type ResourceKeyModifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ClientSuggestionProvider.suggestRegistryElements(ResourceKey<? extends Registry<?>> p_212429_, SharedSuggestionProvider.ElementSuggestionType p_212430_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212431_, com.mojang.brigadier.context.CommandContext<?> p_212432_) private <T> voidClientPacketListener.updateTagsForRegistry(ResourceKey<? extends Registry<? extends T>> p_205561_, TagNetworkSerialization.NetworkPayload p_205562_) Constructors in net.minecraft.client.multiplayer with parameters of type ResourceKeyModifierConstructorDescriptionClientLevel(ClientPacketListener p_205505_, ClientLevel.ClientLevelData p_205506_, ResourceKey<Level> p_205507_, Holder<DimensionType> p_205508_, int p_205509_, int p_205510_, Supplier<ProfilerFiller> p_205511_, LevelRenderer p_205512_, boolean p_205513_, long p_205514_) -
Uses of ResourceKey in net.minecraft.commands
Methods in net.minecraft.commands that return types with arguments of type ResourceKeyMethods in net.minecraft.commands with parameters of type ResourceKeyModifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>CommandSourceStack.suggestRegistryElements(ResourceKey<? extends Registry<?>> p_212330_, SharedSuggestionProvider.ElementSuggestionType p_212331_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212332_, com.mojang.brigadier.context.CommandContext<?> p_212333_) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>SharedSuggestionProvider.suggestRegistryElements(ResourceKey<? extends Registry<?>> p_212339_, SharedSuggestionProvider.ElementSuggestionType p_212340_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212341_, com.mojang.brigadier.context.CommandContext<?> p_212342_) -
Uses of ResourceKey in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<T>ResourceOrTagLocationArgument.ResourceResult.keyThe field for thekeyrecord component.(package private) final ResourceKey<? extends Registry<T>>ResourceKeyArgument.registryKey(package private) final ResourceKey<? extends Registry<T>>ResourceOrTagLocationArgument.registryKeyMethods in net.minecraft.commands.arguments that return ResourceKeyModifier and TypeMethodDescriptionprivate static <T> ResourceKey<T>ResourceKeyArgument.getRegistryType(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212374_, String p_212375_, ResourceKey<Registry<T>> p_212376_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_212377_) ResourceOrTagLocationArgument.ResourceResult.key()Returns the value of thekeyrecord component.ResourceKeyArgument.parse(com.mojang.brigadier.StringReader p_212369_) Methods in net.minecraft.commands.arguments that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<ResourceKey<T>,TagKey<T>> ResourceOrTagLocationArgument.ResourceResult.unwrap()com.mojang.datafixers.util.Either<ResourceKey<T>,TagKey<T>> ResourceOrTagLocationArgument.Result.unwrap()com.mojang.datafixers.util.Either<ResourceKey<T>,TagKey<T>> ResourceOrTagLocationArgument.TagResult.unwrap()Methods in net.minecraft.commands.arguments with parameters of type ResourceKeyModifier and TypeMethodDescriptionResourceOrTagLocationArgument.ResourceResult.cast(ResourceKey<? extends Registry<E>> p_210988_) ResourceOrTagLocationArgument.Result.cast(ResourceKey<? extends Registry<E>> p_210997_) ResourceOrTagLocationArgument.TagResult.cast(ResourceKey<? extends Registry<E>> p_211022_) private static <T> Registry<T>ResourceKeyArgument.getRegistry(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212379_, ResourceKey<? extends Registry<T>> p_212380_) private static <T> ResourceKey<T>ResourceKeyArgument.getRegistryType(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_212374_, String p_212375_, ResourceKey<Registry<T>> p_212376_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_212377_) private static <T> ResourceOrTagLocationArgument.Result<T>ResourceOrTagLocationArgument.getRegistryType(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_210956_, String p_210957_, ResourceKey<Registry<T>> p_210958_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_210959_) static <T> ResourceKeyArgument<T>ResourceKeyArgument.key(ResourceKey<? extends Registry<T>> p_212387_) static <T> ResourceOrTagLocationArgument<T>ResourceOrTagLocationArgument.resourceOrTag(ResourceKey<? extends Registry<T>> p_210969_) Constructors in net.minecraft.commands.arguments with parameters of type ResourceKeyModifierConstructorDescriptionResourceKeyArgument(ResourceKey<? extends Registry<T>> p_212367_) ResourceOrTagLocationArgument(ResourceKey<? extends Registry<T>> p_210949_) (package private)ResourceResult(ResourceKey<T> key) Creates an instance of aResourceResultrecord class. -
Uses of ResourceKey in net.minecraft.core
Fields in net.minecraft.core declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<Activity>>Registry.ACTIVITY_REGISTRYstatic final ResourceKey<Registry<Attribute>>Registry.ATTRIBUTE_REGISTRYstatic final ResourceKey<Registry<Biome>>Registry.BIOME_REGISTRYstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>Registry.BIOME_SOURCE_REGISTRYstatic final ResourceKey<Registry<BlockEntityType<?>>>Registry.BLOCK_ENTITY_TYPE_REGISTRYstatic final ResourceKey<Registry<BlockPredicateType<?>>>Registry.BLOCK_PREDICATE_TYPE_REGISTRYstatic final ResourceKey<Registry<Block>>Registry.BLOCK_REGISTRYstatic final ResourceKey<Registry<BlockStateProviderType<?>>>Registry.BLOCK_STATE_PROVIDER_TYPE_REGISTRYstatic final ResourceKey<Registry<WorldCarver<?>>>Registry.CARVER_REGISTRYstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>Registry.CHUNK_GENERATOR_REGISTRYstatic final ResourceKey<Registry<ChunkStatus>>Registry.CHUNK_STATUS_REGISTRYstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>>>Registry.CONDITION_REGISTRYstatic final ResourceKey<Registry<ConfiguredWorldCarver<?>>>Registry.CONFIGURED_CARVER_REGISTRYstatic final ResourceKey<Registry<ConfiguredFeature<?,?>>> Registry.CONFIGURED_FEATURE_REGISTRYstatic final ResourceKey<Registry<ConfiguredStructureFeature<?,?>>> static final ResourceKey<Registry<ResourceLocation>>Registry.CUSTOM_STAT_REGISTRYstatic final ResourceKey<Registry<DensityFunction>>Registry.DENSITY_FUNCTION_REGISTRYstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>>Registry.DENSITY_FUNCTION_TYPE_REGISTRYprivate final ResourceKey<Level>GlobalPos.dimensionstatic final ResourceKey<Registry<Level>>Registry.DIMENSION_REGISTRYstatic final ResourceKey<Registry<DimensionType>>Registry.DIMENSION_TYPE_REGISTRYstatic final ResourceKey<Registry<Enchantment>>Registry.ENCHANTMENT_REGISTRYstatic final ResourceKey<Registry<EntityType<?>>>Registry.ENTITY_TYPE_REGISTRYstatic final ResourceKey<Registry<Feature<?>>>Registry.FEATURE_REGISTRYstatic final ResourceKey<Registry<FeatureSizeType<?>>>Registry.FEATURE_SIZE_TYPE_REGISTRYstatic final ResourceKey<Registry<FloatProviderType<?>>>Registry.FLOAT_PROVIDER_TYPE_REGISTRYstatic final ResourceKey<Registry<Fluid>>Registry.FLUID_REGISTRYstatic final ResourceKey<Registry<FoliagePlacerType<?>>>Registry.FOLIAGE_PLACER_TYPE_REGISTRYstatic final ResourceKey<Registry<GameEvent>>Registry.GAME_EVENT_REGISTRYstatic final ResourceKey<Registry<HeightProviderType<?>>>Registry.HEIGHT_PROVIDER_TYPE_REGISTRYstatic final ResourceKey<Registry<IntProviderType<?>>>Registry.INT_PROVIDER_TYPE_REGISTRYstatic final ResourceKey<Registry<Item>>Registry.ITEM_REGISTRYprivate ResourceKey<T>Holder.Reference.keyprivate final ResourceKey<? extends Registry<T>>Registry.keyprivate final ResourceKey<? extends Registry<E>>RegistryAccess.RegistryData.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<T>>RegistryAccess.RegistryEntry.keyThe field for thekeyrecord component.private final ResourceKey<T>RegistryCodecs.RegistryEntry.keyThe field for thekeyrecord component.static final ResourceKey<Registry<LevelStem>>Registry.LEVEL_STEM_REGISTRYstatic final ResourceKey<Registry<LootPoolEntryType>>Registry.LOOT_ENTRY_REGISTRYstatic final ResourceKey<Registry<LootItemFunctionType>>Registry.LOOT_FUNCTION_REGISTRYstatic final ResourceKey<Registry<LootItemConditionType>>Registry.LOOT_ITEM_REGISTRYstatic final ResourceKey<Registry<LootNbtProviderType>>Registry.LOOT_NBT_PROVIDER_REGISTRYstatic final ResourceKey<Registry<LootNumberProviderType>>Registry.LOOT_NUMBER_PROVIDER_REGISTRYstatic final ResourceKey<Registry<LootScoreProviderType>>Registry.LOOT_SCORE_PROVIDER_REGISTRYstatic final ResourceKey<Registry<MemoryModuleType<?>>>Registry.MEMORY_MODULE_TYPE_REGISTRYstatic final ResourceKey<Registry<MenuType<?>>>Registry.MENU_REGISTRYstatic final ResourceKey<Registry<MobEffect>>Registry.MOB_EFFECT_REGISTRYstatic final ResourceKey<Registry<Motive>>Registry.MOTIVE_REGISTRYstatic final ResourceKey<Registry<NoiseGeneratorSettings>>Registry.NOISE_GENERATOR_SETTINGS_REGISTRYstatic final ResourceKey<Registry<NormalNoise.NoiseParameters>>Registry.NOISE_REGISTRYstatic final ResourceKey<Registry<ParticleType<?>>>Registry.PARTICLE_TYPE_REGISTRYstatic final ResourceKey<Registry<PlacedFeature>>Registry.PLACED_FEATURE_REGISTRYstatic final ResourceKey<Registry<PlacementModifierType<?>>>Registry.PLACEMENT_MODIFIER_REGISTRYstatic final ResourceKey<Registry<PoiType>>Registry.POINT_OF_INTEREST_TYPE_REGISTRYstatic final ResourceKey<Registry<PosRuleTestType<?>>>Registry.POS_RULE_TEST_REGISTRYstatic final ResourceKey<Registry<PositionSourceType<?>>>Registry.POSITION_SOURCE_TYPE_REGISTRYstatic final ResourceKey<Registry<Potion>>Registry.POTION_REGISTRYstatic final ResourceKey<Registry<StructureProcessorList>>Registry.PROCESSOR_LIST_REGISTRYstatic final ResourceKey<Registry<RecipeSerializer<?>>>Registry.RECIPE_SERIALIZER_REGISTRYstatic final ResourceKey<Registry<RecipeType<?>>>Registry.RECIPE_TYPE_REGISTRYstatic final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>>>Registry.RULE_REGISTRYstatic final ResourceKey<Registry<RuleTestType<?>>>Registry.RULE_TEST_REGISTRYstatic final ResourceKey<Registry<Schedule>>Registry.SCHEDULE_REGISTRYstatic final ResourceKey<Registry<SensorType<?>>>Registry.SENSOR_TYPE_REGISTRYstatic final ResourceKey<Registry<SoundEvent>>Registry.SOUND_EVENT_REGISTRYstatic final ResourceKey<Registry<StatType<?>>>Registry.STAT_TYPE_REGISTRYstatic final ResourceKey<Registry<StructureFeature<?>>>Registry.STRUCTURE_FEATURE_REGISTRYstatic final ResourceKey<Registry<StructurePieceType>>Registry.STRUCTURE_PIECE_REGISTRYstatic final ResourceKey<Registry<StructurePlacementType<?>>>Registry.STRUCTURE_PLACEMENT_TYPE_REGISTRYstatic final ResourceKey<Registry<StructurePoolElementType<?>>>Registry.STRUCTURE_POOL_ELEMENT_REGISTRYstatic final ResourceKey<Registry<StructureProcessorType<?>>>Registry.STRUCTURE_PROCESSOR_REGISTRYstatic final ResourceKey<Registry<StructureSet>>Registry.STRUCTURE_SET_REGISTRYstatic final ResourceKey<Registry<StructureTemplatePool>>Registry.TEMPLATE_POOL_REGISTRYstatic final ResourceKey<Registry<TreeDecoratorType<?>>>Registry.TREE_DECORATOR_TYPE_REGISTRYstatic final ResourceKey<Registry<TrunkPlacerType<?>>>Registry.TRUNK_PLACER_TYPE_REGISTRYstatic final ResourceKey<Registry<VillagerProfession>>Registry.VILLAGER_PROFESSION_REGISTRYstatic final ResourceKey<Registry<VillagerType>>Registry.VILLAGER_TYPE_REGISTRYFields in net.minecraft.core with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<T>,Holder.Reference<T>> MappedRegistry.byKeyprivate final Map<? extends ResourceKey<? extends Registry<?>>,? extends Registry<?>> RegistryAccess.ImmutableRegistryAccess.registriesprivate final Map<? extends ResourceKey<? extends Registry<?>>,? extends WritableRegistry<?>> RegistryAccess.WritableRegistryAccess.registriesstatic final Map<ResourceKey<? extends Registry<?>>,RegistryAccess.RegistryData<?>> RegistryAccess.REGISTRIESMethods in net.minecraft.core with type parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static <K extends ResourceKey<? extends Registry<?>>,V extends Registry<?>>
com.mojang.serialization.Codec<RegistryAccess>RegistryAccess.captureMap(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_206164_) Methods in net.minecraft.core that return ResourceKeyModifier and TypeMethodDescriptionprivate static <T> ResourceKey<Registry<T>>Registry.createRegistryKey(String p_122979_) GlobalPos.dimension()Holder.Reference.key()ResourceKey<? extends Registry<T>>Registry.key()ResourceKey<? extends Registry<E>>RegistryAccess.RegistryData.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<T>>RegistryAccess.RegistryEntry.key()Returns the value of thekeyrecord component.RegistryCodecs.RegistryEntry.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<?>>,? extends WritableRegistry<?>> RegistryAccess.createFreshRegistries()private static <T> com.mojang.serialization.Codec<Map<ResourceKey<T>,T>> RegistryCodecs.directCodec(ResourceKey<? extends Registry<T>> p_206316_, com.mojang.serialization.Codec<T> p_206317_) Set<Map.Entry<ResourceKey<T>,T>> MappedRegistry.entrySet()abstract Set<Map.Entry<ResourceKey<T>,T>> Registry.entrySet()MappedRegistry.getResourceKey(T p_122755_) abstract Optional<ResourceKey<T>>Registry.getResourceKey(T p_123008_) 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()Methods in net.minecraft.core with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidHolder.Reference.bind(ResourceKey<T> p_205776_, T p_205777_) booleanMappedRegistry.containsKey(ResourceKey<T> p_175392_) abstract booleanRegistry.containsKey(ResourceKey<T> p_175475_) static <E> WritableRegistry<?>RegistryAccess.createRegistry(ResourceKey<? extends Registry<?>> p_206201_) static <T> Holder.Reference<T>Holder.Reference.createStandAlone(Registry<T> p_205767_, ResourceKey<T> p_205768_) static <E> com.mojang.serialization.Codec<Registry<E>>RegistryCodecs.dataPackAwareCodec(ResourceKey<? extends Registry<E>> p_206319_, com.mojang.serialization.Lifecycle p_206320_, com.mojang.serialization.Codec<E> p_206321_) private static <E> com.mojang.serialization.Decoder<Registry<E>>RegistryCodecs.dataPackAwareDecoder(ResourceKey<? extends Registry<E>> p_206283_, com.mojang.serialization.Codec<E> p_206284_, com.mojang.serialization.Decoder<Map<ResourceKey<E>, E>> p_206285_, com.mojang.serialization.Lifecycle p_206286_) private static <T> com.mojang.serialization.Codec<Map<ResourceKey<T>,T>> RegistryCodecs.directCodec(ResourceKey<? extends Registry<T>> p_206316_, com.mojang.serialization.Codec<T> p_206317_) private static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, Registry.RegistryBootstrap<T> def) private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, String defKey, com.mojang.serialization.Lifecycle cycle, Registry.RegistryBootstrap<T> def) private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, String defKey, Registry.RegistryBootstrap<T> def) private static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, Registry.RegistryBootstrap<T> def) private static <T> RegistryAccess.RegistryEntry<T>RegistryAccess.RegistryEntry.fromUntyped(ResourceKey<? extends Registry<?>> p_206244_, Registry<?> p_206245_) MappedRegistry.get(ResourceKey<T> p_122714_) abstract TRegistry.get(ResourceKey<T> p_122980_) MappedRegistry.getHolder(ResourceKey<T> p_205905_) Registry.getHolder(ResourceKey<T> p_206050_) Registry.getHolderOrThrow(ResourceKey<T> p_206082_) private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>RegistryAccess.getNetworkCodec(ResourceKey<? extends Registry<E>> p_206204_) Registry.getOptional(ResourceKey<T> p_123010_) MappedRegistry.getOrCreateHolder(ResourceKey<T> p_205913_) Registry.getOrCreateHolder(ResourceKey<T> p_206057_) Registry.getOrThrow(ResourceKey<T> p_123014_) static <E> com.mojang.serialization.Codec<HolderSet<E>>RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> p_206278_) static <E> com.mojang.serialization.Codec<HolderSet<E>>RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> p_206311_, boolean p_206312_) static <E> com.mojang.serialization.Codec<HolderSet<E>>RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> p_206280_, com.mojang.serialization.Codec<E> p_206281_) static <E> com.mojang.serialization.Codec<HolderSet<E>>RegistryCodecs.homogeneousList(ResourceKey<? extends Registry<E>> p_206288_, com.mojang.serialization.Codec<E> p_206289_, boolean p_206290_) private static <T,R extends WritableRegistry<T>>
RRegistry.internalRegister(ResourceKey<? extends Registry<T>> p_206012_, R p_206013_, Registry.RegistryBootstrap<T> p_206014_, com.mojang.serialization.Lifecycle p_206015_) booleanHolder.Direct.is(ResourceKey<T> p_205725_) booleanHolder.is(ResourceKey<T> p_205712_) booleanHolder.Reference.is(ResourceKey<T> p_205774_) static <T> com.mojang.serialization.Codec<Registry<T>>RegistryCodecs.networkCodec(ResourceKey<? extends Registry<T>> p_206292_, com.mojang.serialization.Lifecycle p_206293_, com.mojang.serialization.Codec<T> p_206294_) static GlobalPosGlobalPos.of(ResourceKey<Level> p_122644_, BlockPos p_122645_) RegistryAccess.ImmutableRegistryAccess.ownedRegistry(ResourceKey<? extends Registry<? extends E>> p_206229_) RegistryAccess.ownedRegistry(ResourceKey<? extends Registry<? extends E>> p_175507_) RegistryAccess.WritableRegistryAccess.ownedRegistry(ResourceKey<? extends Registry<? extends E>> p_206263_) default <E> Registry<E>RegistryAccess.ownedRegistryOrThrow(ResourceKey<? extends Registry<? extends E>> p_206192_) <E> Optional<WritableRegistry<E>>RegistryAccess.Writable.ownedWritableRegistry(ResourceKey<? extends Registry<? extends E>> p_206252_) <E> Optional<WritableRegistry<E>>RegistryAccess.WritableRegistryAccess.ownedWritableRegistry(ResourceKey<? extends Registry<? extends E>> p_206268_) default <E> WritableRegistry<E>RegistryAccess.Writable.ownedWritableRegistryOrThrow(ResourceKey<? extends Registry<? extends E>> p_206254_) private static <E> voidRegistryAccess.put(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> p_123054_, ResourceKey<? extends Registry<E>> p_123055_, com.mojang.serialization.Codec<E> p_123056_) private static <E> voidRegistryAccess.put(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> p_123058_, ResourceKey<? extends Registry<E>> p_123059_, com.mojang.serialization.Codec<E> p_123060_, com.mojang.serialization.Codec<E> p_123061_) MappedRegistry.register(ResourceKey<T> p_205891_, T p_205892_, com.mojang.serialization.Lifecycle p_205893_) static <V,T extends V>
TRegistry.register(Registry<V> p_194580_, ResourceKey<V> p_194581_, T p_194582_) WritableRegistry.register(ResourceKey<T> p_206376_, T p_206377_, com.mojang.serialization.Lifecycle p_206378_) private static <T> DefaultedRegistry<T>Registry.registerDefaulted(ResourceKey<? extends Registry<T>> p_206022_, String p_206023_, com.mojang.serialization.Lifecycle p_206024_, Function<T, Holder.Reference<T>> p_206025_, Registry.RegistryBootstrap<T> p_206026_) private static <T> DefaultedRegistry<T>Registry.registerDefaulted(ResourceKey<? extends Registry<T>> p_206017_, String p_206018_, com.mojang.serialization.Lifecycle p_206019_, Registry.RegistryBootstrap<T> p_206020_) private static <T> DefaultedRegistry<T>Registry.registerDefaulted(ResourceKey<? extends Registry<T>> p_206032_, String p_206033_, Function<T, Holder.Reference<T>> p_206034_, Registry.RegistryBootstrap<T> p_206035_) private static <T> DefaultedRegistry<T>Registry.registerDefaulted(ResourceKey<? extends Registry<T>> p_206028_, String p_206029_, Registry.RegistryBootstrap<T> p_206030_) DefaultedRegistry.registerMapping(int p_205698_, ResourceKey<T> p_205699_, T p_205700_, com.mojang.serialization.Lifecycle p_205701_) MappedRegistry.registerMapping(int p_205853_, ResourceKey<T> p_205854_, T p_205855_, com.mojang.serialization.Lifecycle p_205856_) MappedRegistry.registerMapping(int p_205858_, ResourceKey<T> p_205859_, T p_205860_, com.mojang.serialization.Lifecycle p_205861_, boolean p_205862_) WritableRegistry.registerMapping(int p_206368_, ResourceKey<T> p_206369_, T p_206370_, com.mojang.serialization.Lifecycle p_206371_) MappedRegistry.registerOrOverride(OptionalInt p_205884_, ResourceKey<T> p_205885_, T p_205886_, com.mojang.serialization.Lifecycle p_205887_) WritableRegistry.registerOrOverride(OptionalInt p_206372_, ResourceKey<T> p_206373_, T p_206374_, com.mojang.serialization.Lifecycle p_206375_) private static <T> Registry<T>Registry.registerSimple(ResourceKey<? extends Registry<T>> p_206004_, com.mojang.serialization.Lifecycle p_206005_, Function<T, Holder.Reference<T>> p_206006_, Registry.RegistryBootstrap<T> p_206007_) private static <T> Registry<T>Registry.registerSimple(ResourceKey<? extends Registry<T>> p_206000_, com.mojang.serialization.Lifecycle p_206001_, Registry.RegistryBootstrap<T> p_206002_) private static <T> Registry<T>Registry.registerSimple(ResourceKey<? extends Registry<T>> p_206009_, Registry.RegistryBootstrap<T> p_206010_) RegistryAccess.registry(ResourceKey<? extends Registry<? extends E>> p_123085_) default <E> Registry<E>RegistryAccess.registryOrThrow(ResourceKey<? extends Registry<? extends E>> p_175516_) static <E> Registry<E>RegistryAccess.retrieveRegistry(ResourceKey<? extends Registry<? extends E>> p_206185_, com.mojang.serialization.Dynamic<?> p_206186_) private voidMappedRegistry.validateWrite(ResourceKey<T> p_205922_) private static <T> com.mojang.serialization.MapCodec<RegistryCodecs.RegistryEntry<T>>RegistryCodecs.withNameAndId(ResourceKey<? extends Registry<T>> p_206304_, com.mojang.serialization.MapCodec<T> p_206305_) Method parameters in net.minecraft.core with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static <E> com.mojang.serialization.Decoder<Registry<E>>RegistryCodecs.dataPackAwareDecoder(ResourceKey<? extends Registry<E>> p_206283_, com.mojang.serialization.Codec<E> p_206284_, com.mojang.serialization.Decoder<Map<ResourceKey<E>, E>> p_206285_, com.mojang.serialization.Lifecycle p_206286_) private static <T,R extends Registry<? extends T>>
RegistryAccess.RegistryEntry<T>RegistryAccess.RegistryEntry.fromMapEntry(Map.Entry<? extends ResourceKey<? extends Registry<?>>, R> p_206242_) booleanHolder.Direct.is(Predicate<ResourceKey<T>> p_205723_) booleanHolder.is(Predicate<ResourceKey<T>> p_205711_) booleanHolder.Reference.is(Predicate<ResourceKey<T>> p_205772_) private static <E> voidRegistryAccess.put(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> p_123054_, ResourceKey<? extends Registry<E>> p_123055_, com.mojang.serialization.Codec<E> p_123056_) private static <E> voidRegistryAccess.put(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> p_123058_, ResourceKey<? extends Registry<E>> p_123059_, com.mojang.serialization.Codec<E> p_123060_, com.mojang.serialization.Codec<E> p_123061_) Constructors in net.minecraft.core with parameters of type ResourceKeyModifierConstructorDescriptionDefaultedRegistry(String p_205693_, ResourceKey<? extends Registry<T>> p_205694_, com.mojang.serialization.Lifecycle p_205695_, Function<T, Holder.Reference<T>> p_205696_) privateGlobalPos(ResourceKey<Level> p_122638_, BlockPos p_122639_) MappedRegistry(ResourceKey<? extends Registry<T>> p_205849_, com.mojang.serialization.Lifecycle p_205850_, Function<T, Holder.Reference<T>> p_205851_) privateReference(Holder.Reference.Type p_205754_, Registry<T> p_205755_, ResourceKey<T> p_205756_, T p_205757_) protectedRegistry(ResourceKey<? extends Registry<T>> p_122920_, com.mojang.serialization.Lifecycle p_122921_) RegistryData(ResourceKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.Codec<E> networkCodec) Creates an instance of aRegistryDatarecord class.RegistryEntry(ResourceKey<? extends Registry<T>> key, Registry<T> value) Creates an instance of aRegistryEntryrecord class.(package private)RegistryEntry(ResourceKey<T> key, int id, T value) Creates an instance of aRegistryEntryrecord class.WritableRegistry(ResourceKey<? extends Registry<T>> p_123346_, com.mojang.serialization.Lifecycle p_123347_) Constructor parameters in net.minecraft.core with type arguments of type ResourceKeyModifierConstructorDescriptionImmutableRegistryAccess(Map<? extends ResourceKey<? extends Registry<?>>, ? extends Registry<?>> p_206225_) (package private)WritableRegistryAccess(Map<? extends ResourceKey<? extends Registry<?>>, ? extends WritableRegistry<?>> p_206259_) -
Uses of ResourceKey in net.minecraft.data
Methods in net.minecraft.data with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
Registry<T>BuiltinRegistries.forge(ResourceKey<? extends Registry<T>> key, Supplier<? extends Holder<? extends T>> holderSupplier) private static <T,R extends WritableRegistry<T>>
RBuiltinRegistries.internalRegister(ResourceKey<? extends Registry<T>> p_123889_, R p_123890_, Supplier<? extends Holder<? extends T>> p_123891_, com.mojang.serialization.Lifecycle p_123892_) static <T> Holder<T>BuiltinRegistries.register(Registry<T> p_206385_, ResourceKey<T> p_206386_, T p_206387_) private static <T> Registry<T>BuiltinRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_123885_, com.mojang.serialization.Lifecycle p_123886_, Supplier<? extends Holder<? extends T>> p_123887_) private static <T> Registry<T>BuiltinRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_123894_, Supplier<? extends Holder<? extends T>> p_123895_) -
Uses of ResourceKey in net.minecraft.data.advancements
Fields in net.minecraft.data.advancements with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final List<ResourceKey<Biome>>NetherAdvancements.EXPLORABLE_BIOMESMethods in net.minecraft.data.advancements that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate List<ResourceKey<Biome>>AdventureAdvancements.getAllOverworldBiomes()Method parameters in net.minecraft.data.advancements with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprotected static Advancement.BuilderAdventureAdvancements.addBiomes(Advancement.Builder p_123987_, List<ResourceKey<Biome>> p_123988_) -
Uses of ResourceKey in net.minecraft.data.info
Methods in net.minecraft.data.info with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static <E,T extends Registry<E>>
voidWorldgenRegistryDumpReport.dumpRegistry(Path p_194698_, HashCache p_194699_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_194700_, ResourceKey<? extends T> p_194701_, T p_194702_, com.mojang.serialization.Encoder<E> p_194703_) -
Uses of ResourceKey in net.minecraft.data.tags
Methods in net.minecraft.data.tags with parameters of type ResourceKeyModifier and TypeMethodDescriptionfinal TagsProvider.TagAppender<T>TagsProvider.TagAppender.add(ResourceKey<T>... p_211102_) -
Uses of ResourceKey in net.minecraft.data.worldgen
Fields in net.minecraft.data.worldgen declared as ResourceKeyMethods in net.minecraft.data.worldgen with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidNoiseData.register(ResourceKey<NormalNoise.NoiseParameters> p_194751_, int p_194752_, double p_194753_, double... p_194754_) private static <FC extends FeatureConfiguration,F extends StructureFeature<FC>>
Holder<ConfiguredStructureFeature<?,?>> StructureFeatures.register(ResourceKey<ConfiguredStructureFeature<?, ?>> p_211107_, ConfiguredStructureFeature<FC, F> p_211108_) static Holder<StructureSet>StructureSets.register(ResourceKey<StructureSet> p_211132_, Holder<ConfiguredStructureFeature<?, ?>> p_211133_, StructurePlacement p_211134_) static Holder<StructureSet>StructureSets.register(ResourceKey<StructureSet> p_211129_, StructureSet p_211130_) private static voidNoiseData.registerBiomeNoises(int p_194745_, ResourceKey<NormalNoise.NoiseParameters> p_194746_, ResourceKey<NormalNoise.NoiseParameters> p_194747_, ResourceKey<NormalNoise.NoiseParameters> p_194748_, ResourceKey<NormalNoise.NoiseParameters> p_194749_) -
Uses of ResourceKey in net.minecraft.data.worldgen.biome
Methods in net.minecraft.data.worldgen.biome with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidBiomes.register(ResourceKey<Biome> p_206464_, Biome p_206465_) -
Uses of ResourceKey in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level>ClientboundLoginPacket.dimensionThe field for thedimensionrecord component.private final ResourceKey<Level>ClientboundRespawnPacket.dimensionFields in net.minecraft.network.protocol.game with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Set<ResourceKey<Level>>ClientboundLoginPacket.levelsThe field for thelevelsrecord component.private final Map<ResourceKey<? extends Registry<?>>,TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.tagsMethods in net.minecraft.network.protocol.game that return ResourceKeyModifier and TypeMethodDescriptionClientboundLoginPacket.dimension()Returns the value of thedimensionrecord component.ClientboundRespawnPacket.getDimension()Methods in net.minecraft.network.protocol.game that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionMap<ResourceKey<? extends Registry<?>>,TagNetworkSerialization.NetworkPayload> ClientboundUpdateTagsPacket.getTags()ClientboundLoginPacket.levels()Returns the value of thelevelsrecord component.Constructors in net.minecraft.network.protocol.game with parameters of type ResourceKeyModifierConstructorDescriptionClientboundLoginPacket(int playerId, boolean hardcore, GameType gameType, GameType previousGameType, Set<ResourceKey<Level>> levels, RegistryAccess.Frozen registryHolder, Holder<DimensionType> dimensionType, ResourceKey<Level> dimension, long seed, int maxPlayers, int chunkRadius, int simulationDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean isDebug, boolean isFlat) Creates an instance of aClientboundLoginPacketrecord class.ClientboundRespawnPacket(Holder<DimensionType> p_206643_, ResourceKey<Level> p_206644_, long p_206645_, GameType p_206646_, GameType p_206647_, boolean p_206648_, boolean p_206649_, boolean p_206650_) Constructor parameters in net.minecraft.network.protocol.game with type arguments of type ResourceKeyModifierConstructorDescriptionClientboundLoginPacket(int playerId, boolean hardcore, GameType gameType, GameType previousGameType, Set<ResourceKey<Level>> levels, RegistryAccess.Frozen registryHolder, Holder<DimensionType> dimensionType, ResourceKey<Level> dimension, long seed, int maxPlayers, int chunkRadius, int simulationDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean isDebug, boolean isFlat) Creates an instance of aClientboundLoginPacketrecord class.ClientboundUpdateTagsPacket(Map<ResourceKey<? extends Registry<?>>, TagNetworkSerialization.NetworkPayload> p_179473_) -
Uses of ResourceKey in net.minecraft.resources
Fields in net.minecraft.resources declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<? extends Registry<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<?>,RegistryResourceAccess.InMemoryStorage.Entry> RegistryResourceAccess.InMemoryStorage.entriesprivate final Map<ResourceKey<? extends Registry<?>>,RegistryLoader.ReadCache<?>> RegistryLoader.readCache(package private) final Map<ResourceKey<E>,com.mojang.serialization.DataResult<Holder<E>>> RegistryLoader.ReadCache.valuesprivate static final Map<String,ResourceKey<?>> ResourceKey.VALUESMethods in net.minecraft.resources that return ResourceKeyModifier and TypeMethodDescriptionstatic <T> ResourceKey<T>ResourceKey.create(ResourceKey<? extends Registry<T>> p_135786_, ResourceLocation p_135787_) private static <T> ResourceKey<T>ResourceKey.create(ResourceLocation p_135791_, ResourceLocation p_135792_) static <T> ResourceKey<Registry<T>>ResourceKey.createRegistryKey(ResourceLocation p_135789_) Methods in net.minecraft.resources that return types with arguments of type ResourceKeyModifier and TypeMethodDescription<E> Optional<ResourceKey<E>>ResourceKey.cast(ResourceKey<? extends Registry<E>> p_195976_) static <T> com.mojang.serialization.Codec<ResourceKey<T>>ResourceKey.codec(ResourceKey<? extends Registry<T>> p_195967_) static <T> Function<ResourceLocation,ResourceKey<T>> ResourceKey.elementKey(ResourceKey<? extends Registry<T>> p_135798_) <E> Collection<ResourceKey<E>>RegistryResourceAccess.InMemoryStorage.listResources(ResourceKey<? extends Registry<E>> p_195932_) <E> Collection<ResourceKey<E>>RegistryResourceAccess.listResources(ResourceKey<? extends Registry<E>> p_195887_) Methods in net.minecraft.resources with parameters of type ResourceKeyModifier and TypeMethodDescription<E> voidRegistryResourceAccess.InMemoryStorage.add(RegistryAccess p_206837_, ResourceKey<E> p_206838_, com.mojang.serialization.Encoder<E> p_206839_, int p_206840_, E p_206841_, com.mojang.serialization.Lifecycle p_206842_) <E> Optional<ResourceKey<E>>ResourceKey.cast(ResourceKey<? extends Registry<E>> p_195976_) static <T> com.mojang.serialization.Codec<ResourceKey<T>>ResourceKey.codec(ResourceKey<? extends Registry<T>> p_195967_) intResourceKey.compareTo(ResourceKey<?> o) static <E> com.mojang.serialization.Codec<HolderSet<E>>HolderSetCodec.create(ResourceKey<? extends Registry<E>> p_206686_, com.mojang.serialization.Codec<Holder<E>> p_206687_, boolean p_206688_) static <E> RegistryFileCodec<E>RegistryFileCodec.create(ResourceKey<? extends Registry<E>> p_135590_, com.mojang.serialization.Codec<E> p_135591_) private static <E> RegistryFileCodec<E>RegistryFileCodec.create(ResourceKey<? extends Registry<E>> p_135593_, com.mojang.serialization.Codec<E> p_135594_, boolean p_135595_) static <E> RegistryFixedCodec<E>RegistryFixedCodec.create(ResourceKey<? extends Registry<E>> p_206741_) static <T> ResourceKey<T>ResourceKey.create(ResourceKey<? extends Registry<T>> p_135786_, ResourceLocation p_135787_) static <T> Function<ResourceLocation,ResourceKey<T>> ResourceKey.elementKey(ResourceKey<? extends Registry<T>> p_135798_) booleanResourceKey.isFor(ResourceKey<? extends Registry<?>> p_135784_) <E> Collection<ResourceKey<E>>RegistryResourceAccess.InMemoryStorage.listResources(ResourceKey<? extends Registry<E>> p_195932_) <E> Collection<ResourceKey<E>>RegistryResourceAccess.listResources(ResourceKey<? extends Registry<E>> p_195887_) <E> com.mojang.serialization.DataResult<Holder<E>>RegistryLoader.Bound.overrideElementFromResources(ResourceKey<? extends Registry<E>> p_206794_, com.mojang.serialization.Codec<E> p_206795_, ResourceKey<E> p_206796_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206797_) (package private) <E> com.mojang.serialization.DataResult<Holder<E>>RegistryLoader.overrideElementFromResources(WritableRegistry<E> p_206768_, ResourceKey<? extends Registry<E>> p_206769_, com.mojang.serialization.Codec<E> p_206770_, ResourceKey<E> p_206771_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206772_) <E> com.mojang.serialization.DataResult<? extends Registry<E>>RegistryLoader.Bound.overrideRegistryFromResources(ResourceKey<? extends Registry<E>> p_206790_, com.mojang.serialization.Codec<E> p_206791_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206792_) <E> com.mojang.serialization.DataResult<? extends Registry<E>>RegistryLoader.overrideRegistryFromResources(WritableRegistry<E> p_206763_, ResourceKey<? extends Registry<E>> p_206764_, com.mojang.serialization.Codec<E> p_206765_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206766_) <E> Optional<com.mojang.serialization.DataResult<RegistryResourceAccess.ParsedEntry<E>>>RegistryResourceAccess.InMemoryStorage.parseElement(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_195917_, ResourceKey<? extends Registry<E>> p_195918_, ResourceKey<E> p_195919_, com.mojang.serialization.Decoder<E> p_195920_) <E> Optional<com.mojang.serialization.DataResult<RegistryResourceAccess.ParsedEntry<E>>>RegistryResourceAccess.parseElement(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_195883_, ResourceKey<? extends Registry<E>> p_195884_, ResourceKey<E> p_195885_, com.mojang.serialization.Decoder<E> p_195886_) private <E> RegistryLoader.ReadCache<E>RegistryLoader.readCache(ResourceKey<? extends Registry<E>> p_206774_) RegistryOps.registry(ResourceKey<? extends Registry<? extends E>> p_206827_) static <E> com.mojang.serialization.MapCodec<Registry<E>>RegistryOps.retrieveRegistry(ResourceKey<? extends Registry<? extends E>> p_206833_) Constructors in net.minecraft.resources with parameters of type ResourceKeyModifierConstructorDescriptionprivateHolderSetCodec(ResourceKey<? extends Registry<E>> p_206660_, com.mojang.serialization.Codec<Holder<E>> p_206661_, boolean p_206662_) privateRegistryFileCodec(ResourceKey<? extends Registry<E>> p_135574_, com.mojang.serialization.Codec<E> p_135575_, boolean p_135576_) privateRegistryFixedCodec(ResourceKey<? extends Registry<E>> p_206723_) -
Uses of ResourceKey in net.minecraft.server
Fields in net.minecraft.server with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final Map<ResourceKey<Level>,ServerLevel> MinecraftServer.levelsprivate Map<ResourceKey<Level>,long[]> MinecraftServer.perWorldTickTimesMethods in net.minecraft.server that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionMinecraftServer.forgeGetWorldMap()Deprecated.MinecraftServer.levelKeys()Methods in net.minecraft.server with parameters of type ResourceKeyModifier and TypeMethodDescriptionMinecraftServer.getLevel(ResourceKey<Level> p_129881_) long[]MinecraftServer.getTickTime(ResourceKey<Level> dim) -
Uses of ResourceKey in net.minecraft.server.chase
Fields in net.minecraft.server.chase declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level>ChaseClient.TeleportTarget.levelThe field for thelevelrecord component.Methods in net.minecraft.server.chase that return ResourceKeyModifier and TypeMethodDescriptionChaseClient.TeleportTarget.level()Returns the value of thelevelrecord component.Constructors in net.minecraft.server.chase with parameters of type ResourceKeyModifierConstructorDescription(package private)TeleportTarget(ResourceKey<Level> level, Vec3 pos, Vec2 rot) Creates an instance of aTeleportTargetrecord class. -
Uses of ResourceKey in net.minecraft.server.commands
Fields in net.minecraft.server.commands with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic com.google.common.collect.BiMap<String,ResourceKey<Level>> ChaseCommand.DIMENSION_NAMES -
Uses of ResourceKey in net.minecraft.server.level
Fields in net.minecraft.server.level declared as ResourceKeyMethods in net.minecraft.server.level that return ResourceKeyMethods in net.minecraft.server.level with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidServerPlayer.setRespawnPosition(ResourceKey<Level> p_9159_, BlockPos p_9160_, float p_9161_, boolean p_9162_, boolean p_9163_) Constructors in net.minecraft.server.level with parameters of type ResourceKeyModifierConstructorDescriptionServerLevel(MinecraftServer p_203762_, Executor p_203763_, LevelStorageSource.LevelStorageAccess p_203764_, ServerLevelData p_203765_, ResourceKey<Level> p_203766_, Holder<DimensionType> p_203767_, ChunkProgressListener p_203768_, ChunkGenerator p_203769_, boolean p_203770_, long p_203771_, List<CustomSpawner> p_203772_, boolean p_203773_) -
Uses of ResourceKey in net.minecraft.server.players
Methods in net.minecraft.server.players with parameters of type ResourceKeyModifier and TypeMethodDescriptionvoidPlayerList.broadcast(Player p_11242_, double p_11243_, double p_11244_, double p_11245_, double p_11246_, ResourceKey<Level> p_11247_, Packet<?> p_11248_) voidPlayerList.broadcastAll(Packet<?> p_11271_, ResourceKey<Level> p_11272_) -
Uses of ResourceKey in net.minecraft.tags
Fields in net.minecraft.tags declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<? extends Registry<T>>TagManager.LoadResult.keyThe field for thekeyrecord component.private final ResourceKey<? extends Registry<T>>TagKey.registryThe field for theregistryrecord component.Fields in net.minecraft.tags with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Map<ResourceKey<? extends Registry<?>>,String> TagManager.CUSTOM_REGISTRY_DIRECTORIESMethods in net.minecraft.tags that return ResourceKeyModifier and TypeMethodDescriptionResourceKey<? extends Registry<T>>TagManager.LoadResult.key()Returns the value of thekeyrecord component.ResourceKey<? extends Registry<T>>TagKey.registry()Returns the value of theregistryrecord component.Methods in net.minecraft.tags that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic Map<ResourceKey<? extends Registry<?>>,TagNetworkSerialization.NetworkPayload> TagNetworkSerialization.serializeTagsToNetwork(RegistryAccess p_203951_) Methods in net.minecraft.tags with parameters of type ResourceKeyModifier and TypeMethodDescriptionTagKey.cast(ResourceKey<? extends Registry<E>> p_207648_) static <T> com.mojang.serialization.Codec<TagKey<T>>TagKey.codec(ResourceKey<? extends Registry<T>> p_203878_) static <T> TagKey<T>TagKey.create(ResourceKey<? extends Registry<T>> p_203883_, ResourceLocation p_203884_) static <T> voidTagNetworkSerialization.deserializeTagsFromNetwork(ResourceKey<? extends Registry<T>> p_203953_, Registry<T> p_203954_, TagNetworkSerialization.NetworkPayload p_203955_, TagNetworkSerialization.TagOutput<T> p_203956_) static StringTagManager.getTagDir(ResourceKey<? extends Registry<?>> p_203919_) static <T> com.mojang.serialization.Codec<TagKey<T>>TagKey.hashedCodec(ResourceKey<? extends Registry<T>> p_203887_) booleanTagKey.isFor(ResourceKey<? extends Registry<?>> p_207646_) Constructors in net.minecraft.tags with parameters of type ResourceKeyModifierConstructorDescriptionLoadResult(ResourceKey<? extends Registry<T>> key, Map<ResourceLocation, Tag<Holder<T>>> tags) Creates an instance of aLoadResultrecord class.TagKey(ResourceKey<? extends Registry<T>> registry, ResourceLocation location) Creates an instance of aTagKeyrecord class. -
Uses of ResourceKey in net.minecraft.util.profiling.jfr
Methods in net.minecraft.util.profiling.jfr with parameters of type ResourceKeyModifier and TypeMethodDescriptionJfrProfiler.onChunkGenerate(ChunkPos p_185313_, ResourceKey<Level> p_185314_, String p_185315_) JvmProfiler.NoOpProfiler.onChunkGenerate(ChunkPos p_185370_, ResourceKey<Level> p_185371_, String p_185372_) JvmProfiler.onChunkGenerate(ChunkPos p_185348_, ResourceKey<Level> p_185349_, String p_185350_) -
Uses of ResourceKey in net.minecraft.util.profiling.jfr.event
Constructors in net.minecraft.util.profiling.jfr.event with parameters of type ResourceKeyModifierConstructorDescriptionChunkGenerationEvent(ChunkPos p_195543_, ResourceKey<Level> p_195544_, String p_195545_) -
Uses of ResourceKey in net.minecraft.util.worldupdate
Fields in net.minecraft.util.worldupdate with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2FloatMap<ResourceKey<Level>>WorldUpgrader.progressMapMethods in net.minecraft.util.worldupdate that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptioncom.google.common.collect.ImmutableSet<ResourceKey<Level>>WorldUpgrader.levels()Methods in net.minecraft.util.worldupdate with parameters of type ResourceKeyModifier and TypeMethodDescriptionfloatWorldUpgrader.dimensionProgress(ResourceKey<Level> p_18828_) WorldUpgrader.getAllChunkPos(ResourceKey<Level> p_18831_) -
Uses of ResourceKey in net.minecraft.world.entity.npc
Fields in net.minecraft.world.entity.npc with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Map<ResourceKey<Biome>,VillagerType> VillagerType.BY_BIOME -
Uses of ResourceKey in net.minecraft.world.item
Methods in net.minecraft.world.item that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic Optional<ResourceKey<Level>>CompassItem.getLodestoneDimension(CompoundTag p_40728_) Methods in net.minecraft.world.item with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidCompassItem.addLodestoneTags(ResourceKey<Level> p_40733_, BlockPos p_40734_, CompoundTag p_40735_) private static voidMapItem.createAndStoreSavedData(ItemStack p_151112_, Level p_151113_, int p_151114_, int p_151115_, int p_151116_, boolean p_151117_, boolean p_151118_, ResourceKey<Level> p_151119_) private static intMapItem.createNewSavedData(Level p_151121_, int p_151122_, int p_151123_, int p_151124_, boolean p_151125_, boolean p_151126_, ResourceKey<Level> p_151127_) -
Uses of ResourceKey in net.minecraft.world.level
Fields in net.minecraft.world.level declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level>Level.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 TypeMethodDescriptionStructureFeatureManager.getStructureWithPieceAt(BlockPos p_207792_, ResourceKey<ConfiguredStructureFeature<?, ?>> p_207793_) Constructors in net.minecraft.world.level with parameters of type ResourceKeyModifierConstructorDescriptionprotectedLevel(WritableLevelData p_204149_, ResourceKey<Level> p_204150_, Holder<DimensionType> p_204151_, Supplier<ProfilerFiller> p_204152_, boolean p_204153_, boolean p_204154_, long p_204155_) -
Uses of ResourceKey in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Biome>Biomes.BADLANDSstatic final ResourceKey<Biome>Biomes.BAMBOO_JUNGLEstatic final ResourceKey<Biome>Biomes.BASALT_DELTASstatic final ResourceKey<Biome>Biomes.BEACHstatic final ResourceKey<Biome>Biomes.BIRCH_FORESTstatic final ResourceKey<Biome>Biomes.COLD_OCEANstatic final ResourceKey<Biome>Biomes.CRIMSON_FORESTstatic final ResourceKey<Biome>Biomes.DARK_FORESTstatic final ResourceKey<Biome>Biomes.DEEP_COLD_OCEANstatic final ResourceKey<Biome>Biomes.DEEP_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.MEADOWprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.MIDDLE_BIOMESprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.MIDDLE_BIOMES_VARIANTstatic final ResourceKey<Biome>Biomes.MUSHROOM_FIELDSstatic final ResourceKey<Biome>Biomes.NETHER_WASTESstatic final ResourceKey<Biome>Biomes.OCEANprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.OCEANSstatic final ResourceKey<Biome>Biomes.OLD_GROWTH_BIRCH_FORESTstatic final ResourceKey<Biome>Biomes.OLD_GROWTH_PINE_TAIGAstatic final ResourceKey<Biome>Biomes.OLD_GROWTH_SPRUCE_TAIGAstatic final ResourceKey<Biome>Biomes.PLAINSprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.PLATEAU_BIOMESprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.PLATEAU_BIOMES_VARIANTstatic final ResourceKey<Biome>Biomes.RIVERstatic final ResourceKey<Biome>Biomes.SAVANNAstatic final ResourceKey<Biome>Biomes.SAVANNA_PLATEAUprivate final ResourceKey<Biome>[][]OverworldBiomeBuilder.SHATTERED_BIOMESstatic final ResourceKey<Biome>Biomes.SMALL_END_ISLANDSstatic final ResourceKey<Biome>Biomes.SNOWY_BEACHstatic final ResourceKey<Biome>Biomes.SNOWY_PLAINSstatic final ResourceKey<Biome>Biomes.SNOWY_SLOPESstatic final ResourceKey<Biome>Biomes.SNOWY_TAIGAstatic final ResourceKey<Biome>Biomes.SOUL_SAND_VALLEYstatic final ResourceKey<Biome>Biomes.SPARSE_JUNGLEstatic final ResourceKey<Biome>Biomes.STONY_PEAKSstatic final ResourceKey<Biome>Biomes.STONY_SHOREstatic final ResourceKey<Biome>Biomes.SUNFLOWER_PLAINSstatic final ResourceKey<Biome>Biomes.SWAMPstatic final ResourceKey<Biome>Biomes.TAIGAstatic final ResourceKey<Biome>Biomes.THE_ENDstatic final ResourceKey<Biome>Biomes.THE_VOIDstatic final ResourceKey<Biome>Biomes.WARM_OCEANstatic final ResourceKey<Biome>Biomes.WARPED_FORESTstatic final ResourceKey<Biome>Biomes.WINDSWEPT_FORESTstatic final ResourceKey<Biome>Biomes.WINDSWEPT_GRAVELLY_HILLSstatic final ResourceKey<Biome>Biomes.WINDSWEPT_HILLSstatic final ResourceKey<Biome>Biomes.WINDSWEPT_SAVANNAstatic final ResourceKey<Biome>Biomes.WOODED_BADLANDSMethods in net.minecraft.world.level.biome that return ResourceKeyModifier and TypeMethodDescriptionprivate ResourceKey<Biome>OverworldBiomeBuilder.maybePickWindsweptSavannaBiome(int p_201991_, int p_201992_, Climate.Parameter p_201993_, ResourceKey<Biome> p_201994_) private ResourceKey<Biome>OverworldBiomeBuilder.pickBadlandsBiome(int p_187173_, Climate.Parameter p_187174_) private ResourceKey<Biome>OverworldBiomeBuilder.pickBeachBiome(int p_187161_, int p_187162_) private ResourceKey<Biome>OverworldBiomeBuilder.pickMiddleBiome(int p_187164_, int p_187165_, Climate.Parameter p_187166_) private ResourceKey<Biome>OverworldBiomeBuilder.pickMiddleBiomeOrBadlandsIfHot(int p_187192_, int p_187193_, Climate.Parameter p_187194_) private ResourceKey<Biome>OverworldBiomeBuilder.pickMiddleBiomeOrBadlandsIfHotOrSlopeIfCold(int p_187212_, int p_187213_, Climate.Parameter p_187214_) private ResourceKey<Biome>OverworldBiomeBuilder.pickPeakBiome(int p_187241_, int p_187242_, Climate.Parameter p_187243_) private ResourceKey<Biome>OverworldBiomeBuilder.pickPlateauBiome(int p_187234_, int p_187235_, Climate.Parameter p_187236_) private ResourceKey<Biome>OverworldBiomeBuilder.pickShatteredBiome(int p_202002_, int p_202003_, Climate.Parameter p_202004_) private ResourceKey<Biome>OverworldBiomeBuilder.pickShatteredCoastBiome(int p_187223_, int p_187224_, Climate.Parameter p_187225_) private ResourceKey<Biome>OverworldBiomeBuilder.pickSlopeBiome(int p_187245_, int p_187246_, Climate.Parameter p_187247_) private static ResourceKey<Biome>Methods in net.minecraft.world.level.biome with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidOverworldBiomeBuilder.addSurfaceBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187181_, Climate.Parameter p_187182_, Climate.Parameter p_187183_, Climate.Parameter p_187184_, Climate.Parameter p_187185_, Climate.Parameter p_187186_, float p_187187_, ResourceKey<Biome> p_187188_) private voidOverworldBiomeBuilder.addUndergroundBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187201_, Climate.Parameter p_187202_, Climate.Parameter p_187203_, Climate.Parameter p_187204_, Climate.Parameter p_187205_, Climate.Parameter p_187206_, float p_187207_, ResourceKey<Biome> p_187208_) private ResourceKey<Biome>OverworldBiomeBuilder.maybePickWindsweptSavannaBiome(int p_201991_, int p_201992_, Climate.Parameter p_201993_, ResourceKey<Biome> p_201994_) Method parameters in net.minecraft.world.level.biome with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprotected voidOverworldBiomeBuilder.addBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187176_) voidTerrainShaper.addDebugBiomesToVisualizeSplinePoints(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187320_) private voidOverworldBiomeBuilder.addHighSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187198_, Climate.Parameter p_187199_) private voidOverworldBiomeBuilder.addInlandBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187216_) private voidOverworldBiomeBuilder.addLowSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187229_, Climate.Parameter p_187230_) private voidOverworldBiomeBuilder.addMidSlice(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187218_, Climate.Parameter p_187219_) private voidOverworldBiomeBuilder.addOffCoastBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187196_) private voidOverworldBiomeBuilder.addPeaks(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187178_, Climate.Parameter p_187179_) private voidOverworldBiomeBuilder.addSurfaceBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187181_, Climate.Parameter p_187182_, Climate.Parameter p_187183_, Climate.Parameter p_187184_, Climate.Parameter p_187185_, Climate.Parameter p_187186_, float p_187187_, ResourceKey<Biome> p_187188_) private voidOverworldBiomeBuilder.addUndergroundBiome(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187201_, Climate.Parameter p_187202_, Climate.Parameter p_187203_, Climate.Parameter p_187204_, Climate.Parameter p_187205_, Climate.Parameter p_187206_, float p_187207_, ResourceKey<Biome> p_187208_) private voidOverworldBiomeBuilder.addUndergroundBiomes(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187227_) private voidOverworldBiomeBuilder.addValleys(Consumer<com.mojang.datafixers.util.Pair<Climate.ParameterPoint, ResourceKey<Biome>>> p_187238_, Climate.Parameter p_187239_) -
Uses of ResourceKey in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionOptional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>>ChunkGenerator.getTypeNameForDataFixer()Methods in net.minecraft.world.level.chunk with parameters of type ResourceKeyModifier and TypeMethodDescriptionbooleanChunkGenerator.hasFeatureChunkInRange(ResourceKey<StructureSet> p_212266_, long p_212267_, int p_212268_, int p_212269_, int p_212270_) -
Uses of ResourceKey in net.minecraft.world.level.chunk.storage
Methods in net.minecraft.world.level.chunk.storage with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic voidChunkStorage.injectDatafixingContext(CompoundTag p_196919_, ResourceKey<Level> p_196920_, Optional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> p_196921_) ChunkStorage.upgradeChunkTag(ResourceKey<Level> p_188289_, Supplier<DimensionDataStorage> p_188290_, CompoundTag p_188291_, Optional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> p_188292_) Method parameters in net.minecraft.world.level.chunk.storage with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic voidChunkStorage.injectDatafixingContext(CompoundTag p_196919_, ResourceKey<Level> p_196920_, Optional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> p_196921_) ChunkStorage.upgradeChunkTag(ResourceKey<Level> p_188289_, Supplier<DimensionDataStorage> p_188290_, CompoundTag p_188291_, Optional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> p_188292_) -
Uses of ResourceKey in net.minecraft.world.level.dimension
Fields in net.minecraft.world.level.dimension declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<LevelStem>LevelStem.ENDstatic final ResourceKey<DimensionType>DimensionType.END_LOCATIONstatic final ResourceKey<LevelStem>LevelStem.NETHERstatic final ResourceKey<DimensionType>DimensionType.NETHER_LOCATIONstatic final ResourceKey<LevelStem>LevelStem.OVERWORLDstatic final ResourceKey<DimensionType>DimensionType.OVERWORLD_CAVES_LOCATIONstatic final ResourceKey<DimensionType>DimensionType.OVERWORLD_LOCATIONFields in net.minecraft.world.level.dimension with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final Set<ResourceKey<LevelStem>>LevelStem.BUILTIN_ORDERMethods in net.minecraft.world.level.dimension that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic com.mojang.serialization.DataResult<ResourceKey<Level>>DimensionType.parseLegacy(com.mojang.serialization.Dynamic<?> p_63912_) Deprecated.Methods in net.minecraft.world.level.dimension with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic PathDimensionType.getStorageFolder(ResourceKey<Level> p_196976_, Path p_196977_) -
Uses of ResourceKey in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<NoiseGeneratorSettings>NoiseGeneratorSettings.AMPLIFIEDstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.AQUIFER_BARRIERstatic final ResourceKey<NormalNoise.NoiseParameters>static final ResourceKey<NormalNoise.NoiseParameters>Noises.AQUIFER_FLUID_LEVEL_SPREADstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.AQUIFER_LAVAstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.BADLANDS_PILLARstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.BADLANDS_PILLAR_ROOFstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.BADLANDS_SURFACEprivate static final ResourceKey<DensityFunction>NoiseRouterData.BASE_3D_NOISEstatic 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_LARGEprivate static final ResourceKey<DensityFunction>NoiseRouterData.CONTINENTSprivate static final ResourceKey<DensityFunction>NoiseRouterData.CONTINENTS_LARGEprivate static final ResourceKey<DensityFunction>NoiseRouterData.DEPTHprivate static final ResourceKey<DensityFunction>NoiseRouterData.DEPTH_LARGEstatic final ResourceKey<NoiseGeneratorSettings>NoiseGeneratorSettings.ENDprivate static final ResourceKey<DensityFunction>NoiseRouterData.ENTRANCESprivate static final ResourceKey<DensityFunction>NoiseRouterData.EROSIONstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.EROSIONprivate static final ResourceKey<DensityFunction>NoiseRouterData.EROSION_LARGEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.EROSION_LARGEprivate static final ResourceKey<DensityFunction>NoiseRouterData.FACTORprivate 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<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<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.RIDGEprivate static final ResourceKey<DensityFunction>NoiseRouterData.RIDGESstatic 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_ENDprivate static final ResourceKey<DensityFunction>NoiseRouterData.SLOPED_CHEESE_LARGEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SOUL_SAND_LAYERprivate static final ResourceKey<DensityFunction>NoiseRouterData.SPAGHETTI_2Dstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_2Dstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_2D_ELEVATIONstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_2D_MODULATORstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_2D_THICKNESSprivate static final ResourceKey<DensityFunction>NoiseRouterData.SPAGHETTI_2D_THICKNESS_MODULATORstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_3D_1static final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_3D_2static final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_3D_RARITYstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_3D_THICKNESSstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SPAGHETTI_ROUGHNESSprivate static final ResourceKey<DensityFunction>NoiseRouterData.SPAGHETTI_ROUGHNESS_FUNCTIONstatic final ResourceKey<NormalNoise.NoiseParameters>static final ResourceKey<NormalNoise.NoiseParameters>Noises.SURFACEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SURFACE_SECONDARYstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.SWAMPstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.TEMPERATUREstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.TEMPERATURE_LARGEstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.VEGETATIONstatic final ResourceKey<NormalNoise.NoiseParameters>Noises.VEGETATION_LARGEprivate static final ResourceKey<DensityFunction>NoiseRouterData.Yprivate static final ResourceKey<DensityFunction>NoiseRouterData.ZEROFields in net.minecraft.world.level.levelgen with type parameters of type ResourceKeyModifier and TypeFieldDescription(package private) final Predicate<ResourceKey<Biome>>SurfaceRules.BiomeConditionSource.biomeNameTestprivate final List<ResourceKey<Biome>>SurfaceRules.BiomeConditionSource.biomesprivate final Map<ResourceKey<NormalNoise.NoiseParameters>,NormalNoise> SurfaceSystem.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>static ResourceKey<Level>WorldGenSettings.levelStemToLevel(ResourceKey<LevelStem> p_190049_) static ResourceKey<LevelStem>WorldGenSettings.levelToLevelStem(ResourceKey<Level> p_190053_) 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 TypeMethodDescriptioncom.google.common.collect.ImmutableSet<ResourceKey<Level>>WorldGenSettings.levels()Methods in net.minecraft.world.level.levelgen with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static DensityFunctionNoiseRouterData.getFunction(ResourceKey<DensityFunction> p_209553_) private static Holder<NormalNoise.NoiseParameters>NoiseRouterData.getNoise(ResourceKey<NormalNoise.NoiseParameters> p_209543_) protected NormalNoiseSurfaceSystem.getOrCreateNoise(ResourceKey<NormalNoise.NoiseParameters> p_189984_) static NormalNoiseNoises.instantiate(Registry<NormalNoise.NoiseParameters> p_189306_, PositionalRandomFactory p_189307_, ResourceKey<NormalNoise.NoiseParameters> p_189308_) static SurfaceRules.ConditionSourceSurfaceRules.isBiome(ResourceKey<Biome>... p_189417_) static ResourceKey<Level>WorldGenSettings.levelStemToLevel(ResourceKey<LevelStem> p_190049_) static ResourceKey<LevelStem>WorldGenSettings.levelToLevelStem(ResourceKey<Level> p_190053_) static NoiseBasedChunkGeneratorWorldGenSettings.makeOverworld(RegistryAccess p_190031_, long p_190032_, ResourceKey<NoiseGeneratorSettings> p_190033_) static NoiseBasedChunkGeneratorWorldGenSettings.makeOverworld(RegistryAccess p_190035_, long p_190036_, ResourceKey<NoiseGeneratorSettings> p_190037_, boolean p_190038_) static SurfaceRules.ConditionSourceSurfaceRules.noiseCondition(ResourceKey<NormalNoise.NoiseParameters> p_189410_, double p_189411_) static SurfaceRules.ConditionSourceSurfaceRules.noiseCondition(ResourceKey<NormalNoise.NoiseParameters> p_189413_, double p_189414_, double p_189415_) static voidNoiseGeneratorSettings.register(ResourceKey<NoiseGeneratorSettings> p_198263_, NoiseGeneratorSettings p_198264_) private static DensityFunctionNoiseRouterData.register(ResourceKey<DensityFunction> p_209545_, DensityFunction p_209546_) booleanNoiseBasedChunkGenerator.stable(long p_64376_, ResourceKey<NoiseGeneratorSettings> p_64377_) Method parameters in net.minecraft.world.level.levelgen with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static SurfaceRules.BiomeConditionSourceSurfaceRules.isBiome(List<ResourceKey<Biome>> p_189408_) Constructors in net.minecraft.world.level.levelgen with parameters of type ResourceKeyModifierConstructorDescription(package private)NoiseThresholdConditionSource(ResourceKey<NormalNoise.NoiseParameters> noise, double minThreshold, double maxThreshold) Creates an instance of aNoiseThresholdConditionSourcerecord class.Constructor parameters in net.minecraft.world.level.levelgen with type arguments of type ResourceKeyModifierConstructorDescription(package private)BiomeConditionSource(List<ResourceKey<Biome>> p_189493_) -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.BASTION_REMNANTstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.BURIED_TREASUREstatic final ResourceKey<StructureSet>BuiltinStructureSets.BURIED_TREASURESstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.DESERT_PYRAMIDstatic final ResourceKey<StructureSet>BuiltinStructureSets.DESERT_PYRAMIDSprivate final ResourceKey<Level>StructureCheck.dimensionstatic final ResourceKey<StructureSet>BuiltinStructureSets.END_CITIESstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.END_CITYstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.FORTRESSstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.IGLOOstatic final ResourceKey<StructureSet>BuiltinStructureSets.IGLOOSstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.JUNGLE_TEMPLEstatic final ResourceKey<StructureSet>BuiltinStructureSets.JUNGLE_TEMPLESstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.MINESHAFTstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.MINESHAFT_MESAstatic final ResourceKey<StructureSet>BuiltinStructureSets.MINESHAFTSstatic final ResourceKey<StructureSet>BuiltinStructureSets.NETHER_COMPLEXESstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.NETHER_FOSSILstatic final ResourceKey<StructureSet>BuiltinStructureSets.NETHER_FOSSILSstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.OCEAN_MONUMENTstatic final ResourceKey<StructureSet>BuiltinStructureSets.OCEAN_MONUMENTSstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.OCEAN_RUIN_COLDstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.OCEAN_RUIN_WARMstatic final ResourceKey<StructureSet>BuiltinStructureSets.OCEAN_RUINSstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.PILLAGER_OUTPOSTstatic final ResourceKey<StructureSet>BuiltinStructureSets.PILLAGER_OUTPOSTSstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.RUINED_PORTAL_DESERTstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.RUINED_PORTAL_JUNGLEstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.RUINED_PORTAL_MOUNTAINstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.RUINED_PORTAL_NETHERstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.RUINED_PORTAL_OCEANstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.RUINED_PORTAL_STANDARDstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.RUINED_PORTAL_SWAMPstatic final ResourceKey<StructureSet>BuiltinStructureSets.RUINED_PORTALSstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.SHIPWRECKstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.SHIPWRECK_BEACHEDstatic final ResourceKey<StructureSet>BuiltinStructureSets.SHIPWRECKSstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.STRONGHOLDstatic final ResourceKey<StructureSet>BuiltinStructureSets.STRONGHOLDSstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.SWAMP_HUTstatic final ResourceKey<StructureSet>BuiltinStructureSets.SWAMP_HUTSstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.VILLAGE_DESERTstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.VILLAGE_PLAINSstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.VILLAGE_SAVANNAstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.VILLAGE_SNOWYstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.VILLAGE_TAIGAstatic final ResourceKey<StructureSet>BuiltinStructureSets.VILLAGESstatic final ResourceKey<ConfiguredStructureFeature<?,?>> BuiltinStructures.WOODLAND_MANSIONstatic final ResourceKey<StructureSet>BuiltinStructureSets.WOODLAND_MANSIONSMethods in net.minecraft.world.level.levelgen.structure that return ResourceKeyModifier and TypeMethodDescriptionprivate static ResourceKey<ConfiguredStructureFeature<?,?>> private static ResourceKey<StructureSet>Methods in net.minecraft.world.level.levelgen.structure with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic LegacyStructureDataHandlerLegacyStructureDataHandler.getLegacyStructureHandler(ResourceKey<Level> p_71332_, DimensionDataStorage p_71333_) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type ResourceKeyModifierConstructorDescriptionStructureCheck(ChunkScanAccess p_197251_, RegistryAccess p_197252_, StructureManager p_197253_, ResourceKey<Level> p_197254_, ChunkGenerator p_197255_, LevelHeightAccessor p_197256_, BiomeSource p_197257_, long p_197258_, com.mojang.datafixers.DataFixer p_197259_) -
Uses of ResourceKey in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps declared as ResourceKeyMethods in net.minecraft.world.level.saveddata.maps with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic MapItemSavedDataMapItemSavedData.createForClient(byte p_164777_, boolean p_164778_, ResourceKey<Level> p_164779_) static MapItemSavedDataMapItemSavedData.createFresh(double p_164781_, double p_164782_, byte p_164783_, boolean p_164784_, boolean p_164785_, ResourceKey<Level> p_164786_) Constructors in net.minecraft.world.level.saveddata.maps with parameters of type ResourceKeyModifierConstructorDescriptionprivateMapItemSavedData(int p_164768_, int p_164769_, byte p_164770_, boolean p_164771_, boolean p_164772_, boolean p_164773_, ResourceKey<Level> p_164774_) -
Uses of ResourceKey in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage with parameters of type ResourceKeyModifier and TypeMethodDescriptionLevelStorageSource.LevelStorageAccess.getDimensionPath(ResourceKey<Level> p_197395_) -
Uses of ResourceKey in net.minecraftforge.client
Methods in net.minecraftforge.client that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionClientCommandSourceStack.levels()Gets a set ofResourceKeyfor levels from the client side -
Uses of ResourceKey in net.minecraftforge.common
Fields in net.minecraftforge.common declared as ResourceKeyFields in net.minecraftforge.common with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static final List<ResourceKey<Biome>>BiomeManager.additionalOverworldBiomesprivate static final List<ResourceKey<Biome>>BiomeManager.additionalOverworldBiomesViewprivate static final Map<ResourceKey<Biome>,BiomeDictionary.BiomeInfo> BiomeDictionary.biomeInfoMapDeprecated.private final Set<ResourceKey<Biome>>BiomeDictionary.Type.biomesprivate final Set<ResourceKey<Biome>>BiomeDictionary.Type.biomesUnMethods in net.minecraftforge.common that return ResourceKeyMethods in net.minecraftforge.common that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic List<ResourceKey<Biome>>BiomeManager.getAdditionalOverworldBiomes()static Set<ResourceKey<Biome>>BiomeDictionary.getBiomes(BiomeDictionary.Type type) Deprecated.Gets the set of biomes that have the given type.Methods in net.minecraftforge.common with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic voidBiomeManager.addAdditionalOverworldBiomes(ResourceKey<Biome> biome) Add biomes that you add to the overworld without usingBiomeManager.addBiome(BiomeType, BiomeEntry)static voidBiomeDictionary.addTypes(ResourceKey<Biome> biome, BiomeDictionary.Type... types) Deprecated.Adds the given types to the biome.static booleanBiomeDictionary.areSimilar(ResourceKey<Biome> biomeA, ResourceKey<Biome> biomeB) Deprecated.Checks if the two given biomes have types in common.private static BiomeDictionary.BiomeInfoBiomeDictionary.getBiomeInfo(ResourceKey<Biome> biome) Deprecated.static Set<BiomeDictionary.Type>BiomeDictionary.getTypes(ResourceKey<Biome> biome) Deprecated.Gets the set of types that have been added to the given biome.static booleanBiomeDictionary.hasAnyType(ResourceKey<Biome> biome) Deprecated.Checks if any type has been added to the given biome.static booleanBiomeDictionary.hasType(ResourceKey<Biome> biome, BiomeDictionary.Type type) Deprecated.Checks if the given type has been added to the given biome.static booleanForgeHooks.onTravelToDimension(Entity entity, ResourceKey<Level> dimension) Constructors in net.minecraftforge.common with parameters of type ResourceKey -
Uses of ResourceKey in net.minecraftforge.common.crafting.conditions
Fields in net.minecraftforge.common.crafting.conditions with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate Map<ResourceKey<?>,Map<ResourceLocation, Tag<Holder<?>>>> ConditionContext.loadedTagsMethods in net.minecraftforge.common.crafting.conditions with parameters of type ResourceKeyModifier and TypeMethodDescription<T> Map<ResourceLocation,Tag<Holder<T>>> ConditionContext.getAllTags(ResourceKey<? extends Registry<T>> registry) <T> Map<ResourceLocation,Tag<Holder<T>>> ICondition.IContext.getAllTags(ResourceKey<? extends Registry<T>> registry) Return all the loaded tags for the passed registry, or an empty map if none is available. -
Uses of ResourceKey in net.minecraftforge.common.data
Methods in net.minecraftforge.common.data with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate voidForgeBiomeTagsProvider.tag(ResourceKey<Biome> biome, TagKey<Biome>... tags) -
Uses of ResourceKey in net.minecraftforge.common.util
Fields in net.minecraftforge.common.util declared as ResourceKeyMethods in net.minecraftforge.common.util with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic BlockSnapshotBlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor world, BlockPos pos) static BlockSnapshotBlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor world, BlockPos pos, int flag) Constructors in net.minecraftforge.common.util with parameters of type ResourceKeyModifierConstructorDescriptionprivateBlockSnapshot(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, BlockState state, CompoundTag nbt, int flags) -
Uses of ResourceKey in net.minecraftforge.debug.misc
Fields in net.minecraftforge.debug.misc declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<DataPackRegistriesTest.Syncable>>DataPackRegistriesTest.Syncable.REGISTRY_KEYstatic final ResourceKey<Registry<DataPackRegistriesTest.Unsyncable>>DataPackRegistriesTest.Unsyncable.REGISTRY_KEY -
Uses of ResourceKey in net.minecraftforge.event
Methods in net.minecraftforge.event with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic voidForgeEventFactory.firePlayerChangedDimensionEvent(Player player, ResourceKey<Level> fromDim, ResourceKey<Level> toDim) static booleanForgeEventFactory.onPlayerSpawnSet(Player player, ResourceKey<Level> levelKey, BlockPos pos, boolean forced) -
Uses of ResourceKey in net.minecraftforge.event.entity
Fields in net.minecraftforge.event.entity declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level>EntityTravelToDimensionEvent.dimensionMethods in net.minecraftforge.event.entity that return ResourceKeyConstructors in net.minecraftforge.event.entity with parameters of type ResourceKeyModifierConstructorDescriptionEntityTravelToDimensionEvent(Entity entity, ResourceKey<Level> dimension) -
Uses of ResourceKey in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level>PlayerEvent.PlayerChangedDimensionEvent.fromDimprivate final ResourceKey<Level>PlayerSetSpawnEvent.spawnWorldprivate final ResourceKey<Level>PlayerEvent.PlayerChangedDimensionEvent.toDimMethods in net.minecraftforge.event.entity.player that return ResourceKeyModifier and TypeMethodDescriptionPlayerEvent.PlayerChangedDimensionEvent.getFrom()PlayerSetSpawnEvent.getSpawnWorld()PlayerEvent.PlayerChangedDimensionEvent.getTo()Constructors in net.minecraftforge.event.entity.player with parameters of type ResourceKeyModifierConstructorDescriptionPlayerChangedDimensionEvent(Player player, ResourceKey<Level> fromDim, ResourceKey<Level> toDim) PlayerSetSpawnEvent(Player player, ResourceKey<Level> spawnWorld, BlockPos newSpawn, boolean forced) -
Uses of ResourceKey in net.minecraftforge.network
Fields in net.minecraftforge.network declared as ResourceKeyModifier and TypeFieldDescriptionprivate final ResourceKey<Level>PacketDistributor.TargetPoint.dimFields in net.minecraftforge.network with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final List<ResourceKey<? extends Registry<?>>>HandshakeMessages.S2CModList.dataPackRegistriesstatic final PacketDistributor<ResourceKey<Level>>PacketDistributor.DIMENSIONSend to everyone in the dimension specified in the Supplier
PacketDistributor.with(Supplier)DimensionTypeMethods in net.minecraftforge.network that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionList<ResourceKey<? extends Registry<?>>>HandshakeMessages.S2CModList.getCustomDataPackRegistries()Methods in net.minecraftforge.network with parameters of type ResourceKeyModifier and TypeMethodDescriptionPacketDistributor.TargetPoint.p(double x, double y, double z, double r2, ResourceKey<Level> dim) Helper to build a TargetPoint without excluded EntityMethod parameters in net.minecraftforge.network with type arguments of type ResourceKeyModifier and TypeMethodDescriptionPacketDistributor.playerListDimConsumer(Supplier<ResourceKey<Level>> dimensionTypeSupplier) Constructors in net.minecraftforge.network with parameters of type ResourceKeyModifierConstructorDescriptionTargetPoint(double x, double y, double z, double r2, ResourceKey<Level> dim) A target point without excluded entityTargetPoint(ServerPlayer excluded, double x, double y, double z, double r2, ResourceKey<Level> dim) A target point with excluded entity -
Uses of ResourceKey in net.minecraftforge.registries
Fields in net.minecraftforge.registries declared as ResourceKeyModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<Activity>>ForgeRegistries.Keys.ACTIVITIESstatic final ResourceKey<Registry<Attribute>>ForgeRegistries.Keys.ATTRIBUTESstatic final ResourceKey<Registry<Biome>>ForgeRegistries.Keys.BIOMESstatic final ResourceKey<Registry<BlockEntityType<?>>>ForgeRegistries.Keys.BLOCK_ENTITY_TYPESstatic final ResourceKey<Registry<BlockStateProviderType<?>>>ForgeRegistries.Keys.BLOCK_STATE_PROVIDER_TYPESstatic final ResourceKey<Registry<Block>>ForgeRegistries.Keys.BLOCKSstatic final ResourceKey<Registry<ChunkStatus>>ForgeRegistries.Keys.CHUNK_STATUSstatic final ResourceKey<Registry<MenuType<?>>>ForgeRegistries.Keys.CONTAINER_TYPESstatic final ResourceKey<Registry<DataSerializerEntry>>ForgeRegistries.Keys.DATA_SERIALIZERSprivate final ResourceKey<V>ForgeRegistry.defaultResourceKeystatic final ResourceKey<Registry<Enchantment>>ForgeRegistries.Keys.ENCHANTMENTSstatic final ResourceKey<Registry<EntityType<?>>>ForgeRegistries.Keys.ENTITY_TYPESstatic final ResourceKey<Registry<Feature<?>>>ForgeRegistries.Keys.FEATURESstatic final ResourceKey<Registry<Fluid>>ForgeRegistries.Keys.FLUIDSstatic final ResourceKey<Registry<FoliagePlacerType<?>>>ForgeRegistries.Keys.FOLIAGE_PLACER_TYPESstatic final ResourceKey<Registry<Item>>ForgeRegistries.Keys.ITEMSprivate final ResourceKey<Registry<V>>ForgeRegistry.keyprivate final ResourceKey<V>ForgeRegistry.OverrideOwner.keyThe field for thekeyrecord component.private @Nullable ResourceKey<T>RegistryObject.keystatic final ResourceKey<Registry<GlobalLootModifierSerializer<?>>>ForgeRegistries.Keys.LOOT_MODIFIER_SERIALIZERSstatic final ResourceKey<Registry<MemoryModuleType<?>>>ForgeRegistries.Keys.MEMORY_MODULE_TYPESstatic final ResourceKey<Registry<MobEffect>>ForgeRegistries.Keys.MOB_EFFECTSstatic final ResourceKey<Registry<Motive>>ForgeRegistries.Keys.PAINTING_TYPESstatic final ResourceKey<Registry<ParticleType<?>>>ForgeRegistries.Keys.PARTICLE_TYPESstatic final ResourceKey<Registry<PoiType>>ForgeRegistries.Keys.POI_TYPESstatic final ResourceKey<Registry<Potion>>ForgeRegistries.Keys.POTIONSstatic final ResourceKey<Registry<RecipeSerializer<?>>>ForgeRegistries.Keys.RECIPE_SERIALIZERSprivate final @Nullable ResourceKey<? extends Registry<T>>DeferredRegister.registryKeystatic final ResourceKey<Registry<Schedule>>ForgeRegistries.Keys.SCHEDULESstatic final ResourceKey<Registry<SensorType<?>>>ForgeRegistries.Keys.SENSOR_TYPESstatic final ResourceKey<Registry<SoundEvent>>ForgeRegistries.Keys.SOUND_EVENTSstatic final ResourceKey<Registry<StatType<?>>>ForgeRegistries.Keys.STAT_TYPESstatic final ResourceKey<Registry<StructureFeature<?>>>ForgeRegistries.Keys.STRUCTURE_FEATURESstatic final ResourceKey<Registry<TreeDecoratorType<?>>>ForgeRegistries.Keys.TREE_DECORATOR_TYPESstatic final ResourceKey<Registry<VillagerProfession>>ForgeRegistries.Keys.VILLAGER_PROFESSIONSstatic final ResourceKey<Registry<WorldCarver<?>>>ForgeRegistries.Keys.WORLD_CARVERSstatic final ResourceKey<Registry<ForgeWorldPreset>>ForgeRegistries.Keys.WORLD_TYPESFields in net.minecraftforge.registries with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate final com.google.common.collect.BiMap<ResourceKey<V>,V> ForgeRegistry.keysprivate static Map<ResourceKey<? extends Registry<?>>,RegistryAccess.RegistryData<?>> DataPackRegistriesHooks.REGISTRY_ACCESS_REGISTRIES_COPYprivate static final Set<ResourceKey<? extends Registry<?>>>DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIESprivate static final Set<ResourceKey<? extends Registry<?>>>DataPackRegistriesHooks.SYNCED_CUSTOM_REGISTRIES_VIEWMethods in net.minecraftforge.registries that return ResourceKeyModifier and TypeMethodDescription@Nullable ResourceKey<V>ForgeRegistry.getKey(int id) @Nullable ResourceKey<T>RegistryObject.getKey()Returns the resource key that points to the registry and name of this registry object.ForgeRegistry.getRegistryKey()IForgeRegistry.getRegistryKey()private static <T> ResourceKey<Registry<T>>ForgeRegistry.OverrideOwner.key()Returns the value of thekeyrecord component.Methods in net.minecraftforge.registries that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionSet<Map.Entry<ResourceKey<T>,T>> NamespacedDefaultedWrapper.entrySet()Set<Map.Entry<ResourceKey<T>,T>> NamespacedWrapper.entrySet()@NotNull Set<Map.Entry<ResourceKey<V>,V>> ForgeRegistry.getEntries()@NotNull Set<Map.Entry<ResourceKey<V>,V>> IForgeRegistry.getEntries()@NotNull Optional<ResourceKey<V>>ForgeRegistry.getResourceKey(V value) @NotNull Optional<ResourceKey<V>>IForgeRegistry.getResourceKey(V value) NamespacedDefaultedWrapper.getResourceKey(T p_122755_) NamespacedWrapper.getResourceKey(T p_122755_) static Set<ResourceKey<? extends Registry<?>>>DataPackRegistriesHooks.getSyncedCustomRegistries()Returns unmodifiable view of the set of synced non-vanilla datapack registry IDs.static Map<ResourceKey<? extends Registry<?>>,RegistryAccess.RegistryData<?>> DataPackRegistriesHooks.grabBuiltinRegistries(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> builder) Methods in net.minecraftforge.registries with parameters of type ResourceKeyModifier and TypeMethodDescriptionbooleanNamespacedDefaultedWrapper.containsKey(ResourceKey<T> key) booleanNamespacedWrapper.containsKey(ResourceKey<T> key) static <B> DeferredRegister<B>DeferredRegister.create(ResourceKey<? extends Registry<B>> key, String modid) DeferredRegister factory for custom forge registries,vanilla registries, orbuilt-in registriesto lookup based on the provided registry key.static <T,U extends T>
RegistryObject<U>RegistryObject.create(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Factory for aRegistryObjectthat stores the value of an object from a registry once it is ready based on a lookup of the provided registry key.static <B> DeferredRegister<B>DeferredRegister.createOptional(ResourceKey<? extends Registry<B>> key, String modid) DeferredRegister factory for the optional existence of custom forge registries,vanilla registries, orbuilt-in registriesto lookup based on the provided registry key.static <T,U extends T>
RegistryObject<U>RegistryObject.createOptional(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Factory for aRegistryObjectthat optionally stores the value of an object from a registry once it is ready if the registry exists based on a lookup of the provided registry key.NamespacedDefaultedWrapper.get(ResourceKey<T> name) NamespacedWrapper.get(ResourceKey<T> name) ForgeRegistry.getHolder(ResourceKey<V> key) IForgeRegistry.getHolder(ResourceKey<V> key) This method exists purely as a stopgap for vanilla compatibility.NamespacedDefaultedWrapper.getHolder(ResourceKey<T> key) NamespacedHolderHelper.getHolder(ResourceKey<T> key) private Holder.Reference<T>NamespacedHolderHelper.getHolder(ResourceKey<T> key, T value) NamespacedWrapper.getHolder(ResourceKey<T> key) NamespacedDefaultedWrapper.getOrCreateHolder(ResourceKey<T> key) NamespacedHolderHelper.getOrCreateHolder(ResourceKey<T> key) NamespacedWrapper.getOrCreateHolder(ResourceKey<T> key) <V extends IForgeRegistryEntry<V>>
ForgeRegistry<V>RegistryManager.getRegistry(ResourceKey<? extends Registry<V>> key) static <T extends IForgeRegistryEntry<T>>
MappedRegistry<T>GameData.getWrapper(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>GameData.getWrapper(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, String defKey) private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData.makeRegistry(ResourceKey<? extends Registry<T>> key, Class<T> type) private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData.makeRegistry(ResourceKey<? extends Registry<T>> key, Class<T> type, int min, int max) private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData.makeRegistry(ResourceKey<? extends Registry<T>> key, Class<T> type, String _default) static <T,U extends T>
RegistryObject<U>RegistryObject.of(ResourceLocation name, ResourceKey<? extends Registry<T>> registryKey, String modid) Deprecated, for removal: This API element is subject to removal in a future version.NamespacedDefaultedWrapper.register(ResourceKey<T> p_205891_, T p_205892_, com.mojang.serialization.Lifecycle p_205893_) NamespacedWrapper.register(ResourceKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle) NamespacedDefaultedWrapper.registerMapping(int id, ResourceKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle) NamespacedWrapper.registerMapping(int id, ResourceKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle) NamespacedDefaultedWrapper.registerOrOverride(OptionalInt id, ResourceKey<T> p_205885_, T p_205886_, com.mojang.serialization.Lifecycle p_205887_) NamespacedWrapper.registerOrOverride(OptionalInt id, ResourceKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle) Method parameters in net.minecraftforge.registries with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic Map<ResourceKey<? extends Registry<?>>,RegistryAccess.RegistryData<?>> DataPackRegistriesHooks.grabBuiltinRegistries(com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>, RegistryAccess.RegistryData<?>> builder) Constructors in net.minecraftforge.registries with parameters of type ResourceKeyModifierConstructorDescriptionprivateDeferredRegister(@Nullable ResourceKey<? extends Registry<T>> registryKey, @Nullable Class<E> base, String modid, boolean optionalRegistry) privateOverrideOwner(String owner, ResourceKey<V> key) Creates an instance of aOverrideOwnerrecord class. -
Uses of ResourceKey in net.minecraftforge.server.command
Fields in net.minecraftforge.server.command declared as ResourceKeyModifier and TypeFieldDescriptionprivate static final ResourceKey<Registry<Registry<?>>>TagsCommand.ROOT_REGISTRY_KEYMethods in net.minecraftforge.server.command that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static <T> Optional<ResourceKey<T>>TagsCommand.getResourceKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name, ResourceKey<Registry<T>> registryKey) Methods in net.minecraftforge.server.command with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static intEntityCommand.EntityListCommand.execute(CommandSourceStack sender, String filter, ResourceKey<Level> dim) private static <T> Optional<ResourceKey<T>>TagsCommand.getResourceKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String name, ResourceKey<Registry<T>> registryKey)
RegistryObject.create(ResourceLocation, ResourceKey, String)instead.