-
-
Notifications
You must be signed in to change notification settings - Fork 131
/
MoveResult.java
42 lines (32 loc) · 891 Bytes
/
MoveResult.java
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
package com.bgsoftware.superiorskyblock.api.service.region;
import com.bgsoftware.superiorskyblock.api.events.IslandEnterEvent;
public enum MoveResult {
/**
* The player cannot do the movement as he is banned from the island.
*/
BANNED_FROM_ISLAND,
/**
* The player cannot do the movement as the island is locked to the public.
*/
ISLAND_LOCKED,
/**
* The {@link IslandEnterEvent} event was cancelled.
*/
ENTER_EVENT_CANCELLED,
/**
* The player cannot move out of an island into the wilderness.
*/
LEAVE_ISLAND_TO_OUTSIDE,
/**
* The player was moved too far away while being in island-preview mode.
*/
ISLAND_PREVIEW_MOVED_TOO_FAR,
/**
* The player was teleported due to void-teleport.
*/
VOID_TELEPORT,
/**
* The player can do the movement.
*/
SUCCESS
}