added position to definitions but should be a type
This commit is contained in:
parent
72b4a5a43b
commit
06d03266c9
1 changed files with 7 additions and 0 deletions
|
@ -1,4 +1,11 @@
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
|
from dataclasses import dataclass
|
||||||
|
|
||||||
|
@dataclass # TODO use the one from types
|
||||||
|
class Position:
|
||||||
|
x : float
|
||||||
|
y : float
|
||||||
|
z : float
|
||||||
|
|
||||||
class Dimension(Enum):
|
class Dimension(Enum):
|
||||||
NETHER = -1
|
NETHER = -1
|
||||||
|
|
Loading…
Reference in a new issue