-
Notifications
You must be signed in to change notification settings - Fork 36
Tutorial: Dimension Configuration
OreCruncher edited this page Dec 15, 2016
·
4 revisions
This tutorial assumes that you have already created a Json configuration file. If you haven't please read [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Tutorial:-External-Configuration-Files][Tutorial: External Configuration Files]].
Internally Dynamic Surroundings has a Dimension Registry where it keeps information related to how it should operate for a dimension. A modpack author can override what Dynamic Surroundings uses in order to provide specific dimension behaviors.
The table below describes the various parameters that can be defined:
|Parameter|Value Type|Comment|
|---------+----------+-------|
|dimId|Integer|The ID of the dimension the parameters apply.|
|seaLevel|Integer|The Y block coordinate that defines sea level. Only affects Dynamic Surroundings!|
|skyHeight|Integer|The Y block coordinate that defines larges Y for building. Only affects Dynamic Surroundings!|
|cloudHeight|Integer|The Y block coordinate that is considered the cloud layer.|
|haze|Boolean|Whether to allow elevation haze effect in the dimension.|
|aurora|Boolean|Whether to allow auroras in the dimension.|
|weather|Boolean|Whether to allow weather effects in the dimension.|
|name|String|Name of the dimension. If used dimId does not have to be specified. Match is based on dimension name.|
In order to define dimension options the first thing that needs to be done is to create a Json file in the =./minecraft/config/dsurround/= configuration directory. It is a normal text file but has a specific Json syntax that must be followed. Here is an example of such a file:
#+BEGIN_EXAMPLE
{
"dimensions":[
{
"dimId":-1,
"weather":true,
"haze":false,
"aurora":false,
"seaLevel":0
}
]
}
#+END_EXAMPLE
In this example, the dimension that is being configured is -1 (The Nether). Weather effects are turned on, elevation haze is disabled, auroras are disabled, and seaLevel is defined to be 0 so that the dust weather effect can render to make it foggy when it is raining.
*General*
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Release-Summary][Release Summary]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/How-to-Contribute][How to Contribute]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Let's-Talk-Rain][Let's Talk Rain]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Aurora-Borealis][Aurora Borealis]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Potion-HUD][Potion HUD]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Compass-HUD][Compass HUD]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Light-Level-HUD][Light Level HUD]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Sound-Overlay][Sound Overlays]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Speech-Bubbles][Speech Bubbles]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Entity-Chat][Entity Chat]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Entity-Emojis][Entity Emojis]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Water-Splash][Water Splash]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Compatibility][Compatibility]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Mod-Support][Mod Support]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Sounds-in-the-Mod][Sounds in the Mod]]
*Commands*
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Commands][/ds]]
*Tutorials*
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/How-do-I][How do I...]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Regular-Expressions][Regular Expressions]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Acoustic-Profiles][Acoustic Profiles]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Tutorial:-Configuration-Files][Tutorial: Configuration Files]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Tutorial:-Condition-Strings][Tutorial: Condition Strings]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Tutorial:-Biome-Configuration][Tutorial: Biome Configuration]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Tutorial:-Block-Configuration][Tutorial: Block Configuration]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Tutorial:-Dimension-Configuration][Tutorial: Dimension Configuration]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Tutorial:-Footstep-Configuration][Tutorial: Footstep Configuration]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Tutorial:-Forge-Mappings][Tutorial: Forge Mappings]]
+ [[https://github.com/OreCruncher/DynamicSurroundings/wiki/Tutorial:-Resource-Packs][Tutorial: Resource Packs]]