aboutsummaryrefslogtreecommitdiff
path: root/azalea-physics/tests
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-08-12 20:50:40 -1030
committermat <git@matdoes.dev>2025-08-12 20:50:40 -1030
commit55a7db13ef028f5b6c6e87a81406b3525cea196f (patch)
tree6a995bc0b46c527e9fab0874508f81e07deb673e /azalea-physics/tests
parentac66744586880afd657969ae078700a9749e293a (diff)
downloadazalea-drasl-55a7db13ef028f5b6c6e87a81406b3525cea196f.tar.xz
send correct packets on teleport
Diffstat (limited to 'azalea-physics/tests')
-rw-r--r--azalea-physics/tests/physics.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/azalea-physics/tests/physics.rs b/azalea-physics/tests/physics.rs
index 8150e5b0..b312b31e 100644
--- a/azalea-physics/tests/physics.rs
+++ b/azalea-physics/tests/physics.rs
@@ -10,7 +10,7 @@ use azalea_core::{
resource_location::ResourceLocation,
tick::GameTick,
};
-use azalea_entity::{EntityBundle, EntityPlugin, LocalEntity, Physics, Position};
+use azalea_entity::{EntityBundle, EntityPlugin, HasClientLoaded, LocalEntity, Physics, Position};
use azalea_physics::PhysicsPlugin;
use azalea_world::{Chunk, Instance, InstanceContainer, MinecraftEntityId, PartialInstance};
use bevy_app::App;
@@ -63,6 +63,7 @@ fn test_gravity() {
),
MinecraftEntityId(0),
LocalEntity,
+ HasClientLoaded,
))
.id();
{
@@ -118,6 +119,7 @@ fn test_collision() {
),
MinecraftEntityId(0),
LocalEntity,
+ HasClientLoaded,
))
.id();
let block_state = partial_world.chunks.set_block_state(
@@ -174,6 +176,7 @@ fn test_slab_collision() {
),
MinecraftEntityId(0),
LocalEntity,
+ HasClientLoaded,
))
.id();
let block_state = partial_world.chunks.set_block_state(
@@ -224,6 +227,7 @@ fn test_top_slab_collision() {
),
MinecraftEntityId(0),
LocalEntity,
+ HasClientLoaded,
))
.id();
let block_state = world_lock.write().chunks.set_block_state(
@@ -281,6 +285,7 @@ fn test_weird_wall_collision() {
),
MinecraftEntityId(0),
LocalEntity,
+ HasClientLoaded,
))
.id();
let block_state = world_lock.write().chunks.set_block_state(
@@ -343,6 +348,7 @@ fn test_negative_coordinates_weird_wall_collision() {
),
MinecraftEntityId(0),
LocalEntity,
+ HasClientLoaded,
))
.id();
let block_state = world_lock.write().chunks.set_block_state(
@@ -409,6 +415,7 @@ fn spawn_and_unload_world() {
),
MinecraftEntityId(0),
LocalEntity,
+ HasClientLoaded,
))
.id();
@@ -524,6 +531,7 @@ fn test_afk_pool() {
),
MinecraftEntityId(0),
LocalEntity,
+ HasClientLoaded,
))
.id();