91 lines
2.8 KiB
Text
91 lines
2.8 KiB
Text
{{wip}}
|
|
In [[custom dimension]]s, an '''effect''' is a set of rendering features utilised for defining a dimension's atmosphere and visuals.
|
|
|
|
== Elements ==
|
|
The dimension effect governs the following things:
|
|
|
|
* [[Cloud]] level
|
|
* Whether the dimension has ground
|
|
* The sky type to be used
|
|
* Whether to always use a bright lightmap
|
|
* Whether the ambient light level is constant
|
|
* Fog color
|
|
|
|
== Examples ==
|
|
{{info needed section|Descriptions}}
|
|
Note that as of [[Java Edition 1.16.5]], all effect features are hardcoded, and new ones cannot be created without mods. Dimensions created using effects from existing modded dimensions tend to carry dimension effects to the respective dimension as expected.
|
|
|
|
=== minecraft:overworld ===
|
|
The [[Overworld]] has the following effect elements:
|
|
|
|
*Cloud level: 192
|
|
*Has ground: true
|
|
*Sky type: NORMAL ([[sun]], [[moon]], stars etc.)
|
|
*Force bright lightmap: false
|
|
*Constant ambient light level: false
|
|
*No fog apart from view distance fog
|
|
The fog color is affected by the time of day. The new color <math display="inline">
|
|
C</math> can be calculated using the following formulae, where <math display="inline">T</math> is the time of day and <math display="inline">
|
|
\left[ {\begin{array}{c}
|
|
a\\
|
|
b\\
|
|
c\\
|
|
\end{array} } \right]</math> is the existing color.
|
|
|
|
<math>A=\max(0,\min(\frac{1}{2}+2\cos(T\times2\pi),1))</math>
|
|
|
|
<math>
|
|
C=
|
|
\left[ {\begin{array}{cc}
|
|
a(0.94A+0.06)\\
|
|
b(0.94A+0.06)\\
|
|
c(0.91A+0.09)\\
|
|
\end{array} } \right]</math><gallery>
|
|
Overworld sky effect.png
|
|
Overworld block effect.png
|
|
</gallery>
|
|
=== minecraft:the_nether ===
|
|
[[The Nether]] has the following effect elements:
|
|
|
|
*No clouds (cloud level: NaN)
|
|
*Has ground: true
|
|
*Sky type: NONE (no celestial bodies)
|
|
*Force bright lightmap: false
|
|
*Constant ambient light level: false
|
|
*Has fog
|
|
|
|
The fog color is not affected by the time of day as the nether has no daylight cycle.<gallery>
|
|
Nether sky effect.png
|
|
Nether block effect.png
|
|
</gallery>
|
|
=== minecraft:the_end ===
|
|
[[The End]] has the following effect elements:
|
|
|
|
*No clouds (cloud level: NaN)
|
|
*Has ground: false
|
|
*Sky type: END (no celestial bodies, purple spotted sky texture)
|
|
*Force bright lightmap: true
|
|
*Constant ambient light level: false
|
|
*No fog apart from view distance fog
|
|
The fog color is not affected by the time of day as the end has no daylight cycle, however each RGB component is multiplied by 0.15. <gallery>
|
|
End sky effect.png
|
|
End block effect.png
|
|
</gallery>
|
|
|
|
== Overview ==
|
|
{| class="wikitable" style="text-align:center"
|
|
! <samp>minecraft:overworld</samp>
|
|
|Celestial bodies; clouds; no extra fog; fog color depends on time of day
|
|
|-
|
|
! <samp>minecraft:the_nether</samp>
|
|
|No celestial bodies; extra fog; no clouds
|
|
|-
|
|
! <samp>minecraft:the_end</samp>
|
|
|No celestial bodies; no clouds; purple spotted sky texture
|
|
|}
|
|
|
|
== History ==
|
|
{{Empty section}}
|
|
|
|
== Navigation ==
|
|
{{Navbox gameplay}}
|