A View Center defines what you will be able to see in the sky when you are looking at it in a certain Dimension.
To make Stellar View recognize your json file as a View Center, put it inside the assets/<namespace>/stellarview/view_centers folder in your Resourcepack.
To connect your View Center to a Dimension, it must have the same namespace and name as the Dimension it's meant to connect to.
This means that a View Center for the Dimension minecraft:the_nether would be located in your Resourcepack at: assets/minecraft/stellarview/view_centers/the_nether.json
Definition Fields
view_centerOPTIONAL - Defines the path to the Space Object, which will be tied to the View Center's Dimension and the sky will be rendered as seen from this Space Object.skyboxesOPTIONAL - A list of skyboxes the Dimension will draw over the sky created by Stellar View.axis_rotationREQUIRED - Specifies the rotation of the View Center around its individual axes (X axis -> Z axis -> Y axis).rotation_periodOPTIONAL - Specifies the amount of time it takes the View Center to rotate around its rotation axis. The View Center will not rotate if this field is left out.day_blendingOPTIONAL - Controls how normal objects will blend into the atmosphere during the day.sun_day_blendingOPTIONAL - Controls how Sun-like objects will blend into the atmosphere during the day.shooting_starOPTIONAL - List of types of shooting stars can appear at night.meteor_showerOPTIONAL - List of meteor shower types that can appear at night.create_horizonOPTIONAL - Creates a fog colored horizon effect in the sky. True if left unspecified.create_voidOPTIONAL - Creates a black disc when the player is near the bottom of the world. True if left unspecified.starsOPTIONAL - Specifies under which circumstances stars (and other celestial objects) can render.fogOPTIONAL - Specifies where in the world fog can appear.z_rotation_multiplierOPTIONAL - Multiplier by which the sky is rotated as the player moves further along the Z-axis. Set to 30'000'000 if left unspecified.
axis_rotation
Space Objects can be rotated in various directions. This rotation can affect its visual appearance, relative positions of its children, as well as how the sky looks on it if it's used as a View Center. Axis Rotation defines these rotations along the Y, Z and X axes in that order.
Definition Fields
x_axisREQUIRED - Rotation around the X-axis.y_axisREQUIRED - Rotation around the Y-axis.z_axisREQUIRED - Rotation around the Z-axis.in_degreesOPTIONAL - If true, the rotation is specified in degrees, if false it is specified in radians. True if left empty.
Example of Axis Rotation definition:
Axis Rotation of the Overworld:
"axis_rotation": { "x_axis": 0, "y_axis": -90, "z_axis": -90 },
skyboxes
TODO
day_blending
Day Blending field is used to control how normal objects will blend into the atmosphere during the day.
Definition Fields
TODO
shooting_star/meteor_shower
TODO
Definition Fields
meteor_typesprobability
stars
Specifies under which circumstances stars (and other celestial objects) can render.
Definition Fields
during_dayOPTIONAL - If true, stars will be rendered during day. False if left unspecified.ignore_fogOPTIONAL - If true, stars will render through fog. False if left unspecified.ignore_rainOPTIONAL - If true, stars will be visible even in during rain. False if left unspecified.
fog
Specifies where in the world fog can appear.
Definition Fields
heightOPTIONAL - List of height bounds at which fog is present. Bound is specified by a min and max height.
Example of height definition:
Fog that appears from height -infinity to 128 and then from 256 to 312.
"fog":{"height":[{ "max": 128 },{ "min": 256, "max": 312 }]}
z_rotation_multiplier
The further the player moves away from the 0 coordinate along the Z-axis, the more the sky rotates.
The rotation is defined by the following equation: 2 * atan(zPos / zRotationMultiplier)