Changes between Version 7 and Version 8 of Scripting/API
- Timestamp:
- 05/07/23 16:26:37 (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Scripting/API
v7 v8 161 161 .fromLevels(0, 255).toLevels(0, 255) // Optional. Specifies how image values should be mapped to surface heights. The first two values are the lower and upper bounds of the range of image values; the second pair of values if the corresponding range of surface heights those image values should be mapped to. The default is to map the values one on one 162 162 .withWaterLevel(62) // Optional. The default water level to set the new world to. Default value: 62 163 .withMapFormat(mapFormat) // Optional. The map format to set the new world to. See below for obtaining the reference to the map format. Defaults to the default map format configured in the !WorldPainter Preferences163 .withMapFormat(mapFormat) // Optional. The map format to set the new world to. See below for obtaining the reference to the map format. Defaults to the default map format configured in the WorldPainter Preferences 164 164 .withLowerBuildLimit(-64) // Optional. The lower build limit to set the new world to. This value is inclusive. Defaults to the default lower build limit of the map format 165 165 .withUpperBuildLimit(320) // Optional. The upper build limit to set the new world to. This valus is exclusive. Defaults to the default upper build limit of the map format