Uses of Class
net.minecraft.util.RegistryKey
Package
Description
-
Uses of RegistryKey in net.minecraft.advancements.criterion
Modifier and TypeFieldDescriptionprivate final RegistryKey<Biome>
LocationPredicate.biome
private RegistryKey<Biome>
LocationPredicate.Builder.biome
private RegistryKey<World>
LocationPredicate.Builder.dimension
private final RegistryKey<World>
LocationPredicate.dimension
private final RegistryKey<World>
ChangeDimensionTrigger.Instance.from
private final RegistryKey<World>
ChangeDimensionTrigger.Instance.to
Modifier and TypeMethodDescriptionChangeDimensionTrigger.Instance.changedDimensionTo
(RegistryKey<World> p_233552_0_) static LocationPredicate
LocationPredicate.inBiome
(RegistryKey<Biome> p_242665_0_) static LocationPredicate
LocationPredicate.inDimension
(RegistryKey<World> p_235308_0_) boolean
ChangeDimensionTrigger.Instance.matches
(RegistryKey<World> p_233553_1_, RegistryKey<World> p_233553_2_) LocationPredicate.Builder.setBiome
(RegistryKey<Biome> p_242666_1_) void
ChangeDimensionTrigger.trigger
(ServerPlayerEntity p_233551_1_, RegistryKey<World> p_233551_2_, RegistryKey<World> p_233551_3_) ModifierConstructorDescriptionInstance
(EntityPredicate.AndPredicate p_i231488_1_, RegistryKey<World> p_i231488_2_, RegistryKey<World> p_i231488_3_) LocationPredicate
(MinMaxBounds.FloatBound p_i241961_1_, MinMaxBounds.FloatBound p_i241961_2_, MinMaxBounds.FloatBound p_i241961_3_, RegistryKey<Biome> p_i241961_4_, Structure<?> p_i241961_5_, RegistryKey<World> p_i241961_6_, Boolean p_i241961_7_, LightPredicate p_i241961_8_, BlockPredicate p_i241961_9_, FluidPredicate p_i241961_10_) -
Uses of RegistryKey in net.minecraft.client.gui.screen
Modifier and TypeFieldDescriptionprivate static final it.unimi.dsi.fastutil.objects.Object2IntMap<RegistryKey<World>>
OptimizeWorldScreen.DIMENSION_COLORS
Modifier and TypeMethodDescriptionprivate static void
FlatPresetsScreen.preset
(ITextComponent p_238640_0_, IItemProvider p_238640_1_, RegistryKey<Biome> p_238640_2_, List<Structure<?>> p_238640_3_, boolean p_238640_4_, boolean p_238640_5_, boolean p_238640_6_, FlatLayerInfo... p_238640_7_) ModifierConstructorDescriptionprivate
OptimizeWorldScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_i232319_1_, com.mojang.datafixers.DataFixer p_i232319_2_, SaveFormat.LevelSave p_i232319_3_, WorldSettings p_i232319_4_, boolean p_i232319_5_, com.google.common.collect.ImmutableSet<RegistryKey<World>> p_i232319_6_) -
Uses of RegistryKey in net.minecraft.client.multiplayer
-
Uses of RegistryKey in net.minecraft.client.network.play
-
Uses of RegistryKey in net.minecraft.client.world
ModifierConstructorDescriptionClientWorld
(ClientPlayNetHandler p_i242067_1_, ClientWorld.ClientWorldInfo p_i242067_2_, RegistryKey<World> p_i242067_3_, DimensionType p_i242067_4_, int p_i242067_5_, Supplier<IProfiler> p_i242067_6_, WorldRenderer p_i242067_7_, boolean p_i242067_8_, long p_i242067_9_) -
Uses of RegistryKey in net.minecraft.command
-
Uses of RegistryKey in net.minecraft.data.advancements
Modifier and TypeFieldDescriptionprivate static final List<RegistryKey<Biome>>
AdventureAdvancements.EXPLORABLE_BIOMES
private static final List<RegistryKey<Biome>>
NetherAdvancements.EXPLORABLE_BIOMES
Modifier and TypeMethodDescriptionprotected static Advancement.Builder
AdventureAdvancements.addBiomes
(Advancement.Builder p_243675_0_, List<RegistryKey<Biome>> p_243675_1_) -
Uses of RegistryKey in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionstatic FoxEntity.Type
FoxEntity.Type.byBiome
(Optional<RegistryKey<Biome>> p_242325_0_) ModifierConstructorDescriptionprivate
Type
(int p_i241911_3_, String p_i241911_4_, RegistryKey<Biome>... p_i241911_5_) -
Uses of RegistryKey in net.minecraft.entity.player
Modifier and TypeMethodDescriptionvoid
ServerPlayerEntity.setRespawnPosition
(RegistryKey<World> p_242111_1_, BlockPos p_242111_2_, float p_242111_3_, boolean p_242111_4_, boolean p_242111_5_) -
Uses of RegistryKey in net.minecraft.entity.villager
Modifier and TypeFieldDescriptionprivate static final Map<RegistryKey<Biome>,
VillagerType> VillagerType.BY_BIOME
Modifier and TypeMethodDescriptionstatic VillagerType
VillagerType.byBiome
(Optional<RegistryKey<Biome>> p_242371_0_) -
Uses of RegistryKey in net.minecraft.item
Modifier and TypeMethodDescriptionstatic Optional<RegistryKey<World>>
CompassItem.getLodestoneDimension
(CompoundNBT p_234667_0_) Modifier and TypeMethodDescriptionprivate void
CompassItem.addLodestoneTags
(RegistryKey<World> p_234669_1_, BlockPos p_234669_2_, CompoundNBT p_234669_3_) private static MapData
FilledMapItem.createAndStoreSavedData
(ItemStack p_195951_0_, World p_195951_1_, int p_195951_2_, int p_195951_3_, int p_195951_4_, boolean p_195951_5_, boolean p_195951_6_, RegistryKey<World> p_195951_7_) -
Uses of RegistryKey in net.minecraft.network.play.server
Modifier and TypeFieldDescriptionprivate RegistryKey<World>
SJoinGamePacket.dimension
private RegistryKey<World>
SRespawnPacket.dimension
ModifierConstructorDescriptionSJoinGamePacket
(int p_i242082_1_, GameType p_i242082_2_, GameType p_i242082_3_, long p_i242082_4_, boolean p_i242082_6_, Set<RegistryKey<World>> p_i242082_7_, DynamicRegistries.Impl p_i242082_8_, DimensionType p_i242082_9_, RegistryKey<World> p_i242082_10_, int p_i242082_11_, int p_i242082_12_, boolean p_i242082_13_, boolean p_i242082_14_, boolean p_i242082_15_, boolean p_i242082_16_) SRespawnPacket
(DimensionType p_i242084_1_, RegistryKey<World> p_i242084_2_, long p_i242084_3_, GameType p_i242084_5_, GameType p_i242084_6_, boolean p_i242084_7_, boolean p_i242084_8_, boolean p_i242084_9_) ModifierConstructorDescriptionSJoinGamePacket
(int p_i242082_1_, GameType p_i242082_2_, GameType p_i242082_3_, long p_i242082_4_, boolean p_i242082_6_, Set<RegistryKey<World>> p_i242082_7_, DynamicRegistries.Impl p_i242082_8_, DimensionType p_i242082_9_, RegistryKey<World> p_i242082_10_, int p_i242082_11_, int p_i242082_12_, boolean p_i242082_13_, boolean p_i242082_14_, boolean p_i242082_15_, boolean p_i242082_16_) -
Uses of RegistryKey in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final Map<RegistryKey<World>,
ServerWorld> MinecraftServer.levels
private Map<RegistryKey<World>,
long[]> MinecraftServer.perWorldTickTimes
Modifier and TypeMethodDescriptionMinecraftServer.forgeGetWorldMap()
Deprecated.MinecraftServer.levelKeys()
Modifier and TypeMethodDescriptionMinecraftServer.getLevel
(RegistryKey<World> p_71218_1_) long[]
MinecraftServer.getTickTime
(RegistryKey<World> dim) Modifier and TypeMethodDescriptionprivate static void
Main.forceUpgrade
(SaveFormat.LevelSave p_240761_0_, com.mojang.datafixers.DataFixer p_240761_1_, boolean p_240761_2_, BooleanSupplier p_240761_3_, com.google.common.collect.ImmutableSet<RegistryKey<World>> p_240761_4_) -
Uses of RegistryKey in net.minecraft.server.management
Modifier and TypeMethodDescriptionvoid
PlayerList.broadcast
(PlayerEntity p_148543_1_, double p_148543_2_, double p_148543_4_, double p_148543_6_, double p_148543_8_, RegistryKey<World> p_148543_10_, IPacket<?> p_148543_11_) void
PlayerList.broadcastAll
(IPacket<?> p_232642_1_, RegistryKey<World> p_232642_2_) -
Uses of RegistryKey in net.minecraft.util
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableSet<RegistryKey<World>>
WorldOptimizer.levels
private final it.unimi.dsi.fastutil.objects.Object2FloatMap<RegistryKey<World>>
WorldOptimizer.progressMap
private static final Map<String,
RegistryKey<?>> RegistryKey.VALUES
Modifier and TypeMethodDescriptionstatic <T> RegistryKey<T>
RegistryKey.create
(RegistryKey<? extends Registry<T>> p_240903_0_, ResourceLocation p_240903_1_) private static <T> RegistryKey<T>
RegistryKey.create
(ResourceLocation p_240905_0_, ResourceLocation p_240905_1_) static <T> RegistryKey<Registry<T>>
RegistryKey.createRegistryKey
(ResourceLocation p_240904_0_) Modifier and TypeMethodDescriptionstatic <T> Function<ResourceLocation,
RegistryKey<T>> RegistryKey.elementKey
(RegistryKey<? extends Registry<T>> p_240902_0_) com.google.common.collect.ImmutableSet<RegistryKey<World>>
WorldOptimizer.levels()
Modifier and TypeMethodDescriptionint
RegistryKey.compareTo
(RegistryKey<?> o) static <T> RegistryKey<T>
RegistryKey.create
(RegistryKey<? extends Registry<T>> p_240903_0_, ResourceLocation p_240903_1_) float
WorldOptimizer.dimensionProgress
(RegistryKey<World> p_233531_1_) static <T> Function<ResourceLocation,
RegistryKey<T>> RegistryKey.elementKey
(RegistryKey<? extends Registry<T>> p_240902_0_) WorldOptimizer.getAllChunkPos
(RegistryKey<World> p_233532_1_) boolean
RegistryKey.isFor
(RegistryKey<? extends Registry<?>> p_244356_1_) ModifierConstructorDescriptionWorldOptimizer
(SaveFormat.LevelSave p_i231486_1_, com.mojang.datafixers.DataFixer p_i231486_2_, com.google.common.collect.ImmutableSet<RegistryKey<World>> p_i231486_3_, boolean p_i231486_4_) -
Uses of RegistryKey in net.minecraft.util.math
Modifier and TypeMethodDescriptionstatic GlobalPos
GlobalPos.of
(RegistryKey<World> p_239648_0_, BlockPos p_239648_1_) ModifierConstructorDescriptionprivate
GlobalPos
(RegistryKey<World> p_i232508_1_, BlockPos p_i232508_2_) -
Uses of RegistryKey in net.minecraft.util.registry
Modifier and TypeFieldDescriptionstatic final RegistryKey<Registry<Activity>>
Registry.ACTIVITY_REGISTRY
static final RegistryKey<Registry<Attribute>>
Registry.ATTRIBUTE_REGISTRY
static final RegistryKey<Registry<Biome>>
Registry.BIOME_REGISTRY
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends BiomeProvider>>>
Registry.BIOME_SOURCE_REGISTRY
static final RegistryKey<Registry<TileEntityType<?>>>
Registry.BLOCK_ENTITY_TYPE_REGISTRY
static final RegistryKey<Registry<BlockPlacerType<?>>>
Registry.BLOCK_PLACER_TYPE_REGISTRY
static final RegistryKey<Registry<Block>>
Registry.BLOCK_REGISTRY
static final RegistryKey<Registry<BlockStateProviderType<?>>>
Registry.BLOCK_STATE_PROVIDER_TYPE_REGISTRY
static final RegistryKey<Registry<WorldCarver<?>>>
Registry.CARVER_REGISTRY
static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
Registry.CHUNK_GENERATOR_REGISTRY
static final RegistryKey<Registry<ChunkStatus>>
Registry.CHUNK_STATUS_REGISTRY
static final RegistryKey<Registry<ConfiguredCarver<?>>>
Registry.CONFIGURED_CARVER_REGISTRY
static final RegistryKey<Registry<ConfiguredFeature<?,
?>>> Registry.CONFIGURED_FEATURE_REGISTRY
static final RegistryKey<Registry<StructureFeature<?,
?>>> static final RegistryKey<Registry<ConfiguredSurfaceBuilder<?>>>
Registry.CONFIGURED_SURFACE_BUILDER_REGISTRY
static final RegistryKey<Registry<ResourceLocation>>
Registry.CUSTOM_STAT_REGISTRY
static final RegistryKey<Registry<Placement<?>>>
Registry.DECORATOR_REGISTRY
static final RegistryKey<Registry<World>>
Registry.DIMENSION_REGISTRY
static final RegistryKey<Registry<DimensionType>>
Registry.DIMENSION_TYPE_REGISTRY
static final RegistryKey<Registry<Enchantment>>
Registry.ENCHANTMENT_REGISTRY
static final RegistryKey<Registry<EntityType<?>>>
Registry.ENTITY_TYPE_REGISTRY
static final RegistryKey<Registry<Feature<?>>>
Registry.FEATURE_REGISTRY
static final RegistryKey<Registry<FeatureSizeType<?>>>
Registry.FEATURE_SIZE_TYPE_REGISTRY
static final RegistryKey<Registry<Fluid>>
Registry.FLUID_REGISTRY
static final RegistryKey<Registry<FoliagePlacerType<?>>>
Registry.FOLIAGE_PLACER_TYPE_REGISTRY
static final RegistryKey<Registry<Item>>
Registry.ITEM_REGISTRY
private final RegistryKey<? extends Registry<E>>
DynamicRegistries.CodecHolder.key
private final RegistryKey<? extends Registry<T>>
Registry.key
final RegistryKey<T>
SimpleRegistry.Entry.key
static final RegistryKey<Registry<Dimension>>
Registry.LEVEL_STEM_REGISTRY
static final RegistryKey<Registry<LootPoolEntryType>>
Registry.LOOT_ENTRY_REGISTRY
static final RegistryKey<Registry<LootFunctionType>>
Registry.LOOT_FUNCTION_REGISTRY
static final RegistryKey<Registry<LootConditionType>>
Registry.LOOT_ITEM_REGISTRY
static final RegistryKey<Registry<MemoryModuleType<?>>>
Registry.MEMORY_MODULE_TYPE_REGISTRY
static final RegistryKey<Registry<ContainerType<?>>>
Registry.MENU_REGISTRY
static final RegistryKey<Registry<Effect>>
Registry.MOB_EFFECT_REGISTRY
static final RegistryKey<Registry<PaintingType>>
Registry.MOTIVE_REGISTRY
static final RegistryKey<Registry<DimensionSettings>>
Registry.NOISE_GENERATOR_SETTINGS_REGISTRY
static final RegistryKey<Registry<ParticleType<?>>>
Registry.PARTICLE_TYPE_REGISTRY
static final RegistryKey<Registry<PointOfInterestType>>
Registry.POINT_OF_INTEREST_TYPE_REGISTRY
static final RegistryKey<Registry<IPosRuleTests<?>>>
Registry.POS_RULE_TEST_REGISTRY
static final RegistryKey<Registry<Potion>>
Registry.POTION_REGISTRY
static final RegistryKey<Registry<StructureProcessorList>>
Registry.PROCESSOR_LIST_REGISTRY
static final RegistryKey<Registry<IRecipeSerializer<?>>>
Registry.RECIPE_SERIALIZER_REGISTRY
static final RegistryKey<Registry<IRecipeType<?>>>
Registry.RECIPE_TYPE_REGISTRY
private final RegistryKey<? extends Registry<E>>
RegistryKeyCodec.registryKey
private final RegistryKey<? extends Registry<E>>
RegistryLookupCodec.registryKey
private final RegistryKey<? extends Registry<E>>
SimpleRegistryCodec.registryKey
static final RegistryKey<Registry<IRuleTestType<?>>>
Registry.RULE_TEST_REGISTRY
static final RegistryKey<Registry<Schedule>>
Registry.SCHEDULE_REGISTRY
static final RegistryKey<Registry<SensorType<?>>>
Registry.SENSOR_TYPE_REGISTRY
static final RegistryKey<Registry<SoundEvent>>
Registry.SOUND_EVENT_REGISTRY
static final RegistryKey<Registry<StatType<?>>>
Registry.STAT_TYPE_REGISTRY
static final RegistryKey<Registry<Structure<?>>>
Registry.STRUCTURE_FEATURE_REGISTRY
static final RegistryKey<Registry<IStructurePieceType>>
Registry.STRUCTURE_PIECE_REGISTRY
static final RegistryKey<Registry<IJigsawDeserializer<?>>>
Registry.STRUCTURE_POOL_ELEMENT_REGISTRY
static final RegistryKey<Registry<IStructureProcessorType<?>>>
Registry.STRUCTURE_PROCESSOR_REGISTRY
static final RegistryKey<Registry<SurfaceBuilder<?>>>
Registry.SURFACE_BUILDER_REGISTRY
static final RegistryKey<Registry<JigsawPattern>>
Registry.TEMPLATE_POOL_REGISTRY
static final RegistryKey<Registry<TreeDecoratorType<?>>>
Registry.TREE_DECORATOR_TYPE_REGISTRY
static final RegistryKey<Registry<TrunkPlacerType<?>>>
Registry.TRUNK_PLACER_TYPE_REGISTRY
static final RegistryKey<Registry<VillagerProfession>>
Registry.VILLAGER_PROFESSION_REGISTRY
static final RegistryKey<Registry<VillagerType>>
Registry.VILLAGER_TYPE_REGISTRY
Modifier and TypeFieldDescriptionprivate final Map<RegistryKey<?>,
com.google.gson.JsonElement> WorldSettingsImport.IResourceAccess.RegistryAccess.data
private final it.unimi.dsi.fastutil.objects.Object2IntMap<RegistryKey<?>>
WorldSettingsImport.IResourceAccess.RegistryAccess.ids
private final com.google.common.collect.BiMap<RegistryKey<T>,
T> SimpleRegistry.keyStorage
private final Map<RegistryKey<?>,
com.mojang.serialization.Lifecycle> WorldSettingsImport.IResourceAccess.RegistryAccess.lifecycles
private final Map<RegistryKey<? extends Registry<?>>,
WorldSettingsImport.ResultMap<?>> WorldSettingsImport.readCache
private final Map<? extends RegistryKey<? extends Registry<?>>,
? extends SimpleRegistry<?>> DynamicRegistries.Impl.registries
private static final Map<RegistryKey<? extends Registry<?>>,
DynamicRegistries.CodecHolder<?>> DynamicRegistries.REGISTRIES
private final Map<RegistryKey<E>,
com.mojang.serialization.DataResult<Supplier<E>>> WorldSettingsImport.ResultMap.values
Modifier and TypeMethodDescriptionprivate static <K extends RegistryKey<? extends Registry<?>>,
V extends SimpleRegistry<?>>
com.mojang.serialization.Codec<DynamicRegistries.Impl>DynamicRegistries.Impl.captureMap
(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_243628_0_) Modifier and TypeMethodDescriptionprivate static <T> RegistryKey<Registry<T>>
Registry.createRegistryKey
(String p_239741_0_) RegistryKey<? extends Registry<E>>
DynamicRegistries.CodecHolder.key()
RegistryKey<? extends Registry<T>>
Registry.key()
Modifier and TypeMethodDescriptionabstract Set<Map.Entry<RegistryKey<T>,
T>> Registry.entrySet()
Set<Map.Entry<RegistryKey<T>,
T>> SimpleRegistry.entrySet()
abstract Optional<RegistryKey<T>>
Registry.getResourceKey
(T p_230519_1_) SimpleRegistry.getResourceKey
(T p_230519_1_) Modifier and TypeMethodDescription<E> void
WorldSettingsImport.IResourceAccess.RegistryAccess.add
(DynamicRegistries.Impl p_244352_1_, RegistryKey<E> p_244352_2_, com.mojang.serialization.Encoder<E> p_244352_3_, int p_244352_4_, E p_244352_5_, com.mojang.serialization.Lifecycle p_244352_6_) private static <R extends Registry<?>>
voidDynamicRegistries.copyBuiltin
(DynamicRegistries.Impl p_243609_0_, RegistryKey<R> p_243609_1_) static <E> RegistryKeyCodec<E>
RegistryKeyCodec.create
(RegistryKey<? extends Registry<E>> p_241794_0_, com.mojang.serialization.Codec<E> p_241794_1_) private static <E> RegistryKeyCodec<E>
RegistryKeyCodec.create
(RegistryKey<? extends Registry<E>> p_244325_0_, com.mojang.serialization.Codec<E> p_244325_1_, boolean p_244325_2_) static <E> RegistryLookupCodec<E>
RegistryLookupCodec.create
(RegistryKey<? extends Registry<E>> p_244331_0_) static <E> SimpleRegistryCodec<E>
SimpleRegistryCodec.create
(RegistryKey<? extends Registry<E>> p_241793_0_, com.mojang.serialization.Lifecycle p_241793_1_, com.mojang.serialization.Codec<E> p_241793_2_) private static <E> SimpleRegistry<?>
DynamicRegistries.Impl.createRegistry
(RegistryKey<? extends Registry<?>> p_243638_0_) static <T> com.mojang.serialization.Codec<SimpleRegistry<T>>
SimpleRegistry.dataPackCodec
(RegistryKey<? extends Registry<T>> p_241744_0_, com.mojang.serialization.Lifecycle p_241744_1_, com.mojang.serialization.Codec<T> p_241744_2_) WorldSettingsImport.decodeElement
(T p_241802_1_, RegistryKey<? extends Registry<E>> p_241802_2_, com.mojang.serialization.Codec<E> p_241802_3_, boolean p_241802_4_) <E> com.mojang.serialization.DataResult<SimpleRegistry<E>>
WorldSettingsImport.decodeElements
(SimpleRegistry<E> p_241797_1_, RegistryKey<? extends Registry<E>> p_241797_2_, com.mojang.serialization.Codec<E> p_241797_3_) static <T> com.mojang.serialization.Codec<SimpleRegistry<T>>
SimpleRegistry.directCodec
(RegistryKey<? extends Registry<T>> p_241745_0_, com.mojang.serialization.Lifecycle p_241745_1_, com.mojang.serialization.Codec<T> p_241745_2_) protected <E> com.mojang.serialization.DataResult<T>
WorldGenSettingsExport.encode
(E p_241811_1_, T p_241811_2_, RegistryKey<? extends Registry<E>> p_241811_3_, com.mojang.serialization.Codec<E> p_241811_4_) private static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, Supplier<T> def) private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>Registry.forge
(RegistryKey<? extends Registry<T>> key, String defKey, com.mojang.serialization.Lifecycle cycle, Supplier<T> def) private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>Registry.forge
(RegistryKey<? extends Registry<T>> key, String defKey, Supplier<T> def) private static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry.forge
(RegistryKey<? extends Registry<T>> key, Supplier<T> def) private static <T extends IForgeRegistryEntry<T>>
Registry<T>WorldGenRegistries.forge
(RegistryKey<? extends Registry<T>> key, Supplier<T> def) abstract T
Registry.get
(RegistryKey<T> p_230516_1_) SimpleRegistry.get
(RegistryKey<T> p_230516_1_) private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>
DynamicRegistries.Impl.getNetworkCodec
(RegistryKey<? extends Registry<E>> p_243636_0_) Registry.getOptional
(RegistryKey<T> p_243575_1_) Registry.getOrThrow
(RegistryKey<T> p_243576_1_) RegistryKeyCodec.homogeneousList
(RegistryKey<? extends Registry<E>> p_244328_0_, com.mojang.serialization.Codec<E> p_244328_1_) private static <T,
R extends MutableRegistry<T>>
RRegistry.internalRegister
(RegistryKey<? extends Registry<T>> p_239743_0_, R p_239743_1_, Supplier<T> p_239743_2_, com.mojang.serialization.Lifecycle p_239743_3_) private static <T,
R extends MutableRegistry<T>>
RWorldGenRegistries.internalRegister
(RegistryKey<? extends Registry<T>> p_243666_0_, R p_243666_1_, Supplier<T> p_243666_2_, com.mojang.serialization.Lifecycle p_243666_3_) WorldSettingsImport.IResourceAccess.listResources
(RegistryKey<? extends Registry<?>> p_241880_1_) WorldSettingsImport.IResourceAccess.RegistryAccess.listResources
(RegistryKey<? extends Registry<?>> p_241880_1_) static <T> com.mojang.serialization.Codec<SimpleRegistry<T>>
SimpleRegistry.networkCodec
(RegistryKey<? extends Registry<T>> p_243539_0_, com.mojang.serialization.Lifecycle p_243539_1_, com.mojang.serialization.Codec<T> p_243539_2_) <E> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<E,
OptionalInt>> WorldSettingsImport.IResourceAccess.parseElement
(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_241879_1_, RegistryKey<? extends Registry<E>> p_241879_2_, RegistryKey<E> p_241879_3_, com.mojang.serialization.Decoder<E> p_241879_4_) <E> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<E,
OptionalInt>> WorldSettingsImport.IResourceAccess.RegistryAccess.parseElement
(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_241879_1_, RegistryKey<? extends Registry<E>> p_241879_2_, RegistryKey<E> p_241879_3_, com.mojang.serialization.Decoder<E> p_241879_4_) private static <E> void
DynamicRegistries.put
(com.google.common.collect.ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistries.CodecHolder<?>> p_243601_0_, RegistryKey<? extends Registry<E>> p_243601_1_, com.mojang.serialization.Codec<E> p_243601_2_) private static <E> void
DynamicRegistries.put
(com.google.common.collect.ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistries.CodecHolder<?>> p_243602_0_, RegistryKey<? extends Registry<E>> p_243602_1_, com.mojang.serialization.Codec<E> p_243602_2_, com.mojang.serialization.Codec<E> p_243602_3_) private <E> com.mojang.serialization.DataResult<Supplier<E>>
WorldSettingsImport.readAndRegisterElement
(RegistryKey<? extends Registry<E>> p_241805_1_, MutableRegistry<E> p_241805_2_, com.mojang.serialization.Codec<E> p_241805_3_, ResourceLocation p_241805_4_) private <E> WorldSettingsImport.ResultMap<E>
WorldSettingsImport.readCache
(RegistryKey<? extends Registry<E>> p_240884_1_) abstract <V extends T>
VMutableRegistry.register
(RegistryKey<T> p_218381_1_, V p_218381_2_, com.mojang.serialization.Lifecycle p_218381_3_) <V extends T>
VSimpleRegistry.register
(RegistryKey<T> p_218381_1_, V p_218381_2_, com.mojang.serialization.Lifecycle p_218381_3_) private static <T> DefaultedRegistry<T>
Registry.registerDefaulted
(RegistryKey<? extends Registry<T>> p_239744_0_, String p_239744_1_, com.mojang.serialization.Lifecycle p_239744_2_, Supplier<T> p_239744_3_) private static <T> DefaultedRegistry<T>
Registry.registerDefaulted
(RegistryKey<? extends Registry<T>> p_239745_0_, String p_239745_1_, Supplier<T> p_239745_2_) <V extends T>
VDefaultedRegistry.registerMapping
(int p_218382_1_, RegistryKey<T> p_218382_2_, V p_218382_3_, com.mojang.serialization.Lifecycle p_218382_4_) abstract <V extends T>
VMutableRegistry.registerMapping
(int p_218382_1_, RegistryKey<T> p_218382_2_, V p_218382_3_, com.mojang.serialization.Lifecycle p_218382_4_) <V extends T>
VSimpleRegistry.registerMapping
(int p_218382_1_, RegistryKey<T> p_218382_2_, V p_218382_3_, com.mojang.serialization.Lifecycle p_218382_4_) private <V extends T>
VSimpleRegistry.registerMapping
(int p_243537_1_, RegistryKey<T> p_243537_2_, V p_243537_3_, com.mojang.serialization.Lifecycle p_243537_4_, boolean p_243537_5_) static <V,
T extends V>
TWorldGenRegistries.registerMapping
(Registry<V> p_243662_0_, int p_243662_1_, RegistryKey<V> p_243662_2_, T p_243662_3_) abstract <V extends T>
VMutableRegistry.registerOrOverride
(OptionalInt p_241874_1_, RegistryKey<T> p_241874_2_, V p_241874_3_, com.mojang.serialization.Lifecycle p_241874_4_) <V extends T>
VSimpleRegistry.registerOrOverride
(OptionalInt p_241874_1_, RegistryKey<T> p_241874_2_, V p_241874_3_, com.mojang.serialization.Lifecycle p_241874_4_) private static <T> Registry<T>
Registry.registerSimple
(RegistryKey<? extends Registry<T>> p_239742_0_, com.mojang.serialization.Lifecycle p_239742_1_, Supplier<T> p_239742_2_) private static <T> Registry<T>
Registry.registerSimple
(RegistryKey<? extends Registry<T>> p_239746_0_, Supplier<T> p_239746_1_) private static <T> Registry<T>
WorldGenRegistries.registerSimple
(RegistryKey<? extends Registry<T>> p_243665_0_, com.mojang.serialization.Lifecycle p_243665_1_, Supplier<T> p_243665_2_) private static <T> Registry<T>
WorldGenRegistries.registerSimple
(RegistryKey<? extends Registry<T>> p_243667_0_, Supplier<T> p_243667_1_) <E> Optional<MutableRegistry<E>>
DynamicRegistries.Impl.registry
(RegistryKey<? extends Registry<E>> p_230521_1_) abstract <E> Optional<MutableRegistry<E>>
DynamicRegistries.registry
(RegistryKey<? extends Registry<E>> p_230521_1_) protected <E> com.mojang.serialization.DataResult<Registry<E>>
WorldSettingsImport.registry
(RegistryKey<? extends Registry<E>> p_244340_1_) <E> MutableRegistry<E>
DynamicRegistries.registryOrThrow
(RegistryKey<? extends Registry<E>> p_243612_1_) static <T> com.mojang.serialization.MapCodec<SimpleRegistry.Entry<T>>
SimpleRegistry.withNameAndId
(RegistryKey<? extends Registry<T>> p_243541_0_, com.mojang.serialization.MapCodec<T> p_243541_1_) Modifier and TypeMethodDescriptionprivate static <E> void
DynamicRegistries.put
(com.google.common.collect.ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistries.CodecHolder<?>> p_243601_0_, RegistryKey<? extends Registry<E>> p_243601_1_, com.mojang.serialization.Codec<E> p_243601_2_) private static <E> void
DynamicRegistries.put
(com.google.common.collect.ImmutableMap.Builder<RegistryKey<? extends Registry<?>>, DynamicRegistries.CodecHolder<?>> p_243602_0_, RegistryKey<? extends Registry<E>> p_243602_1_, com.mojang.serialization.Codec<E> p_243602_2_, com.mojang.serialization.Codec<E> p_243602_3_) ModifierConstructorDescriptionCodecHolder
(RegistryKey<? extends Registry<E>> p_i242073_1_, com.mojang.serialization.Codec<E> p_i242073_2_, com.mojang.serialization.Codec<E> p_i242073_3_) DefaultedRegistry
(String p_i232506_1_, RegistryKey<? extends Registry<T>> p_i232506_2_, com.mojang.serialization.Lifecycle p_i232506_3_) Entry
(RegistryKey<T> p_i242072_1_, int p_i242072_2_, T p_i242072_3_) MutableRegistry
(RegistryKey<? extends Registry<T>> p_i232512_1_, com.mojang.serialization.Lifecycle p_i232512_2_) protected
Registry
(RegistryKey<? extends Registry<T>> p_i232510_1_, com.mojang.serialization.Lifecycle p_i232510_2_) private
RegistryKeyCodec
(RegistryKey<? extends Registry<E>> p_i242090_1_, com.mojang.serialization.Codec<E> p_i242090_2_, boolean p_i242090_3_) private
RegistryLookupCodec
(RegistryKey<? extends Registry<E>> p_i242091_1_) SimpleRegistry
(RegistryKey<? extends Registry<T>> p_i232509_1_, com.mojang.serialization.Lifecycle p_i232509_2_) private
SimpleRegistryCodec
(RegistryKey<? extends Registry<E>> p_i232587_1_, com.mojang.serialization.Lifecycle p_i232587_2_, com.mojang.serialization.Codec<E> p_i232587_3_) ModifierConstructorDescriptionprivate
Impl
(Map<? extends RegistryKey<? extends Registry<?>>, ? extends SimpleRegistry<?>> p_i242074_1_) private
WorldSettingsImport
(com.mojang.serialization.DynamicOps<T> p_i242092_1_, WorldSettingsImport.IResourceAccess p_i242092_2_, DynamicRegistries.Impl p_i242092_3_, IdentityHashMap<RegistryKey<? extends Registry<?>>, WorldSettingsImport.ResultMap<?>> p_i242092_4_) -
Uses of RegistryKey in net.minecraft.world
Modifier and TypeFieldDescriptionprivate final RegistryKey<World>
World.dimension
static final RegistryKey<Dimension>
Dimension.END
static final RegistryKey<World>
World.END
static final RegistryKey<DimensionType>
DimensionType.END_LOCATION
static final RegistryKey<Dimension>
Dimension.NETHER
static final RegistryKey<World>
World.NETHER
static final RegistryKey<DimensionType>
DimensionType.NETHER_LOCATION
static final RegistryKey<Dimension>
Dimension.OVERWORLD
static final RegistryKey<World>
World.OVERWORLD
static final RegistryKey<DimensionType>
DimensionType.OVERWORLD_CAVES_LOCATION
static final RegistryKey<DimensionType>
DimensionType.OVERWORLD_LOCATION
Modifier and TypeFieldDescriptionprivate static final LinkedHashSet<RegistryKey<Dimension>>
Dimension.BUILTIN_ORDER
static final com.mojang.serialization.Codec<RegistryKey<World>>
World.RESOURCE_KEY_CODEC
Modifier and TypeMethodDescriptiondefault Optional<RegistryKey<Biome>>
IBiomeReader.getBiomeName
(BlockPos p_242406_1_) static com.mojang.serialization.DataResult<RegistryKey<World>>
DimensionType.parseLegacy
(com.mojang.serialization.Dynamic<?> p_236025_0_) Deprecated.Modifier and TypeMethodDescriptionstatic File
DimensionType.getStorageFolder
(RegistryKey<World> p_236031_0_, File p_236031_1_) ModifierConstructorDescriptionprotected
World
(ISpawnWorldInfo p_i241925_1_, RegistryKey<World> p_i241925_2_, DimensionType p_i241925_3_, Supplier<IProfiler> p_i241925_4_, boolean p_i241925_5_, boolean p_i241925_6_, long p_i241925_7_) -
Uses of RegistryKey in net.minecraft.world.biome
Modifier and TypeFieldDescriptionstatic final RegistryKey<Biome>
Biomes.BADLANDS
static final RegistryKey<Biome>
Biomes.BADLANDS_PLATEAU
static final RegistryKey<Biome>
Biomes.BAMBOO_JUNGLE
static final RegistryKey<Biome>
Biomes.BAMBOO_JUNGLE_HILLS
static final RegistryKey<Biome>
Biomes.BASALT_DELTAS
static final RegistryKey<Biome>
Biomes.BEACH
static final RegistryKey<Biome>
Biomes.BIRCH_FOREST
static final RegistryKey<Biome>
Biomes.BIRCH_FOREST_HILLS
static final RegistryKey<Biome>
Biomes.COLD_OCEAN
static final RegistryKey<Biome>
Biomes.CRIMSON_FOREST
static final RegistryKey<Biome>
Biomes.DARK_FOREST
static final RegistryKey<Biome>
Biomes.DARK_FOREST_HILLS
static final RegistryKey<Biome>
Biomes.DEEP_COLD_OCEAN
static final RegistryKey<Biome>
Biomes.DEEP_FROZEN_OCEAN
static final RegistryKey<Biome>
Biomes.DEEP_LUKEWARM_OCEAN
static final RegistryKey<Biome>
Biomes.DEEP_OCEAN
static final RegistryKey<Biome>
Biomes.DEEP_WARM_OCEAN
static final RegistryKey<Biome>
Biomes.DESERT
static final RegistryKey<Biome>
Biomes.DESERT_HILLS
static final RegistryKey<Biome>
Biomes.DESERT_LAKES
static final RegistryKey<Biome>
Biomes.END_BARRENS
static final RegistryKey<Biome>
Biomes.END_HIGHLANDS
static final RegistryKey<Biome>
Biomes.END_MIDLANDS
static final RegistryKey<Biome>
Biomes.ERODED_BADLANDS
static final RegistryKey<Biome>
Biomes.FLOWER_FOREST
static final RegistryKey<Biome>
Biomes.FOREST
static final RegistryKey<Biome>
Biomes.FROZEN_OCEAN
static final RegistryKey<Biome>
Biomes.FROZEN_RIVER
static final RegistryKey<Biome>
Biomes.GIANT_SPRUCE_TAIGA
static final RegistryKey<Biome>
Biomes.GIANT_SPRUCE_TAIGA_HILLS
static final RegistryKey<Biome>
Biomes.GIANT_TREE_TAIGA
static final RegistryKey<Biome>
Biomes.GIANT_TREE_TAIGA_HILLS
static final RegistryKey<Biome>
Biomes.GRAVELLY_MOUNTAINS
static final RegistryKey<Biome>
Biomes.ICE_SPIKES
static final RegistryKey<Biome>
Biomes.JUNGLE
static final RegistryKey<Biome>
Biomes.JUNGLE_EDGE
static final RegistryKey<Biome>
Biomes.JUNGLE_HILLS
static final RegistryKey<Biome>
Biomes.LUKEWARM_OCEAN
static final RegistryKey<Biome>
Biomes.MODIFIED_BADLANDS_PLATEAU
static final RegistryKey<Biome>
Biomes.MODIFIED_GRAVELLY_MOUNTAINS
static final RegistryKey<Biome>
Biomes.MODIFIED_JUNGLE
static final RegistryKey<Biome>
Biomes.MODIFIED_JUNGLE_EDGE
static final RegistryKey<Biome>
static final RegistryKey<Biome>
Biomes.MOUNTAIN_EDGE
static final RegistryKey<Biome>
Biomes.MOUNTAINS
static final RegistryKey<Biome>
Biomes.MUSHROOM_FIELD_SHORE
static final RegistryKey<Biome>
Biomes.MUSHROOM_FIELDS
static final RegistryKey<Biome>
Biomes.NETHER_WASTES
static final RegistryKey<Biome>
Biomes.OCEAN
static final RegistryKey<Biome>
Biomes.PLAINS
static final RegistryKey<Biome>
Biomes.RIVER
static final RegistryKey<Biome>
Biomes.SAVANNA
static final RegistryKey<Biome>
Biomes.SAVANNA_PLATEAU
static final RegistryKey<Biome>
Biomes.SHATTERED_SAVANNA
static final RegistryKey<Biome>
Biomes.SHATTERED_SAVANNA_PLATEAU
static final RegistryKey<Biome>
Biomes.SMALL_END_ISLANDS
static final RegistryKey<Biome>
Biomes.SNOWY_BEACH
static final RegistryKey<Biome>
Biomes.SNOWY_MOUNTAINS
static final RegistryKey<Biome>
Biomes.SNOWY_TAIGA
static final RegistryKey<Biome>
Biomes.SNOWY_TAIGA_HILLS
static final RegistryKey<Biome>
Biomes.SNOWY_TAIGA_MOUNTAINS
static final RegistryKey<Biome>
Biomes.SNOWY_TUNDRA
static final RegistryKey<Biome>
Biomes.SOUL_SAND_VALLEY
static final RegistryKey<Biome>
Biomes.STONE_SHORE
static final RegistryKey<Biome>
Biomes.SUNFLOWER_PLAINS
static final RegistryKey<Biome>
Biomes.SWAMP
static final RegistryKey<Biome>
Biomes.SWAMP_HILLS
static final RegistryKey<Biome>
Biomes.TAIGA
static final RegistryKey<Biome>
Biomes.TAIGA_HILLS
static final RegistryKey<Biome>
Biomes.TAIGA_MOUNTAINS
static final RegistryKey<Biome>
Biomes.TALL_BIRCH_FOREST
static final RegistryKey<Biome>
Biomes.TALL_BIRCH_HILLS
static final RegistryKey<Biome>
Biomes.THE_END
static final RegistryKey<Biome>
Biomes.THE_VOID
static final RegistryKey<Biome>
Biomes.WARM_OCEAN
static final RegistryKey<Biome>
Biomes.WARPED_FOREST
static final RegistryKey<Biome>
Biomes.WOODED_BADLANDS_PLATEAU
static final RegistryKey<Biome>
Biomes.WOODED_HILLS
static final RegistryKey<Biome>
Biomes.WOODED_MOUNTAINS
Modifier and TypeFieldDescriptionprivate static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<RegistryKey<Biome>>
BiomeRegistry.TO_NAME
Modifier and TypeMethodDescriptionstatic RegistryKey<Biome>
BiomeRegistry.byId
(int p_244203_0_) private static RegistryKey<Biome>
Modifier and TypeMethodDescriptionprivate static Biome
BiomeRegistry.register
(int p_244204_0_, RegistryKey<Biome> p_244204_1_, Biome p_244204_2_) -
Uses of RegistryKey in net.minecraft.world.biome.provider
Modifier and TypeFieldDescriptionprivate static final List<RegistryKey<Biome>>
OverworldBiomeProvider.POSSIBLE_BIOMES
-
Uses of RegistryKey in net.minecraft.world.chunk.storage
Modifier and TypeMethodDescriptionChunkLoader.upgradeChunkTag
(RegistryKey<World> p_235968_1_, Supplier<DimensionSavedDataManager> p_235968_2_, CompoundNBT p_235968_3_) -
Uses of RegistryKey in net.minecraft.world.gen
Modifier and TypeFieldDescriptionstatic final RegistryKey<DimensionSettings>
DimensionSettings.AMPLIFIED
static final RegistryKey<DimensionSettings>
DimensionSettings.CAVES
static final RegistryKey<DimensionSettings>
DimensionSettings.END
static final RegistryKey<DimensionSettings>
DimensionSettings.FLOATING_ISLANDS
static final RegistryKey<DimensionSettings>
DimensionSettings.NETHER
static final RegistryKey<DimensionSettings>
DimensionSettings.OVERWORLD
Modifier and TypeMethodDescriptionprivate static DimensionSettings
DimensionSettings.register
(RegistryKey<DimensionSettings> p_242745_0_, DimensionSettings p_242745_1_) boolean
DimensionSettings.stable
(RegistryKey<DimensionSettings> p_242744_1_) boolean
NoiseChunkGenerator.stable
(long p_236088_1_, RegistryKey<DimensionSettings> p_236088_3_) -
Uses of RegistryKey in net.minecraft.world.gen.feature.jigsaw
Modifier and TypeFieldDescriptionstatic final RegistryKey<JigsawPattern>
JigsawPatternRegistry.EMPTY
-
Uses of RegistryKey in net.minecraft.world.gen.feature.structure
Modifier and TypeMethodDescriptionstatic LegacyStructureDataUtil
LegacyStructureDataUtil.getLegacyStructureHandler
(RegistryKey<World> p_236992_0_, DimensionSavedDataManager p_236992_1_) -
Uses of RegistryKey in net.minecraft.world.gen.layer
Modifier and TypeMethodDescriptionprotected RegistryKey<Biome>
BiomeLayer.getBiome
(BiomeManager.BiomeType type, INoiseRandom context) -
Uses of RegistryKey in net.minecraft.world.gen.settings
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableSet<RegistryKey<World>>
DimensionGeneratorSettings.levels()
-
Uses of RegistryKey in net.minecraft.world.server
ModifierConstructorDescriptionServerWorld
(MinecraftServer p_i241885_1_, Executor p_i241885_2_, SaveFormat.LevelSave p_i241885_3_, IServerWorldInfo p_i241885_4_, RegistryKey<World> p_i241885_5_, DimensionType p_i241885_6_, IChunkStatusListener p_i241885_7_, ChunkGenerator p_i241885_8_, boolean p_i241885_9_, long p_i241885_10_, List<ISpecialSpawner> p_i241885_12_, boolean p_i241885_13_) -
Uses of RegistryKey in net.minecraft.world.storage
Modifier and TypeMethodDescriptionSaveFormat.LevelSave.getDimensionPath
(RegistryKey<World> p_237291_1_) void
MapData.setProperties
(int p_237241_1_, int p_237241_2_, int p_237241_3_, boolean p_237241_4_, boolean p_237241_5_, RegistryKey<World> p_237241_6_) -
Uses of RegistryKey in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static final List<RegistryKey<Biome>>
BiomeManager.additionalOverworldBiomes
private static final List<RegistryKey<Biome>>
BiomeManager.additionalOverworldBiomesView
private static final Map<RegistryKey<Biome>,
BiomeDictionary.BiomeInfo> BiomeDictionary.biomeInfoMap
private final Set<RegistryKey<Biome>>
BiomeDictionary.Type.biomes
private final Set<RegistryKey<Biome>>
BiomeDictionary.Type.biomesUn
Modifier and TypeMethodDescriptionstatic List<RegistryKey<Biome>>
BiomeManager.getAdditionalOverworldBiomes()
static Set<RegistryKey<Biome>>
BiomeDictionary.getBiomes
(BiomeDictionary.Type type) Gets the set of biomes that have the given type.Modifier and TypeMethodDescriptionstatic void
BiomeManager.addAdditionalOverworldBiomes
(RegistryKey<Biome> biome) Add biomes that you add to the overworld without usingBiomeManager.addBiome(BiomeType, BiomeEntry)
static void
BiomeDictionary.addTypes
(RegistryKey<Biome> biome, BiomeDictionary.Type... types) Adds the given types to the biome.static boolean
BiomeDictionary.areSimilar
(RegistryKey<Biome> biomeA, RegistryKey<Biome> biomeB) Checks if the two given biomes have types in common.private static BiomeDictionary.BiomeInfo
BiomeDictionary.getBiomeInfo
(RegistryKey<Biome> biome) static Set<BiomeDictionary.Type>
BiomeDictionary.getTypes
(RegistryKey<Biome> biome) Gets the set of types that have been added to the given biome.static boolean
BiomeDictionary.hasAnyType
(RegistryKey<Biome> biome) Checks if any type has been added to the given biome.static boolean
BiomeDictionary.hasType
(RegistryKey<Biome> biome, BiomeDictionary.Type type) Checks if the given type has been added to the given biome.static boolean
ForgeHooks.onTravelToDimension
(Entity entity, RegistryKey<World> dimension) -
Uses of RegistryKey in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault TagsProvider.Builder<T>
IForgeTagBuilder.add
(RegistryKey<T>... keys) -
Uses of RegistryKey in net.minecraftforge.common.util
Modifier and TypeMethodDescriptionstatic BlockSnapshot
BlockSnapshot.create
(RegistryKey<World> dim, IWorld world, BlockPos pos) static BlockSnapshot
BlockSnapshot.create
(RegistryKey<World> dim, IWorld world, BlockPos pos, int flag) ModifierConstructorDescriptionprivate
BlockSnapshot
(RegistryKey<World> dim, IWorld world, BlockPos pos, BlockState state, CompoundNBT nbt, int flags) -
Uses of RegistryKey in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.onPlayerSpawnSet
(PlayerEntity player, RegistryKey<World> world, BlockPos pos, boolean forced) -
Uses of RegistryKey in net.minecraftforge.event.entity
Modifier and TypeFieldDescriptionprivate final RegistryKey<World>
EntityTravelToDimensionEvent.dimension
ModifierConstructorDescriptionEntityTravelToDimensionEvent
(Entity entity, RegistryKey<World> dimension) -
Uses of RegistryKey in net.minecraftforge.event.entity.player
Modifier and TypeFieldDescriptionprivate final RegistryKey<World>
PlayerEvent.PlayerChangedDimensionEvent.fromDim
private final RegistryKey<World>
PlayerSetSpawnEvent.spawnWorld
private final RegistryKey<World>
PlayerEvent.PlayerChangedDimensionEvent.toDim
Modifier and TypeMethodDescriptionPlayerEvent.PlayerChangedDimensionEvent.getFrom()
PlayerSetSpawnEvent.getSpawnWorld()
PlayerEvent.PlayerChangedDimensionEvent.getTo()
ModifierConstructorDescriptionPlayerChangedDimensionEvent
(PlayerEntity player, RegistryKey<World> fromDim, RegistryKey<World> toDim) PlayerSetSpawnEvent
(PlayerEntity player, RegistryKey<World> spawnWorld, BlockPos newSpawn, boolean forced) -
Uses of RegistryKey in net.minecraftforge.fml.hooks
Modifier and TypeMethodDescriptionstatic void
BasicEventHooks.firePlayerChangedDimensionEvent
(PlayerEntity player, RegistryKey<World> fromDim, RegistryKey<World> toDim) -
Uses of RegistryKey in net.minecraftforge.fml.network
Modifier and TypeFieldDescriptionprivate final RegistryKey<World>
PacketDistributor.TargetPoint.dim
Modifier and TypeFieldDescriptionstatic final PacketDistributor<RegistryKey<World>>
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, RegistryKey<World> dim) Helper to build a TargetPoint without excluded EntityModifier and TypeMethodDescriptionPacketDistributor.playerListDimConsumer
(Supplier<RegistryKey<World>> dimensionTypeSupplier) ModifierConstructorDescriptionTargetPoint
(double x, double y, double z, double r2, RegistryKey<World> dim) A target point without excluded entityTargetPoint
(ServerPlayerEntity excluded, double x, double y, double z, double r2, RegistryKey<World> dim) A target point with excluded entity -
Uses of RegistryKey in net.minecraftforge.registries
Modifier and TypeFieldDescriptionstatic final RegistryKey<Registry<Activity>>
ForgeRegistries.Keys.ACTIVITIES
static final RegistryKey<Registry<Attribute>>
ForgeRegistries.Keys.ATTRIBUTES
static final RegistryKey<Registry<Biome>>
ForgeRegistries.Keys.BIOMES
static final RegistryKey<Registry<BlockPlacerType<?>>>
ForgeRegistries.Keys.BLOCK_PLACER_TYPES
static final RegistryKey<Registry<BlockStateProviderType<?>>>
ForgeRegistries.Keys.BLOCK_STATE_PROVIDER_TYPES
static final RegistryKey<Registry<Block>>
ForgeRegistries.Keys.BLOCKS
static final RegistryKey<Registry<ChunkStatus>>
ForgeRegistries.Keys.CHUNK_STATUS
static final RegistryKey<Registry<ContainerType<?>>>
ForgeRegistries.Keys.CONTAINER_TYPES
static final RegistryKey<Registry<DataSerializerEntry>>
ForgeRegistries.Keys.DATA_SERIALIZERS
static final RegistryKey<Registry<Placement<?>>>
ForgeRegistries.Keys.DECORATORS
static final RegistryKey<Registry<Effect>>
ForgeRegistries.Keys.EFFECTS
static final RegistryKey<Registry<Enchantment>>
ForgeRegistries.Keys.ENCHANTMENTS
static final RegistryKey<Registry<EntityType<?>>>
ForgeRegistries.Keys.ENTITY_TYPES
static final RegistryKey<Registry<Feature<?>>>
ForgeRegistries.Keys.FEATURES
static final RegistryKey<Registry<Fluid>>
ForgeRegistries.Keys.FLUIDS
static final RegistryKey<Registry<FoliagePlacerType<?>>>
ForgeRegistries.Keys.FOLIAGE_PLACER_TYPES
static final RegistryKey<Registry<Item>>
ForgeRegistries.Keys.ITEMS
private final RegistryKey<Registry<V>>
ForgeRegistry.key
static final RegistryKey<Registry<GlobalLootModifierSerializer<?>>>
ForgeRegistries.Keys.LOOT_MODIFIER_SERIALIZERS
static final RegistryKey<Registry<MemoryModuleType<?>>>
ForgeRegistries.Keys.MEMORY_MODULE_TYPES
static final RegistryKey<Registry<PaintingType>>
ForgeRegistries.Keys.PAINTING_TYPES
static final RegistryKey<Registry<ParticleType<?>>>
ForgeRegistries.Keys.PARTICLE_TYPES
static final RegistryKey<Registry<PointOfInterestType>>
ForgeRegistries.Keys.POI_TYPES
static final RegistryKey<Registry<Potion>>
ForgeRegistries.Keys.POTIONS
static final RegistryKey<Registry<IRecipeSerializer<?>>>
ForgeRegistries.Keys.RECIPE_SERIALIZERS
static final RegistryKey<Registry<Schedule>>
ForgeRegistries.Keys.SCHEDULES
static final RegistryKey<Registry<SensorType<?>>>
ForgeRegistries.Keys.SENSOR_TYPES
static final RegistryKey<Registry<SoundEvent>>
ForgeRegistries.Keys.SOUND_EVENTS
static final RegistryKey<Registry<StatType<?>>>
ForgeRegistries.Keys.STAT_TYPES
static final RegistryKey<Registry<Structure<?>>>
ForgeRegistries.Keys.STRUCTURE_FEATURES
static final RegistryKey<Registry<SurfaceBuilder<?>>>
ForgeRegistries.Keys.SURFACE_BUILDERS
static final RegistryKey<Registry<TileEntityType<?>>>
ForgeRegistries.Keys.TILE_ENTITY_TYPES
static final RegistryKey<Registry<TreeDecoratorType<?>>>
ForgeRegistries.Keys.TREE_DECORATOR_TYPES
static final RegistryKey<Registry<VillagerProfession>>
ForgeRegistries.Keys.VILLAGER_PROFESSIONS
static final RegistryKey<Registry<WorldCarver<?>>>
ForgeRegistries.Keys.WORLD_CARVERS
static final RegistryKey<Registry<ForgeWorldType>>
ForgeRegistries.Keys.WORLD_TYPES
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.BiMap<RegistryKey<V>,
V> ForgeRegistry.keys
Modifier and TypeMethodDescriptionForgeRegistry.getKey
(int id) ForgeRegistry.getRegistryKey()
private static <T> RegistryKey<Registry<T>>
Modifier and TypeMethodDescriptionSet<Map.Entry<RegistryKey<T>,
T>> NamespacedDefaultedWrapper.entrySet()
Set<Map.Entry<RegistryKey<T>,
T>> NamespacedWrapper.entrySet()
Set<Map.Entry<RegistryKey<V>,
V>> ForgeRegistry.getEntries()
Set<Map.Entry<RegistryKey<V>,
V>> IForgeRegistry.getEntries()
Modifier and TypeMethodDescriptionNamespacedDefaultedWrapper.get
(RegistryKey<T> name) NamespacedWrapper.get
(RegistryKey<T> name) <V extends IForgeRegistryEntry<V>>
ForgeRegistry<V>RegistryManager.getRegistry
(RegistryKey<? extends Registry<V>> key) static <T extends IForgeRegistryEntry<T>>
SimpleRegistry<T>GameData.getWrapper
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle) static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>GameData.getWrapper
(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, String defKey) private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData.makeRegistry
(RegistryKey<? extends Registry<T>> key, Class<T> type) private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData.makeRegistry
(RegistryKey<? extends Registry<T>> key, Class<T> type, int min, int max) private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData.makeRegistry
(RegistryKey<? extends Registry<T>> key, Class<T> type, String _default) <V extends T>
VNamespacedDefaultedWrapper.register
(RegistryKey<T> key, V value, com.mojang.serialization.Lifecycle lifecycle) <R extends T>
RNamespacedWrapper.register
(RegistryKey<T> key, R value, com.mojang.serialization.Lifecycle lifecycle) <V extends T>
VNamespacedDefaultedWrapper.registerMapping
(int id, RegistryKey<T> key, V value, com.mojang.serialization.Lifecycle lifecycle) <V extends T>
VNamespacedWrapper.registerMapping
(int id, RegistryKey<T> key, V value, com.mojang.serialization.Lifecycle lifecycle) <V extends T>
VNamespacedDefaultedWrapper.registerOrOverride
(OptionalInt id, RegistryKey<T> key, V value, com.mojang.serialization.Lifecycle lifecycle) <V extends T>
VNamespacedWrapper.registerOrOverride
(OptionalInt id, RegistryKey<T> key, V value, com.mojang.serialization.Lifecycle lifecycle) -
Uses of RegistryKey in net.minecraftforge.server.command
Modifier and TypeMethodDescriptionprivate static int
CommandEntity.EntityListCommand.execute
(CommandSource sender, String filter, RegistryKey<World> dim)