diff options
| author | mat <git@matdoes.dev> | 2023-09-14 16:48:21 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-09-14 16:48:21 -0500 |
| commit | 83784d5a350168edaade4620122c2c6d46bc81a2 (patch) | |
| tree | e126bb4849414fff78d24c65f93376f07f44e634 /azalea-physics/src | |
| parent | dea4a656a574318fc011e0545046b0d78b0e816e (diff) | |
| download | azalea-drasl-83784d5a350168edaade4620122c2c6d46bc81a2.tar.xz | |
rename Local to LocalEntity
Diffstat (limited to 'azalea-physics/src')
| -rw-r--r-- | azalea-physics/src/lib.rs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/azalea-physics/src/lib.rs b/azalea-physics/src/lib.rs index 5a2b896c..52bb4b9c 100644 --- a/azalea-physics/src/lib.rs +++ b/azalea-physics/src/lib.rs @@ -7,8 +7,8 @@ pub mod collision; use azalea_block::{Block, BlockState}; use azalea_core::{math, BlockPos, Vec3}; use azalea_entity::{ - metadata::Sprinting, move_relative, Attributes, InLoadedChunk, Jumping, Local, LookDirection, - Physics, Position, + metadata::Sprinting, move_relative, Attributes, InLoadedChunk, Jumping, LocalEntity, + LookDirection, Physics, Position, }; use azalea_world::{Instance, InstanceContainer, InstanceName}; use bevy_app::{App, FixedUpdate, Plugin}; @@ -49,7 +49,7 @@ fn travel( &Attributes, &InstanceName, ), - (With<Local>, With<InLoadedChunk>), + (With<LocalEntity>, With<InLoadedChunk>), >, instance_container: Res<InstanceContainer>, ) { @@ -132,7 +132,7 @@ pub fn ai_step( &Sprinting, &InstanceName, ), - (With<Local>, With<InLoadedChunk>), + (With<LocalEntity>, With<InLoadedChunk>), >, instance_container: Res<InstanceContainer>, ) { @@ -378,7 +378,7 @@ mod tests { ResourceLocation::new("minecraft:overworld"), ), MinecraftEntityId(0), - Local, + LocalEntity, )) .id(); { @@ -437,7 +437,7 @@ mod tests { ResourceLocation::new("minecraft:overworld"), ), MinecraftEntityId(0), - Local, + LocalEntity, )) .id(); let block_state = partial_world.chunks.set_block_state( @@ -497,7 +497,7 @@ mod tests { ResourceLocation::new("minecraft:overworld"), ), MinecraftEntityId(0), - Local, + LocalEntity, )) .id(); let block_state = partial_world.chunks.set_block_state( @@ -551,7 +551,7 @@ mod tests { ResourceLocation::new("minecraft:overworld"), ), MinecraftEntityId(0), - Local, + LocalEntity, )) .id(); let block_state = world_lock.write().chunks.set_block_state( @@ -604,7 +604,7 @@ mod tests { ResourceLocation::new("minecraft:overworld"), ), MinecraftEntityId(0), - Local, + LocalEntity, )) .id(); let block_state = world_lock.write().chunks.set_block_state( @@ -662,7 +662,7 @@ mod tests { ResourceLocation::new("minecraft:overworld"), ), MinecraftEntityId(0), - Local, + LocalEntity, )) .id(); let block_state = world_lock.write().chunks.set_block_state( |
