-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathregion.ts
85 lines (83 loc) · 2.06 KB
/
region.ts
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/**
* The default permissions for all regions made
*/
export const DEFAULT_REGION_PERMISSIONS = {
/**
* If players in this region can use doors, trapdoors, and switches like buttons and levers
*/
doorsAndSwitches: true,
/**
* If players in this region can open containers, this is like chests, furnaces, hoppers, etc
*/
openContainers: true,
/**
* If the players in this region can fight each other
*/
pvp: false,
/**
* the entities allowed in this region
*/
allowedEntities: [
"minecraft:player",
"minecraft:npc",
"minecraft:item",
"rubedo:inventory",
"rubedo:database",
],
};
/**
* All doors and switches in minecraft
*/
export const DOORS_SWITCHES = [
"minecraft:acacia_door",
"minecraft:acacia_trapdoor",
"minecraft:acacia_button",
"minecraft:birch_door",
"minecraft:birch_trapdoor",
"minecraft:birch_button",
"minecraft:crimson_door",
"minecraft:crimson_trapdoor",
"minecraft:crimson_button",
"minecraft:dark_oak_door",
"minecraft:dark_oak_trapdoor",
"minecraft:dark_oak_button",
"minecraft:jungle_door",
"minecraft:jungle_trapdoor",
"minecraft:jungle_button",
"minecraft:mangrove_door",
"minecraft:mangrove_trapdoor",
"minecraft:mangrove_button",
"minecraft:spruce_door",
"minecraft:spruce_trapdoor",
"minecraft:spruce_button",
"minecraft:warped_door",
"minecraft:warped_trapdoor",
"minecraft:warped_button",
"minecraft:wooden_door",
"minecraft:wooden_button",
"minecraft:trapdoor",
"minecraft:iron_door",
"minecraft:iron_trapdoor",
"minecraft:polished_blackstone_button",
"minecraft:lever",
];
/**
* A List of all containers a item could be in
*/
export const BLOCK_CONTAINERS = [
"minecraft:chest",
"minecraft:ender_chest",
"minecraft:barrel",
"minecraft:trapped_chest",
"minecraft:dispenser",
"minecraft:dropper",
"minecraft:furnace",
"minecraft:blast_furnace",
"minecraft:lit_furnace",
"minecraft:lit_blast_furnace",
"minecraft:hopper",
"minecraft:shulker_box",
"minecraft:undyed_shulker_box",
"minecraft:lit_smoker",
"minecraft:smoker",
];