local_player_ai_step

Function local_player_ai_step 

Source
pub fn local_player_ai_step(
    query: Query<'_, '_, (Entity, &PhysicsState, &PlayerAbilities, &Swimming, &SleepingPos, &InstanceHolder, &Position, Option<&Hunger>, Option<&LastSentInput>, &mut Physics, &mut Sprinting, &mut Crouching, &mut Attributes), (With<HasClientLoaded>, With<LocalEntity>)>,
    physics_query: Query<'_, '_, &Physics, Without<LocalEntity>>,
    collidable_entity_query: Query<'_, '_, (), Or<(With<AbstractBoat>, With<Shulker>)>>,
)
Expand description

Makes the bot do one physics tick. Note that this is already handled automatically by the client.