Uses of Record Class
net.minecraft.world.dimension.DimensionOptions
Package
Description
-
Uses of DimensionOptions in net.minecraft.client.gui.screen.world
ModifierConstructorDescriptionprivate
OptimizeWorldScreen
(BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, LevelInfo levelInfo, boolean eraseCache, Registry<DimensionOptions> dimensionOptionsRegistry) -
Uses of DimensionOptions in net.minecraft.client.world
Modifier and TypeFieldDescriptionprivate final Registry<DimensionOptions>
GeneratorOptionsHolder.dimensionOptionsRegistry
The field for thedimensionOptionsRegistry
record component.Modifier and TypeMethodDescriptionGeneratorOptionsHolder.dimensionOptionsRegistry()
Returns the value of thedimensionOptionsRegistry
record component.ModifierConstructorDescriptionGeneratorOptionsHolder
(GeneratorOptions generatorOptions, Registry<DimensionOptions> registry, DimensionOptionsRegistryHolder dimensionOptionsRegistryHolder, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, DataPackContents dataPackContents, DataConfiguration dataConfiguration) -
Uses of DimensionOptions in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final RegistryKey<Registry<DimensionOptions>>
RegistryKeys.DIMENSION
Modifier and TypeMethodDescriptionstatic RegistryKey<DimensionOptions>
RegistryKeys.toDimensionKey
(RegistryKey<World> key) Modifier and TypeMethodDescriptionstatic RegistryKey<World>
RegistryKeys.toWorldKey
(RegistryKey<DimensionOptions> key) -
Uses of DimensionOptions in net.minecraft.server
Modifier and TypeMethodDescriptionprivate static void
Main.forceUpgradeWorld
(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, boolean eraseCache, BooleanSupplier continueCheck, Registry<DimensionOptions> dimensionOptionsRegistry) -
Uses of DimensionOptions in net.minecraft.server.world
ModifierConstructorDescriptionServerWorld
(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionOptions dimensionOptions, WorldGenerationProgressListener worldGenerationProgressListener, boolean debugWorld, long seed, List<Spawner> spawners, boolean shouldTickTime) -
Uses of DimensionOptions in net.minecraft.world.dimension
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DimensionOptions>
DimensionOptions.CODEC
private final Registry<DimensionOptions>
DimensionOptionsRegistryHolder.dimensions
The field for thedimensions
record component.private final Registry<DimensionOptions>
DimensionOptionsRegistryHolder.DimensionsConfig.dimensions
The field for thedimensions
record component.static final RegistryKey<DimensionOptions>
DimensionOptions.END
static final RegistryKey<DimensionOptions>
DimensionOptions.NETHER
static final RegistryKey<DimensionOptions>
DimensionOptions.OVERWORLD
private static final Set<RegistryKey<DimensionOptions>>
DimensionOptionsRegistryHolder.VANILLA_KEYS
Modifier and TypeMethodDescriptionstatic Registry<DimensionOptions>
DimensionOptionsRegistryHolder.createRegistry
(Registry<DimensionOptions> currentRegistry, RegistryEntry<DimensionType> overworldEntry, ChunkGenerator chunkGenerator) static Registry<DimensionOptions>
DimensionOptionsRegistryHolder.createRegistry
(Registry<DimensionType> dynamicRegistry, Registry<DimensionOptions> currentRegistry, ChunkGenerator chunkGenerator) DimensionOptionsRegistryHolder.dimensions()
Returns the value of thedimensions
record component.DimensionOptionsRegistryHolder.DimensionsConfig.dimensions()
Returns the value of thedimensions
record component.DimensionOptionsRegistryHolder.getOrEmpty
(RegistryKey<DimensionOptions> key) static Stream<RegistryKey<DimensionOptions>>
DimensionOptionsRegistryHolder.streamAll
(Stream<RegistryKey<DimensionOptions>> otherKeys) Modifier and TypeMethodDescription(package private) static com.mojang.serialization.Lifecycle
DimensionOptionsRegistryHolder.getLifecycle
(RegistryKey<DimensionOptions> key, DimensionOptions dimensionOptions) private static boolean
DimensionOptionsRegistryHolder.isNetherVanilla
(DimensionOptions dimensionOptions) private static boolean
DimensionOptionsRegistryHolder.isOverworldVanilla
(DimensionOptions dimensionOptions) private static boolean
DimensionOptionsRegistryHolder.isTheEndVanilla
(DimensionOptions dimensionOptions) private static boolean
DimensionOptionsRegistryHolder.isVanilla
(RegistryKey<DimensionOptions> key, DimensionOptions dimensionOptions) Modifier and TypeMethodDescriptionstatic Registry<DimensionOptions>
DimensionOptionsRegistryHolder.createRegistry
(Registry<DimensionOptions> currentRegistry, RegistryEntry<DimensionType> overworldEntry, ChunkGenerator chunkGenerator) (package private) static com.mojang.serialization.Lifecycle
DimensionOptionsRegistryHolder.getLifecycle
(RegistryKey<DimensionOptions> key, DimensionOptions dimensionOptions) DimensionOptionsRegistryHolder.getOrEmpty
(RegistryKey<DimensionOptions> key) private static LevelProperties.SpecialProperty
DimensionOptionsRegistryHolder.getSpecialProperty
(Registry<DimensionOptions> dimensionOptionsRegistry) private static boolean
DimensionOptionsRegistryHolder.isVanilla
(RegistryKey<DimensionOptions> key, DimensionOptions dimensionOptions) static Stream<RegistryKey<DimensionOptions>>
DimensionOptionsRegistryHolder.streamAll
(Stream<RegistryKey<DimensionOptions>> otherKeys) DimensionOptionsRegistryHolder.toConfig
(Registry<DimensionOptions> existingRegistry) ModifierConstructorDescriptionDimensionsConfig
(Registry<DimensionOptions> registry, LevelProperties.SpecialProperty specialProperty) -
Uses of DimensionOptions in net.minecraft.world.gen
Modifier and TypeFieldDescriptionprivate final DimensionOptions
WorldPresets.Registrar.endDimensionOptions
private final DimensionOptions
WorldPresets.Registrar.netherDimensionOptions
Modifier and TypeFieldDescriptionprivate final Map<RegistryKey<DimensionOptions>,
DimensionOptions> WorldPreset.dimensions
private final Map<RegistryKey<DimensionOptions>,
DimensionOptions> WorldPreset.dimensions
Modifier and TypeMethodDescriptionprivate DimensionOptions
WorldPresets.Registrar.createOverworldOptions
(BiomeSource biomeSource, RegistryEntry<ChunkGeneratorSettings> chunkGeneratorSettings) private DimensionOptions
WorldPresets.Registrar.createOverworldOptions
(ChunkGenerator chunkGenerator) static DimensionOptions
WorldPresets.getDefaultOverworldOptions
(DynamicRegistryManager dynamicRegistryManager) Modifier and TypeMethodDescriptionprivate Registry<DimensionOptions>
WorldPreset.createDimensionOptionsRegistry()
WorldPreset.getOverworld()
Modifier and TypeMethodDescriptionprivate WorldPreset
WorldPresets.Registrar.createPreset
(DimensionOptions dimensionOptions) private void
WorldPresets.Registrar.register
(RegistryKey<WorldPreset> key, DimensionOptions dimensionOptions) Modifier and TypeMethodDescriptionstatic Optional<RegistryKey<WorldPreset>>
WorldPresets.getWorldPreset
(Registry<DimensionOptions> registry) ModifierConstructorDescriptionWorldPreset
(Map<RegistryKey<DimensionOptions>, DimensionOptions> dimensions) WorldPreset
(Map<RegistryKey<DimensionOptions>, DimensionOptions> dimensions) -
Uses of DimensionOptions in net.minecraft.world.level.storage
Modifier and TypeMethodDescription(package private) static BiFunction<Path,
com.mojang.datafixers.DataFixer, com.mojang.datafixers.util.Pair<SaveProperties, DimensionOptionsRegistryHolder.DimensionsConfig>> LevelStorage.createLevelDataParser
(com.mojang.serialization.DynamicOps<NbtElement> ops, DataConfiguration dataConfiguration, Registry<DimensionOptions> dimensionOptionsRegistry, com.mojang.serialization.Lifecycle lifecycle) @Nullable com.mojang.datafixers.util.Pair<SaveProperties,
DimensionOptionsRegistryHolder.DimensionsConfig> LevelStorage.Session.readLevelProperties
(com.mojang.serialization.DynamicOps<NbtElement> ops, DataConfiguration dataConfiguration, Registry<DimensionOptions> dimensionOptionsRegistry, com.mojang.serialization.Lifecycle lifecycle) -
Uses of DimensionOptions in net.minecraft.world.updater
Modifier and TypeFieldDescriptionprivate final Registry<DimensionOptions>
WorldUpdater.dimensionOptionsRegistry
ModifierConstructorDescriptionWorldUpdater
(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, Registry<DimensionOptions> dimensionOptionsRegistry, boolean eraseCache)