From 83784d5a350168edaade4620122c2c6d46bc81a2 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 14 Sep 2023 16:48:21 -0500 Subject: rename Local to LocalEntity --- azalea-physics/src/lib.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'azalea-physics/src/lib.rs') 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, With), + (With, With), >, instance_container: Res, ) { @@ -132,7 +132,7 @@ pub fn ai_step( &Sprinting, &InstanceName, ), - (With, With), + (With, With), >, instance_container: Res, ) { @@ -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( -- cgit v1.2.3