public final class DimensionOptions extends Object
Modifier and Type | Field and Description |
---|---|
private static LinkedHashSet<RegistryKey<DimensionOptions>> |
BASE_DIMENSIONS |
private ChunkGenerator |
chunkGenerator |
static com.mojang.serialization.Codec<DimensionOptions> |
CODEC |
private Supplier<DimensionType> |
dimensionTypeSupplier |
static RegistryKey<DimensionOptions> |
END |
static RegistryKey<DimensionOptions> |
NETHER |
static RegistryKey<DimensionOptions> |
OVERWORLD |
Constructor and Description |
---|
DimensionOptions(Supplier<DimensionType> typeSupplier,
ChunkGenerator chunkGenerator) |
Modifier and Type | Method and Description |
---|---|
ChunkGenerator |
getChunkGenerator() |
DimensionType |
getDimensionType() |
Supplier<DimensionType> |
getDimensionTypeSupplier() |
static boolean |
method_29567(long seed,
SimpleRegistry<DimensionOptions> simpleRegistry) |
static SimpleRegistry<DimensionOptions> |
method_29569(SimpleRegistry<DimensionOptions> simpleRegistry) |
public static final com.mojang.serialization.Codec<DimensionOptions> CODEC
public static final RegistryKey<DimensionOptions> OVERWORLD
public static final RegistryKey<DimensionOptions> NETHER
public static final RegistryKey<DimensionOptions> END
private static final LinkedHashSet<RegistryKey<DimensionOptions>> BASE_DIMENSIONS
private final Supplier<DimensionType> dimensionTypeSupplier
private final ChunkGenerator chunkGenerator
public DimensionOptions(Supplier<DimensionType> typeSupplier, ChunkGenerator chunkGenerator)
public Supplier<DimensionType> getDimensionTypeSupplier()
public DimensionType getDimensionType()
public ChunkGenerator getChunkGenerator()
public static SimpleRegistry<DimensionOptions> method_29569(SimpleRegistry<DimensionOptions> simpleRegistry)
public static boolean method_29567(long seed, SimpleRegistry<DimensionOptions> simpleRegistry)