Uses of Class
net.minecraft.resources.ResourceKey
Package
Description
-
Uses of ResourceKey in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate ResourceKey<Biome>
LocationPredicate.biome
private ResourceKey<Biome>
LocationPredicate.Builder.biome
private ResourceKey<Level>
LocationPredicate.Builder.dimension
private ResourceKey<Level>
LocationPredicate.dimension
private ResourceKey<Level>
ChangeDimensionTrigger.TriggerInstance.from
private ResourceKey<Level>
ChangeDimensionTrigger.TriggerInstance.to
Modifier 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 LocationPredicate
LocationPredicate.inBiome(ResourceKey<Biome> p_52635_)
static LocationPredicate
LocationPredicate.inDimension(ResourceKey<Level> p_52639_)
boolean
ChangeDimensionTrigger.TriggerInstance.matches(ResourceKey<Level> p_19785_, ResourceKey<Level> p_19786_)
LocationPredicate.Builder.setBiome(ResourceKey<Biome> p_52657_)
LocationPredicate.Builder.setDimension(ResourceKey<Level> p_153977_)
void
ChangeDimensionTrigger.trigger(ServerPlayer p_19758_, ResourceKey<Level> p_19759_, ResourceKey<Level> p_19760_)
ModifierConstructorDescriptionLocationPredicate(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
Modifier and TypeFieldDescriptionprivate static ResourceKey<Biome>
PresetFlatWorldScreen.DEFAULT_BIOME
Modifier and TypeMethodDescriptionprivate static void
PresetFlatWorldScreen.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
Modifier and TypeFieldDescriptionprivate static it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Level>>
OptimizeWorldScreen.DIMENSION_COLORS
ModifierConstructorDescriptionprivate
OptimizeWorldScreen(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
Modifier and TypeMethodDescriptionClientPacketListener.levels()
ClientSuggestionProvider.levels()
ModifierConstructorDescriptionClientLevel(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
-
Uses of ResourceKey in net.minecraft.core
Modifier and TypeFieldDescriptionstatic ResourceKey<Registry<Activity>>
Registry.ACTIVITY_REGISTRY
static ResourceKey<Registry<Attribute>>
Registry.ATTRIBUTE_REGISTRY
static ResourceKey<Registry<Biome>>
Registry.BIOME_REGISTRY
static ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>
Registry.BIOME_SOURCE_REGISTRY
static ResourceKey<Registry<BlockEntityType<?>>>
Registry.BLOCK_ENTITY_TYPE_REGISTRY
static ResourceKey<Registry<BlockPlacerType<?>>>
Registry.BLOCK_PLACER_TYPE_REGISTRY
static ResourceKey<Registry<Block>>
Registry.BLOCK_REGISTRY
static ResourceKey<Registry<BlockStateProviderType<?>>>
Registry.BLOCK_STATE_PROVIDER_TYPE_REGISTRY
static ResourceKey<Registry<WorldCarver<?>>>
Registry.CARVER_REGISTRY
static ResourceKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
Registry.CHUNK_GENERATOR_REGISTRY
static ResourceKey<Registry<ChunkStatus>>
Registry.CHUNK_STATUS_REGISTRY
static ResourceKey<Registry<ConfiguredWorldCarver<?>>>
Registry.CONFIGURED_CARVER_REGISTRY
static ResourceKey<Registry<ConfiguredFeature<?,?>>>
Registry.CONFIGURED_FEATURE_REGISTRY
static ResourceKey<Registry<ConfiguredStructureFeature<?,?>>>
static ResourceKey<Registry<ConfiguredSurfaceBuilder<?>>>
Registry.CONFIGURED_SURFACE_BUILDER_REGISTRY
static ResourceKey<Registry<ResourceLocation>>
Registry.CUSTOM_STAT_REGISTRY
static ResourceKey<Registry<FeatureDecorator<?>>>
Registry.DECORATOR_REGISTRY
private ResourceKey<Level>
GlobalPos.dimension
static ResourceKey<Registry<Level>>
Registry.DIMENSION_REGISTRY
static ResourceKey<Registry<DimensionType>>
Registry.DIMENSION_TYPE_REGISTRY
static ResourceKey<Registry<Enchantment>>
Registry.ENCHANTMENT_REGISTRY
static ResourceKey<Registry<EntityType<?>>>
Registry.ENTITY_TYPE_REGISTRY
static ResourceKey<Registry<Feature<?>>>
Registry.FEATURE_REGISTRY
static ResourceKey<Registry<FeatureSizeType<?>>>
Registry.FEATURE_SIZE_TYPE_REGISTRY
static ResourceKey<Registry<FloatProviderType<?>>>
Registry.FLOAT_PROVIDER_TYPE_REGISTRY
static ResourceKey<Registry<Fluid>>
Registry.FLUID_REGISTRY
static ResourceKey<Registry<FoliagePlacerType<?>>>
Registry.FOLIAGE_PLACER_TYPE_REGISTRY
static ResourceKey<Registry<GameEvent>>
Registry.GAME_EVENT_REGISTRY
static ResourceKey<Registry<HeightProviderType<?>>>
Registry.HEIGHT_PROVIDER_TYPE_REGISTRY
static ResourceKey<Registry<IntProviderType<?>>>
Registry.INT_PROVIDER_TYPE_REGISTRY
static ResourceKey<Registry<Item>>
Registry.ITEM_REGISTRY
MappedRegistry.RegistryEntry.key
private ResourceKey<? extends Registry<T>>
Registry.key
private ResourceKey<? extends Registry<E>>
RegistryAccess.RegistryData.key
static ResourceKey<Registry<LevelStem>>
Registry.LEVEL_STEM_REGISTRY
static ResourceKey<Registry<LootPoolEntryType>>
Registry.LOOT_ENTRY_REGISTRY
static ResourceKey<Registry<LootItemFunctionType>>
Registry.LOOT_FUNCTION_REGISTRY
static ResourceKey<Registry<LootItemConditionType>>
Registry.LOOT_ITEM_REGISTRY
static ResourceKey<Registry<LootNbtProviderType>>
Registry.LOOT_NBT_PROVIDER_REGISTRY
static ResourceKey<Registry<LootNumberProviderType>>
Registry.LOOT_NUMBER_PROVIDER_REGISTRY
static ResourceKey<Registry<LootScoreProviderType>>
Registry.LOOT_SCORE_PROVIDER_REGISTRY
static ResourceKey<Registry<MemoryModuleType<?>>>
Registry.MEMORY_MODULE_TYPE_REGISTRY
static ResourceKey<Registry<MenuType<?>>>
Registry.MENU_REGISTRY
static ResourceKey<Registry<MobEffect>>
Registry.MOB_EFFECT_REGISTRY
static ResourceKey<Registry<Motive>>
Registry.MOTIVE_REGISTRY
static ResourceKey<Registry<NoiseGeneratorSettings>>
Registry.NOISE_GENERATOR_SETTINGS_REGISTRY
static ResourceKey<Registry<ParticleType<?>>>
Registry.PARTICLE_TYPE_REGISTRY
static ResourceKey<Registry<PoiType>>
Registry.POINT_OF_INTEREST_TYPE_REGISTRY
static ResourceKey<Registry<PosRuleTestType<?>>>
Registry.POS_RULE_TEST_REGISTRY
static ResourceKey<Registry<PositionSourceType<?>>>
Registry.POSITION_SOURCE_TYPE_REGISTRY
static ResourceKey<Registry<Potion>>
Registry.POTION_REGISTRY
static ResourceKey<Registry<StructureProcessorList>>
Registry.PROCESSOR_LIST_REGISTRY
static ResourceKey<Registry<RecipeSerializer<?>>>
Registry.RECIPE_SERIALIZER_REGISTRY
static ResourceKey<Registry<RecipeType<?>>>
Registry.RECIPE_TYPE_REGISTRY
static ResourceKey<Registry<RuleTestType<?>>>
Registry.RULE_TEST_REGISTRY
static ResourceKey<Registry<Schedule>>
Registry.SCHEDULE_REGISTRY
static ResourceKey<Registry<SensorType<?>>>
Registry.SENSOR_TYPE_REGISTRY
static ResourceKey<Registry<SoundEvent>>
Registry.SOUND_EVENT_REGISTRY
static ResourceKey<Registry<StatType<?>>>
Registry.STAT_TYPE_REGISTRY
static ResourceKey<Registry<StructureFeature<?>>>
Registry.STRUCTURE_FEATURE_REGISTRY
static ResourceKey<Registry<StructurePieceType>>
Registry.STRUCTURE_PIECE_REGISTRY
static ResourceKey<Registry<StructurePoolElementType<?>>>
Registry.STRUCTURE_POOL_ELEMENT_REGISTRY
static ResourceKey<Registry<StructureProcessorType<?>>>
Registry.STRUCTURE_PROCESSOR_REGISTRY
static ResourceKey<Registry<SurfaceBuilder<?>>>
Registry.SURFACE_BUILDER_REGISTRY
static ResourceKey<Registry<StructureTemplatePool>>
Registry.TEMPLATE_POOL_REGISTRY
static ResourceKey<Registry<TreeDecoratorType<?>>>
Registry.TREE_DECORATOR_TYPE_REGISTRY
static ResourceKey<Registry<TrunkPlacerType<?>>>
Registry.TRUNK_PLACER_TYPE_REGISTRY
static ResourceKey<Registry<VillagerProfession>>
Registry.VILLAGER_PROFESSION_REGISTRY
static ResourceKey<Registry<VillagerType>>
Registry.VILLAGER_TYPE_REGISTRY
Modifier and TypeFieldDescriptionprivate com.google.common.collect.BiMap<ResourceKey<T>,T>
MappedRegistry.keyStorage
private Map<? extends ResourceKey<? extends Registry<?>>,? extends MappedRegistry<?>>
RegistryAccess.RegistryHolder.registries
(package private) static Map<ResourceKey<? extends Registry<?>>,RegistryAccess.RegistryData<?>>
RegistryAccess.REGISTRIES
Modifier 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_)
Modifier 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()
Modifier 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_)
Modifier and TypeMethodDescriptionboolean
MappedRegistry.containsKey(ResourceKey<T> p_175392_)
abstract boolean
Registry.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 T
Registry.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 GlobalPos
GlobalPos.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> void
RegistryAccess.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> void
RegistryAccess.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_)
Modifier and TypeMethodDescriptionprivate static <E> void
RegistryAccess.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> void
RegistryAccess.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_)
ModifierConstructorDescriptionDefaultedRegistry(String p_122312_, ResourceKey<? extends Registry<T>> p_122313_, com.mojang.serialization.Lifecycle p_122314_)
private
GlobalPos(ResourceKey<Level> p_122638_, BlockPos p_122639_)
MappedRegistry(ResourceKey<? extends Registry<T>> p_122681_, com.mojang.serialization.Lifecycle p_122682_)
protected
Registry(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_)
ModifierConstructorDescriptionprivate
RegistryHolder(Map<? extends ResourceKey<? extends Registry<?>>,? extends MappedRegistry<?>> p_123117_)
-
Uses of ResourceKey in net.minecraft.data
Modifier 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
Modifier and TypeFieldDescriptionprivate static List<ResourceKey<Biome>>
AdventureAdvancements.EXPLORABLE_BIOMES
private static List<ResourceKey<Biome>>
NetherAdvancements.EXPLORABLE_BIOMES
Modifier and TypeMethodDescriptionprotected static Advancement.Builder
AdventureAdvancements.addBiomes(Advancement.Builder p_123987_, List<ResourceKey<Biome>> p_123988_)
-
Uses of ResourceKey in net.minecraft.data.worldgen
-
Uses of ResourceKey in net.minecraft.data.worldgen.biome
Modifier and TypeFieldDescriptionprivate static it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<Biome>>
Biomes.TO_NAME
Modifier and TypeMethodDescriptionprivate static Biome
Biomes.register(int p_127328_, ResourceKey<Biome> p_127329_, Biome p_127330_)
-
Uses of ResourceKey in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate ResourceKey<Level>
ClientboundLoginPacket.dimension
private ResourceKey<Level>
ClientboundRespawnPacket.dimension
Modifier and TypeFieldDescriptionprivate Set<ResourceKey<Level>>
ClientboundLoginPacket.levels
private Map<ResourceKey<? extends Registry<?>>,TagCollection.NetworkPayload>
ClientboundUpdateTagsPacket.tags
Modifier and TypeMethodDescriptionClientboundLoginPacket.getDimension()
ClientboundRespawnPacket.getDimension()
Modifier and TypeMethodDescriptionMap<ResourceKey<? extends Registry<?>>,TagCollection.NetworkPayload>
ClientboundUpdateTagsPacket.getTags()
ClientboundLoginPacket.levels()
ModifierConstructorDescriptionClientboundLoginPacket(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_)
ModifierConstructorDescriptionClientboundLoginPacket(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
Modifier and TypeFieldDescriptionprivate ResourceKey<? extends Registry<E>>
RegistryDataPackCodec.registryKey
private ResourceKey<? extends Registry<E>>
RegistryFileCodec.registryKey
private ResourceKey<? extends Registry<E>>
RegistryLookupCodec.registryKey
Modifier and TypeFieldDescriptionprivate Map<ResourceKey<?>,com.google.gson.JsonElement>
RegistryReadOps.ResourceAccess.MemoryMap.data
private it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<?>>
RegistryReadOps.ResourceAccess.MemoryMap.ids
private Map<ResourceKey<?>,com.mojang.serialization.Lifecycle>
RegistryReadOps.ResourceAccess.MemoryMap.lifecycles
private Map<ResourceKey<? extends Registry<?>>,RegistryReadOps.ReadCache<?>>
RegistryReadOps.readCache
(package private) Map<ResourceKey<E>,com.mojang.serialization.DataResult<Supplier<E>>>
RegistryReadOps.ReadCache.values
private static Map<String,ResourceKey<?>>
ResourceKey.VALUES
Modifier and TypeMethodDescriptionstatic <T> ResourceKey<T>
ResourceKey.create(ResourceKey<? extends Registry<T>> p_135786_, ResourceLocation p_135787_)
private static <T> ResourceKey<T>
ResourceKey.create(ResourceLocation p_135791_, ResourceLocation p_135792_)
static <T> ResourceKey<Registry<T>>
ResourceKey.createRegistryKey(ResourceLocation p_135789_)
Modifier and TypeMethodDescriptionstatic <T> Function<ResourceLocation,ResourceKey<T>>
ResourceKey.elementKey(ResourceKey<? extends Registry<T>> p_135798_)
Modifier and TypeMethodDescription<E> void
RegistryReadOps.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_)
int
ResourceKey.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_)
boolean
ResourceKey.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_)
ModifierConstructorDescriptionprivate
RegistryDataPackCodec(ResourceKey<? extends Registry<E>> p_135545_, com.mojang.serialization.Lifecycle p_135546_, com.mojang.serialization.Codec<E> p_135547_)
private
RegistryFileCodec(ResourceKey<? extends Registry<E>> p_135574_, com.mojang.serialization.Codec<E> p_135575_, boolean p_135576_)
private
RegistryLookupCodec(ResourceKey<? extends Registry<E>> p_135617_)
ModifierConstructorDescriptionprivate
RegistryReadOps(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
Modifier and TypeFieldDescriptionprivate Map<ResourceKey<Level>,ServerLevel>
MinecraftServer.levels
private Map<ResourceKey<Level>,long[]>
MinecraftServer.perWorldTickTimes
Modifier and TypeMethodDescriptionMinecraftServer.forgeGetWorldMap()
Deprecated.MinecraftServer.levelKeys()
Modifier and TypeMethodDescriptionMinecraftServer.getLevel(ResourceKey<Level> p_129881_)
long[]
MinecraftServer.getTickTime(ResourceKey<Level> dim)
Modifier and TypeMethodDescriptionprivate static void
Main.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
Modifier and TypeMethodDescriptionvoid
ServerPlayer.setRespawnPosition(ResourceKey<Level> p_9159_, BlockPos p_9160_, float p_9161_, boolean p_9162_, boolean p_9163_)
ModifierConstructorDescriptionServerLevel(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
Modifier and TypeMethodDescriptionvoid
PlayerList.broadcast(Player p_11242_, double p_11243_, double p_11244_, double p_11245_, double p_11246_, ResourceKey<Level> p_11247_, Packet<?> p_11248_)
void
PlayerList.broadcastAll(Packet<?> p_11271_, ResourceKey<Level> p_11272_)
-
Uses of ResourceKey in net.minecraft.tags
Modifier and TypeFieldDescriptionMap<ResourceKey<? extends Registry<?>>,TagCollection<?>>
TagContainer.collections
private static Map<ResourceKey<?>,StaticTagHelper<?>>
StaticTags.HELPER_MAP
private static Set<ResourceKey<?>>
StaticTags.HELPERS_IDS
private com.google.common.collect.ImmutableMap.Builder<ResourceKey<? extends Registry<?>>,TagCollection<?>>
TagContainer.Builder.result
Modifier 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_)
Modifier and TypeMethodDescription<T> void
TagContainer.CollectionConsumer.accept(ResourceKey<? extends Registry<T>> p_144489_, TagCollection<T> p_144490_)
private static <T> void
TagContainer.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> void
TagContainer.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_)
Modifier and TypeMethodDescriptionstatic TagContainer
TagContainer.deserializeFromNetwork(RegistryAccess p_144450_, Map<ResourceKey<? extends Registry<?>>,TagCollection.NetworkPayload> p_144451_)
ModifierConstructorDescriptionStaticTagHelper(ResourceKey<? extends Registry<T>> p_144329_, String p_144330_)
ModifierConstructorDescriptionTagContainer(Map<ResourceKey<? extends Registry<?>>,TagCollection<?>> p_144435_)
-
Uses of ResourceKey in net.minecraft.util.worldupdate
Modifier and TypeFieldDescriptionprivate com.google.common.collect.ImmutableSet<ResourceKey<Level>>
WorldUpgrader.levels
private it.unimi.dsi.fastutil.objects.Object2FloatMap<ResourceKey<Level>>
WorldUpgrader.progressMap
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableSet<ResourceKey<Level>>
WorldUpgrader.levels()
Modifier and TypeMethodDescriptionfloat
WorldUpgrader.dimensionProgress(ResourceKey<Level> p_18828_)
WorldUpgrader.getAllChunkPos(ResourceKey<Level> p_18831_)
ModifierConstructorDescriptionWorldUpgrader(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
Modifier and TypeMethodDescriptionstatic Fox.Type
Fox.Type.byBiome(Optional<ResourceKey<Biome>> p_28819_)
ModifierConstructorDescriptionprivate
Type(int p_28808_, String p_28809_, ResourceKey<Biome>... p_28810_)
-
Uses of ResourceKey in net.minecraft.world.entity.npc
Modifier and TypeFieldDescriptionprivate static Map<ResourceKey<Biome>,VillagerType>
VillagerType.BY_BIOME
Modifier and TypeMethodDescriptionstatic VillagerType
VillagerType.byBiome(Optional<ResourceKey<Biome>> p_35836_)
-
Uses of ResourceKey in net.minecraft.world.item
Modifier and TypeMethodDescriptionstatic Optional<ResourceKey<Level>>
CompassItem.getLodestoneDimension(CompoundTag p_40728_)
Modifier and TypeMethodDescriptionprivate void
CompassItem.addLodestoneTags(ResourceKey<Level> p_40733_, BlockPos p_40734_, CompoundTag p_40735_)
private static void
MapItem.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 int
MapItem.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
Modifier and TypeFieldDescriptionprivate ResourceKey<Level>
Level.dimension
static ResourceKey<Level>
Level.END
static ResourceKey<Level>
Level.NETHER
static ResourceKey<Level>
Level.OVERWORLD
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<ResourceKey<Level>>
Level.RESOURCE_KEY_CODEC
Modifier and TypeMethodDescriptiondefault Optional<ResourceKey<Biome>>
CommonLevelAccessor.getBiomeName(BlockPos p_45838_)
ModifierConstructorDescriptionprotected
Level(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
Modifier and TypeFieldDescriptionstatic ResourceKey<Biome>
Biomes.BADLANDS
static ResourceKey<Biome>
Biomes.BADLANDS_PLATEAU
static ResourceKey<Biome>
Biomes.BAMBOO_JUNGLE
static ResourceKey<Biome>
Biomes.BAMBOO_JUNGLE_HILLS
static ResourceKey<Biome>
Biomes.BASALT_DELTAS
static ResourceKey<Biome>
Biomes.BEACH
static ResourceKey<Biome>
Biomes.BIRCH_FOREST
static ResourceKey<Biome>
Biomes.BIRCH_FOREST_HILLS
static ResourceKey<Biome>
Biomes.COLD_OCEAN
static ResourceKey<Biome>
Biomes.CRIMSON_FOREST
static ResourceKey<Biome>
Biomes.DARK_FOREST
static ResourceKey<Biome>
Biomes.DARK_FOREST_HILLS
static ResourceKey<Biome>
Biomes.DEEP_COLD_OCEAN
static ResourceKey<Biome>
Biomes.DEEP_FROZEN_OCEAN
static ResourceKey<Biome>
Biomes.DEEP_LUKEWARM_OCEAN
static ResourceKey<Biome>
Biomes.DEEP_OCEAN
static ResourceKey<Biome>
Biomes.DEEP_WARM_OCEAN
static ResourceKey<Biome>
Biomes.DESERT
static ResourceKey<Biome>
Biomes.DESERT_HILLS
static ResourceKey<Biome>
Biomes.DESERT_LAKES
static ResourceKey<Biome>
Biomes.DRIPSTONE_CAVES
static ResourceKey<Biome>
Biomes.END_BARRENS
static ResourceKey<Biome>
Biomes.END_HIGHLANDS
static ResourceKey<Biome>
Biomes.END_MIDLANDS
static ResourceKey<Biome>
Biomes.ERODED_BADLANDS
static ResourceKey<Biome>
Biomes.FLOWER_FOREST
static ResourceKey<Biome>
Biomes.FOREST
static ResourceKey<Biome>
Biomes.FROZEN_OCEAN
static ResourceKey<Biome>
Biomes.FROZEN_RIVER
static ResourceKey<Biome>
Biomes.GIANT_SPRUCE_TAIGA
static ResourceKey<Biome>
Biomes.GIANT_SPRUCE_TAIGA_HILLS
static ResourceKey<Biome>
Biomes.GIANT_TREE_TAIGA
static ResourceKey<Biome>
Biomes.GIANT_TREE_TAIGA_HILLS
static ResourceKey<Biome>
Biomes.GRAVELLY_MOUNTAINS
static ResourceKey<Biome>
Biomes.ICE_SPIKES
static ResourceKey<Biome>
Biomes.JUNGLE
static ResourceKey<Biome>
Biomes.JUNGLE_EDGE
static ResourceKey<Biome>
Biomes.JUNGLE_HILLS
static ResourceKey<Biome>
Biomes.LUKEWARM_OCEAN
static ResourceKey<Biome>
Biomes.LUSH_CAVES
static ResourceKey<Biome>
Biomes.MODIFIED_BADLANDS_PLATEAU
static ResourceKey<Biome>
Biomes.MODIFIED_GRAVELLY_MOUNTAINS
static ResourceKey<Biome>
Biomes.MODIFIED_JUNGLE
static ResourceKey<Biome>
Biomes.MODIFIED_JUNGLE_EDGE
static ResourceKey<Biome>
static ResourceKey<Biome>
Biomes.MOUNTAIN_EDGE
static ResourceKey<Biome>
Biomes.MOUNTAINS
static ResourceKey<Biome>
Biomes.MUSHROOM_FIELD_SHORE
static ResourceKey<Biome>
Biomes.MUSHROOM_FIELDS
static ResourceKey<Biome>
Biomes.NETHER_WASTES
static ResourceKey<Biome>
Biomes.OCEAN
static ResourceKey<Biome>
Biomes.PLAINS
static ResourceKey<Biome>
Biomes.RIVER
static ResourceKey<Biome>
Biomes.SAVANNA
static ResourceKey<Biome>
Biomes.SAVANNA_PLATEAU
static ResourceKey<Biome>
Biomes.SHATTERED_SAVANNA
static ResourceKey<Biome>
Biomes.SHATTERED_SAVANNA_PLATEAU
static ResourceKey<Biome>
Biomes.SMALL_END_ISLANDS
static ResourceKey<Biome>
Biomes.SNOWY_BEACH
static ResourceKey<Biome>
Biomes.SNOWY_MOUNTAINS
static ResourceKey<Biome>
Biomes.SNOWY_TAIGA
static ResourceKey<Biome>
Biomes.SNOWY_TAIGA_HILLS
static ResourceKey<Biome>
Biomes.SNOWY_TAIGA_MOUNTAINS
static ResourceKey<Biome>
Biomes.SNOWY_TUNDRA
static ResourceKey<Biome>
Biomes.SOUL_SAND_VALLEY
static ResourceKey<Biome>
Biomes.STONE_SHORE
static ResourceKey<Biome>
Biomes.SUNFLOWER_PLAINS
static ResourceKey<Biome>
Biomes.SWAMP
static ResourceKey<Biome>
Biomes.SWAMP_HILLS
static ResourceKey<Biome>
Biomes.TAIGA
static ResourceKey<Biome>
Biomes.TAIGA_HILLS
static ResourceKey<Biome>
Biomes.TAIGA_MOUNTAINS
static ResourceKey<Biome>
Biomes.TALL_BIRCH_FOREST
static ResourceKey<Biome>
Biomes.TALL_BIRCH_HILLS
static ResourceKey<Biome>
Biomes.THE_END
static ResourceKey<Biome>
Biomes.THE_VOID
static ResourceKey<Biome>
Biomes.WARM_OCEAN
static ResourceKey<Biome>
Biomes.WARPED_FOREST
static ResourceKey<Biome>
Biomes.WOODED_BADLANDS_PLATEAU
static ResourceKey<Biome>
Biomes.WOODED_HILLS
static ResourceKey<Biome>
Biomes.WOODED_MOUNTAINS
Modifier and TypeFieldDescriptionprivate static List<ResourceKey<Biome>>
OverworldBiomeSource.POSSIBLE_BIOMES
-
Uses of ResourceKey in net.minecraft.world.level.chunk.storage
Modifier and TypeMethodDescriptionChunkStorage.upgradeChunkTag(ResourceKey<Level> p_63508_, Supplier<DimensionDataStorage> p_63509_, CompoundTag p_63510_)
-
Uses of ResourceKey in net.minecraft.world.level.dimension
Modifier and TypeFieldDescriptionstatic ResourceKey<LevelStem>
LevelStem.END
static ResourceKey<DimensionType>
DimensionType.END_LOCATION
static ResourceKey<LevelStem>
LevelStem.NETHER
static ResourceKey<DimensionType>
DimensionType.NETHER_LOCATION
static ResourceKey<LevelStem>
LevelStem.OVERWORLD
static ResourceKey<DimensionType>
DimensionType.OVERWORLD_CAVES_LOCATION
static ResourceKey<DimensionType>
DimensionType.OVERWORLD_LOCATION
Modifier and TypeFieldDescriptionprivate static Set<ResourceKey<LevelStem>>
LevelStem.BUILTIN_ORDER
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.DataResult<ResourceKey<Level>>
DimensionType.parseLegacy(com.mojang.serialization.Dynamic<?> p_63912_)
Deprecated.Modifier and TypeMethodDescriptionstatic File
DimensionType.getStorageFolder(ResourceKey<Level> p_63933_, File p_63934_)
-
Uses of ResourceKey in net.minecraft.world.level.levelgen
Modifier and TypeFieldDescriptionstatic ResourceKey<NoiseGeneratorSettings>
NoiseGeneratorSettings.AMPLIFIED
static ResourceKey<NoiseGeneratorSettings>
NoiseGeneratorSettings.CAVES
static ResourceKey<NoiseGeneratorSettings>
NoiseGeneratorSettings.END
static ResourceKey<NoiseGeneratorSettings>
NoiseGeneratorSettings.FLOATING_ISLANDS
static ResourceKey<NoiseGeneratorSettings>
NoiseGeneratorSettings.NETHER
static ResourceKey<NoiseGeneratorSettings>
NoiseGeneratorSettings.OVERWORLD
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableSet<ResourceKey<Level>>
WorldGenSettings.levels()
Modifier and TypeMethodDescriptionstatic NoiseGeneratorSettings
NoiseGeneratorSettings.register(ResourceKey<NoiseGeneratorSettings> p_64479_, NoiseGeneratorSettings p_64480_)
boolean
NoiseBasedChunkGenerator.stable(long p_64376_, ResourceKey<NoiseGeneratorSettings> p_64377_)
boolean
NoiseGeneratorSettings.stable(ResourceKey<NoiseGeneratorSettings> p_64477_)
-
Uses of ResourceKey in net.minecraft.world.level.levelgen.structure
Modifier and TypeMethodDescriptionstatic LegacyStructureDataHandler
LegacyStructureDataHandler.getLegacyStructureHandler(ResourceKey<Level> p_71332_, DimensionDataStorage p_71333_)
-
Uses of ResourceKey in net.minecraft.world.level.newbiome.layer
Modifier and TypeMethodDescriptionprotected ResourceKey<Biome>
BiomeInitLayer.getBiome(BiomeManager.BiomeType type, Context context)
-
Uses of ResourceKey in net.minecraft.world.level.saveddata.maps
Modifier and TypeMethodDescriptionstatic MapItemSavedData
MapItemSavedData.createForClient(byte p_164777_, boolean p_164778_, ResourceKey<Level> p_164779_)
static MapItemSavedData
MapItemSavedData.createFresh(double p_164781_, double p_164782_, byte p_164783_, boolean p_164784_, boolean p_164785_, ResourceKey<Level> p_164786_)
ModifierConstructorDescriptionprivate
MapItemSavedData(int p_164768_, int p_164769_, byte p_164770_, boolean p_164771_, boolean p_164772_, boolean p_164773_, ResourceKey<Level> p_164774_)
-
Uses of ResourceKey in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionLevelStorageSource.LevelStorageAccess.getDimensionPath(ResourceKey<Level> p_78300_)
-
Uses of ResourceKey in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static List<ResourceKey<Biome>>
BiomeManager.additionalOverworldBiomes
private static List<ResourceKey<Biome>>
BiomeManager.additionalOverworldBiomesView
private static Map<ResourceKey<Biome>,BiomeDictionary.BiomeInfo>
BiomeDictionary.biomeInfoMap
private Set<ResourceKey<Biome>>
BiomeDictionary.Type.biomes
private Set<ResourceKey<Biome>>
BiomeDictionary.Type.biomesUn
Modifier 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.Modifier and TypeMethodDescriptionstatic void
BiomeManager.addAdditionalOverworldBiomes(ResourceKey<Biome> biome)
Add biomes that you add to the overworld without usingBiomeManager.addBiome(BiomeType, BiomeEntry)
static void
BiomeDictionary.addTypes(ResourceKey<Biome> biome, BiomeDictionary.Type... types)
Adds the given types to the biome.static boolean
BiomeDictionary.areSimilar(ResourceKey<Biome> biomeA, ResourceKey<Biome> biomeB)
Checks if the two given biomes have types in common.private static BiomeDictionary.BiomeInfo
BiomeDictionary.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 boolean
BiomeDictionary.hasAnyType(ResourceKey<Biome> biome)
Checks if any type has been added to the given biome.static boolean
BiomeDictionary.hasType(ResourceKey<Biome> biome, BiomeDictionary.Type type)
Checks if the given type has been added to the given biome.static boolean
ForgeHooks.onTravelToDimension(Entity entity, ResourceKey<Level> dimension)
-
Uses of ResourceKey in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault TagsProvider.TagAppender<T>
IForgeTagAppender.add(ResourceKey<T>... keys)
-
Uses of ResourceKey in net.minecraftforge.common.util
Modifier and TypeMethodDescriptionstatic BlockSnapshot
BlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor world, BlockPos pos)
static BlockSnapshot
BlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor world, BlockPos pos, int flag)
ModifierConstructorDescriptionprivate
BlockSnapshot(ResourceKey<Level> dim, LevelAccessor world, BlockPos pos, BlockState state, CompoundTag nbt, int flags)
-
Uses of ResourceKey in net.minecraftforge.debug.misc
Modifier and TypeFieldDescriptionprivate static ResourceKey<? extends Registry<CustomTagTypesTest.Custom>>
CustomTagTypesTest.CUSTOM_KEY
-
Uses of ResourceKey in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.onPlayerSpawnSet(Player player, ResourceKey<Level> world, BlockPos pos, boolean forced)
-
Uses of ResourceKey in net.minecraftforge.event.entity
Modifier and TypeFieldDescriptionprivate ResourceKey<Level>
EntityTravelToDimensionEvent.dimension
ModifierConstructorDescriptionEntityTravelToDimensionEvent(Entity entity, ResourceKey<Level> dimension)
-
Uses of ResourceKey in net.minecraftforge.event.entity.player
Modifier and TypeFieldDescriptionprivate ResourceKey<Level>
PlayerEvent.PlayerChangedDimensionEvent.fromDim
private ResourceKey<Level>
PlayerSetSpawnEvent.spawnWorld
private ResourceKey<Level>
PlayerEvent.PlayerChangedDimensionEvent.toDim
Modifier and TypeMethodDescriptionPlayerEvent.PlayerChangedDimensionEvent.getFrom()
PlayerSetSpawnEvent.getSpawnWorld()
PlayerEvent.PlayerChangedDimensionEvent.getTo()
ModifierConstructorDescriptionPlayerChangedDimensionEvent(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
Modifier and TypeMethodDescriptionstatic void
BasicEventHooks.firePlayerChangedDimensionEvent(Player player, ResourceKey<Level> fromDim, ResourceKey<Level> toDim)
-
Uses of ResourceKey in net.minecraftforge.fmllegacy.network
Modifier and TypeFieldDescriptionstatic PacketDistributor<ResourceKey<Level>>
PacketDistributor.DIMENSION
Send to everyone in the dimension specified in the Supplier
PacketDistributor.with(Supplier)
DimensionTypeModifier and TypeMethodDescriptionPacketDistributor.TargetPoint.p(double x, double y, double z, double r2, ResourceKey<Level> dim)
Helper to build a TargetPoint without excluded EntityModifier and TypeMethodDescriptionPacketDistributor.playerListDimConsumer(Supplier<ResourceKey<Level>> dimensionTypeSupplier)
ModifierConstructorDescriptionTargetPoint(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
Modifier and TypeFieldDescriptionstatic ResourceKey<Registry<Activity>>
ForgeRegistries.Keys.ACTIVITIES
static ResourceKey<Registry<Attribute>>
ForgeRegistries.Keys.ATTRIBUTES
static ResourceKey<Registry<Biome>>
ForgeRegistries.Keys.BIOMES
static ResourceKey<Registry<BlockEntityType<?>>>
ForgeRegistries.Keys.BLOCK_ENTITY_TYPES
static ResourceKey<Registry<BlockPlacerType<?>>>
ForgeRegistries.Keys.BLOCK_PLACER_TYPES
static ResourceKey<Registry<BlockStateProviderType<?>>>
ForgeRegistries.Keys.BLOCK_STATE_PROVIDER_TYPES
static ResourceKey<Registry<Block>>
ForgeRegistries.Keys.BLOCKS
static ResourceKey<Registry<ChunkStatus>>
ForgeRegistries.Keys.CHUNK_STATUS
static ResourceKey<Registry<MenuType<?>>>
ForgeRegistries.Keys.CONTAINER_TYPES
static ResourceKey<Registry<DataSerializerEntry>>
ForgeRegistries.Keys.DATA_SERIALIZERS
static ResourceKey<Registry<FeatureDecorator<?>>>
ForgeRegistries.Keys.DECORATORS
static ResourceKey<Registry<Enchantment>>
ForgeRegistries.Keys.ENCHANTMENTS
static ResourceKey<Registry<EntityType<?>>>
ForgeRegistries.Keys.ENTITY_TYPES
static ResourceKey<Registry<Feature<?>>>
ForgeRegistries.Keys.FEATURES
static ResourceKey<Registry<Fluid>>
ForgeRegistries.Keys.FLUIDS
static ResourceKey<Registry<FoliagePlacerType<?>>>
ForgeRegistries.Keys.FOLIAGE_PLACER_TYPES
static ResourceKey<Registry<Item>>
ForgeRegistries.Keys.ITEMS
private ResourceKey<Registry<V>>
ForgeRegistry.key
static ResourceKey<Registry<GlobalLootModifierSerializer<?>>>
ForgeRegistries.Keys.LOOT_MODIFIER_SERIALIZERS
static ResourceKey<Registry<MemoryModuleType<?>>>
ForgeRegistries.Keys.MEMORY_MODULE_TYPES
static ResourceKey<Registry<MobEffect>>
ForgeRegistries.Keys.MOB_EFFECTS
static ResourceKey<Registry<Motive>>
ForgeRegistries.Keys.PAINTING_TYPES
static ResourceKey<Registry<ParticleType<?>>>
ForgeRegistries.Keys.PARTICLE_TYPES
static ResourceKey<Registry<PoiType>>
ForgeRegistries.Keys.POI_TYPES
static ResourceKey<Registry<Potion>>
ForgeRegistries.Keys.POTIONS
static ResourceKey<Registry<RecipeSerializer<?>>>
ForgeRegistries.Keys.RECIPE_SERIALIZERS
static ResourceKey<Registry<Schedule>>
ForgeRegistries.Keys.SCHEDULES
static ResourceKey<Registry<SensorType<?>>>
ForgeRegistries.Keys.SENSOR_TYPES
static ResourceKey<Registry<SoundEvent>>
ForgeRegistries.Keys.SOUND_EVENTS
static ResourceKey<Registry<StatType<?>>>
ForgeRegistries.Keys.STAT_TYPES
static ResourceKey<Registry<StructureFeature<?>>>
ForgeRegistries.Keys.STRUCTURE_FEATURES
static ResourceKey<Registry<SurfaceBuilder<?>>>
ForgeRegistries.Keys.SURFACE_BUILDERS
static ResourceKey<Registry<TreeDecoratorType<?>>>
ForgeRegistries.Keys.TREE_DECORATOR_TYPES
static ResourceKey<Registry<VillagerProfession>>
ForgeRegistries.Keys.VILLAGER_PROFESSIONS
static ResourceKey<Registry<WorldCarver<?>>>
ForgeRegistries.Keys.WORLD_CARVERS
static ResourceKey<Registry<ForgeWorldType>>
ForgeRegistries.Keys.WORLD_TYPES
Modifier and TypeFieldDescriptionprivate com.google.common.collect.BiMap<ResourceKey<V>,V>
ForgeRegistry.keys
Modifier and TypeMethodDescriptionForgeRegistry.getKey(int id)
ForgeRegistry.getRegistryKey()
private static <T> ResourceKey<Registry<T>>
Modifier 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()
Modifier 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
Modifier and TypeMethodDescriptionprivate static int
CommandEntity.EntityListCommand.execute(CommandSourceStack sender, String filter, ResourceKey<Level> dim)