net.minecraft.world.level.levelgen

public record WorldDimensions

dln
net.minecraft.world.level.levelgen.WorldDimensions
net.minecraft.class_7723
net.minecraft.world.dimension.DimensionOptionsRegistryHolder
net.minecraft.src.C_243563_
net.minecraft.world.level.levelgen.WorldDimensions

Field summary

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

Constructor summary

ModifierConstructor
public (Registry<LevelStem> arg0)

Method summary

Modifier and TypeMethod
public static Stream<ResourceKey<LevelStem>>
a(Stream<aev<dit>> arg0)
keysInOrder(Stream<ResourceKey<LevelStem>> arg0)
method_45525(Stream<class_5321<class_5363>> arg0)
streamAll(Stream<RegistryKey<DimensionOptions>> otherKeys)
m_247421_(Stream<C_5264_<C_2176_>> p_251309_)
public WorldDimensions
a(hr arg0, dhg arg1)
replaceOverworldGenerator(RegistryAccess arg0, ChunkGenerator arg1)
method_45522(class_5455 arg0, class_2794 arg1)
with(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator)
m_246747_(C_4706_ p_248755_, C_2118_ arg1)
public static Registry<LevelStem>
a(hq<dis> arg0, hq<dit> arg1, dhg arg2)
withOverworld(Registry<DimensionType> arg0, Registry<LevelStem> arg1, ChunkGenerator arg2)
method_45520(class_2378<class_2874> arg0, class_2378<class_5363> arg1, class_2794 arg2)
createRegistry(Registry<DimensionType> dynamicRegistry, Registry<DimensionOptions> currentRegistry, ChunkGenerator chunkGenerator)
m_246477_(C_4705_<C_2175_> p_248853_, C_4705_<C_2176_> p_251908_, C_2118_ p_251737_)
public static Registry<LevelStem>
a(hq<dit> arg0, he<dis> arg1, dhg arg2)
withOverworld(Registry<LevelStem> arg0, Holder<DimensionType> arg1, ChunkGenerator arg2)
method_45519(class_2378<class_5363> arg0, class_6880<class_2874> arg1, class_2794 arg2)
createRegistry(Registry<DimensionOptions> currentRegistry, RegistryEntry<DimensionType> overworldEntry, ChunkGenerator chunkGenerator)
m_247534_(C_4705_<C_2176_> p_248907_, C_203228_<C_2175_> p_251895_, C_2118_ p_250220_)
public ChunkGenerator
a()
overworld()
method_45513()
getChunkGenerator()
m_246737_()
public Optional<LevelStem>
a(aev<dit> arg0)
get(ResourceKey<LevelStem> arg0)
method_45514(class_5321<class_5363> arg0)
getOrEmpty(RegistryKey<DimensionOptions> key)
m_245957_(C_5264_<C_2176_> arg0)
public com.google.common.collect.ImmutableSet<ResourceKey<Level>>
b()
levels()
method_45526()
getWorldKeys()
m_247539_()
public boolean
c()
isDebug()
method_45531()
isDebug()
m_246739_()
private static PrimaryLevelData$SpecialWorldProperty
b(hq<dit> arg0)
specialWorldProperty(Registry<LevelStem> arg0)
method_45530(class_2378<class_5363> arg0)
getSpecialProperty(Registry<DimensionOptions> dimensionOptionsRegistry)
m_246830_(C_4705_<C_2176_> p_251549_)
static com.mojang.serialization.Lifecycle
a(aev<dit> arg0, dit arg1)
checkStability(ResourceKey<LevelStem> arg0, LevelStem arg1)
method_45515(class_5321<class_5363> arg0, class_5363 arg1)
getLifecycle(RegistryKey<DimensionOptions> key, DimensionOptions dimensionOptions)
m_245357_(C_5264_<C_2176_> p_250764_, C_2176_ p_248865_)
private static boolean
b(aev<dit> arg0, dit arg1)
isVanillaLike(ResourceKey<LevelStem> arg0, LevelStem arg1)
method_45528(class_5321<class_5363> arg0, class_5363 arg1)
isVanilla(RegistryKey<DimensionOptions> key, DimensionOptions dimensionOptions)
m_245858_(C_5264_<C_2176_> p_250556_, C_2176_ p_250034_)
private static boolean
a(dit arg0)
isStableOverworld(LevelStem arg0)
method_45517(class_5363 arg0)
isOverworldVanilla(DimensionOptions dimensionOptions)
m_245847_(C_2176_ p_250762_)
private static boolean
b(dit arg0)
isStableNether(LevelStem arg0)
method_45529(class_5363 arg0)
isNetherVanilla(DimensionOptions dimensionOptions)
m_246615_(C_2176_ p_250497_)
private static boolean
c(dit arg0)
isStableEnd(LevelStem arg0)
method_45533(class_5363 arg0)
isTheEndVanilla(DimensionOptions dimensionOptions)
m_247592_(C_2176_ p_250720_)
public WorldDimensions$Complete
a(hq<dit> arg0)
bake(Registry<LevelStem> arg0)
method_45518(class_2378<class_5363> arg0)
toConfig(Registry<DimensionOptions> existingRegistry)
m_245300_(C_4705_<C_2176_> arg0)
public Registry<LevelStem>
d()
dimensions()
comp_1014()
dimensions()
f_243948_()