aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src/direction.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-01 13:51:59 -0500
committermat <github@matdoes.dev>2022-05-01 13:51:59 -0500
commit9dacd90abcfaa62ade1e4f130ed53da2c9facdbc (patch)
tree68a4956399a6d509a5d8ae790235996a5a24024e /azalea-core/src/direction.rs
parent4b1cfd1cf899fbbc3de8f72cbb160695c1e9ae70 (diff)
downloadazalea-drasl-9dacd90abcfaa62ade1e4f130ed53da2c9facdbc.tar.xz
clientbound_add_entity_packet & clientbound_set_entity_data_packet
Diffstat (limited to 'azalea-core/src/direction.rs')
-rw-r--r--azalea-core/src/direction.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/azalea-core/src/direction.rs b/azalea-core/src/direction.rs
new file mode 100644
index 00000000..721f21a0
--- /dev/null
+++ b/azalea-core/src/direction.rs
@@ -0,0 +1,9 @@
+#[derive(Clone, Copy, Debug)]
+pub enum Direction {
+ Down = 0,
+ Up = 1,
+ North = 2,
+ South = 3,
+ West = 4,
+ East = 5,
+}