net.minecraft.world.level.levelgen

public record WorldDimensions

eel
net.minecraft.world.level.levelgen.WorldDimensions
net.minecraft.class_7723
net.minecraft.world.dimension.DimensionOptionsRegistryHolder
net.minecraft.world.level.levelgen.WorldDimensions

Field summary

Modifier and TypeField
private final Map<ResourceKey<LevelStem>, LevelStem>
b
dimensions
comp_1014
dimensions
public static final com.mojang.serialization.MapCodec<WorldDimensions>
a
CODEC
field_40363
CODEC
private static final Set<ResourceKey<LevelStem>>
c
BUILTIN_ORDER
field_40364
VANILLA_KEYS
private static final int
d
VANILLA_DIMENSION_COUNT
field_40365
VANILLA_KEY_COUNT

Constructor summary

ModifierConstructor
public (Map<ResourceKey<LevelStem>, LevelStem> arg0)
public (Registry<LevelStem> dimensionOptionsRegistry)

Method summary

Modifier and TypeMethod
public static Stream<ResourceKey<LevelStem>>
a(Stream<aly<ebr>> arg0)
keysInOrder(Stream<ResourceKey<LevelStem>> arg0)
method_45525(Stream<class_5321<class_5363>> arg0)
streamAll(Stream<RegistryKey<DimensionOptions>> otherKeys)
public WorldDimensions
a(js$a arg0, dzr arg1)
replaceOverworldGenerator(HolderLookup$Provider arg0, ChunkGenerator arg1)
method_45522(class_7225$class_7874 arg0, class_2794 arg1)
with(RegistryWrapper$WrapperLookup registries, ChunkGenerator chunkGenerator)
public static Map<ResourceKey<LevelStem>, LevelStem>
a(js<ebq> arg0, Map<aly<ebr>, ebr> arg1, dzr arg2)
withOverworld(HolderLookup<DimensionType> arg0, Map<ResourceKey<LevelStem>, LevelStem> arg1, ChunkGenerator arg2)
method_45520(class_7225<class_2874> arg0, Map<class_5321<class_5363>, class_5363> arg1, class_2794 arg2)
createRegistry(RegistryWrapper<DimensionType> dimensionTypeRegistry, Map<RegistryKey<DimensionOptions>, DimensionOptions> dimensionOptions, ChunkGenerator chunkGenerator)
public static Map<ResourceKey<LevelStem>, LevelStem>
a(Map<aly<ebr>, ebr> arg0, jq<ebq> arg1, dzr arg2)
withOverworld(Map<ResourceKey<LevelStem>, LevelStem> arg0, Holder<DimensionType> arg1, ChunkGenerator arg2)
method_45519(Map<class_5321<class_5363>, class_5363> arg0, class_6880<class_2874> arg1, class_2794 arg2)
createRegistry(Map<RegistryKey<DimensionOptions>, DimensionOptions> dimensionOptions, RegistryEntry<DimensionType> overworld, ChunkGenerator chunkGenerator)
public ChunkGenerator
a()
overworld()
method_45513()
getChunkGenerator()
public Optional<LevelStem>
a(aly<ebr> arg0)
get(ResourceKey<LevelStem> arg0)
method_45514(class_5321<class_5363> arg0)
getOrEmpty(RegistryKey<DimensionOptions> key)
public com.google.common.collect.ImmutableSet<ResourceKey<Level>>
b()
levels()
method_45526()
getWorldKeys()
public boolean
c()
isDebug()
method_45531()
isDebug()
private static PrimaryLevelData$SpecialWorldProperty
b(kd<ebr> arg0)
specialWorldProperty(Registry<LevelStem> arg0)
method_45530(class_2378<class_5363> arg0)
getSpecialProperty(Registry<DimensionOptions> dimensionOptionsRegistry)
static com.mojang.serialization.Lifecycle
a(aly<ebr> arg0, ebr arg1)
checkStability(ResourceKey<LevelStem> arg0, LevelStem arg1)
method_45515(class_5321<class_5363> arg0, class_5363 arg1)
getLifecycle(RegistryKey<DimensionOptions> key, DimensionOptions dimensionOptions)
private static boolean
b(aly<ebr> arg0, ebr arg1)
isVanillaLike(ResourceKey<LevelStem> arg0, LevelStem arg1)
method_45528(class_5321<class_5363> arg0, class_5363 arg1)
isVanilla(RegistryKey<DimensionOptions> key, DimensionOptions dimensionOptions)
private static boolean
a(ebr arg0)
isStableOverworld(LevelStem arg0)
method_45517(class_5363 arg0)
isOverworldVanilla(DimensionOptions dimensionOptions)
private static boolean
b(ebr arg0)
isStableNether(LevelStem arg0)
method_45529(class_5363 arg0)
isNetherVanilla(DimensionOptions dimensionOptions)
private static boolean
c(ebr arg0)
isStableEnd(LevelStem arg0)
method_45533(class_5363 arg0)
isTheEndVanilla(DimensionOptions dimensionOptions)
public WorldDimensions$Complete
a(kd<ebr> arg0)
bake(Registry<LevelStem> arg0)
method_45518(class_2378<class_5363> arg0)
toConfig(Registry<DimensionOptions> existingRegistry)
public Map<ResourceKey<LevelStem>, LevelStem>
d()
dimensions()
comp_1014()
dimensions()