net.minecraft.world.level.levelgen.presets

public class WorldPreset

dkr
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 WorldGenSettings
a(long arg0, boolean arg1, boolean arg2)
createWorldGenSettings(long arg0, boolean arg1, boolean arg2)
method_41585(long arg0, boolean arg1, boolean arg2)
createGeneratorOptions(long seed, boolean generateStructures, boolean bonusChest)
m_226421_(long p_226423_, boolean arg1, boolean arg2)
public WorldGenSettings
a(dbm arg0)
recreateWorldGenSettings(WorldGenSettings arg0)
method_41587(class_5285 arg0)
createGeneratorOptions(GeneratorOptions generatorOptions)
m_226427_(C_2201_ arg0)
public Optional<LevelStem>
a()
overworld()
method_41584()
getOverworld()
m_226420_()
public LevelStem
b()
overworldOrThrow()
method_41590()
getOverworldOrElseThrow()
m_226434_()
private static com.mojang.serialization.DataResult<WorldPreset>
a(dkr arg0)
requireOverworld(WorldPreset arg0)
method_44351(class_7145 arg0)
validate(WorldPreset preset)
m_238378_(C_213159_ p_238379_)