Added some enums
This commit is contained in:
parent
a84b723241
commit
1b4430f71e
1 changed files with 18 additions and 0 deletions
18
aiocraft/mc/definitions.py
Normal file
18
aiocraft/mc/definitions.py
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
from enum import Enum
|
||||||
|
|
||||||
|
class Dimension(Enum):
|
||||||
|
NETHER = -1
|
||||||
|
OVERWORLD = 0
|
||||||
|
END = 1
|
||||||
|
|
||||||
|
class Difficulty(Enum):
|
||||||
|
PEACEFUL = 0
|
||||||
|
EASY = 1
|
||||||
|
NORMAL = 2
|
||||||
|
HARD = 3
|
||||||
|
|
||||||
|
class Gamemode(Enum):
|
||||||
|
SURVIVAL = 0
|
||||||
|
CREATIVE = 1
|
||||||
|
ADVENTURE = 2
|
||||||
|
SPECTATOR = 3
|
Loading…
Reference in a new issue