Skip to content

Commit

Permalink
add faces.py
Browse files Browse the repository at this point in the history
  • Loading branch information
codewarrior0 committed Sep 29, 2011
1 parent 536cf7d commit 4db526c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
17 changes: 17 additions & 0 deletions faces.py
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,17 @@

FaceXIncreasing = 0
FaceXDecreasing = 1
FaceYIncreasing = 2
FaceYDecreasing = 3
FaceZIncreasing = 4
FaceZDecreasing = 5
MaxDirections = 6

faceDirections = (
(FaceXIncreasing, (1, 0, 0)),
(FaceXDecreasing, (-1, 0, 0)),
(FaceYIncreasing, (0, 1, 0)),
(FaceYDecreasing, (0, -1, 0)),
(FaceZIncreasing, (0, 0, 1)),
(FaceZDecreasing, (0, 0, -1))
)
9 changes: 1 addition & 8 deletions mclevelbase.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -22,14 +22,7 @@
import blockrotation import blockrotation
from entity import * from entity import *



from faces import *
FaceXIncreasing = 0
FaceXDecreasing = 1
FaceYIncreasing = 2
FaceYDecreasing = 3
FaceZIncreasing = 4
FaceZDecreasing = 5
MaxDirections = 6
#String constants for common tag names #String constants for common tag names


Entities = "Entities" Entities = "Entities"
Expand Down

0 comments on commit 4db526c

Please sign in to comment.