Uses of Class
net.minecraft.util.RegistryKey
-
-
Uses of RegistryKey in net.minecraft.advancements.criterion
Fields in net.minecraft.advancements.criterion declared as RegistryKey Modifier and Type Field Description private RegistryKey<Biome>
LocationPredicate. biome
private RegistryKey<Biome>
LocationPredicate.Builder. biome
private RegistryKey<World>
LocationPredicate.Builder. dimension
private RegistryKey<World>
LocationPredicate. dimension
private RegistryKey<World>
ChangeDimensionTrigger.Instance. from
private RegistryKey<World>
ChangeDimensionTrigger.Instance. to
Methods in net.minecraft.advancements.criterion with parameters of type RegistryKey Modifier and Type Method Description static ChangeDimensionTrigger.Instance
ChangeDimensionTrigger.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
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_)
Constructors in net.minecraft.advancements.criterion with parameters of type RegistryKey Constructor Description Instance(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_, java.lang.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
Fields in net.minecraft.client.gui.screen with type parameters of type RegistryKey Modifier and Type Field Description private static it.unimi.dsi.fastutil.objects.Object2IntMap<RegistryKey<World>>
OptimizeWorldScreen. DIMENSION_COLORS
Methods in net.minecraft.client.gui.screen with parameters of type RegistryKey Modifier and Type Method Description private static void
FlatPresetsScreen. preset(ITextComponent p_238640_0_, IItemProvider p_238640_1_, RegistryKey<Biome> p_238640_2_, java.util.List<Structure<?>> p_238640_3_, boolean p_238640_4_, boolean p_238640_5_, boolean p_238640_6_, FlatLayerInfo... p_238640_7_)
Constructor parameters in net.minecraft.client.gui.screen with type arguments of type RegistryKey Constructor Description 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
Methods in net.minecraft.client.multiplayer that return types with arguments of type RegistryKey Modifier and Type Method Description java.util.Set<RegistryKey<World>>
ClientSuggestionProvider. levels()
-
Uses of RegistryKey in net.minecraft.client.network.play
Fields in net.minecraft.client.network.play with type parameters of type RegistryKey Modifier and Type Field Description private java.util.Set<RegistryKey<World>>
ClientPlayNetHandler. levels
Methods in net.minecraft.client.network.play that return types with arguments of type RegistryKey Modifier and Type Method Description java.util.Set<RegistryKey<World>>
ClientPlayNetHandler. levels()
-
Uses of RegistryKey in net.minecraft.client.world
Constructors in net.minecraft.client.world with parameters of type RegistryKey Constructor Description ClientWorld(ClientPlayNetHandler p_i242067_1_, ClientWorld.ClientWorldInfo p_i242067_2_, RegistryKey<World> p_i242067_3_, DimensionType p_i242067_4_, int p_i242067_5_, java.util.function.Supplier<IProfiler> p_i242067_6_, WorldRenderer p_i242067_7_, boolean p_i242067_8_, long p_i242067_9_)
-
Uses of RegistryKey in net.minecraft.command
Methods in net.minecraft.command that return types with arguments of type RegistryKey Modifier and Type Method Description java.util.Set<RegistryKey<World>>
CommandSource. levels()
java.util.Set<RegistryKey<World>>
ISuggestionProvider. levels()
-
Uses of RegistryKey in net.minecraft.data.advancements
Fields in net.minecraft.data.advancements with type parameters of type RegistryKey Modifier and Type Field Description private static java.util.List<RegistryKey<Biome>>
AdventureAdvancements. EXPLORABLE_BIOMES
private static java.util.List<RegistryKey<Biome>>
NetherAdvancements. EXPLORABLE_BIOMES
Method parameters in net.minecraft.data.advancements with type arguments of type RegistryKey Modifier and Type Method Description protected static Advancement.Builder
AdventureAdvancements. addBiomes(Advancement.Builder p_243675_0_, java.util.List<RegistryKey<Biome>> p_243675_1_)
-
Uses of RegistryKey in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive with type parameters of type RegistryKey Modifier and Type Field Description private java.util.List<RegistryKey<Biome>>
FoxEntity.Type. biomes
Method parameters in net.minecraft.entity.passive with type arguments of type RegistryKey Modifier and Type Method Description static FoxEntity.Type
FoxEntity.Type. byBiome(java.util.Optional<RegistryKey<Biome>> p_242325_0_)
Constructors in net.minecraft.entity.passive with parameters of type RegistryKey Constructor Description Type(int p_i241911_3_, java.lang.String p_i241911_4_, RegistryKey<Biome>... p_i241911_5_)
-
Uses of RegistryKey in net.minecraft.entity.player
Fields in net.minecraft.entity.player declared as RegistryKey Modifier and Type Field Description private RegistryKey<World>
ServerPlayerEntity. respawnDimension
Methods in net.minecraft.entity.player that return RegistryKey Modifier and Type Method Description RegistryKey<World>
ServerPlayerEntity. getRespawnDimension()
Methods in net.minecraft.entity.player with parameters of type RegistryKey Modifier and Type Method Description void
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
Fields in net.minecraft.entity.villager with type parameters of type RegistryKey Modifier and Type Field Description private static java.util.Map<RegistryKey<Biome>,VillagerType>
VillagerType. BY_BIOME
Method parameters in net.minecraft.entity.villager with type arguments of type RegistryKey Modifier and Type Method Description static VillagerType
VillagerType. byBiome(java.util.Optional<RegistryKey<Biome>> p_242371_0_)
-
Uses of RegistryKey in net.minecraft.item
Methods in net.minecraft.item that return types with arguments of type RegistryKey Modifier and Type Method Description static java.util.Optional<RegistryKey<World>>
CompassItem. getLodestoneDimension(CompoundNBT p_234667_0_)
Methods in net.minecraft.item with parameters of type RegistryKey Modifier and Type Method Description private 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
Fields in net.minecraft.network.play.server declared as RegistryKey Modifier and Type Field Description private RegistryKey<World>
SJoinGamePacket. dimension
private RegistryKey<World>
SRespawnPacket. dimension
Fields in net.minecraft.network.play.server with type parameters of type RegistryKey Modifier and Type Field Description private java.util.Set<RegistryKey<World>>
SJoinGamePacket. levels
Methods in net.minecraft.network.play.server that return RegistryKey Modifier and Type Method Description RegistryKey<World>
SJoinGamePacket. getDimension()
RegistryKey<World>
SRespawnPacket. getDimension()
Methods in net.minecraft.network.play.server that return types with arguments of type RegistryKey Modifier and Type Method Description java.util.Set<RegistryKey<World>>
SJoinGamePacket. levels()
Constructors in net.minecraft.network.play.server with parameters of type RegistryKey Constructor Description SJoinGamePacket(int p_i242082_1_, GameType p_i242082_2_, GameType p_i242082_3_, long p_i242082_4_, boolean p_i242082_6_, java.util.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_)
Constructor parameters in net.minecraft.network.play.server with type arguments of type RegistryKey Constructor Description SJoinGamePacket(int p_i242082_1_, GameType p_i242082_2_, GameType p_i242082_3_, long p_i242082_4_, boolean p_i242082_6_, java.util.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
Fields in net.minecraft.server with type parameters of type RegistryKey Modifier and Type Field Description private java.util.Map<RegistryKey<World>,ServerWorld>
MinecraftServer. levels
private java.util.Map<RegistryKey<World>,long[]>
MinecraftServer. perWorldTickTimes
Methods in net.minecraft.server that return types with arguments of type RegistryKey Modifier and Type Method Description java.util.Map<RegistryKey<World>,ServerWorld>
MinecraftServer. forgeGetWorldMap()
Deprecated.java.util.Set<RegistryKey<World>>
MinecraftServer. levelKeys()
Methods in net.minecraft.server with parameters of type RegistryKey Modifier and Type Method Description ServerWorld
MinecraftServer. getLevel(RegistryKey<World> p_71218_1_)
long[]
MinecraftServer. getTickTime(RegistryKey<World> dim)
Method parameters in net.minecraft.server with type arguments of type RegistryKey Modifier and Type Method Description private static void
Main. forceUpgrade(SaveFormat.LevelSave p_240761_0_, com.mojang.datafixers.DataFixer p_240761_1_, boolean p_240761_2_, java.util.function.BooleanSupplier p_240761_3_, com.google.common.collect.ImmutableSet<RegistryKey<World>> p_240761_4_)
-
Uses of RegistryKey in net.minecraft.server.management
Methods in net.minecraft.server.management with parameters of type RegistryKey Modifier and Type Method Description void
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
Fields in net.minecraft.util with type parameters of type RegistryKey Modifier and Type Field Description private com.google.common.collect.ImmutableSet<RegistryKey<World>>
WorldOptimizer. levels
private it.unimi.dsi.fastutil.objects.Object2FloatMap<RegistryKey<World>>
WorldOptimizer. progressMap
private static java.util.Map<java.lang.String,RegistryKey<?>>
RegistryKey. VALUES
Methods in net.minecraft.util that return RegistryKey Modifier and Type Method Description static <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_)
Methods in net.minecraft.util that return types with arguments of type RegistryKey Modifier and Type Method Description static <T> java.util.function.Function<ResourceLocation,RegistryKey<T>>
RegistryKey. elementKey(RegistryKey<? extends Registry<T>> p_240902_0_)
com.google.common.collect.ImmutableSet<RegistryKey<World>>
WorldOptimizer. levels()
Methods in net.minecraft.util with parameters of type RegistryKey Modifier and Type Method Description int
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> java.util.function.Function<ResourceLocation,RegistryKey<T>>
RegistryKey. elementKey(RegistryKey<? extends Registry<T>> p_240902_0_)
private java.util.List<ChunkPos>
WorldOptimizer. getAllChunkPos(RegistryKey<World> p_233532_1_)
boolean
RegistryKey. isFor(RegistryKey<? extends Registry<?>> p_244356_1_)
Constructor parameters in net.minecraft.util with type arguments of type RegistryKey Constructor Description WorldOptimizer(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
Fields in net.minecraft.util.math declared as RegistryKey Modifier and Type Field Description private RegistryKey<World>
GlobalPos. dimension
Methods in net.minecraft.util.math that return RegistryKey Modifier and Type Method Description RegistryKey<World>
GlobalPos. dimension()
Methods in net.minecraft.util.math with parameters of type RegistryKey Modifier and Type Method Description static GlobalPos
GlobalPos. of(RegistryKey<World> p_239648_0_, BlockPos p_239648_1_)
Constructors in net.minecraft.util.math with parameters of type RegistryKey Constructor Description GlobalPos(RegistryKey<World> p_i232508_1_, BlockPos p_i232508_2_)
-
Uses of RegistryKey in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type RegistryKey Modifier and Type Field Description private java.util.Map<RegistryKey<?>,com.google.gson.JsonElement>
WorldSettingsImport.IResourceAccess.RegistryAccess. data
private it.unimi.dsi.fastutil.objects.Object2IntMap<RegistryKey<?>>
WorldSettingsImport.IResourceAccess.RegistryAccess. ids
private com.google.common.collect.BiMap<RegistryKey<T>,T>
SimpleRegistry. keyStorage
private java.util.Map<RegistryKey<?>,com.mojang.serialization.Lifecycle>
WorldSettingsImport.IResourceAccess.RegistryAccess. lifecycles
private java.util.Map<RegistryKey<? extends Registry<?>>,WorldSettingsImport.ResultMap<?>>
WorldSettingsImport. readCache
private java.util.Map<? extends RegistryKey<? extends Registry<?>>,? extends SimpleRegistry<?>>
DynamicRegistries.Impl. registries
private static java.util.Map<RegistryKey<? extends Registry<?>>,DynamicRegistries.CodecHolder<?>>
DynamicRegistries. REGISTRIES
private java.util.Map<RegistryKey<E>,com.mojang.serialization.DataResult<java.util.function.Supplier<E>>>
WorldSettingsImport.ResultMap. values
Methods in net.minecraft.util.registry with type parameters of type RegistryKey Modifier and Type Method Description private 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_)
Methods in net.minecraft.util.registry that return RegistryKey Modifier and Type Method Description private static <T> RegistryKey<Registry<T>>
Registry. createRegistryKey(java.lang.String p_239741_0_)
RegistryKey<? extends Registry<E>>
DynamicRegistries.CodecHolder. key()
RegistryKey<? extends Registry<T>>
Registry. key()
Methods in net.minecraft.util.registry that return types with arguments of type RegistryKey Modifier and Type Method Description abstract java.util.Set<java.util.Map.Entry<RegistryKey<T>,T>>
Registry. entrySet()
java.util.Set<java.util.Map.Entry<RegistryKey<T>,T>>
SimpleRegistry. entrySet()
abstract java.util.Optional<RegistryKey<T>>
Registry. getResourceKey(T p_230519_1_)
java.util.Optional<RegistryKey<T>>
SimpleRegistry. getResourceKey(T p_230519_1_)
Methods in net.minecraft.util.registry with parameters of type RegistryKey Modifier and Type Method Description <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_)
protected <E> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<java.util.function.Supplier<E>,T>>
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, java.util.function.Supplier<T> def)
private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>Registry. forge(RegistryKey<? extends Registry<T>> key, java.lang.String defKey, com.mojang.serialization.Lifecycle cycle, java.util.function.Supplier<T> def)
private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>Registry. forge(RegistryKey<? extends Registry<T>> key, java.lang.String defKey, java.util.function.Supplier<T> def)
private static <T extends IForgeRegistryEntry<T>>
Registry<T>Registry. forge(RegistryKey<? extends Registry<T>> key, java.util.function.Supplier<T> def)
private static <T extends IForgeRegistryEntry<T>>
Registry<T>WorldGenRegistries. forge(RegistryKey<? extends Registry<T>> key, java.util.function.Supplier<T> def)
abstract T
Registry. get(RegistryKey<T> p_230516_1_)
T
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_)
java.util.Optional<T>
Registry. getOptional(RegistryKey<T> p_243575_1_)
T
Registry. getOrThrow(RegistryKey<T> p_243576_1_)
static <E> com.mojang.serialization.Codec<java.util.List<java.util.function.Supplier<E>>>
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_, java.util.function.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_, java.util.function.Supplier<T> p_243666_2_, com.mojang.serialization.Lifecycle p_243666_3_)
java.util.Collection<ResourceLocation>
WorldSettingsImport.IResourceAccess. listResources(RegistryKey<? extends Registry<?>> p_241880_1_)
java.util.Collection<ResourceLocation>
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,java.util.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,java.util.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<java.util.function.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_, java.lang.String p_239744_1_, com.mojang.serialization.Lifecycle p_239744_2_, java.util.function.Supplier<T> p_239744_3_)
private static <T> DefaultedRegistry<T>
Registry. registerDefaulted(RegistryKey<? extends Registry<T>> p_239745_0_, java.lang.String p_239745_1_, java.util.function.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(java.util.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(java.util.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_, java.util.function.Supplier<T> p_239742_2_)
private static <T> Registry<T>
Registry. registerSimple(RegistryKey<? extends Registry<T>> p_239746_0_, java.util.function.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_, java.util.function.Supplier<T> p_243665_2_)
private static <T> Registry<T>
WorldGenRegistries. registerSimple(RegistryKey<? extends Registry<T>> p_243667_0_, java.util.function.Supplier<T> p_243667_1_)
<E> java.util.Optional<MutableRegistry<E>>
DynamicRegistries.Impl. registry(RegistryKey<? extends Registry<E>> p_230521_1_)
abstract <E> java.util.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_)
Method parameters in net.minecraft.util.registry with type arguments of type RegistryKey Modifier and Type Method Description 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_)
Constructors in net.minecraft.util.registry with parameters of type RegistryKey Constructor Description CodecHolder(RegistryKey<? extends Registry<E>> p_i242073_1_, com.mojang.serialization.Codec<E> p_i242073_2_, com.mojang.serialization.Codec<E> p_i242073_3_)
DefaultedRegistry(java.lang.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_)
Registry(RegistryKey<? extends Registry<T>> p_i232510_1_, com.mojang.serialization.Lifecycle p_i232510_2_)
RegistryKeyCodec(RegistryKey<? extends Registry<E>> p_i242090_1_, com.mojang.serialization.Codec<E> p_i242090_2_, boolean p_i242090_3_)
RegistryLookupCodec(RegistryKey<? extends Registry<E>> p_i242091_1_)
SimpleRegistry(RegistryKey<? extends Registry<T>> p_i232509_1_, com.mojang.serialization.Lifecycle p_i232509_2_)
SimpleRegistryCodec(RegistryKey<? extends Registry<E>> p_i232587_1_, com.mojang.serialization.Lifecycle p_i232587_2_, com.mojang.serialization.Codec<E> p_i232587_3_)
Constructor parameters in net.minecraft.util.registry with type arguments of type RegistryKey Constructor Description Impl(java.util.Map<? extends RegistryKey<? extends Registry<?>>,? extends SimpleRegistry<?>> p_i242074_1_)
WorldSettingsImport(com.mojang.serialization.DynamicOps<T> p_i242092_1_, WorldSettingsImport.IResourceAccess p_i242092_2_, DynamicRegistries.Impl p_i242092_3_, java.util.IdentityHashMap<RegistryKey<? extends Registry<?>>,WorldSettingsImport.ResultMap<?>> p_i242092_4_)
-
Uses of RegistryKey in net.minecraft.world
Fields in net.minecraft.world declared as RegistryKey Modifier and Type Field Description private RegistryKey<World>
World. dimension
static RegistryKey<Dimension>
Dimension. END
static RegistryKey<World>
World. END
static RegistryKey<DimensionType>
DimensionType. END_LOCATION
static RegistryKey<Dimension>
Dimension. NETHER
static RegistryKey<World>
World. NETHER
static RegistryKey<DimensionType>
DimensionType. NETHER_LOCATION
static RegistryKey<Dimension>
Dimension. OVERWORLD
static RegistryKey<World>
World. OVERWORLD
static RegistryKey<DimensionType>
DimensionType. OVERWORLD_CAVES_LOCATION
static RegistryKey<DimensionType>
DimensionType. OVERWORLD_LOCATION
Fields in net.minecraft.world with type parameters of type RegistryKey Modifier and Type Field Description private static java.util.LinkedHashSet<RegistryKey<Dimension>>
Dimension. BUILTIN_ORDER
static com.mojang.serialization.Codec<RegistryKey<World>>
World. RESOURCE_KEY_CODEC
Methods in net.minecraft.world that return RegistryKey Modifier and Type Method Description RegistryKey<World>
World. dimension()
Methods in net.minecraft.world that return types with arguments of type RegistryKey Modifier and Type Method Description default java.util.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.Methods in net.minecraft.world with parameters of type RegistryKey Modifier and Type Method Description static java.io.File
DimensionType. getStorageFolder(RegistryKey<World> p_236031_0_, java.io.File p_236031_1_)
Constructors in net.minecraft.world with parameters of type RegistryKey Constructor Description World(ISpawnWorldInfo p_i241925_1_, RegistryKey<World> p_i241925_2_, DimensionType p_i241925_3_, java.util.function.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
Fields in net.minecraft.world.biome with type parameters of type RegistryKey Modifier and Type Field Description private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<RegistryKey<Biome>>
BiomeRegistry. TO_NAME
Methods in net.minecraft.world.biome that return RegistryKey Modifier and Type Method Description static RegistryKey<Biome>
BiomeRegistry. byId(int p_244203_0_)
private static RegistryKey<Biome>
Biomes. register(java.lang.String p_242548_0_)
Methods in net.minecraft.world.biome with parameters of type RegistryKey Modifier and Type Method Description private 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
Fields in net.minecraft.world.biome.provider with type parameters of type RegistryKey Modifier and Type Field Description private static java.util.List<RegistryKey<Biome>>
OverworldBiomeProvider. POSSIBLE_BIOMES
-
Uses of RegistryKey in net.minecraft.world.chunk.storage
Methods in net.minecraft.world.chunk.storage with parameters of type RegistryKey Modifier and Type Method Description CompoundNBT
ChunkLoader. upgradeChunkTag(RegistryKey<World> p_235968_1_, java.util.function.Supplier<DimensionSavedDataManager> p_235968_2_, CompoundNBT p_235968_3_)
-
Uses of RegistryKey in net.minecraft.world.gen
Fields in net.minecraft.world.gen declared as RegistryKey Modifier and Type Field Description static RegistryKey<DimensionSettings>
DimensionSettings. AMPLIFIED
static RegistryKey<DimensionSettings>
DimensionSettings. CAVES
static RegistryKey<DimensionSettings>
DimensionSettings. END
static RegistryKey<DimensionSettings>
DimensionSettings. FLOATING_ISLANDS
static RegistryKey<DimensionSettings>
DimensionSettings. NETHER
static RegistryKey<DimensionSettings>
DimensionSettings. OVERWORLD
Methods in net.minecraft.world.gen with parameters of type RegistryKey Modifier and Type Method Description private 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
Fields in net.minecraft.world.gen.feature.jigsaw declared as RegistryKey Modifier and Type Field Description static RegistryKey<JigsawPattern>
JigsawPatternRegistry. EMPTY
-
Uses of RegistryKey in net.minecraft.world.gen.feature.structure
Methods in net.minecraft.world.gen.feature.structure with parameters of type RegistryKey Modifier and Type Method Description static LegacyStructureDataUtil
LegacyStructureDataUtil. getLegacyStructureHandler(RegistryKey<World> p_236992_0_, DimensionSavedDataManager p_236992_1_)
-
Uses of RegistryKey in net.minecraft.world.gen.layer
Methods in net.minecraft.world.gen.layer that return RegistryKey Modifier and Type Method Description protected RegistryKey<Biome>
BiomeLayer. getBiome(BiomeManager.BiomeType type, INoiseRandom context)
-
Uses of RegistryKey in net.minecraft.world.gen.settings
Methods in net.minecraft.world.gen.settings that return types with arguments of type RegistryKey Modifier and Type Method Description com.google.common.collect.ImmutableSet<RegistryKey<World>>
DimensionGeneratorSettings. levels()
-
Uses of RegistryKey in net.minecraft.world.server
Constructors in net.minecraft.world.server with parameters of type RegistryKey Constructor Description ServerWorld(MinecraftServer p_i241885_1_, java.util.concurrent.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_, java.util.List<ISpecialSpawner> p_i241885_12_, boolean p_i241885_13_)
-
Uses of RegistryKey in net.minecraft.world.storage
Fields in net.minecraft.world.storage declared as RegistryKey Modifier and Type Field Description RegistryKey<World>
MapData. dimension
Methods in net.minecraft.world.storage with parameters of type RegistryKey Modifier and Type Method Description java.io.File
SaveFormat.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
Fields in net.minecraftforge.common declared as RegistryKey Modifier and Type Field Description private RegistryKey<Biome>
BiomeManager.BiomeEntry. key
Fields in net.minecraftforge.common with type parameters of type RegistryKey Modifier and Type Field Description private static java.util.List<RegistryKey<Biome>>
BiomeManager. additionalOverworldBiomes
private static java.util.List<RegistryKey<Biome>>
BiomeManager. additionalOverworldBiomesView
private static java.util.Map<RegistryKey<Biome>,BiomeDictionary.BiomeInfo>
BiomeDictionary. biomeInfoMap
private java.util.Set<RegistryKey<Biome>>
BiomeDictionary.Type. biomes
private java.util.Set<RegistryKey<Biome>>
BiomeDictionary.Type. biomesUn
Methods in net.minecraftforge.common that return RegistryKey Modifier and Type Method Description RegistryKey<Biome>
BiomeManager.BiomeEntry. getKey()
Methods in net.minecraftforge.common that return types with arguments of type RegistryKey Modifier and Type Method Description static java.util.List<RegistryKey<Biome>>
BiomeManager. getAdditionalOverworldBiomes()
static java.util.Set<RegistryKey<Biome>>
BiomeDictionary. getBiomes(BiomeDictionary.Type type)
Gets the set of biomes that have the given type.Methods in net.minecraftforge.common with parameters of type RegistryKey Modifier and Type Method Description static 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 java.util.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)
Constructors in net.minecraftforge.common with parameters of type RegistryKey Constructor Description BiomeEntry(RegistryKey<Biome> key, int weight)
-
Uses of RegistryKey in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions with parameters of type RegistryKey Modifier and Type Method Description default TagsProvider.Builder<T>
IForgeTagBuilder. add(RegistryKey<T>... keys)
-
Uses of RegistryKey in net.minecraftforge.common.util
Fields in net.minecraftforge.common.util declared as RegistryKey Modifier and Type Field Description private RegistryKey<World>
BlockSnapshot. dim
Methods in net.minecraftforge.common.util with parameters of type RegistryKey Modifier and Type Method Description static BlockSnapshot
BlockSnapshot. create(RegistryKey<World> dim, IWorld world, BlockPos pos)
static BlockSnapshot
BlockSnapshot. create(RegistryKey<World> dim, IWorld world, BlockPos pos, int flag)
Constructors in net.minecraftforge.common.util with parameters of type RegistryKey Constructor Description BlockSnapshot(RegistryKey<World> dim, IWorld world, BlockPos pos, BlockState state, CompoundNBT nbt, int flags)
-
Uses of RegistryKey in net.minecraftforge.event
Methods in net.minecraftforge.event with parameters of type RegistryKey Modifier and Type Method Description static boolean
ForgeEventFactory. onPlayerSpawnSet(PlayerEntity player, RegistryKey<World> world, BlockPos pos, boolean forced)
-
Uses of RegistryKey in net.minecraftforge.event.entity
Fields in net.minecraftforge.event.entity declared as RegistryKey Modifier and Type Field Description private RegistryKey<World>
EntityTravelToDimensionEvent. dimension
Methods in net.minecraftforge.event.entity that return RegistryKey Modifier and Type Method Description RegistryKey<World>
EntityTravelToDimensionEvent. getDimension()
Constructors in net.minecraftforge.event.entity with parameters of type RegistryKey Constructor Description EntityTravelToDimensionEvent(Entity entity, RegistryKey<World> dimension)
-
Uses of RegistryKey in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as RegistryKey Modifier and Type Field Description private RegistryKey<World>
PlayerEvent.PlayerChangedDimensionEvent. fromDim
private RegistryKey<World>
PlayerSetSpawnEvent. spawnWorld
private RegistryKey<World>
PlayerEvent.PlayerChangedDimensionEvent. toDim
Methods in net.minecraftforge.event.entity.player that return RegistryKey Modifier and Type Method Description RegistryKey<World>
PlayerEvent.PlayerChangedDimensionEvent. getFrom()
RegistryKey<World>
PlayerSetSpawnEvent. getSpawnWorld()
RegistryKey<World>
PlayerEvent.PlayerChangedDimensionEvent. getTo()
Constructors in net.minecraftforge.event.entity.player with parameters of type RegistryKey Constructor Description PlayerChangedDimensionEvent(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
Methods in net.minecraftforge.fml.hooks with parameters of type RegistryKey Modifier and Type Method Description static void
BasicEventHooks. firePlayerChangedDimensionEvent(PlayerEntity player, RegistryKey<World> fromDim, RegistryKey<World> toDim)
-
Uses of RegistryKey in net.minecraftforge.fml.network
Fields in net.minecraftforge.fml.network declared as RegistryKey Modifier and Type Field Description private RegistryKey<World>
PacketDistributor.TargetPoint. dim
Fields in net.minecraftforge.fml.network with type parameters of type RegistryKey Modifier and Type Field Description static PacketDistributor<RegistryKey<World>>
PacketDistributor. DIMENSION
Send to everyone in the dimension specified in the Supplier
PacketDistributor.with(Supplier)
DimensionTypeMethods in net.minecraftforge.fml.network with parameters of type RegistryKey Modifier and Type Method Description static java.util.function.Supplier<PacketDistributor.TargetPoint>
PacketDistributor.TargetPoint. p(double x, double y, double z, double r2, RegistryKey<World> dim)
Helper to build a TargetPoint without excluded EntityMethod parameters in net.minecraftforge.fml.network with type arguments of type RegistryKey Modifier and Type Method Description private java.util.function.Consumer<IPacket<?>>
PacketDistributor. playerListDimConsumer(java.util.function.Supplier<RegistryKey<World>> dimensionTypeSupplier)
Constructors in net.minecraftforge.fml.network with parameters of type RegistryKey Constructor Description TargetPoint(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
Fields in net.minecraftforge.registries with type parameters of type RegistryKey Modifier and Type Field Description private com.google.common.collect.BiMap<RegistryKey<V>,V>
ForgeRegistry. keys
Methods in net.minecraftforge.registries that return RegistryKey Modifier and Type Method Description RegistryKey<V>
ForgeRegistry. getKey(int id)
RegistryKey<Registry<V>>
ForgeRegistry. getRegistryKey()
private static <T> RegistryKey<Registry<T>>
ForgeRegistries.Keys. key(java.lang.String name)
Methods in net.minecraftforge.registries that return types with arguments of type RegistryKey Modifier and Type Method Description java.util.Set<java.util.Map.Entry<RegistryKey<T>,T>>
NamespacedDefaultedWrapper. entrySet()
java.util.Set<java.util.Map.Entry<RegistryKey<T>,T>>
NamespacedWrapper. entrySet()
java.util.Set<java.util.Map.Entry<RegistryKey<V>,V>>
ForgeRegistry. getEntries()
java.util.Set<java.util.Map.Entry<RegistryKey<V>,V>>
IForgeRegistry. getEntries()
Methods in net.minecraftforge.registries with parameters of type RegistryKey Modifier and Type Method Description T
NamespacedDefaultedWrapper. get(RegistryKey<T> name)
T
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, java.lang.String defKey)
private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData. makeRegistry(RegistryKey<? extends Registry<T>> key, java.lang.Class<T> type)
private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData. makeRegistry(RegistryKey<? extends Registry<T>> key, java.lang.Class<T> type, int min, int max)
private static <T extends IForgeRegistryEntry<T>>
RegistryBuilder<T>GameData. makeRegistry(RegistryKey<? extends Registry<T>> key, java.lang.Class<T> type, java.lang.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(java.util.OptionalInt id, RegistryKey<T> key, V value, com.mojang.serialization.Lifecycle lifecycle)
<V extends T>
VNamespacedWrapper. registerOrOverride(java.util.OptionalInt id, RegistryKey<T> key, V value, com.mojang.serialization.Lifecycle lifecycle)
-
Uses of RegistryKey in net.minecraftforge.server.command
Methods in net.minecraftforge.server.command with parameters of type RegistryKey Modifier and Type Method Description private static int
CommandEntity.EntityListCommand. execute(CommandSource sender, java.lang.String filter, RegistryKey<World> dim)
-