tutorial:dimensions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:dimension [2020/02/21 16:24] – Further clarify getSkyAngle earthcomputer | tutorial:dimensions [2022/01/01 14:46] – fix typo xtexchooser | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Creating a Dimension [WIP] ====== | + | |
+ | ====== Minecraft 1.16 and later ====== | ||
+ | |||
+ | The information below applies to Minecraft 1.15 and earlier, while in Minecraft 1.16, dimensions can be defined in data packs. More information about custom dimensions in 1.16 can be found in the [[https:// | ||
+ | |||
+ | However, you must still create a portal using fabric, [[tutorial: | ||
+ | |||
+ | An example that also shows some of the fabric-api specific code can be found in the [[https:// | ||
+ | |||
+ | ====== Creating a Dimension [WIP] (1.15 and earlier) | ||
Creating your own dimension is an advanced topic. This tutorial assumes you have already read through the previous tutorials on world generation, and have other basic knowledge such as how to create your own blocks. | Creating your own dimension is an advanced topic. This tutorial assumes you have already read through the previous tutorials on world generation, and have other basic knowledge such as how to create your own blocks. | ||
Line 26: | Line 35: | ||
} | } | ||
</ | </ | ||
- | The '' | + | The '' |
=== The Dimension class === | === The Dimension class === | ||
<code java [enable_line_numbers=" | <code java [enable_line_numbers=" | ||
- | public class BeeDimension { | + | public class BeeDimension |
private static final Vec3d FOG_COLOR = new Vec3d(0.54, 0.44, 0.16); | private static final Vec3d FOG_COLOR = new Vec3d(0.54, 0.44, 0.16); | ||
| | ||
- | public | + | public |
// The third argument indicates how visually bright light level 0 is, with 0 being no extra brightness and 1 being like night vision. | // The third argument indicates how visually bright light level 0 is, with 0 being no extra brightness and 1 being like night vision. | ||
// The overworld and the end set this to 0, and the Nether sets this to 0.1. We want our dimension to be a bit brighter. | // The overworld and the end set this to 0, and the Nether sets this to 0.1. We want our dimension to be a bit brighter. | ||
Line 101: | Line 110: | ||
} | } | ||
</ | </ | ||
- | |||
- | === Travelling between dimensions [TODO] === | ||
=== Creating a ChunkGenerator [TODO] === | === Creating a ChunkGenerator [TODO] === |
tutorial/dimensions.txt · Last modified: 2023/09/24 18:56 by mattidragon