forked from JaylyDev/ScriptAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
42 lines (41 loc) · 1.66 KB
/
index.js
File metadata and controls
42 lines (41 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import { world } from '@minecraft/server';
/**
* A collection of default Minecraft dimension types.
*/
// tslint:disable-next-line:no-unnecessary-class
export class Dimensions {
/**
* The Nether is a collection of biomes separate from the
* Overworld, including Soul Sand Valleys and Crimson forests.
* Nether fortresses contain exclusive resources. Mobs such as
* Blaze, Hoglins, Piglins, and Ghasts congregate here.
* @readonly
*/
static 'nether' = world.getDimension('minecraft:nether');
/**
* The overworld is a collection of biomes, including forests,
* plains, jungles, mountains, deserts, taiga, and more. This
* is the default starter dimension for Minecraft. Mobs such as
* Axolotl, Cows, Creepers, and Zombies congregate here.
* @readonly
*/
static 'overworld' = world.getDimension('minecraft:overworld');
/**
* The End is separate from the Overworld and the Nether and is
* generated whenever you create an End portal. Here, a giant
* center island is surrounded by several smaller areas and
* islands. You can find Endermen here. End midlands are larger
* areas that transition you from the center to the outer edges
* of the End. They contain Shulkers, Endermen, End gateway
* portals, and End cities. End gateway portals are commonly
* found at the outermost edge of the void. You usually find
* End barrens toward the edges of the main areas or land in
* the End.
* @readonly
*/
static 'theEnd' = world.getDimension('minecraft:the_end');
/** @protected */
constructor() {
throw new TypeError("Illegal constructor");
};
}