diff options
Diffstat (limited to 'azalea-core')
| -rw-r--r-- | azalea-core/Cargo.toml | 2 | ||||
| -rwxr-xr-x | azalea-core/src/lib.rs | 1 | ||||
| -rw-r--r-- | azalea-core/src/tick.rs | 4 |
3 files changed, 6 insertions, 1 deletions
diff --git a/azalea-core/Cargo.toml b/azalea-core/Cargo.toml index 957eaaf5..4d8af3a5 100644 --- a/azalea-core/Cargo.toml +++ b/azalea-core/Cargo.toml @@ -13,7 +13,7 @@ azalea-buf = { path = "../azalea-buf", version = "0.8.0" } azalea-inventory = { version = "0.8.0", path = "../azalea-inventory" } simdnbt = { version = "0.2.1" } azalea-registry = { path = "../azalea-registry", version = "0.8.0" } -bevy_ecs = { version = "0.12.0", default-features = false, optional = true } +bevy_ecs = { version = "0.12.1", default-features = false, optional = true } nohash-hasher = "0.2.0" num-traits = "0.2.17" serde = { version = "^1.0", optional = true } diff --git a/azalea-core/src/lib.rs b/azalea-core/src/lib.rs index cb67da58..511c897b 100755 --- a/azalea-core/src/lib.rs +++ b/azalea-core/src/lib.rs @@ -16,4 +16,5 @@ pub mod particle; pub mod position; pub mod registry_holder; pub mod resource_location; +pub mod tick; pub mod tier; diff --git a/azalea-core/src/tick.rs b/azalea-core/src/tick.rs new file mode 100644 index 00000000..db10d80a --- /dev/null +++ b/azalea-core/src/tick.rs @@ -0,0 +1,4 @@ +use bevy_ecs::schedule::ScheduleLabel; + +#[derive(ScheduleLabel, Hash, Copy, Clone, Debug, Default, Eq, PartialEq)] +pub struct GameTick; |
