Added some enums

This commit is contained in:
əlemi 2021-11-12 12:22:56 +01:00
parent a84b723241
commit 1b4430f71e

View 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