net.minecraft.world.level.levelgen.presets

public class WorldPreset

dux
net.minecraft.world.level.levelgen.presets.WorldPreset
net.minecraft.class_7145
net.minecraft.world.gen.WorldPreset
net.minecraft.src.C_213159_
net.minecraft.world.level.levelgen.presets.WorldPreset

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<WorldPreset>
a
DIRECT_CODEC
field_37725
CODEC
f_226414_
public static final com.mojang.serialization.Codec<Holder<WorldPreset>>
b
CODEC
field_37726
ENTRY_CODEC
f_226415_
private final Map<ResourceKey<LevelStem>, LevelStem>
c
dimensions
field_37727
dimensions
f_226416_

Constructor summary

ModifierConstructor
public (Map<ResourceKey<LevelStem>, LevelStem> dimensions)

Method summary

Modifier and TypeMethod
private Registry<LevelStem>
c()
createRegistry()
method_41591()
createDimensionOptionsRegistry()
m_226435_()
public WorldDimensions
a()
createWorldDimensions()
method_45546()
createDimensionsRegistryHolder()
m_247748_()
public Optional<LevelStem>
b()
overworld()
method_41584()
getOverworld()
m_226420_()
private static com.mojang.serialization.DataResult<WorldPreset>
a(dux arg0)
requireOverworld(WorldPreset arg0)
method_44351(class_7145 arg0)
validate(WorldPreset preset)
m_238378_(C_213159_ p_238379_)