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 ResourceKey<Biome>LocationPredicate.biomeprivate ResourceKey<Biome>LocationPredicate.Builder.biomeprivate ResourceKey<Level>LocationPredicate.Builder.dimensionprivate ResourceKey<Level>LocationPredicate.dimensionprivate ResourceKey<Level>ChangeDimensionTrigger.TriggerInstance.fromprivate 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_)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_)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_52606_, MinMaxBounds.Doubles p_52607_, MinMaxBounds.Doubles p_52608_, ResourceKey<Biome> p_52609_, StructureFeature<?> p_52610_, ResourceKey<Level> p_52611_, Boolean p_52612_, LightPredicate p_52613_, BlockPredicate p_52614_, FluidPredicate p_52615_)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 ResourceKey<Biome>PresetFlatWorldScreen.DEFAULT_BIOMEMethods in net.minecraft.client.gui.screens with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidPresetFlatWorldScreen.preset(Component p_96425_, ItemLike p_96426_, ResourceKey<Biome> p_96427_, List<StructureFeature<?>> p_96428_, boolean p_96429_, boolean p_96430_, boolean p_96431_, FlatLayerInfo... p_96432_) -
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 it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Level>>OptimizeWorldScreen.DIMENSION_COLORSConstructor parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type ResourceKeyModifierConstructorDescriptionprivateOptimizeWorldScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_101304_, com.mojang.datafixers.DataFixer p_101305_, LevelStorageSource.LevelStorageAccess p_101306_, LevelSettings p_101307_, boolean p_101308_, com.google.common.collect.ImmutableSet<ResourceKey<Level>> p_101309_) -
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()Constructors in net.minecraft.client.multiplayer with parameters of type ResourceKeyModifierConstructorDescriptionClientLevel(ClientPacketListener p_104568_, ClientLevel.ClientLevelData p_104569_, ResourceKey<Level> p_104570_, DimensionType p_104571_, int p_104572_, Supplier<ProfilerFiller> p_104573_, LevelRenderer p_104574_, boolean p_104575_, long p_104576_) -
Uses of ResourceKey in net.minecraft.commands
Methods in net.minecraft.commands that return types with arguments of type ResourceKey -
Uses of ResourceKey in net.minecraft.core
Fields in net.minecraft.core declared as ResourceKeyModifier and TypeFieldDescriptionstatic ResourceKey<Registry<Activity>>Registry.ACTIVITY_REGISTRYstatic ResourceKey<Registry<Attribute>>Registry.ATTRIBUTE_REGISTRYstatic ResourceKey<Registry<Biome>>Registry.BIOME_REGISTRYstatic ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>Registry.BIOME_SOURCE_REGISTRYstatic ResourceKey<Registry<BlockEntityType<?>>>Registry.BLOCK_ENTITY_TYPE_REGISTRYstatic ResourceKey<Registry<BlockPlacerType<?>>>Registry.BLOCK_PLACER_TYPE_REGISTRYstatic ResourceKey<Registry<Block>>Registry.BLOCK_REGISTRYstatic ResourceKey<Registry<BlockStateProviderType<?>>>Registry.BLOCK_STATE_PROVIDER_TYPE_REGISTRYstatic ResourceKey<Registry<WorldCarver<?>>>Registry.CARVER_REGISTRYstatic ResourceKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>Registry.CHUNK_GENERATOR_REGISTRYstatic ResourceKey<Registry<ChunkStatus>>Registry.CHUNK_STATUS_REGISTRYstatic ResourceKey<Registry<ConfiguredWorldCarver<?>>>Registry.CONFIGURED_CARVER_REGISTRYstatic ResourceKey<Registry<ConfiguredFeature<?,?>>>Registry.CONFIGURED_FEATURE_REGISTRYstatic ResourceKey<Registry<ConfiguredStructureFeature<?,?>>>static ResourceKey<Registry<ConfiguredSurfaceBuilder<?>>>Registry.CONFIGURED_SURFACE_BUILDER_REGISTRYstatic ResourceKey<Registry<ResourceLocation>>Registry.CUSTOM_STAT_REGISTRYstatic ResourceKey<Registry<FeatureDecorator<?>>>Registry.DECORATOR_REGISTRYprivate ResourceKey<Level>GlobalPos.dimensionstatic ResourceKey<Registry<Level>>Registry.DIMENSION_REGISTRYstatic ResourceKey<Registry<DimensionType>>Registry.DIMENSION_TYPE_REGISTRYstatic ResourceKey<Registry<Enchantment>>Registry.ENCHANTMENT_REGISTRYstatic ResourceKey<Registry<EntityType<?>>>Registry.ENTITY_TYPE_REGISTRYstatic ResourceKey<Registry<Feature<?>>>Registry.FEATURE_REGISTRYstatic ResourceKey<Registry<FeatureSizeType<?>>>Registry.FEATURE_SIZE_TYPE_REGISTRYstatic ResourceKey<Registry<FloatProviderType<?>>>Registry.FLOAT_PROVIDER_TYPE_REGISTRYstatic ResourceKey<Registry<Fluid>>Registry.FLUID_REGISTRYstatic ResourceKey<Registry<FoliagePlacerType<?>>>Registry.FOLIAGE_PLACER_TYPE_REGISTRYstatic ResourceKey<Registry<GameEvent>>Registry.GAME_EVENT_REGISTRYstatic ResourceKey<Registry<HeightProviderType<?>>>Registry.HEIGHT_PROVIDER_TYPE_REGISTRYstatic ResourceKey<Registry<IntProviderType<?>>>Registry.INT_PROVIDER_TYPE_REGISTRYstatic ResourceKey<Registry<Item>>Registry.ITEM_REGISTRYMappedRegistry.RegistryEntry.keyprivate ResourceKey<? extends Registry<T>>Registry.keyprivate ResourceKey<? extends Registry<E>>RegistryAccess.RegistryData.keystatic ResourceKey<Registry<LevelStem>>Registry.LEVEL_STEM_REGISTRYstatic ResourceKey<Registry<LootPoolEntryType>>Registry.LOOT_ENTRY_REGISTRYstatic ResourceKey<Registry<LootItemFunctionType>>Registry.LOOT_FUNCTION_REGISTRYstatic ResourceKey<Registry<LootItemConditionType>>Registry.LOOT_ITEM_REGISTRYstatic ResourceKey<Registry<LootNbtProviderType>>Registry.LOOT_NBT_PROVIDER_REGISTRYstatic ResourceKey<Registry<LootNumberProviderType>>Registry.LOOT_NUMBER_PROVIDER_REGISTRYstatic ResourceKey<Registry<LootScoreProviderType>>Registry.LOOT_SCORE_PROVIDER_REGISTRYstatic ResourceKey<Registry<MemoryModuleType<?>>>Registry.MEMORY_MODULE_TYPE_REGISTRYstatic ResourceKey<Registry<MenuType<?>>>Registry.MENU_REGISTRYstatic ResourceKey<Registry<MobEffect>>Registry.MOB_EFFECT_REGISTRYstatic ResourceKey<Registry<Motive>>Registry.MOTIVE_REGISTRYstatic ResourceKey<Registry<NoiseGeneratorSettings>>Registry.NOISE_GENERATOR_SETTINGS_REGISTRYstatic ResourceKey<Registry<ParticleType<?>>>Registry.PARTICLE_TYPE_REGISTRYstatic ResourceKey<Registry<PoiType>>Registry.POINT_OF_INTEREST_TYPE_REGISTRYstatic ResourceKey<Registry<PosRuleTestType<?>>>Registry.POS_RULE_TEST_REGISTRYstatic ResourceKey<Registry<PositionSourceType<?>>>Registry.POSITION_SOURCE_TYPE_REGISTRYstatic ResourceKey<Registry<Potion>>Registry.POTION_REGISTRYstatic ResourceKey<Registry<StructureProcessorList>>Registry.PROCESSOR_LIST_REGISTRYstatic ResourceKey<Registry<RecipeSerializer<?>>>Registry.RECIPE_SERIALIZER_REGISTRYstatic ResourceKey<Registry<RecipeType<?>>>Registry.RECIPE_TYPE_REGISTRYstatic ResourceKey<Registry<RuleTestType<?>>>Registry.RULE_TEST_REGISTRYstatic ResourceKey<Registry<Schedule>>Registry.SCHEDULE_REGISTRYstatic ResourceKey<Registry<SensorType<?>>>Registry.SENSOR_TYPE_REGISTRYstatic ResourceKey<Registry<SoundEvent>>Registry.SOUND_EVENT_REGISTRYstatic ResourceKey<Registry<StatType<?>>>Registry.STAT_TYPE_REGISTRYstatic ResourceKey<Registry<StructureFeature<?>>>Registry.STRUCTURE_FEATURE_REGISTRYstatic ResourceKey<Registry<StructurePieceType>>Registry.STRUCTURE_PIECE_REGISTRYstatic ResourceKey<Registry<StructurePoolElementType<?>>>Registry.STRUCTURE_POOL_ELEMENT_REGISTRYstatic ResourceKey<Registry<StructureProcessorType<?>>>Registry.STRUCTURE_PROCESSOR_REGISTRYstatic ResourceKey<Registry<SurfaceBuilder<?>>>Registry.SURFACE_BUILDER_REGISTRYstatic ResourceKey<Registry<StructureTemplatePool>>Registry.TEMPLATE_POOL_REGISTRYstatic ResourceKey<Registry<TreeDecoratorType<?>>>Registry.TREE_DECORATOR_TYPE_REGISTRYstatic ResourceKey<Registry<TrunkPlacerType<?>>>Registry.TRUNK_PLACER_TYPE_REGISTRYstatic ResourceKey<Registry<VillagerProfession>>Registry.VILLAGER_PROFESSION_REGISTRYstatic ResourceKey<Registry<VillagerType>>Registry.VILLAGER_TYPE_REGISTRYFields in net.minecraft.core with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate com.google.common.collect.BiMap<ResourceKey<T>,T>MappedRegistry.keyStorageprivate Map<? extends ResourceKey<? extends Registry<?>>,? extends MappedRegistry<?>>RegistryAccess.RegistryHolder.registries(package private) static 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 MappedRegistry<?>>
com.mojang.serialization.Codec<RegistryAccess.RegistryHolder>RegistryAccess.RegistryHolder.captureMap(com.mojang.serialization.codecs.UnboundedMapCodec<K,V> p_123119_)Methods in net.minecraft.core that return ResourceKeyModifier and TypeMethodDescriptionprivate static <T> ResourceKey<Registry<T>>Registry.createRegistryKey(String p_122979_)GlobalPos.dimension()ResourceKey<? extends Registry<T>>Registry.key()ResourceKey<? extends Registry<E>>RegistryAccess.RegistryData.key()Methods in net.minecraft.core that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionSet<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_)Methods in net.minecraft.core with parameters of type ResourceKeyModifier and TypeMethodDescriptionbooleanMappedRegistry.containsKey(ResourceKey<T> p_175392_)abstract booleanRegistry.containsKey(ResourceKey<T> p_175475_)private static <R extends Registry<?>>
voidRegistryAccess.copyBuiltin(RegistryAccess.RegistryHolder p_123079_, ResourceKey<R> p_123080_)private static <E> MappedRegistry<?>RegistryAccess.RegistryHolder.createRegistry(ResourceKey<? extends Registry<?>> p_123141_)static <T> com.mojang.serialization.Codec<MappedRegistry<T>>MappedRegistry.dataPackCodec(ResourceKey<? extends Registry<T>> p_122748_, com.mojang.serialization.Lifecycle p_122749_, com.mojang.serialization.Codec<T> p_122750_)static <T> com.mojang.serialization.Codec<MappedRegistry<T>>MappedRegistry.directCodec(ResourceKey<? extends Registry<T>> p_122757_, com.mojang.serialization.Lifecycle p_122758_, com.mojang.serialization.Codec<T> p_122759_)private static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, Supplier<T> def)private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, String defKey, com.mojang.serialization.Lifecycle cycle, Supplier<T> def)private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, String defKey, Supplier<T> def)private static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge(ResourceKey<? extends Registry<T>> key, Supplier<T> def)MappedRegistry.get(ResourceKey<T> p_122714_)abstract TRegistry.get(ResourceKey<T> p_122980_)private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>RegistryAccess.RegistryHolder.getNetworkCodec(ResourceKey<? extends Registry<E>> p_123138_)Registry.getOptional(ResourceKey<T> p_123010_)Registry.getOrThrow(ResourceKey<T> p_123014_)private static <T, R extends WritableRegistry<T>>
RRegistry.internalRegister(ResourceKey<? extends Registry<T>> p_122986_, R p_122987_, Supplier<T> p_122988_, com.mojang.serialization.Lifecycle p_122989_)static <T> com.mojang.serialization.Codec<MappedRegistry<T>>MappedRegistry.networkCodec(ResourceKey<? extends Registry<T>> p_122716_, com.mojang.serialization.Lifecycle p_122717_, com.mojang.serialization.Codec<T> p_122718_)static GlobalPosGlobalPos.of(ResourceKey<Level> p_122644_, BlockPos p_122645_)abstract <E> Optional<WritableRegistry<E>>RegistryAccess.ownedRegistry(ResourceKey<? extends Registry<? extends E>> p_175507_)<E> Optional<WritableRegistry<E>>RegistryAccess.RegistryHolder.ownedRegistry(ResourceKey<? extends Registry<? extends E>> p_175528_)<E> WritableRegistry<E>RegistryAccess.ownedRegistryOrThrow(ResourceKey<? extends Registry<? extends E>> p_175513_)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_)<V extends T>
VMappedRegistry.register(ResourceKey<T> p_122735_, V p_122736_, com.mojang.serialization.Lifecycle p_122737_)abstract <V extends T>
VWritableRegistry.register(ResourceKey<T> p_123356_, V p_123357_, com.mojang.serialization.Lifecycle p_123358_)private static <T> DefaultedRegistry<T>Registry.registerDefaulted(ResourceKey<? extends Registry<T>> p_122991_, String p_122992_, com.mojang.serialization.Lifecycle p_122993_, Supplier<T> p_122994_)private static <T> DefaultedRegistry<T>Registry.registerDefaulted(ResourceKey<? extends Registry<T>> p_122996_, String p_122997_, Supplier<T> p_122998_)<V extends T>
VDefaultedRegistry.registerMapping(int p_122319_, ResourceKey<T> p_122320_, V p_122321_, com.mojang.serialization.Lifecycle p_122322_)<V extends T>
VMappedRegistry.registerMapping(int p_122686_, ResourceKey<T> p_122687_, V p_122688_, com.mojang.serialization.Lifecycle p_122689_)private <V extends T>
VMappedRegistry.registerMapping(int p_122691_, ResourceKey<T> p_122692_, V p_122693_, com.mojang.serialization.Lifecycle p_122694_, boolean p_122695_)abstract <V extends T>
VWritableRegistry.registerMapping(int p_123348_, ResourceKey<T> p_123349_, V p_123350_, com.mojang.serialization.Lifecycle p_123351_)<V extends T>
VMappedRegistry.registerOrOverride(OptionalInt p_122708_, ResourceKey<T> p_122709_, V p_122710_, com.mojang.serialization.Lifecycle p_122711_)abstract <V extends T>
VWritableRegistry.registerOrOverride(OptionalInt p_123352_, ResourceKey<T> p_123353_, V p_123354_, com.mojang.serialization.Lifecycle p_123355_)private static <T> Registry<T>Registry.registerSimple(ResourceKey<? extends Registry<T>> p_122982_, com.mojang.serialization.Lifecycle p_122983_, Supplier<T> p_122984_)private static <T> Registry<T>Registry.registerSimple(ResourceKey<? extends Registry<T>> p_123000_, Supplier<T> p_123001_)RegistryAccess.registry(ResourceKey<? extends Registry<? extends E>> p_123085_)<E> Registry<E>RegistryAccess.registryOrThrow(ResourceKey<? extends Registry<? extends E>> p_175516_)static <T> com.mojang.serialization.MapCodec<MappedRegistry.RegistryEntry<T>>MappedRegistry.withNameAndId(ResourceKey<? extends Registry<T>> p_122728_, com.mojang.serialization.MapCodec<T> p_122729_)Method parameters in net.minecraft.core with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate 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_122312_, ResourceKey<? extends Registry<T>> p_122313_, com.mojang.serialization.Lifecycle p_122314_)privateGlobalPos(ResourceKey<Level> p_122638_, BlockPos p_122639_)MappedRegistry(ResourceKey<? extends Registry<T>> p_122681_, com.mojang.serialization.Lifecycle p_122682_)protectedRegistry(ResourceKey<? extends Registry<T>> p_122920_, com.mojang.serialization.Lifecycle p_122921_)RegistryData(ResourceKey<? extends Registry<E>> p_123105_, com.mojang.serialization.Codec<E> p_123106_, com.mojang.serialization.Codec<E> p_123107_)RegistryEntry(ResourceKey<T> p_122770_, int p_122771_, T p_122772_)WritableRegistry(ResourceKey<? extends Registry<T>> p_123346_, com.mojang.serialization.Lifecycle p_123347_)Constructor parameters in net.minecraft.core with type arguments of type ResourceKeyModifierConstructorDescriptionprivateRegistryHolder(Map<? extends ResourceKey<? extends Registry<?>>,? extends MappedRegistry<?>> p_123117_) -
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<T> def)private static <T, R extends WritableRegistry<T>>
RBuiltinRegistries.internalRegister(ResourceKey<? extends Registry<T>> p_123889_, R p_123890_, Supplier<T> p_123891_, com.mojang.serialization.Lifecycle p_123892_)static <V, T extends V>
TBuiltinRegistries.registerMapping(Registry<V> p_123872_, int p_123873_, ResourceKey<V> p_123874_, T p_123875_)private static <T> Registry<T>BuiltinRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_123885_, com.mojang.serialization.Lifecycle p_123886_, Supplier<T> p_123887_)private static <T> Registry<T>BuiltinRegistries.registerSimple(ResourceKey<? extends Registry<T>> p_123894_, Supplier<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 List<ResourceKey<Biome>>AdventureAdvancements.EXPLORABLE_BIOMESprivate static List<ResourceKey<Biome>>NetherAdvancements.EXPLORABLE_BIOMESMethod 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.worldgen
Fields in net.minecraft.data.worldgen declared as ResourceKey -
Uses of ResourceKey in net.minecraft.data.worldgen.biome
Fields in net.minecraft.data.worldgen.biome with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<Biome>>Biomes.TO_NAMEMethods in net.minecraft.data.worldgen.biome that return ResourceKeyMethods in net.minecraft.data.worldgen.biome with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static BiomeBiomes.register(int p_127328_, ResourceKey<Biome> p_127329_, Biome p_127330_) -
Uses of ResourceKey in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as ResourceKeyModifier and TypeFieldDescriptionprivate ResourceKey<Level>ClientboundLoginPacket.dimensionprivate ResourceKey<Level>ClientboundRespawnPacket.dimensionFields in net.minecraft.network.protocol.game with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate Set<ResourceKey<Level>>ClientboundLoginPacket.levelsprivate Map<ResourceKey<? extends Registry<?>>,TagCollection.NetworkPayload>ClientboundUpdateTagsPacket.tagsMethods in net.minecraft.network.protocol.game that return ResourceKeyModifier and TypeMethodDescriptionClientboundLoginPacket.getDimension()ClientboundRespawnPacket.getDimension()Methods in net.minecraft.network.protocol.game that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionMap<ResourceKey<? extends Registry<?>>,TagCollection.NetworkPayload>ClientboundUpdateTagsPacket.getTags()ClientboundLoginPacket.levels()Constructors in net.minecraft.network.protocol.game with parameters of type ResourceKeyModifierConstructorDescriptionClientboundLoginPacket(int p_132377_, GameType p_132378_, GameType p_132379_, long p_132380_, boolean p_132381_, Set<ResourceKey<Level>> p_132382_, RegistryAccess.RegistryHolder p_132383_, DimensionType p_132384_, ResourceKey<Level> p_132385_, int p_132386_, int p_132387_, boolean p_132388_, boolean p_132389_, boolean p_132390_, boolean p_132391_)ClientboundRespawnPacket(DimensionType p_132938_, ResourceKey<Level> p_132939_, long p_132940_, GameType p_132941_, GameType p_132942_, boolean p_132943_, boolean p_132944_, boolean p_132945_)Constructor parameters in net.minecraft.network.protocol.game with type arguments of type ResourceKeyModifierConstructorDescriptionClientboundLoginPacket(int p_132377_, GameType p_132378_, GameType p_132379_, long p_132380_, boolean p_132381_, Set<ResourceKey<Level>> p_132382_, RegistryAccess.RegistryHolder p_132383_, DimensionType p_132384_, ResourceKey<Level> p_132385_, int p_132386_, int p_132387_, boolean p_132388_, boolean p_132389_, boolean p_132390_, boolean p_132391_)ClientboundUpdateTagsPacket(Map<ResourceKey<? extends Registry<?>>,TagCollection.NetworkPayload> p_179473_) -
Uses of ResourceKey in net.minecraft.resources
Fields in net.minecraft.resources declared as ResourceKeyModifier and TypeFieldDescriptionprivate ResourceKey<? extends Registry<E>>RegistryDataPackCodec.registryKeyprivate ResourceKey<? extends Registry<E>>RegistryFileCodec.registryKeyprivate ResourceKey<? extends Registry<E>>RegistryLookupCodec.registryKeyFields in net.minecraft.resources with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate Map<ResourceKey<?>,com.google.gson.JsonElement>RegistryReadOps.ResourceAccess.MemoryMap.dataprivate it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<?>>RegistryReadOps.ResourceAccess.MemoryMap.idsprivate Map<ResourceKey<?>,com.mojang.serialization.Lifecycle>RegistryReadOps.ResourceAccess.MemoryMap.lifecyclesprivate Map<ResourceKey<? extends Registry<?>>,RegistryReadOps.ReadCache<?>>RegistryReadOps.readCache(package private) Map<ResourceKey<E>,com.mojang.serialization.DataResult<Supplier<E>>>RegistryReadOps.ReadCache.valuesprivate static 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 TypeMethodDescriptionstatic <T> Function<ResourceLocation,ResourceKey<T>>ResourceKey.elementKey(ResourceKey<? extends Registry<T>> p_135798_)Methods in net.minecraft.resources with parameters of type ResourceKeyModifier and TypeMethodDescription<E> voidRegistryReadOps.ResourceAccess.MemoryMap.add(RegistryAccess.RegistryHolder p_135746_, ResourceKey<E> p_135747_, com.mojang.serialization.Encoder<E> p_135748_, int p_135749_, E p_135750_, com.mojang.serialization.Lifecycle p_135751_)intResourceKey.compareTo(ResourceKey<?> o)static <E> RegistryDataPackCodec<E>RegistryDataPackCodec.create(ResourceKey<? extends Registry<E>> p_135559_, com.mojang.serialization.Lifecycle p_135560_, com.mojang.serialization.Codec<E> p_135561_)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> RegistryLookupCodec<E>RegistryLookupCodec.create(ResourceKey<? extends Registry<E>> p_135623_)static <T> ResourceKey<T>ResourceKey.create(ResourceKey<? extends Registry<T>> p_135786_, ResourceLocation p_135787_)RegistryReadOps.decodeElement(T p_135678_, ResourceKey<? extends Registry<E>> p_135679_, com.mojang.serialization.Codec<E> p_135680_, boolean p_135681_)<E> com.mojang.serialization.DataResult<MappedRegistry<E>>RegistryReadOps.decodeElements(MappedRegistry<E> p_135663_, ResourceKey<? extends Registry<E>> p_135664_, com.mojang.serialization.Codec<E> p_135665_)static <T> Function<ResourceLocation,ResourceKey<T>>ResourceKey.elementKey(ResourceKey<? extends Registry<T>> p_135798_)protected <E> com.mojang.serialization.DataResult<T>RegistryWriteOps.encode(E p_135771_, T p_135772_, ResourceKey<? extends Registry<E>> p_135773_, com.mojang.serialization.Codec<E> p_135774_)RegistryFileCodec.homogeneousList(ResourceKey<? extends Registry<E>> p_135601_, com.mojang.serialization.Codec<E> p_135602_)booleanResourceKey.isFor(ResourceKey<? extends Registry<?>> p_135784_)RegistryReadOps.ResourceAccess.listResources(ResourceKey<? extends Registry<?>> p_135720_)RegistryReadOps.ResourceAccess.MemoryMap.listResources(ResourceKey<? extends Registry<?>> p_135753_)<E> Optional<com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<E,OptionalInt>>>RegistryReadOps.ResourceAccess.MemoryMap.parseElement(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_179902_, ResourceKey<? extends Registry<E>> p_179903_, ResourceKey<E> p_179904_, com.mojang.serialization.Decoder<E> p_179905_)<E> Optional<com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<E,OptionalInt>>>RegistryReadOps.ResourceAccess.parseElement(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_179892_, ResourceKey<? extends Registry<E>> p_179893_, ResourceKey<E> p_179894_, com.mojang.serialization.Decoder<E> p_179895_)private <E> com.mojang.serialization.DataResult<Supplier<E>>RegistryReadOps.readAndRegisterElement(ResourceKey<? extends Registry<E>> p_135690_, WritableRegistry<E> p_135691_, com.mojang.serialization.Codec<E> p_135692_, ResourceLocation p_135693_)private <E> RegistryReadOps.ReadCache<E>RegistryReadOps.readCache(ResourceKey<? extends Registry<E>> p_135700_)protected <E> com.mojang.serialization.DataResult<Registry<E>>RegistryReadOps.registry(ResourceKey<? extends Registry<E>> p_135683_)Constructors in net.minecraft.resources with parameters of type ResourceKeyModifierConstructorDescriptionprivateRegistryDataPackCodec(ResourceKey<? extends Registry<E>> p_135545_, com.mojang.serialization.Lifecycle p_135546_, com.mojang.serialization.Codec<E> p_135547_)privateRegistryFileCodec(ResourceKey<? extends Registry<E>> p_135574_, com.mojang.serialization.Codec<E> p_135575_, boolean p_135576_)privateRegistryLookupCodec(ResourceKey<? extends Registry<E>> p_135617_)Constructor parameters in net.minecraft.resources with type arguments of type ResourceKeyModifierConstructorDescriptionprivateRegistryReadOps(com.mojang.serialization.DynamicOps<T> p_179862_, RegistryReadOps.ResourceAccess p_179863_, RegistryAccess p_179864_, IdentityHashMap<ResourceKey<? extends Registry<?>>,RegistryReadOps.ReadCache<?>> p_179865_) -
Uses of ResourceKey in net.minecraft.server
Fields in net.minecraft.server with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate 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)Method parameters in net.minecraft.server with type arguments of type ResourceKeyModifier and TypeMethodDescriptionprivate static voidMain.forceUpgrade(LevelStorageSource.LevelStorageAccess p_129675_, com.mojang.datafixers.DataFixer p_129676_, boolean p_129677_, BooleanSupplier p_129678_, com.google.common.collect.ImmutableSet<ResourceKey<Level>> p_129679_) -
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_8571_, Executor p_8572_, LevelStorageSource.LevelStorageAccess p_8573_, ServerLevelData p_8574_, ResourceKey<Level> p_8575_, DimensionType p_8576_, ChunkProgressListener p_8577_, ChunkGenerator p_8578_, boolean p_8579_, long p_8580_, List<CustomSpawner> p_8581_, boolean p_8582_) -
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 ResourceKeyFields in net.minecraft.tags with type parameters of type ResourceKeyModifier and TypeFieldDescriptionMap<ResourceKey<? extends Registry<?>>,TagCollection<?>>TagContainer.collectionsprivate static Map<ResourceKey<?>,StaticTagHelper<?>>StaticTags.HELPER_MAPprivate static Set<ResourceKey<?>>StaticTags.HELPERS_IDSprivate com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>,TagCollection<?>>TagContainer.Builder.resultMethods in net.minecraft.tags that return ResourceKeyMethods in net.minecraft.tags that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic com.google.common.collect.Multimap<ResourceKey<? extends Registry<?>>,ResourceLocation>StaticTags.getAllMissingTags(TagContainer p_13284_)Map<ResourceKey<? extends Registry<?>>,TagCollection.NetworkPayload>TagContainer.serializeToNetwork(RegistryAccess p_144443_)Methods in net.minecraft.tags with parameters of type ResourceKeyModifier and TypeMethodDescription<T> voidTagContainer.CollectionConsumer.accept(ResourceKey<? extends Registry<T>> p_144489_, TagCollection<T> p_144490_)private static <T> voidTagContainer.acceptCap(TagContainer.CollectionConsumer p_144439_, ResourceKey<? extends Registry<?>> p_144440_, TagCollection<?> p_144441_)TagContainer.Builder.add(ResourceKey<? extends Registry<? extends T>> p_144487_, TagCollection<T> p_144488_)private static <T> voidTagContainer.addTagsFromPayload(RegistryAccess p_144445_, TagContainer.Builder p_144446_, ResourceKey<? extends Registry<? extends T>> p_144447_, TagCollection.NetworkPayload p_144448_)static <T> StaticTagHelper<T>StaticTags.create(ResourceKey<? extends Registry<T>> p_144352_, String p_144353_)private <T> TagCollection<T>TagContainer.get(ResourceKey<? extends Registry<T>> p_144472_)<T, E extends Exception>
ResourceLocationTagContainer.getIdOrThrow(ResourceKey<? extends Registry<T>> p_144455_, Tag<T> p_144456_, Supplier<E> p_144457_)<T> TagCollection<T>TagContainer.getOrEmpty(ResourceKey<? extends Registry<T>> p_144453_)TagContainer.getTagOrThrow(ResourceKey<? extends Registry<T>> p_144459_, ResourceLocation p_144460_, Function<ResourceLocation,E> p_144461_)Method parameters in net.minecraft.tags with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic TagContainerTagContainer.deserializeFromNetwork(RegistryAccess p_144450_, Map<ResourceKey<? extends Registry<?>>,TagCollection.NetworkPayload> p_144451_)Constructors in net.minecraft.tags with parameters of type ResourceKeyModifierConstructorDescriptionStaticTagHelper(ResourceKey<? extends Registry<T>> p_144329_, String p_144330_)Constructor parameters in net.minecraft.tags with type arguments of type ResourceKeyModifierConstructorDescriptionTagContainer(Map<ResourceKey<? extends Registry<?>>,TagCollection<?>> p_144435_) -
Uses of ResourceKey in net.minecraft.util.worldupdate
Fields in net.minecraft.util.worldupdate with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate com.google.common.collect.ImmutableSet<ResourceKey<Level>>WorldUpgrader.levelsprivate 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_)Constructor parameters in net.minecraft.util.worldupdate with type arguments of type ResourceKeyModifierConstructorDescriptionWorldUpgrader(LevelStorageSource.LevelStorageAccess p_18816_, com.mojang.datafixers.DataFixer p_18817_, com.google.common.collect.ImmutableSet<ResourceKey<Level>> p_18818_, boolean p_18819_) -
Uses of ResourceKey in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal with type parameters of type ResourceKeyMethod parameters in net.minecraft.world.entity.animal with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic Fox.TypeFox.Type.byBiome(Optional<ResourceKey<Biome>> p_28819_)Constructors in net.minecraft.world.entity.animal with parameters of type ResourceKeyModifierConstructorDescriptionprivateType(int p_28808_, String p_28809_, ResourceKey<Biome>... p_28810_) -
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 Map<ResourceKey<Biome>,VillagerType>VillagerType.BY_BIOMEMethod parameters in net.minecraft.world.entity.npc with type arguments of type ResourceKeyModifier and TypeMethodDescriptionstatic VillagerTypeVillagerType.byBiome(Optional<ResourceKey<Biome>> p_35836_) -
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 ResourceKey<Level>Level.dimensionstatic ResourceKey<Level>Level.ENDstatic ResourceKey<Level>Level.NETHERstatic ResourceKey<Level>Level.OVERWORLDFields in net.minecraft.world.level with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<ResourceKey<Level>>Level.RESOURCE_KEY_CODECMethods in net.minecraft.world.level that return ResourceKeyMethods in net.minecraft.world.level that return types with arguments of type ResourceKeyModifier and TypeMethodDescriptiondefault Optional<ResourceKey<Biome>>CommonLevelAccessor.getBiomeName(BlockPos p_45838_)Constructors in net.minecraft.world.level with parameters of type ResourceKeyModifierConstructorDescriptionprotectedLevel(WritableLevelData p_46450_, ResourceKey<Level> p_46451_, DimensionType p_46452_, Supplier<ProfilerFiller> p_46453_, boolean p_46454_, boolean p_46455_, long p_46456_) -
Uses of ResourceKey in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as ResourceKeyModifier and TypeFieldDescriptionstatic ResourceKey<Biome>Biomes.BADLANDSstatic ResourceKey<Biome>Biomes.BADLANDS_PLATEAUstatic ResourceKey<Biome>Biomes.BAMBOO_JUNGLEstatic ResourceKey<Biome>Biomes.BAMBOO_JUNGLE_HILLSstatic ResourceKey<Biome>Biomes.BASALT_DELTASstatic ResourceKey<Biome>Biomes.BEACHstatic ResourceKey<Biome>Biomes.BIRCH_FORESTstatic ResourceKey<Biome>Biomes.BIRCH_FOREST_HILLSstatic ResourceKey<Biome>Biomes.COLD_OCEANstatic ResourceKey<Biome>Biomes.CRIMSON_FORESTstatic ResourceKey<Biome>Biomes.DARK_FORESTstatic ResourceKey<Biome>Biomes.DARK_FOREST_HILLSstatic ResourceKey<Biome>Biomes.DEEP_COLD_OCEANstatic ResourceKey<Biome>Biomes.DEEP_FROZEN_OCEANstatic ResourceKey<Biome>Biomes.DEEP_LUKEWARM_OCEANstatic ResourceKey<Biome>Biomes.DEEP_OCEANstatic ResourceKey<Biome>Biomes.DEEP_WARM_OCEANstatic ResourceKey<Biome>Biomes.DESERTstatic ResourceKey<Biome>Biomes.DESERT_HILLSstatic ResourceKey<Biome>Biomes.DESERT_LAKESstatic ResourceKey<Biome>Biomes.DRIPSTONE_CAVESstatic ResourceKey<Biome>Biomes.END_BARRENSstatic ResourceKey<Biome>Biomes.END_HIGHLANDSstatic ResourceKey<Biome>Biomes.END_MIDLANDSstatic ResourceKey<Biome>Biomes.ERODED_BADLANDSstatic ResourceKey<Biome>Biomes.FLOWER_FORESTstatic ResourceKey<Biome>Biomes.FORESTstatic ResourceKey<Biome>Biomes.FROZEN_OCEANstatic ResourceKey<Biome>Biomes.FROZEN_RIVERstatic ResourceKey<Biome>Biomes.GIANT_SPRUCE_TAIGAstatic ResourceKey<Biome>Biomes.GIANT_SPRUCE_TAIGA_HILLSstatic ResourceKey<Biome>Biomes.GIANT_TREE_TAIGAstatic ResourceKey<Biome>Biomes.GIANT_TREE_TAIGA_HILLSstatic ResourceKey<Biome>Biomes.GRAVELLY_MOUNTAINSstatic ResourceKey<Biome>Biomes.ICE_SPIKESstatic ResourceKey<Biome>Biomes.JUNGLEstatic ResourceKey<Biome>Biomes.JUNGLE_EDGEstatic ResourceKey<Biome>Biomes.JUNGLE_HILLSstatic ResourceKey<Biome>Biomes.LUKEWARM_OCEANstatic ResourceKey<Biome>Biomes.LUSH_CAVESstatic ResourceKey<Biome>Biomes.MODIFIED_BADLANDS_PLATEAUstatic ResourceKey<Biome>Biomes.MODIFIED_GRAVELLY_MOUNTAINSstatic ResourceKey<Biome>Biomes.MODIFIED_JUNGLEstatic ResourceKey<Biome>Biomes.MODIFIED_JUNGLE_EDGEstatic ResourceKey<Biome>static ResourceKey<Biome>Biomes.MOUNTAIN_EDGEstatic ResourceKey<Biome>Biomes.MOUNTAINSstatic ResourceKey<Biome>Biomes.MUSHROOM_FIELD_SHOREstatic ResourceKey<Biome>Biomes.MUSHROOM_FIELDSstatic ResourceKey<Biome>Biomes.NETHER_WASTESstatic ResourceKey<Biome>Biomes.OCEANstatic ResourceKey<Biome>Biomes.PLAINSstatic ResourceKey<Biome>Biomes.RIVERstatic ResourceKey<Biome>Biomes.SAVANNAstatic ResourceKey<Biome>Biomes.SAVANNA_PLATEAUstatic ResourceKey<Biome>Biomes.SHATTERED_SAVANNAstatic ResourceKey<Biome>Biomes.SHATTERED_SAVANNA_PLATEAUstatic ResourceKey<Biome>Biomes.SMALL_END_ISLANDSstatic ResourceKey<Biome>Biomes.SNOWY_BEACHstatic ResourceKey<Biome>Biomes.SNOWY_MOUNTAINSstatic ResourceKey<Biome>Biomes.SNOWY_TAIGAstatic ResourceKey<Biome>Biomes.SNOWY_TAIGA_HILLSstatic ResourceKey<Biome>Biomes.SNOWY_TAIGA_MOUNTAINSstatic ResourceKey<Biome>Biomes.SNOWY_TUNDRAstatic ResourceKey<Biome>Biomes.SOUL_SAND_VALLEYstatic ResourceKey<Biome>Biomes.STONE_SHOREstatic ResourceKey<Biome>Biomes.SUNFLOWER_PLAINSstatic ResourceKey<Biome>Biomes.SWAMPstatic ResourceKey<Biome>Biomes.SWAMP_HILLSstatic ResourceKey<Biome>Biomes.TAIGAstatic ResourceKey<Biome>Biomes.TAIGA_HILLSstatic ResourceKey<Biome>Biomes.TAIGA_MOUNTAINSstatic ResourceKey<Biome>Biomes.TALL_BIRCH_FORESTstatic ResourceKey<Biome>Biomes.TALL_BIRCH_HILLSstatic ResourceKey<Biome>Biomes.THE_ENDstatic ResourceKey<Biome>Biomes.THE_VOIDstatic ResourceKey<Biome>Biomes.WARM_OCEANstatic ResourceKey<Biome>Biomes.WARPED_FORESTstatic ResourceKey<Biome>Biomes.WOODED_BADLANDS_PLATEAUstatic ResourceKey<Biome>Biomes.WOODED_HILLSstatic ResourceKey<Biome>Biomes.WOODED_MOUNTAINSFields in net.minecraft.world.level.biome with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static List<ResourceKey<Biome>>OverworldBiomeSource.POSSIBLE_BIOMESMethods in net.minecraft.world.level.biome that return ResourceKey -
Uses of ResourceKey in net.minecraft.world.level.chunk.storage
Methods in net.minecraft.world.level.chunk.storage with parameters of type ResourceKeyModifier and TypeMethodDescriptionChunkStorage.upgradeChunkTag(ResourceKey<Level> p_63508_, Supplier<DimensionDataStorage> p_63509_, CompoundTag p_63510_) -
Uses of ResourceKey in net.minecraft.world.level.dimension
Fields in net.minecraft.world.level.dimension declared as ResourceKeyModifier and TypeFieldDescriptionstatic ResourceKey<LevelStem>LevelStem.ENDstatic ResourceKey<DimensionType>DimensionType.END_LOCATIONstatic ResourceKey<LevelStem>LevelStem.NETHERstatic ResourceKey<DimensionType>DimensionType.NETHER_LOCATIONstatic ResourceKey<LevelStem>LevelStem.OVERWORLDstatic ResourceKey<DimensionType>DimensionType.OVERWORLD_CAVES_LOCATIONstatic ResourceKey<DimensionType>DimensionType.OVERWORLD_LOCATIONFields in net.minecraft.world.level.dimension with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate static 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 FileDimensionType.getStorageFolder(ResourceKey<Level> p_63933_, File p_63934_) -
Uses of ResourceKey in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as ResourceKeyModifier and TypeFieldDescriptionstatic ResourceKey<NoiseGeneratorSettings>NoiseGeneratorSettings.AMPLIFIEDstatic ResourceKey<NoiseGeneratorSettings>NoiseGeneratorSettings.CAVESstatic ResourceKey<NoiseGeneratorSettings>NoiseGeneratorSettings.ENDstatic ResourceKey<NoiseGeneratorSettings>NoiseGeneratorSettings.FLOATING_ISLANDSstatic ResourceKey<NoiseGeneratorSettings>NoiseGeneratorSettings.NETHERstatic ResourceKey<NoiseGeneratorSettings>NoiseGeneratorSettings.OVERWORLDMethods 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 TypeMethodDescriptionstatic NoiseGeneratorSettingsNoiseGeneratorSettings.register(ResourceKey<NoiseGeneratorSettings> p_64479_, NoiseGeneratorSettings p_64480_)booleanNoiseBasedChunkGenerator.stable(long p_64376_, ResourceKey<NoiseGeneratorSettings> p_64377_)booleanNoiseGeneratorSettings.stable(ResourceKey<NoiseGeneratorSettings> p_64477_) -
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure
Methods in net.minecraft.world.level.levelgen.structure with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic LegacyStructureDataHandlerLegacyStructureDataHandler.getLegacyStructureHandler(ResourceKey<Level> p_71332_, DimensionDataStorage p_71333_) -
Uses of ResourceKey in net.minecraft.world.level.newbiome.layer
Methods in net.minecraft.world.level.newbiome.layer that return ResourceKeyModifier and TypeMethodDescriptionprotected ResourceKey<Biome>BiomeInitLayer.getBiome(BiomeManager.BiomeType type, Context context) -
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_78300_) -
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 List<ResourceKey<Biome>>BiomeManager.additionalOverworldBiomesprivate static List<ResourceKey<Biome>>BiomeManager.additionalOverworldBiomesViewprivate static Map<ResourceKey<Biome>,BiomeDictionary.BiomeInfo>BiomeDictionary.biomeInfoMapprivate Set<ResourceKey<Biome>>BiomeDictionary.Type.biomesprivate 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)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)Adds the given types to the biome.static booleanBiomeDictionary.areSimilar(ResourceKey<Biome> biomeA, ResourceKey<Biome> biomeB)Checks if the two given biomes have types in common.private static BiomeDictionary.BiomeInfoBiomeDictionary.getBiomeInfo(ResourceKey<Biome> biome)static Set<BiomeDictionary.Type>BiomeDictionary.getTypes(ResourceKey<Biome> biome)Gets the set of types that have been added to the given biome.ForgeTagHandler.getWrapperRegistry(ResourceKey<? extends Registry<T>> key, Optional<? extends Registry<T>> vanillaReg)Wraps the forge registry if it supports tags into the internal registry for use in serializationstatic booleanBiomeDictionary.hasAnyType(ResourceKey<Biome> biome)Checks if any type has been added to the given biome.static booleanBiomeDictionary.hasType(ResourceKey<Biome> biome, BiomeDictionary.Type type)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.extensions
Methods in net.minecraftforge.common.extensions with parameters of type ResourceKeyModifier and TypeMethodDescriptiondefault TagsProvider.TagAppender<T>IForgeTagAppender.add(ResourceKey<T>... keys) -
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 world, 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 TypeFieldDescriptionprivate static ResourceKey<? extends Registry<CustomTagTypesTest.Custom>>CustomTagTypesTest.CUSTOM_KEY -
Uses of ResourceKey in net.minecraftforge.event
Methods in net.minecraftforge.event with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic booleanForgeEventFactory.onPlayerSpawnSet(Player player, ResourceKey<Level> world, BlockPos pos, boolean forced) -
Uses of ResourceKey in net.minecraftforge.event.entity
Fields in net.minecraftforge.event.entity declared as ResourceKeyModifier and TypeFieldDescriptionprivate 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 ResourceKey<Level>PlayerEvent.PlayerChangedDimensionEvent.fromDimprivate ResourceKey<Level>PlayerSetSpawnEvent.spawnWorldprivate 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.fmllegacy.hooks
Methods in net.minecraftforge.fmllegacy.hooks with parameters of type ResourceKeyModifier and TypeMethodDescriptionstatic voidBasicEventHooks.firePlayerChangedDimensionEvent(Player player, ResourceKey<Level> fromDim, ResourceKey<Level> toDim) -
Uses of ResourceKey in net.minecraftforge.fmllegacy.network
Fields in net.minecraftforge.fmllegacy.network declared as ResourceKeyFields in net.minecraftforge.fmllegacy.network with type parameters of type ResourceKeyModifier and TypeFieldDescriptionstatic PacketDistributor<ResourceKey<Level>>PacketDistributor.DIMENSIONSend to everyone in the dimension specified in the Supplier
PacketDistributor.with(Supplier)DimensionTypeMethods in net.minecraftforge.fmllegacy.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.fmllegacy.network with type arguments of type ResourceKeyModifier and TypeMethodDescriptionPacketDistributor.playerListDimConsumer(Supplier<ResourceKey<Level>> dimensionTypeSupplier)Constructors in net.minecraftforge.fmllegacy.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 ResourceKey<Registry<Activity>>ForgeRegistries.Keys.ACTIVITIESstatic ResourceKey<Registry<Attribute>>ForgeRegistries.Keys.ATTRIBUTESstatic ResourceKey<Registry<Biome>>ForgeRegistries.Keys.BIOMESstatic ResourceKey<Registry<BlockEntityType<?>>>ForgeRegistries.Keys.BLOCK_ENTITY_TYPESstatic ResourceKey<Registry<BlockPlacerType<?>>>ForgeRegistries.Keys.BLOCK_PLACER_TYPESstatic ResourceKey<Registry<BlockStateProviderType<?>>>ForgeRegistries.Keys.BLOCK_STATE_PROVIDER_TYPESstatic ResourceKey<Registry<Block>>ForgeRegistries.Keys.BLOCKSstatic ResourceKey<Registry<ChunkStatus>>ForgeRegistries.Keys.CHUNK_STATUSstatic ResourceKey<Registry<MenuType<?>>>ForgeRegistries.Keys.CONTAINER_TYPESstatic ResourceKey<Registry<DataSerializerEntry>>ForgeRegistries.Keys.DATA_SERIALIZERSstatic ResourceKey<Registry<FeatureDecorator<?>>>ForgeRegistries.Keys.DECORATORSstatic ResourceKey<Registry<Enchantment>>ForgeRegistries.Keys.ENCHANTMENTSstatic ResourceKey<Registry<EntityType<?>>>ForgeRegistries.Keys.ENTITY_TYPESstatic ResourceKey<Registry<Feature<?>>>ForgeRegistries.Keys.FEATURESstatic ResourceKey<Registry<Fluid>>ForgeRegistries.Keys.FLUIDSstatic ResourceKey<Registry<FoliagePlacerType<?>>>ForgeRegistries.Keys.FOLIAGE_PLACER_TYPESstatic ResourceKey<Registry<Item>>ForgeRegistries.Keys.ITEMSprivate ResourceKey<Registry<V>>ForgeRegistry.keystatic ResourceKey<Registry<GlobalLootModifierSerializer<?>>>ForgeRegistries.Keys.LOOT_MODIFIER_SERIALIZERSstatic ResourceKey<Registry<MemoryModuleType<?>>>ForgeRegistries.Keys.MEMORY_MODULE_TYPESstatic ResourceKey<Registry<MobEffect>>ForgeRegistries.Keys.MOB_EFFECTSstatic ResourceKey<Registry<Motive>>ForgeRegistries.Keys.PAINTING_TYPESstatic ResourceKey<Registry<ParticleType<?>>>ForgeRegistries.Keys.PARTICLE_TYPESstatic ResourceKey<Registry<PoiType>>ForgeRegistries.Keys.POI_TYPESstatic ResourceKey<Registry<Potion>>ForgeRegistries.Keys.POTIONSstatic ResourceKey<Registry<RecipeSerializer<?>>>ForgeRegistries.Keys.RECIPE_SERIALIZERSstatic ResourceKey<Registry<Schedule>>ForgeRegistries.Keys.SCHEDULESstatic ResourceKey<Registry<SensorType<?>>>ForgeRegistries.Keys.SENSOR_TYPESstatic ResourceKey<Registry<SoundEvent>>ForgeRegistries.Keys.SOUND_EVENTSstatic ResourceKey<Registry<StatType<?>>>ForgeRegistries.Keys.STAT_TYPESstatic ResourceKey<Registry<StructureFeature<?>>>ForgeRegistries.Keys.STRUCTURE_FEATURESstatic ResourceKey<Registry<SurfaceBuilder<?>>>ForgeRegistries.Keys.SURFACE_BUILDERSstatic ResourceKey<Registry<TreeDecoratorType<?>>>ForgeRegistries.Keys.TREE_DECORATOR_TYPESstatic ResourceKey<Registry<VillagerProfession>>ForgeRegistries.Keys.VILLAGER_PROFESSIONSstatic ResourceKey<Registry<WorldCarver<?>>>ForgeRegistries.Keys.WORLD_CARVERSstatic ResourceKey<Registry<ForgeWorldType>>ForgeRegistries.Keys.WORLD_TYPESFields in net.minecraftforge.registries with type parameters of type ResourceKeyModifier and TypeFieldDescriptionprivate com.google.common.collect.BiMap<ResourceKey<V>,V>ForgeRegistry.keysMethods in net.minecraftforge.registries that return ResourceKeyModifier and TypeMethodDescriptionForgeRegistry.getKey(int id)ForgeRegistry.getRegistryKey()private static <T> ResourceKey<Registry<T>>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()Set<Map.Entry<ResourceKey<V>,V>>ForgeRegistry.getEntries()Set<Map.Entry<ResourceKey<V>,V>>IForgeRegistry.getEntries()Methods in net.minecraftforge.registries with parameters of type ResourceKeyModifier and TypeMethodDescriptionNamespacedDefaultedWrapper.get(ResourceKey<T> name)NamespacedWrapper.get(ResourceKey<T> name)<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)<V extends T>
VNamespacedDefaultedWrapper.register(ResourceKey<T> key, V value, com.mojang.serialization.Lifecycle lifecycle)<R extends T>
RNamespacedWrapper.register(ResourceKey<T> key, R value, com.mojang.serialization.Lifecycle lifecycle)<V extends T>
VNamespacedDefaultedWrapper.registerMapping(int id, ResourceKey<T> key, V value, com.mojang.serialization.Lifecycle lifecycle)<V extends T>
VNamespacedWrapper.registerMapping(int id, ResourceKey<T> key, V value, com.mojang.serialization.Lifecycle lifecycle)<V extends T>
VNamespacedDefaultedWrapper.registerOrOverride(OptionalInt id, ResourceKey<T> key, V value, com.mojang.serialization.Lifecycle lifecycle)<V extends T>
VNamespacedWrapper.registerOrOverride(OptionalInt id, ResourceKey<T> key, V value, com.mojang.serialization.Lifecycle lifecycle) -
Uses of ResourceKey in net.minecraftforge.server.command
Methods in net.minecraftforge.server.command with parameters of type ResourceKeyModifier and TypeMethodDescriptionprivate static intCommandEntity.EntityListCommand.execute(CommandSourceStack sender, String filter, ResourceKey<Level> dim)