Updated Comment
This commit is contained in:
parent
f4f2e85432
commit
f0f6d7026a
1 changed files with 9 additions and 0 deletions
|
@ -134,6 +134,15 @@ public class WorldPresets {
|
||||||
return createDefaultWorldFromPreset(registryAccess, RandomSource.create().nextLong());
|
return createDefaultWorldFromPreset(registryAccess, RandomSource.create().nextLong());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Datapacks can change the world's generator. This Method will ensure, that the Generators contain
|
||||||
|
* the correct BiomeSources for this world
|
||||||
|
*
|
||||||
|
* @param dimensionKey
|
||||||
|
* @param dimensionTypeKey
|
||||||
|
* @param settings
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
public static WorldGenSettings fixSettingsInCurrentWorld(ResourceKey<LevelStem> dimensionKey,
|
public static WorldGenSettings fixSettingsInCurrentWorld(ResourceKey<LevelStem> dimensionKey,
|
||||||
ResourceKey<DimensionType> dimensionTypeKey,
|
ResourceKey<DimensionType> dimensionTypeKey,
|
||||||
WorldGenSettings settings) {
|
WorldGenSettings settings) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue